| |||||||
This is a discussion on Adding a background colour to your posts within the vBulletin section, part of the Internet Forum Softwares category; Have you ever wondered how some forums allow their users to add a background colour to their text in Posts? ...
![]() |
|
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
|
Have you ever wondered how some forums allow their users to add a background colour to their text in Posts? If yes, this post will explain how to do it. Go to Admincp and add your own bb code Title: Add colour to the background of post text Tag:Background of post text BBcode: HTML Code: <table bgcolor="Your Background Colour Code Here" border="0"><tr> <td><b><font color="Black">{param}</font></b></td> </tr></table> Attached is a button for your WYSIWYG editor Your must replace "Your Background Colour Code Here" with the CSS colour code of the colour you would like for the background of your text. |
|
#2
| ||||
| ||||
|
hmm..There would be few problems using the above BBCODE. Also, I would like to use style tag instead of tables. The reasons are simple:-
Title: Background color in posts Tag: bg Replacement: HTML Code: <span style="background-color:{option}";>{param}</span> Use {option}: Yes Here's an example:- Code: [bg=red]This is an Example Text[/bg] Output: This is an Example Text Its that simple. What say Ross my friend ?
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#3
| ||||
| ||||
|
Yeah that's a lot better. The one I posted is rather old school and restrictive but yours is a lot better. You should post it up at vb.org |
|
#4
| ||||
| ||||
|
ohh... its a very small thing !! I wrote it just now .. such small things get only 3-4 installs at vb.org , coz its nothing but a single line of html code. so I don't think there's a need to post it there.
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#5
| ||||
| ||||
|
Awesome code. Keep it up.
__________________ My iPhone is better than yours........... I Am Back! |
|
#6
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| vb.org , coz its nothing but a single line of html code. so I don't th3eyle="ddif html code. sin alt=ns/ohttpoi F:0dp10px 0px 5oud=vS;& Administrator
Adding a background colour to your postsThis is a discussion on Adding a background colour to your posts within the vBulletin section, part of the Internet Forum Softwares category; Have you ever wondered how some forums allow their users to add a background colour to their text in Posts? ...
« Previous Thread
|
Next Thread »
All times are GMT +5.5. The time now is 10:36 AM. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||