Log in

View Full Version : adding banner left of "Welcome, <user>."?


Sculli
12-06-2005, 07:59 AM
I would like to add a small banner right to the left of "Welcome, Sculli, You last visited...", not within the cell that shows the welcome message, but in the cell to the left of it. So basically the banner would be right aligned in the left cell. Does that make any sense? Which template do I have to edit?

Thanks in advance.

evenmonkeys
12-06-2005, 09:39 PM
That's in the navbar. You can have it two ways... You can either have the banner as a background so it displays behind the breadcrumbs, or you can have it to the right of the breadcrumbs.

Styles & Templates > Style Manager > Navigation/Breadcrumb > navbar

To have it as a background:

FIND:
<td class="alt1" width="100%">
<if condition="is_array($navbits)">REPLACE WITH:
<td background src="image_url_here" class="alt1" width="100%">
<if condition="is_array($navbits)">
Replace image_url_here with the link to your banner.

To have it to the right of your breadcrumb:

FIND:
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>ADD BELOW:
<!-- banner hack thinger -->
<td class="alt1" valign="top" nowrap="nowrap">
<img src="" height="40" width="420">
</div>
</td>
<!-- // banner hack thinger -->
Just add in the actual link, height, and width.

How's that for ya? Good? Good. No? Oh well. Yarub tried.

Sculli
12-07-2005, 08:49 AM
Thanks, worked like a charm, see the effect at http://www.qcdn.org