vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What is a template exactly? (https://vborg.vbsupport.ru/showthread.php?t=80671)

CrimsonGT 04-27-2005 11:30 PM

What is a template exactly?
 
Alright, I am trying to learn to customize vBulletin and what not, and have an idea for a script I want to make but I need to figure some stuff out first.

1)What is a template exactly? From my limited experience it appears to be a single page that can be loaded over and over again with different information displayed on it (in the set areas of the page) from the database.

If I am correct, then I also have a more specific question. I am trying to make it so paying members can have a personals page to display their automobile pictures and modifications to the car. Could I just create a template and load each members data onto the template from the database?

Adrian Schneider 04-28-2005 02:11 AM

1) yes, it is like conditional hTML stored in the database
2) yes, this would take a little more work (query, some coding) unless you did each manually

Reeve of shinra 04-28-2005 02:17 AM

Have you taken a look at the vbgarage hack? It might already do what you are looking for. I am not sure if it can be limited to specific usergroups since I never used it.

CrimsonGT 04-28-2005 10:21 AM

The problem with vBGarage is that I am trying to give my users a sense of seperation from the forums. The vBGarage hack is very blatantly obvious that its running right off the forums. I would like to set something up on my homepage so members are not aware its connected with the forums aside from having the same UserName and what not.

like this to give you a general idea...
http://www.viperalley.com/viperinfo/index.php

Princeton 04-28-2005 12:01 PM

template = A document or file having a preset format, used as a starting point for a particular application so that the format does not have to be recreated each time it is used

To create personal pages with vb, will take a lot of knowledge and experience. A faster turnaround would be to use an existing hack and modify it to fit your needs.

If you cannot modify vbgarage to fit your needs then you will have a much harder time creating this from scratch.


All times are GMT. The time now is 08:15 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.01031 seconds
  • Memory Usage 1,718KB
  • 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
  • (5)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