The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
in the below forum, I'd like to exclude some forums. How can I add that simple line?
if ($bbuserinfo['userid']==0) { eval("\$adpopup = \"".gettemplate('ad_popup')."\";"); Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
lionel, i wanted to add this mod to my hack... check my sig why i changed my mind. you should check my vbPopup hack if you want to have a better version of java code (adapted for VB) and also an easier integration in templates. as for your request here, i will pm you with the code. let me know here if is what you wanted.
|
|
#3
|
|||
|
|||
|
I saw your hack. I painfully installed mine with a combination of using a different template and it is working. I just have a couple of totally public forums that I do not want to display the popups. Could you please help me?
Lionel |
|
#4
|
||||
|
||||
|
sure lionel
let me know what you need. i send you a pm with the code change not to show in your selected forums. |
|
#5
|
|||
|
|||
|
I am no expert, I struggle on doing what I need. I simply need to finish this line
if ($bbuserinfo['userid']==0) and forumnumber!=[xxx] or forumnumber!=[xxx] { eval("\$adpopup = \"".gettemplate('ad_popup')."\";"); |
|
#6
|
||||
|
||||
|
open showthread.php. find the code:
PHP Code:
PHP Code:
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. |
|
#7
|
|||
|
|||
|
I am looking at your file now... I just downloaded
|
|
#8
|
||||
|
||||
|
ok
|
|
#9
|
|||
|
|||
|
In your hack, looks like it will popup for every page even the registration page....
|
|
#10
|
|||
|
|||
|
looks very interesting the way you did it. Since I am also using the flag hack (mandatory) I could serve ad to members leaving in a specific country.
|
![]() |
|
|