Back to vBulletin 3.5 Add-ons

Usergroup Specific Adverts
Mod Version: 1.0.1, by Chris M

This modification is in the archives.
vB Version: 3.5.0 Rating: (1 vote - 5.00 average) Installs: 37
Released: 14 Jun 2005 Last Update: 22 Oct 2005 Downloads: 37
Not Supported Uses Plugins Template Edits  

Installation Instructions

Step 1: Upload the .xml file to the Product Manager
Step 2: Edit the global_advert template to add your advert code, i.e. Google Adsense code
Step 3: Add the variable $advert to any of the following templates: header, navbar, footer - I placed mine at the top of the navbar template to make it show like it does in the screenshots
Step 4: Alter the plugin code to reflect your premium members/staff usergroups so that they do not see the ads (if you don't want them to)

To do so, edit:
PHP Code:
if (!in_array($vbulletin->userinfo['usergroupid'], array(567))) { 
replacing, obviously, 5, 6, 7 with whatever usergroups you need
Step 5: Click

To see what it looks like (yes I used a hideous h1 tag and red font to make the point out) take a look at the screenshots...

Updates
Version 1.0.1: Simple update to make this work globally - This will show up in every page - To upgrade, remove the forumhome_advert template, delete the existing plugin and follow the installation instructions above

Chris

Download

This modification is archived and cannot be downloaded.

Screenshots

   


vblts.ru supports vBulletin®, 2022-2025