vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Simple Layout Changes (https://vborg.vbsupport.ru/showthread.php?t=54779)

Importhookup 06-26-2003 08:46 PM

Simple Layout Changes
 
Hello Guys,

Can someone give me some guidelines on how to make simple structural layout changes in VB V.3? Some of the things that i would like to do is move the site map drop down menu, the serach box, and the login fields to the top of the webpage becuase a lot of people don't see them. Thanks!

Tim

Gary King 06-27-2003 01:28 PM

Try searching for them in their respective templates, and moving them around. Some of them are just HTML, some others are PHP variables. The PHP variables will probably be harder to notice, but you can tell what they are by seeing their variable names.

And if you need help knowing which template something is in, you could find the following in the vBulletin Options and checking "Yes" for it: Add template name in comments

Importhookup 06-27-2003 08:08 PM

Can someone give me some sort of example? I'm new at this and I'm learning PHP as I go along. Thanks for the information you guys are great.

Gary King 06-27-2003 08:38 PM

Some of the variables are actually other templates, such as the $logincode, and the $forumjump (the login/logout code, and the forum jump box, respectively).

So, let's say you wanted to move the forumjump box to the top of every thread page instead of the bottom, so then you'd look for $forumjump at the bottom of showthread template, and move it to the top somewhere.

It's as simple as that :)

Importhookup 06-30-2003 05:16 PM

Got it! I was able to make some simple changes on my own. This is so cool Gary :) Oh yeah, if I were to change one layout change I would have to change them in every single template?

Gary King 07-10-2003 11:02 PM

Depends on what you are talking about.


All times are GMT. The time now is 12:27 PM.

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.00974 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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