*NEW* Trigger Parser

Important things come here.
Forum rules
Only post news if you are sure they are important.
Don't bump up old news just because you liked them.
User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

*NEW* Trigger Parser

Unread post by 3ICE »

After a whole day of work, I proudly present my own trigger parser written in PHP:

Usage: Visit http://trigger.3ice.hu/
It is a work in progress, public beta. Feedback is welcome.
(http://trigger.3ice.hu/?i=1)

ToDo:
Add icon to ability comparisons that don't start with a parenthesis. (eg "Acid Bomb is equal to (Ability being cast)" (This is a rare condition, but fixing it will be a lot of work)
Save trigger name in the database
&mode=raw outputs the trigger without icons
Javascripted button for switching between &mode=raw and &mode=normal
Remove newlines from source
Delete /Update buttons (Will require a unique password that'll be emailed to you [optional])
Return a "No such ID" error if someone tries to request a deleted trigger (Or passes an invalid attribute to the script)
New bbcode that behaves like the [iframe} tag (maybe)
Browse triggers

Tutorial.gif:
* Right click on a trigger name
* Select Copy As Text
* Switch to firefox
* Paste into textbox
* Fill in author field
* Copy bbcode
* Post the trigger

Decorate the result page:
* Automatically select iframe code (onclick="javascript:this.Select()")
* Add more possibilities (eg link2page, 100% wide iframe, smallbox)
* Display trigger author in a corner
* Output the trigger not just the code

Fix IE bugs:
* I wish everyone would just use Firefox...
* Remove the default 30px padding from IE's iframe.
* Find more bugs in IE...


Last bumped by 3ICE on Sun Feb 15, 2009 10:59 am.
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests