Random banners

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kneginja
    New Member
    • Jul 2008
    • 22
    • 4.2.X

    Random banners

    I did the upgrade and made a misteke after, I change same templates.
    I would like to change them back. Jake Bounce helped once with this to my friend :

    Third, you are apparently trying to replace the title image with a random title image, so I removed the default title image code from the header so the title doesn't show twice.
    I need to do that, but I don't know how. I don't know what is the default title imige code.
  • calorie
    Senior Member
    • May 2003
    • 407

    #2
    Use the ACP to Search in Templates. Type header in the box and set Search Titles Only to yes. That'll pull up the header template, which will be highlighted if you edited it. To switch back to the vB default header template, and undo all changed you made to that template, click the header template and then the Revert button. If you do not want to revert the template, click the Edit button to make edits or View Original button to see the default template. To change the default logo, go to the ACP -> Styles & Templates -> Style Manager -> StyleVars (from the drop menu) and scroll down a little, and you will see the Image controls. In the Title Image, replace vbulletin3_logo_white.gif with the name of your logo image. If you do that, make sure to FTP your new logo is into the /images/misc folder in the forum folder.

    Comment

    • Kneginja
      New Member
      • Jul 2008
      • 22
      • 4.2.X

      #3
      Maybe I wasn't precise enough.
      My header is fine but stands stil because I don't know what the default title image code looks like. I need to do that like Jake Bounce did it before.

      Look what was the problem before. http://www.vbulletin.com/forum/showthread.php?t=263046

      Now everiting is fine, just my headers doesn't changes.

      Comment

      • calorie
        Senior Member
        • May 2003
        • 407

        #4
        Please follow the instructions in this thread, but note that the red   in those instructions has been replaced by the red line below, so you could instead make use of the vB ad_header_logo template, adding in a JavaScript random banner snippet:
        Code:
        <!-- logo -->
        <a name="top"></a>
        <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
        <tr>
        	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        	<td align="$stylevar[right]" id="header_right_cell">
        		[COLOR="Red"]<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>[/COLOR]
        	</td>
        </tr>
        </table>
        <!-- /logo -->

        Comment

        • Kneginja
          New Member
          • Jul 2008
          • 22
          • 4.2.X

          #5
          Tnx.
          I folowed the link did how is said.

          Now it works, but i had to erase that default title image code, because at first I had duplicated images. Now is perfect.

          Tnx again.

          Comment

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