Log in

View Full Version : Newbie here. Looking for template help..


TeddyKGB
03-27-2006, 04:02 AM
I just downloaded vB a few hours ago and I am working on my template before I import my other board and make "the move" for all the users.

I am having 2 issues with my template and need some assistance.

1) I want to place my board logo at the top so I replaced the default logo with mine but it is left-justified. Where do I go to center it?

2) I have seen some other boards (like this one) where when viewing a post in a thread the users profile is off to the left. Is this a plugin/mod or is that a template/style option that I am just completely missing?

Thank you

GTAce
03-27-2006, 04:19 AM
1) I want to place my board logo at the top so I replaced the default logo with mine but it is left-justified. Where do I go to center it?

Go to Style Manager in your ACP then "Edit Templates" in the dropdown for your skin. Open the header template and find

<td align="$stylevar[left]" valign="top" height="126"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

Change to

<td align="$stylevar[center]" valign="top" height="126"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

2) I have seen some other boards (like this one) where when viewing a post in a thread the users profile is off to the left. Is this a plugin/mod or is that a template/style option that I am just completely missing?

Back to your ACP and to vBulletin Options...then to Style & Language Settings.

Change "Use Legacy (Vertical) Postbit Template" to Yes - voila

:)

Welcome to vB!

TeddyKGB
03-27-2006, 02:36 PM
Thanks GTAce. I was able to correct the second issue but the first still eludes me. I went into Style Manager and Edit Templates for that specific template, clicked "header" and then "customize"

But I was not able to find the code snippet you provided. I did find this one but when I changed the align from left to center nothing happened. UPDATE: But if I change "$stylevar[left]" to "$stylevar[right]" it shifts the image to the right.

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

I've tried searching the templates for part of the code but nothing comes up. Any ideas?

Thank you for your help.

Kroziun
03-29-2006, 02:28 PM
Edit the header template.

Immediately after this: <td align="$stylevar[left]">

Add this: </td><td align="center">

So you get this:
<td align="$stylevar[left]"></td><td align="center">
It works on my new board, www.habbohotelbb.com

You are basically entering a table within a table and aligning it to the center then by using that code.

:)