i want to show a message on every topic.

Discussion in 'vBulletin' started by Rahul12345, Nov 7, 2010.

  1. #1
    Hii All,

    i am using 4.0.3 vb

    i want to show a message on every topic.

    its seen only guest..

    please help me...
     
    Rahul12345, Nov 7, 2010 IP
  2. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #2
    What message do you mean?

    - Dynashox -
     
    dynashox, Nov 7, 2010 IP
  3. Rahul12345

    Rahul12345 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello Guest Please Register to support us
     
    Rahul12345, Nov 8, 2010 IP
  4. ArgesForum

    ArgesForum Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think I can help you.. You have to modify a template, showthread.
    In admincp -> style manager -> showthread find $poll.
    Right above it write this:

    <if condition="!$bbuserinfo[userid]">
    <div style="padding:0px 0px $stylevar[cellpadding]px 0px">

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="alt1" align="center">
    Hello Guest Please <a href="yourforum.com/register">Register</a> to support us
    </td>
    </tr>
    </table>

    </div>
    </if>


    This works in 3.8.x but maybe it will work in 4.0.x also
     
    ArgesForum, Nov 21, 2010 IP
  5. johnnyboy1988

    johnnyboy1988 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    vBulletin 4 uses different if condition statment so unfortunately your template modification wont work in vBulletin 4 releases :)
     
    johnnyboy1988, Nov 21, 2010 IP
  6. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #6
    I wouldn't do the above ^^
    The simple and easy way to do this is just to use one of the built in ad_location_templates
    There are a few for first post inside the post, above the post and after the post.
    Don't just edit your showthread template, use the built in ad_locations so you don't have to worry about redoing the edits with every upgrade. ;)

    ps.. I'd suggest updating to the latest 4.x build, several bug fixes have been issues since .4
     
    Brandon Sheley, Nov 21, 2010 IP
  7. ArgesForum

    ArgesForum Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yes indeed, I always forget the ad_location_templates!!! don't know why.. ;))

    this is the way to go, very simple and efficient!
     
    ArgesForum, Nov 21, 2010 IP