The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Ok, so I am thinking of making a premium members group, with the feature of no adverts while browsing. However I want to extend the feature to my non-vb pages.
Is there a way (condition) to allow for ads (ad code) to be hidden if a user of a certain group is logged on on external pages? I already have a login script that uses this header include to manage login and logouts. Code:
<?php
$curdir = getcwd ();
chdir('/mysite/board');
require_once('/mysite/board/global.php');
chdir ($curdir);
?>
|
|
#2
|
||||
|
||||
|
If you already have that block of code, you have access to the majority of vBulletin functions that you need, like is_member_of().
|
|
#3
|
|||
|
|||
|
Nice, it works. Thanks man.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|