|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Using BBC in Forums
I have SMF 1.1.4 installed with an added MOD for custom BBCode.
Does any one know how I can add to this mod to use tags on my forums sections. I never used it before. It asks for information that I have no idea on what to enter to get the option that I want, heres the lay out for the questions it ask for. Tag Name Description ---------------- Tag Type 1) <tag>content<tag> 2) <tag=option]content<tag> 3) <tag> Parse enclosed BBCode 1) No Parsing 2) Content Only 3) No content Trin Whitespace 1) No Trin 2) Out Side 3) Inside 4) Both Block Level This is a check box Then the last thing it has a textarea asking for The HTML used for the tag <tag>{content}</tag> <tag alt={option}>{content}</tag> PLEASE can any one help |
#2
|
||
|
I installed it.... lol figuring it out
|
#3
|
||
|
Yep, Thats what I can't under stand.
|
#4
|
||
|
Ok - lol
The words "{options}" and "{content}" are replaced by the forum software. So if you choose tag type [tag]{content}[/tag], and then in your post do [tag]Hi[/tag] - The forum software takes the stuff between the tag, and replaces {content} with it. Example steps: Creating a bbcode for bolding text, in red. Tag name: rbold tag description: Bolded Red text Tag type: [tag]{content}[/tag] Parsing: I chose content only... not sure what that does. For the html: <b><font color=red>{content}</font></b> The forum will automatically replace {content} with what ever you include between the [rbold] tags. You could make it so that this tag will do it for any color, by changing the tag type to [tag=option]content[/tag] and change html code to <b><font color={option}>{content}</font></b> |
#5
|
||
|
Thats so cool, What about url's and imgs.
How would I create a tag for them and Thank You |
#6
|
||
|
same way. BB code just takes your tags [b] and converts them to standered HTML.
So if you wanted to make a special sig bbcode, you could do something like [sig]http://mysig.com/image.jpg[/sig] and the html code would be <img src="{content}" /> Not sure if you can embed bbcode into a custom bbcode, would have to test it out. IcI |
#7
|
||
|
I just wanted to tell you that your sample doesn't work
Tag Name rbold And the same options as you added. So how do I use it, Is this right [rbold]Bold Text Thats Red[/rbold] For some reason it's not working, Any ideas from you would be great Thanks again |
#8
|
||
|
Ok, Your 2nd option worked, Thank You. This is so cool. Can't under stand why your 1st one doesn't work
Thanks |
#9
|
||
|
Did you enable the first example? Forgot to mention that part, have to check the box that says Enable after you set one up lol.
I'm not sure why the first one didn't work for you, it works for me lol |
#10
|
||
|
Well I didn't see any thing that says enable. I change the first one to your sample and I added one of my own, And both of them work. SO thank you
I have on idea why your first sample didn't work Thank You for your help. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BBC iPlayer Beta | DevilDog#1 | Hardware and Software | 3 | 08-04-2007 10:21 PM |
YouTube.com BBC reporter lost it lol | Hellfighter | General Chat | 2 | 05-15-2007 05:38 PM |
BBC interviews cab driver by mistake! | Steve | General Chat | 5 | 05-15-2006 05:07 PM |
BBC news shows violent footage? | -Tigger- | General Chat | 14 | 12-06-2005 09:35 AM |
BBC asks long-dead Bob Marley for interview | DevilDog#1 | Humor & Jokes | 6 | 04-02-2005 11:28 AM |