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
Switch to threaded view of this topic Create a new topic Submit Reply
Extra FUDCode tags [message #1709] Sun, 21 April 2002 17:54 Go to next message
JayЩ~ is currently offline  JayЩ~   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #1716 is a reply to message #1709] Sun, 21 April 2002 18:44 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
JayЩ~ wrote on Sun, 21 April 2002 8:54 PM

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.



Is it wise to add code that works in just a small subset of browsers? I would suggest a policy that demands that new code should give identical results in all newer browsers (IE, Opera, newer Mozillas, Netscape 6.x and Konqueror at least).

However, if this remains a optional enhancement it might be ok.
Re: Extra FUDCode tags [message #1717 is a reply to message #1716] Sun, 21 April 2002 18:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Re: Extra FUDCode tags [message #1720 is a reply to message #1717] Sun, 21 April 2002 19:57 Go to previous message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sun, 21 April 2002 9:51 PM

This code is an optional mod a person can do, it is NOT a part of default distro.


Yes, I noticed. Sorry for making this unnecessary post.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Fri Nov 01 17:19:42 GMT 2024

Total time taken to generate the page: 0.01762 seconds