Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 05:39 pm EST
Geeklog Forums
Add new bbcode Hide and Show forum Plugin
MZ1
Anonymous
how can i add this new bbcode in the forum plugin?
example:
http://skrap.nar.co.il/spoiler.html
like this:
anyone know how to do this?
thanks
(sorry to add posts with anonimous but when i tried to add post this message gives: Error! Not all required fields were completed or were too short in length.Click HERE to return)
example:
http://skrap.nar.co.il/spoiler.html
like this:
Text Formatted Code
[hide]the user dont see this[/hide]anyone know how to do this?
thanks
(sorry to add posts with anonimous but when i tried to add post this message gives: Error! Not all required fields were completed or were too short in length.Click HERE to return)
6
11
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Hide or Spoiler bb tags are extremely common in most forum software. Suppose you are running a website about your favorite TV show. You might have a rule in the forum that discussion of recent episodes must not contain spoilers about the show since it may not have all over the world yet. So people can still discuss the last episode by putting the spoiler text inside a bb tag [spoiler]that hides the juicy details[/spoiler]. On some forums, the [spoiler] tag creates a button that controls the visibility of a div containing the text. On other forums, it simply prints the hidden text with the same foreground and background color. Still, it has been common on forum software for several years now.
11
8
Quote
Status: offline
mz
Forum User
Newbie
Registered: 03/31/09
Posts: 3
Quote by: Dirk
You can't just add new bbcode tags. Someone would have to extend the bbcode parser.
bye, Dirk
Hi Dirk,
I know that, but could you give me an explanation of what files and which part of the database I have to edit?
I´m a little experienced, but it would be better if you could help me with this..
bye,
Terra.
8
12
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello,
@ Joe Thanks.
@ mj everything seems to be in public_html/forum/include/gf_format.php
function do_bbcode_XXX
function gf_formatTextBlock
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
@ Joe Thanks.
@ mj everything seems to be in public_html/forum/include/gf_format.php
Text Formatted Code
function do_bbcode_XXX
function gf_formatTextBlock
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
9
10
Quote
All times are EST. The time is now 05:39 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content