The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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? |
#2
|
||||
|
||||
![]()
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. |
#3
|
||||
|
||||
![]() Quote:
what should i put in the fields in the new plugin to have the thing i need? |
#4
|
|||
|
|||
![]()
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. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|