[HowTo] vBcode [quote]..[/quote] in a box - hack
What does this one do?
When viewing a thread, one can see others quoting other users posts or portions of it. This vBcode/style hack will put it in a box and make it look more pretty!
Why did you make it?
Because I saw it on other forums and wondered how it looked on vBulletin, and damn, I think it looks good
The Code
Walkthrough (2 steps)
Version?
Tested with vBulletin 2.2.x and works just great
The Result
This is how it looks on my web site:
What does this one do?
When viewing a thread, one can see others quoting other users posts or portions of it. This vBcode/style hack will put it in a box and make it look more pretty!
Why did you make it?
Because I saw it on other forums and wondered how it looked on vBulletin, and damn, I think it looks good
The Code
Walkthrough (2 steps)
- Step #1 Adding the CSS class '.mytable'.
- Goto the Admin Control Panel and login as an administrator
- From the left menu, browse down to the "Styles"-section and select 'Modify'
- Click on '[fonts/colors/etc]' and browse down to the "Head Insert:" and add the find:
Code:.thtcolor { COLOR: {[i][/i]tableheadtextcolor}; } <[i][/i]/style>
- Replace the above code with:
Code:.thtcolor { COLOR: {[i][/i]tableheadtextcolor}; } .mytable {[i][/i] border: 1px #616889 solid; background-color: #EBECF1; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; text-decoration: none} <[i][/i]/style>
- Scroll down to the bottom of the page and click on 'Save Changes'.
- Step #2 Altering the vBcode [quote]
- Goto the Admin Control Panel and login as an administrator
- From the left menu, browse down to the "Custom vB Codes
"-section and select 'Modify' - Goto the [quote]-part and click on '[edit]' and browse down to the "Head Insert:" and set the following to the vBcode replacement (instead of what is there):
Code:<table width='95%' align='center'><tr> <td><font face='Arial' size=1 color=#616889>(Quote:)</font></td> </tr><tr><td class='mytable'>{[i][/i]param}</td></tr></table>
- Scroll down to the bottom of the page and click on 'Save Changes'.
Additional Note: Do not forget to alter the colours!
Version?
Tested with vBulletin 2.2.x and works just great
The Result
This is how it looks on my web site:
Comment