Results 1 to 6 of 6

Thread: How to exclude things from specific pages

  1. #1

    Question How to exclude things from specific pages

    I have an image in my navbar template that I'd like to prevent from displaying on my vBAdvanced homepage. How do I go about this?

  2. #2

    Default

    I'm guessing it would be a vBulletin conditional. Does anyone have any ideas?

  3. #3
    Join Date
    Apr 2006
    Location
    Detroit
    Posts
    49

    Default

    Use this if your vba install is in your forum root...


    Code:
    <if condition="THIS_SCRIPT != 'index'">YOUR IMAGE CODE</if>

  4. #4

    Default

    Thank you, but that actually kept the image from displaying on my forum homepage...

  5. #5
    Join Date
    Apr 2006
    Location
    Detroit
    Posts
    49

    Default

    Then you have vba installed before your forums folder or that would have worked, sorry.

  6. #6
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Sal: The conditional you would want to use is <if condition="THIS_SCRIPT != 'adv_index'">IMAGE CODE HERE</if>

    blind-eddie: The THIS_SCRIPT value has nothing to do with a file's location or it's name. THIS_SCRIPT is a constant that's defined within the code of each PHP file in vBulletin. For the CMPS, the THIS_SCRIPT value is always going to be 'adv_index'.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Exclude Pages - not excluded
    By jcerious in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 09-10-2008, 06:29 PM
  2. Replies: 2
    Last Post: 05-27-2007, 12:25 AM
  3. Pages to Include instead of Exclude
    By dillon in forum Feedback & Suggestions
    Replies: 5
    Last Post: 07-02-2006, 10:08 AM
  4. Re: Pages to Include instead of Exclude
    By Garrylawton in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 06-29-2006, 10:14 PM
  5. Dont want to exclude pages!
    By michaelbenson in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 06-13-2005, 05:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •