Announcement

Collapse
No announcement yet.

Adsense placement in certain section of the forum only.....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adsense placement in certain section of the forum only.....

    Hi guys,

    Not sure if this is the right place to ask or not. If not, can a mod please move the thread to the correct area.

    I just added Google Adsense to my forum recently. However, I would like to make a change to the placement of the ad. I only want the ad to be displayed in certain section of the forum only.

    I know that I need to use a "If condition" statement. However, I don't know which variable to use. Below is a sample "if condition" used to display to add to certain group of users only. I need to replace the user variables with the forum area variable. Any help on this would be truly appreciated.

    PHP Code:
    <if condition="$bbuserinfo[usergroupid] == 1 || $bbuserinfo[usergroupid] == 2 || $bbuserinfo[usergroupid] == 6"
    Thank you
    -Tuan
    WWW.CARBABEFORUM.COM
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X