Extra FUDCode tags [message #1709] |
Sun, 21 April 2002 17:54 |
JayЩ~
Messages: 37 Registered: April 2002 Location: Florida, USA
Karma: 0
|
Member |
|
|
Here is some extra fudcode tags for your use and enjoyment. Only IE users will see them as Mozilla and Netscape don't appear to show - they both don't support the filters, just plain text will be shown. This has only been tested on the up comming FUDForum 2. This will add tags called [blur] [scroll] [dropshadow] [wave] [scrollup] [ghost] [flipv] and [fliph].
Look in your forum data root for the directory /template/src . NOT your forum www_root directory. In my case it was /home/httpd/forum/template/src . Find the file called post_proc.inc.t .
You need to add code to two functions. First find the function called
function tags_to_html($fudml, $allow_img='Y')
it will be the very first one.
look for /*Added by JJ */ from there down to /*end of JJ*/ and add that code, just copy and paste if you like.
Then look for a function called
function html_to_tags($html)
which will be the second function. Again just look for /* Added by JJ */ from there down to /*End of JJ*/ and add that code.
Then you need to go into the administration and compile the post_proc template. Then your all set to enjoy some cool tags.
Attached is the post_proc.inc.t file. You can just upload it and over write your existing file if you want.
Picture the daffodil. And while you do that, I'll be over here going through your stuff.
[Updated on: Sun, 21 April 2002 17:56] Report message to a moderator
|
|
|
Re: Extra FUDCode tags [message #1713 is a reply to message #1709] |
Sun, 21 April 2002 18:34 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Please note that this mod if is for the 1.9X (2.0 Alpha) release.
FUDforum Core Developer
|
|
|
|
Re: Extra FUDCode tags [message #1717 is a reply to message #1716] |
Sun, 21 April 2002 18:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This code is an optional mod a person can do, it is NOT a part of default distro.
FUDforum Core Developer
|
|
|
|