UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » BBCode help needed

BBCode help needed

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Aug 2006
Posts: 43
Location: The Netherlands
Hi,

Could anyone tell me how to make a new BBCode tag (I know it's in one of the function files)?
The reason I ask this is because I'm running a site wich lists free software on filesharing networks.
The tags I'd like to add are [magnet=][/magnet] and [ed2k=][/ed2k].

Magnets are formatted like this: magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C , so no "http://" in front of it but "magnet:?xt=".

Ed2k links are formatted like this: ed2k://|file|The_Two_Towers-The_Purist_Edit-Trailer.avi|14997504|965c013e991ee246d63d45ea71954c4d|/ , with "ed2k://" instead off "http://".

I hope anyone can help me with this.
Thanks in advance!
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
BBCode functions are bbcode_clear(), bbcode_prepare() and markup() in sources/functions.php. I think it's obvious how to add ones looking at the existing code.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Help & Support » BBCode help needed

UseBB Community is powered by UseBB 1 Forum Software