Version: 1.0.4, by dartho
Developer Last Online: Oct 2023
Category: Add-On Releases -
Version: 3.6.8
Rating:
Released: 12-11-2006
Last Update: 01-13-2007
Installs: 156
Supported Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations
This is an modification/extension to Slapyo's "Information Bar for Guests" mod found over HERE
I used his mod for advertising features or events on my site such as when a few people got together in Chat, or if I wanted to bring everyones attention to specific page or thread. I didnlt like editing the templates by hand each time I changed the text or URL, thus this install.
You can control the Text, URL and which usergroups will see the Inforbar via the AdminCP.
As of 1.0.4 you can have 2 different Infobars display to 2 different usergroups, say one for guests encouraging them to register and one for registered users informing them of a new feature or upcoming event or asking them to donate dollars....
No checking is done on this - I suggest you don't enable multiple infobars for the same usergroup!
The CSS and GIF files included are from Slapyo's add-on.
Instructions:
Upload 3 files to your forum root
Import Product File
Modify URL, Text and enable Infobar in vBulletin Options (Infobar) in your AdminCP.
Tested on 3.6.4
Version History
1.0.1 Initial Release
1.0.2 Usegroup Conditionals Added in AdminCP
1.0.3 Internal Update 1.0.4 Now supports 2 Infobars for different usergroups
Upgrade instructions, install new XML, re-enter your Infobar settings in AdminCP in required
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
OK - I just had a look at your site, and the code for the infobar is there on your portal and forum page. Paths used in this add-on assume that all required files are in the current directory. I *think* you may need to copy the css and image files to your root webspace in addition to your forum root.
Just tested on a vanilla 3.7 B3 and works as expected.
Havikng a look at your site, I see that you have the infobar.css declaration as well as teh contents of the infobar.css in your regular style css (clientscript/vbulletin_css/style-d6c0460d-00215.css). I suggest you only have it declared a single time - try editing the the "Add Infobar" plugin and commenting out the 2 occurrences of
Code:
$StrTmp = '<!-- ADDINFO BAR PLUGIN -->\n<link rel=\"stylesheet\" href=\"infobar.css\" type=\"text/css\" />\n<!-- END ADDINFO BAR PLUGIN -->\n';
$vbulletin->templatecache['headinclude'] = $StrTmp . $vbulletin->templatecache['headinclude'];
It's got me buggered - esp since the CSS obviously works for the "background"...
I'll test it under 3.7 soon and see if there is some issue there.
i commented them out and now the infobar doesn't work.
Also the infobar was doing the same thing before i added the second occurrence in the css.
i added it as a troubleshooting step.
[edit]
now i got rid of the infobar classes in my extra CSS and left the product as is and re-imported and it's still black.
please help.