The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi, I have a table with a google ad in it:
Code:
<td class="tcat" colspan="20" style="font-weight:normal"><div class="smallfont"> <div>
<div align="center">Visiting google ads supports apug. <br>
<script type="text/javascript"><!--
google_ad_client = "pub-5488930663746956";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_ad_type = "text_image";
google_color_border = "C1BDB1";
google_color_bg = "FFFFFF";
google_color_link = "333333";
google_color_url = "444444";
google_color_text = "444444";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br>
<br>
</div></td>
</tr>
|
|
#2
|
||||
|
||||
|
If it's usergroup 9 you use for your subscribers, you can use this:
Code:
<if condition="$bbuserinfo[usergroupid]!=9"> <!-- Non-Subscriber Stuff Here --> </if> Code:
<if condition="!is_member_of($bbuserinfo, 9)"> <!-- Non-Subscriber Stuff Here --> </if> ![]() If you were wanting one block of code for subscribers and one for non-subscribers, use one of the following: Code:
<if condition="$bbuserinfo[usergroupid]!=9"> <!-- Non-Subscriber Stuff Here --> <else /> <!-- Subscriber Stuff Here --> </if> Code:
<if condition="!is_member_of($bbuserinfo, 9)"> <!-- Non-Subscriber Stuff Here --> <else /> <!-- Subscriber Stuff Here --> </if> |
|
#3
|
|||
|
|||
|
how about on the <php> side.
i can't seem to get the following to work for usergroup '9', a secondary user group PHP Code:
thanks |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|