Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2007, 03:00 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
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
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
  #2  
Old 11-01-2007, 03:31 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
I installed it.... lol figuring it out
Reply With Quote
  #3  
Old 11-01-2007, 03:32 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
Yep, Thats what I can't under stand.
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
  #4  
Old 11-01-2007, 03:50 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
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>
Reply With Quote
  #5  
Old 11-01-2007, 05:14 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
Thats so cool, What about url's and imgs.

How would I create a tag for them

and Thank You
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
  #6  
Old 11-01-2007, 05:30 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
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
Reply With Quote
  #7  
Old 11-01-2007, 05:32 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
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
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
  #8  
Old 11-01-2007, 05:40 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
Ok, Your 2nd option worked, Thank You. This is so cool. Can't under stand why your 1st one doesn't work

Thanks
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
  #9  
Old 11-01-2007, 06:07 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
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
Reply With Quote
  #10  
Old 11-01-2007, 06:26 PM
bigjoe11a is offline bigjoe11a
bigjoe11a's Avatar
Registered User

Join Date: Oct 2007
Posts: 61

Send a message via Yahoo to bigjoe11a
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.
__________________
http://www.pro-forums.info/images/iceman11a.jpg
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 01:03 PM.




Powered by vBulletin®