vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   $spacer_open & $spacer_close variable replace (https://vborg.vbsupport.ru/showthread.php?t=67082)

neverrain 07-12-2004 02:48 AM

$spacer_open & $spacer_close variable replace
 
Hello,
All day I’ve been trying to change the $spacer_open & $spacer_close tags on the template “FORUMHOME” and replace them with my own custom variables.

I edited the header and footer templates using the Style Manager, changing the $spacer_open and $spacer_close to $mainp_open and $mainp_close which are my two custom page templates with the exact same code as $spacer_open and $spacer_close except for two class attributes which we’re originally set to “page”, then changed to “mpage” for the two new custom styles.

I also made sure I created the new mpage style correctly in “Addtional Styles” in the Style Manager.

The page does not show at all with my new modifications, why would this happen? It seems like I copied everything correctly and went through all the hoops to make this work.

...The odd things in vBulletin. :ermm:

Thanks,
-Neverrain

Xenon 07-12-2004 03:44 PM

actually i don't really get what you are trying to do.

but have you tried to edit the spacer_open and close templates and just use if conditions in them?

that way is much easier, than creating new templates, especially if you just need it for one page..

Zachery 07-12-2004 05:26 PM

Or, you could just hard code it into the forumhome.


All times are GMT. The time now is 01:41 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.01061 seconds
  • Memory Usage 1,708KB
  • 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
  • (3)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