Announcement

Collapse
No announcement yet.

Editing headers and footer comparison

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

  • hilary
    replied
    Hi harmor

    Thanks for the response, that worked!

    I think the 'post in the correct section' comment from Steve was aimed at me rather than you!
    Sorry Steve, I only realised after I'd made the post that it was in an inappropriate section - I know how annoying this is and promise not to do it again!

    Leave a comment:


  • harmor
    replied
    I thought it be ok to answer since the it's more of a HTML question than vbulletin.

    Leave a comment:


  • Steve Machol
    replied
    This is the Pre-Sales forum. Please post in the appropriate forum for support.

    Leave a comment:


  • harmor
    replied
    target="_blank"

    Leave a comment:


  • hilary
    replied
    I've used this idea to put a banner ad at the top of section of my forum...

    this is the code that I've used,

    <if condition="$forumid == '205'">
    <center>
    <a href="http://www.linkcounter.com/go.php?linkid=274092" target="new"><img src="http://www.bubhub.com.au/images/zkindermusikbanner.gif" alt="Kindermusik" border=none></a><br>
    </center><br>
    <else />&nbsp;
    </if>

    The target=new code is ignored and instead of a new browser window opening, the viewer is taken from our site to the advertisers site. Is there any code that I could use to clicking on the ad open a new browser window?

    Thanks

    (Oops, just noticed this is in a version 3.0 section of the forum - I am using 3.5.3 if that makes a difference to the reply)

    Leave a comment:


  • cronin
    replied
    cool thanks

    Leave a comment:


  • Steve Machol
    replied
    Yes, these are specific to vB's template system.

    Leave a comment:


  • cronin
    replied
    do these codes work only for vBulletin?

    Leave a comment:


  • Floris
    replied
    Yep, any unique forumid, and .. they are unique

    You can even make a default code for when the forumid is unknown.

    Code:
    <if condition="$forumid == '1'">
    Code for when the forumid is 1
    <else />
      <if condition="$forumid == '5'">
      Code for when the forumid is 5
      <else />
      Code for every other forumid
      </if>
    </if>

    Leave a comment:


  • cronin
    replied
    this will work for every different forum under the same category?

    Leave a comment:


  • Floris
    replied
    You can use conditionals to display a different element in the header/footer templates.

    For example:

    <if condition="$forumid == '5'">sound1.wav</if>

    Would only display this sound if the forum had forumid 5.

    Leave a comment:


  • cronin
    started a topic Editing headers and footer comparison

    Editing headers and footer comparison

    i was testing out the admin demo because i am looking for something that has a way to edit forum's the way you can with proboards in the edinting headers and footers section, such as when you go into one of the forum pages, it plays a different music in everyone of them. Can you do those kind of things with vBulletin? Thanks
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X