FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Extra FUDCode tags
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Extra FUDCode tags [message #1709] Sun, 21 April 2002 17:54 Go to previous message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma:
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

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Private Forums Hack
Next Topic: My first patch on 1.2.7
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 16:44:53 GMT 2024

Total time taken to generate the page: 0.05059 seconds