vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   Template Editing - All the variables and coding bits you need to know! (https://vborg.vbsupport.ru/showthread.php?t=113489)

genchacker 05-26-2006 04:59 PM

ı did new user fields
how can ı showing new page first members new fields

5IVEO 08-25-2006 03:43 AM

So how is it, and where is it you add background images instead of just colors?

So far this has helped me alot.

toolblast 08-25-2006 05:52 PM

Thanks to everyone for your support with this thread. I appreciate your kind words.

@Bashy: I'm not sure what Logicians's templates are.. I haven't used them myself. But I assume it would work if the templates integrate with the vbulletin scripting structure

@Genchacker: I'm not sure what exactly you're trying to do. Please elaborate in more detail.

@5IVEO:

To add background images in templates you just use the standard HTML code for tables and bgimage, etc. or css background image.

If you're wanting to put images in your templates, you can go into admincp and for 'background' for any of those style bits you can use something like "url(images/gradients/gradient_tcat.gif) repeat-x top left".

Adrian Schneider 08-25-2006 05:56 PM

Quote:

4. $headerinclude - Very useful, this variable will output the username/nickname of the user currently logged in.
Two errors here... one is obvious (copy pasted from line above it), second is that it's $headinclude (not head"er").

toolblast 08-25-2006 06:51 PM

Sorry. It is now 'headinclude' instead of 'header'

Adrian Schneider 08-25-2006 06:57 PM

$headinclude contains the 'headinclude' template, not the current username...

toolblast 08-25-2006 07:17 PM

Ya, there were duplicate descriptions for some reason. Fixed it now :) Thanks!!

Majed37 08-26-2006 02:27 PM

what if wana use a custom variable in php file to include in a template ?

for example :
if I write in postings.php :
PHP Code:

$linkurl_img ""

can I use this variable directly in any template ?

toolblast 08-26-2006 03:25 PM

Variables you want to be able to use in any template need to be defined globally on vbulletin...

Some urls that may help:
link 1, link 2, link 3

5IVEO 08-26-2006 11:59 PM

Quote:

Originally Posted by toolblast
Thanks to everyone for your support with this thread. I appreciate your kind words.

@Bashy: I'm not sure what Logicians's templates are.. I haven't used them myself. But I assume it would work if the templates integrate with the vbulletin scripting structure

@Genchacker: I'm not sure what exactly you're trying to do. Please elaborate in more detail.

@5IVEO:

To add background images in templates you just use the standard HTML code for tables and bgimage, etc. or css background image.

If you're wanting to put images in your templates, you can go into admincp and for 'background' for any of those style bits you can use something like "url(images/gradients/gradient_tcat.gif) repeat-x top left".

Thanks for the help I greatly appreciate it! Now I can work on making my own theme.


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01423 seconds
  • Memory Usage 1,738KB
  • 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)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete