coffee
Thu 12th Apr '01, 3:57pm
Here you go : )
1. Open CP page
2. Under "Custom BB codes" click "Add"
3. Then enter the next:
vB Code tag:
bgb
vB Code replacement:
<table cellpadding="16" border="0" background="{option}"><tbody><tr><td>{param}</td></tr></tbody></table>
vB Code example:
Post Text Here
vB Code explanation:
Adding a background image to posts
Use Option:
yes
4. Click "Submit"
Now open your forum and start a new thread or reply and test your new code.
The next is only an example:
Then Enter Your Text Here
Then Close with this:
Try! It won't take you a min!
vB2 BETA 5 USERS ONLY:
Adding a button for [bgb] command (remember to say "Yes" for "Use vBCode quick links on your message input screens" on your profile options page):
5. Edit the template called "vbcode_buttons" just after this line:
<input type="button" value="IMG" title="Insert Image" onclick="vbcode(this.form,'IMG','http://')" onmouseover="stat('img')">
Add this text:
<input type="button" value="BG Image" title="Background Image" onclick="namedlink(this.form,'BGB')" onmouseover="stat('bgb')">
6. Replace the files "vbcode_language.js" and "vbcode.js" located in your forum home with the copy attached HERE (http://www.vbulletin.com/forum/attachment.php?attachmentid=531)
1. Open CP page
2. Under "Custom BB codes" click "Add"
3. Then enter the next:
vB Code tag:
bgb
vB Code replacement:
<table cellpadding="16" border="0" background="{option}"><tbody><tr><td>{param}</td></tr></tbody></table>
vB Code example:
Post Text Here
vB Code explanation:
Adding a background image to posts
Use Option:
yes
4. Click "Submit"
Now open your forum and start a new thread or reply and test your new code.
The next is only an example:
Then Enter Your Text Here
Then Close with this:
Try! It won't take you a min!
vB2 BETA 5 USERS ONLY:
Adding a button for [bgb] command (remember to say "Yes" for "Use vBCode quick links on your message input screens" on your profile options page):
5. Edit the template called "vbcode_buttons" just after this line:
<input type="button" value="IMG" title="Insert Image" onclick="vbcode(this.form,'IMG','http://')" onmouseover="stat('img')">
Add this text:
<input type="button" value="BG Image" title="Background Image" onclick="namedlink(this.form,'BGB')" onmouseover="stat('bgb')">
6. Replace the files "vbcode_language.js" and "vbcode.js" located in your forum home with the copy attached HERE (http://www.vbulletin.com/forum/attachment.php?attachmentid=531)