open
showthread.php. find the code:
PHP Code:
$forum=getforuminfo($thread['forumid']);
below this add:
PHP Code:
if ($bbuserinfo[userid]==0 and ($thread['forumid']!=xx or $thread['forumid']!=xx)) {
eval("\$adpopup .= \"".gettemplate('ad_popup')."\";");
}
note: the $forum=... code shows 2 times in showthread.php file. do it twice.
let me know if it worked.
i recommend you to install my hack. due to speed performance and compatibility with VB. plus is totally customizable. check my sig for vbPopup.