Announcement

Collapse
No announcement yet.

header template

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

  • header template

    I'm using the following code to change banners for different forums:

    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tbody>
    <tr>
    <td class="thead" colspan="2">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('banner')"><img id="collapseimg_banner" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_banner].gif" alt="Hide/show banner" border="0" /></a> </td>
    </tr>
    </tbody>
    <tbody id="collapseobj_banner" style="$vbcollapse[collapseobj_banner]"> <tr>
    <td align="$stylevar[left]"> <if condition="$foruminfo['forumid'] == 10"><img src="http://world-a-team.com/images/banners/wat_zim.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 9"><img src="http://world-a-team.com/images/banners/wat_slanka.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 6"><img src="http://world-a-team.com/images/banners/wat_pak.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 8"><img src="http://world-a-team.com/images/banners/wat_nz.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 4"><img src="http://world-a-team.com/images/banners/wat_aust.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 7"><img src="http://world-a-team.com/images/banners/wat_india.jpg" border="0" /><else /><if condition="$foruminfo['forumid'] == 12"><img src="http://world-a-team.com/images/banners/wat_westindies.jpg" border="0" /><else /><if condition="THIS_SCRIPT == fantasy_cricket"><img src="http://world-a-team.com/images/misc/fantasy-cricket.jpg" border="0" /><else /><if condition="THIS_SCRIPT == cricketnews"> <img src="http://world-a-team.com/images/misc/news01.jpg" border="0" /><img src="http://world-a-team.com/images/misc/bluebackgr.jpg" border="0" /> <else /><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></if></if></if></if></if></if></if></if></if>
    </td>
    </tr>
    </tbody>
    </table>
    <!-- /logo -->

    One of my members, who uses the same browser I do (IE6.0.29) can't see any banners when this conditional is used: <if condition="$foruminfo['forumid'] == x">, however, he can see the banners when this conditional is used: ><if condition="THIS_SCRIPT == cricketnews">. I can see the banners for both conditional types using the same browser. He has cleared his cookies. Even viewing the forum as a guest he can't see any banners that use this conditional: <if condition="$foruminfo['forumid'] == x">.

    What could be the cause of his problem?

  • #2
    It works fine for me...

    Ask him to reload the page with Ctrl + F5, or to try using a different browser.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Thanks Colin, when he's online again tomorrow I'll ask him to do a Ctrl + F5. I checked the forum with Firefox and all banners appear correctly.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X