![]() |
Just wanted to say I'm getting the same error. I'm running 3.5.4
Quote:
|
Ok, I got it fixed. At least for Version 3.5.4, use the file I attached.
http://www.spoofee.com/forums/archive Thanks Amy! Quote:
|
thank you!!!!
|
How can you add a conditional to this hack so the adsence banners will only be shown to certain usergroups you choose:
IE: Usergroups 1,3,4 Can this be done, or does it not recognize conditionals because it's in the archive pages. |
You can check for usergroup memberships, but not with template conditional syntax.
|
So does that mean you could not use this for example to show the banners to just 3 usergroups then.
Code:
<if condition="is_member_of($bbuserinfo, 1, 3, 4)"> |
In the plugin, you could use
Code:
if(is_member_of($vbulletin->userinfo,1,3,4)){ |
yea I know what you mean about members not using the archives, I thoguht about that also. But I think I would still rather exclude the banners from them anyway just in-case. As you never know.
So that code you posted above, would I just wrap that around the adsence code only. Would it then look like this: Code:
if(is_member_of($vbulletin->userinfo,1,3,4)){ |
Mine only shows in the footer it wont show anywhere else. Any ideas? thanks
|
This is a great modification. Thanks.
Please be sure to remove the author's Google Adsense code and place your Google Adsense code on this modification. If you are unsure how to do this, download this modification and open it with notepad. Then look for her codes and replace them with yours. Thank you. |
All times are GMT. The time now is 08:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|