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)

Logician 03-15-2003 06:53 AM

nope performance will not change.. Enjoy

refertech 03-15-2003 02:25 PM

Some reason when i call the template i just created I keep getting the follwing:

Error Message
The page you requested does not exist!

Please check the address you want to visit. If you arrived this page by clicking a link inside this site, you may notify the Site Administrator about the broken link. Thank you!


Edit: Never mind I got it. I was being a dope. :)

Craigr 03-15-2003 03:27 PM

Quote:

03-13-03 at 04:29 AM jbear6 said this in Post #205

I added the code above to online.php, and it works fine if you view "who's online" as an admin. When I view "who's online" as a registered member though, I see "Reading Webtemplate:", but nothing following the colon. For instance as an admin, I see "Reading Webtemplate: news", but as a registered user I see just "Reading Webtemplate:". I'm stumped :)

Thanks
Jbear6

I didn't even notice this. But the fix works great.

Thanks again Logician.

Craig

Intex 03-30-2003 09:58 AM

Logician - Nice Hack :cool:.

I have a few points to note:


Installation

On initial installation I received the following errors (even though everything seemed to go ok:


Error on Page 1:

Warning: Undefined index: p in c:\program files\apache group\apache\htdocs\forum\webtemplates_install.php on line 74


Error on Page 4:

Warning: Undefined variable: pagetitle in c:\program files\apache group\apache\htdocs\forum\webtemplates_install.php on line 312


As I mentioned the installation and testing afterwards suggests this worked ok anyway, so not sure how relevant those errors are.


Installation Documentation

Just a small point really, you mention in your installation instructions about getting the additional help relating to the hack, referencing:

To learn how to use the hack, please call {YOUR FORUM URL}/show.php?pg=Webtemplatehelp and {YOUR FORUM URL}/show.php?pg=Webqueryhelp files

I believe these should be pointed to:

show.php?pg=webtemplate_help and show.php?pg=webquery_help, respectively (with the forum path of course).



Style Issue

Although your test page loads successfully, my header and footer components don't show up. I'm not sure whether this is by design or not.

Of course it was easy for me to go to my relevant style and copy the code there which sorted it fine, but what happens if people have multiple styles.

Is there any way to point the webtemplates header and footer templates to their selected or default style?


I'll have a play with it in more detail now. Keep up the good work :cool:.

Logician 03-30-2003 06:09 PM

Quote:

Today at 01:58 PM Intex said this in Post #214

Style Issue

Although your test page loads successfully, my header and footer components don't show up. I'm not sure whether this is by design or not.

Of course it was easy for me to go to my relevant style and copy the code there which sorted it fine, but what happens if people have multiple styles.

If you put $header and $footer variables to any webtemplate, it's suppose to insert your header and footer there. Doesn't it act so?

ryancooper 03-31-2003 04:31 PM

Is it possable to have individual pages

EX: http://myURL/show.php?pg=whoareyou = Viewing who are you page

http://myURL/show.php?pg=menus = viewing Menus page

etc . . .

work with Firefly's Add Who's Online locations from Admin CP hack? https://vborg.vbsupport.ru/showthrea...threadid=32849

Thanks!!

Logician 04-01-2003 07:50 AM

Quote:

Yesterday at 08:31 PM ryancooper said this in Post #216
Is it possable to have individual pages

EX: http://myURL/show.php?pg=whoareyou = Viewing who are you page

http://myURL/show.php?pg=menus = viewing Menus page

etc . . .

work with Firefly's Add Who's Online locations from Admin CP hack? https://vborg.vbsupport.ru/showthrea...threadid=32849

Thanks!!

If what you are asking is to display webtemplate viewing in who is online, I've already given the code in this thread a few posts above.

ryancooper 04-01-2003 11:15 AM

Quote:

Yesterday at 09:50 PM Logician said this in Post #217

If what you are asking is to display webtemplate viewing in who is online, I've already given the code in this thread a few posts above.


Awesome that was a lot easier than adding each page. Thanks!!

WoodiE 04-06-2003 10:04 PM

I get this error:

Parse error: parse error, unexpected ',' in /home/rcnitro/public_html/forum/online.php on line 295

When I use Logician's who' online mod as listed above. I'm using vb 2.2.8

-WoodiE

Craigr 04-08-2003 02:40 PM

Quote:

Yesterday at 12:04 AM WoodiE said this in Post #219
I get this error:

Parse error: parse error, unexpected ',' in /home/rcnitro/public_html/forum/online.php on line 295

When I use Logician's who' online mod as listed above. I'm using vb 2.2.8


-WoodiE

Make sure you copy all the code to the exact location in online.php

If you miss something it may not work. It works great for me with vb 2.2.9

Craig


All times are GMT. The time now is 12:35 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.01364 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)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