vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Absolute N00b (https://vborg.vbsupport.ru/showthread.php?t=87674)

imported_Azrharn 09-30-2003 06:35 PM

Absolute N00b
 
That'd be me :D anywho..how do you get one template to call to another template?
So say in my forumhome...i have $logincode that chooses between the logged in or out option..and I want to make a duplicate of that in my welcome panel...but i want to alter the way it looks but only in the welcome panel..
so i guess..if your logged in..there are 3 links in the logged in code..the Log Off, Mark all threads read, and Forum Leaders

well in my welcome panel i want to drop the forum leaders link, but I still want it to be on the bottom of the page..so i need a new set of templates...What i need to know is how to get the forumhome to call to welcome_login or welcome_logout (my 2 newtemplates) depending on whether or not the person is logged in or out

Tony G 10-01-2003 12:46 AM

It would require a hack or maybe phpinclude for new templates to work in others. (As well as a variable)

imported_Azrharn 10-01-2003 11:08 PM

then how do i get it to work?

Tony G 10-01-2003 11:58 PM

You can ask at vb.org for the hack way to do it. We do not support file mods.


All times are GMT. The time now is 11:19 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.00905 seconds
  • Memory Usage 1,706KB
  • 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
  • (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