Usergroup Specific Adverts
This modification is in the archives.
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(5, 6, 7))) {
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 ![]() ![]() Chris Download This modification is archived and cannot be downloaded. Screenshots
|