Activity Stream
48,167 MEMBERS
61595 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member

    Default How To Show Ads In Certain Forums Category

    Hello,

    I am using vb 4.x. Please, help me to know that how can I put ads only in certain forum of my board.

    Means, If I only want to show ads in Application/Software category of my forum so how can I do this.

    Thanks in advance.
    Mulana Reviewed by Mulana on . How To Show Ads In Certain Forums Category Hello, I am using vb 4.x. Please, help me to know that how can I put ads only in certain forum of my board. Means, If I only want to show ads in Application/Software category of my forum so how can I do this. Thanks in advance. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Super Member
    If you want it to only appear xxx this forum use:

    Code: 
    <if condition="$forumid == xxx">
    
    Code goes here
    
    </if>
    Green text = Put your Forums ID there.

    Every forum apart from xxx forum use:

    Code: 
    <if condition="$forumid != xxx">
    
    Code goes here
    
    </if>

    So kiss me and smile for me, say that you'll wait for me <'3

  4.     
    #3
    Member
    Hye bro, Thanks for you reply.
    Man but I am bit confused that where to put that code ? If I want to show that ad under navbar then simply add this code in navbar template so It will only be show in XX forum.

    Am I right ??

  5.     
    #4
    Super Member
    It should do if my memory serves me correct.

    So kiss me and smile for me, say that you'll wait for me <'3

  6.     
    #5
    Member
    Thanks man
    Going to try this.

    Update : It give the error :
    The following error occurred when attempting to evaluate this template:
    &#37;1$s
    This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

  7.     
    #6
    Super Member
    Did you add the code with the ads or without the ads?

    Try adding the code without any adds, if no error comes up it means the ads is causing that error

    So kiss me and smile for me, say that you'll wait for me <'3

  8.     
    #7
    Member
    I did. I have modified the code a bit then It was fine. I added :

    <vb:if condition="$forumid=x">
    Add Code
    </vb:if>

    But still ads are not showing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Please help!How to show Article Category?
    By aaangel in forum Wordpress
    Replies: 5
    Last Post: 29th Apr 2012, 03:05 PM
  2. Show off your MyBB forums here.
    By gfxguru in forum Webmaster Discussion
    Replies: 2
    Last Post: 24th Jan 2011, 07:41 PM
  3. Any warez Forums with a OST Soundtrack category?
    By The90sKid in forum Forum and DDL Discussion
    Replies: 2
    Last Post: 10th Dec 2010, 02:15 PM
  4. Show people viewing sub forums.
    By CammyD in forum vBulletin
    Replies: 0
    Last Post: 16th Sep 2010, 01:31 PM
  5. how to show category as a page in woedpress
    By waqararif in forum Web Application/Script Support
    Replies: 1
    Last Post: 4th May 2009, 06:23 PM

Tags for this Thread

BE SOCIAL