vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WebTemplates v.0.1 (Old Version) (https://vborg.vbsupport.ru/showthread.php?t=36419)

leviw 04-28-2003 10:01 PM

I'm having some trouble getting templates to work properly.

Heres what I have so far:

I went to Add Webtemplate, entered all info as "demo", page count 0, template info is: Hello $s2sheader

I went back into Add Webtemplate and made one called s2sheader, page count 0, info is: world.
Then I load example. com/forum/show.php?pg=demo

It loads a blank white page that says "Hello"

So.. the $s2sheader is not loading properly. What gives?

I also tried copying the webtemplate as a normal template, but same results. What am I doing wrong?

Thanks in advance!

leviw 04-29-2003 05:25 AM

After fiddling with it I havnt gotten any further. None of my templates will load.

Is there something I need to do to prep or preload the template?

I dont understand why the premade $footer template will work, but my template right next to it wont. There must be something else at work here but I'm not seeing it. Help!

Logician 04-29-2003 07:02 AM

Quote:

Today at 09:25 AM leviw said this in Post #232
I dont understand why the premade $footer template will work, but my template right next to it wont. There must be something else at work here but I'm not seeing it. Help!
The hack does not have "template-in-template" feature except footer and header templates. (at least yet, I may or may not add this feature to the next version, still pondering about it) So this is why your first template was not displayed inside your second one.

glo 04-29-2003 12:13 PM

Hi Logician,

Is this hack compatible with 2.3.0?

Logician 04-29-2003 01:59 PM

yes it is glo

leviw 04-29-2003 10:59 PM

Quote:

The hack does not have "template-in-template" feature except footer and header templates.
Bummer, that was a huge reason I wanted to use WebTemplates.

Koutaru 04-29-2003 11:58 PM

just wondering

How could I show users browsing this page. For example (like this thread):

(Users Browsing this Thread: Koutaru, Another User, User 3)

Instead of Thread..

(Users Browsing this Page: Koutaru, Another User, User 3)

Or maybe you could point me in the direction of adding this little addon?

gmarik 05-02-2003 05:22 AM

You should work on the screenshot more than on the code - tip, tip!

glo 05-02-2003 06:33 AM

Hi Logician,

Could you please tell me if you hack could replicate my main page ?

And where are some live examples? preferably in English

Logician 05-02-2003 07:00 AM

replicate?

After installing the hack, you can simply copy/paste the source code of your page into a webtemplate and your page will be a webtemplate then. Is this what u are asking?

However as mentioned in the hack thread this hack is not coded for "site main page" altough some people use it for their main pages too.


All times are GMT. The time now is 12:43 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.01239 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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