View Full Version : Need A Mod
alawee.blawee
05-25-2008, 11:00 PM
dear friends
i need a mod that shows an HTML box i can edit and the mod automatically put that code under the navbar in the forumhome template without modifying that template
indeed i have some banners and I'm facing a lot of tiredness while modifying forumhome in more than 10 styles each time i change a banner
can anyone help me?
GameWizard
05-25-2008, 11:19 PM
You can do 1 of the 2 things, either make a plugin which should be relatively easy, but you'll need to have the appropriate hook to display the information in the correct place.
Otherwise, you can probably create a master style for all the styles you have, and then make the forumhome template adjustment in the master theme and it will then be applied to the rest assuming ofcourse you want the same ad to appear in all your themes, and assuming you have no unique forumhome modifications done in your styles.
alawee.blawee
05-25-2008, 11:23 PM
You can do 1 of the 2 things, either make a plugin which should be relatively easy, but you'll need to have the appropriate hook to display the information in the correct place.
Otherwise, you can probably create a master style for all the styles you have, and then make the forumhome template adjustment in the master theme and it will then be applied to the rest assuming ofcourse you want the same ad to appear in all your themes, and assuming you have no unique forumhome modifications done in your styles.
can you plz explain the plugin's matter to me?
what should i put in the fields in the new plugin to have the thing i need?
MoT3rror
05-26-2008, 05:21 AM
Or you can create a new vB option (must be in debug mode).
With the following options:
Varname: extra_text_on_forumhome
Setting Group: Forum Home Page Options
Title: Extra Text on Forumhome
Description: puts html in forumhome
Option Code: textarea
Data Validation Type: Free
Validation PHP Code: put nothing here
Display Order: 90
Blacklist: No
vBulletin Default: No
I suggest adding a product to put this option under so you can easily debug if needed.
Then in your forumhome template you put $vboptions[extra_text_on_forumhome] where you want the html to show. I suggest trying this on a test board before putting this on a live board.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.