How do I add text to right of banner like in this board?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leonardg
    Member
    • Sep 2005
    • 57
    • 3.5.x

    How do I add text to right of banner like in this board?

    In our bulletin board, I have replaced the vBulletin logo at the left with our logo, but I would like to add some text to the far right like in this board:

    vBulletin 3.5.0 www.vbulletin.com

    Where can I set this? (I am using 100% width)
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header

    Replace the red code with your code:

    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]">
    		[color=red]&nbsp;[/color]
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output

    Comment

    • Leonardg
      Member
      • Sep 2005
      • 57
      • 3.5.x

      #3
      Thank you!

      Thanks for the quick response

      Comment

      • Dio
        New Member
        • Apr 2005
        • 21

        #4
        Originally posted by Jake Bunce
        Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header

        Replace the red code with your code:

        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]">
                [COLOR=red]&nbsp;[/COLOR]
            </td>
        </tr>
        </table>
        <!-- /logo -->
        
        <!-- content table -->
        $spacer_open
        
        $_phpinclude_output
        Just spotted this via another thread, its worth pointing out to AdSense users that doing this jepordises your adsense account as it displays on non-content pages (profile, log-in, register pages etc.) as well as content pages - which is a breach of the AdSense TOS.

        Comment

        • Colin F
          Senior Member
          • May 2004
          • 17689

          #5
          That could be circumvented by using template conditionals to not display it on those pages.
          Best Regards
          Colin Frei

          Please don't contact me per PM.

          Comment

          • Dio
            New Member
            • Apr 2005
            • 21

            #6
            Originally posted by Colin F
            That could be circumvented by using template conditionals to not display it on those pages.
            Yes, meant to mention that - the link takes you to a page I wrote with the conditional code on it.

            Comment

            • ka81
              New Member
              • Sep 2005
              • 22
              • 4.1.x

              #7
              Originally posted by Jake Bunce
              Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header

              Replace the red code with your code:

              Code:
                  <td align="$stylevar[left]"><a href=[B]"$vboptions[forumhome].php$session[sessionurl_q]"[/B]><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
              Hello!

              Would you please help me with such an information:

              under that logo (titleimage = images/style1/header/logo.gif) - there's a link ("$vboptions[forumhome].php$session[sessionurl_q]").

              The question is - where to change that link???
              by default it path to phorum, but I need another link.


              Would very appreciate your help-advise!!

              Thanx!
              pan Oleksiy

              Comment

              • Colin F
                Senior Member
                • May 2004
                • 17689

                #8
                Exchange
                $vboptions[forumhome]
                with the php file you want it to point to (for example forumdisplay)
                Or, simply replace the whole link.
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment

                • ka81
                  New Member
                  • Sep 2005
                  • 22
                  • 4.1.x

                  #9
                  Originally posted by Colin F
                  Exchange
                  $vboptions[forumhome]
                  with the php file you want it to point to (for example forumdisplay)
                  Or, simply replace the whole link.
                  thanx. well, for a time I changed it to a direct link, but, very sorry for not beeing correct, the question exactly is - very it's defined? I mean where to find in AdminCP - $session[sessionurl_q] ?

                  Thanx!
                  pan Oleksiy

                  Comment

                  • Colin F
                    Senior Member
                    • May 2004
                    • 17689

                    #10
                    That's the session URL. Depending on where you're linking to, it might make sense to add that, as it'll allow users to surf your forum even if they don't have cookies enabled.
                    Best Regards
                    Colin Frei

                    Please don't contact me per PM.

                    Comment

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