vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Newbie here. Looking for template help.. (https://vborg.vbsupport.ru/showthread.php?t=111461)

TeddyKGB 03-27-2006 04:02 AM

Newbie here. Looking for template help..
 
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

Quote:

Originally Posted by TeddyKGB
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

HTML Code:

<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

HTML Code:

<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>
Quote:

Originally Posted by TeddyKGB
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.

HTML Code:

<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:
HTML Code:

<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.

:)


All times are GMT. The time now is 08:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02083 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete