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 2.x: VB Integrated Content Management System (https://vborg.vbsupport.ru/showthread.php?t=54875)

Logician 09-04-2003 09:43 PM

in a PHP parsed webtemplate do not temper with other webtemplate options such as conditionals, header, footer etc. Make sure your template's all other settings as same name sample webtemplate "phptest". (Especially header and footer regarding your error message) .

Also make sure your PHP syntax is correct.

soccerclue 09-05-2003 10:33 AM

I can gurarantee that my php code is correct because it works fine before integrating with the hack. I still cannot find what's wrong. I use this hack to help me with the displaying of the header and footer and also I would like to have the login and logout box to appear in the non vb page. Do you mind if I PM you the PHP code?

Logician 09-05-2003 02:21 PM

Quote:

Today at 02:33 PM soccerclue said this in Post #162
I can gurarantee that my php code is correct because it works fine before integrating with the hack. I still cannot find what's wrong. I use this hack to help me with the displaying of the header and footer and also I would like to have the login and logout box to appear in the non vb page. Do you mind if I PM you the PHP code?
Try this:

Copy paste your PHP code in that template inside default "phptest" template. And make sure you do NOT change anything else in phptest template except "webtemplate" field.

If it works it means that you tempered with a setting that you shouldn't inside your webtemplate.

If it does not work, try to put your code inside default PHPINCLUDE template of vb. If a problem occurs, then it means vb did not like your code for a reason, then webtemplate will inherit this behavior either. If it works in the PHPINCLUDE template, then let me know your PHP code.

soccerclue 09-05-2003 08:37 PM

OK...I have tried to put the PHP code in the phptest and it gave the same error.

I don't know exactly putting the code inside default PHPINCLUDE template of vb. Is it in AdminCP or in webtemplate file edit? I saw a PHP include input box in the webtemplate file edit though. I tried putting the code in that field in phptest and it gave the same error also. I don't have any idea how to fix it. Really hope you can help me. Thank you.

Logician 09-06-2003 07:42 AM

let me know your PHP code

roxics 09-06-2003 08:09 AM

Hi I have bit of a problem. I set up a page I would like for someone else to edit. I put their userid in the editors field (459) however I notice myself as Admin that when I click on [Edit this page] on taht page editors.php pops up blank. Why could this be?

thanks

Logician 09-06-2003 08:28 AM

I would firstly suspect a template problem. Check if all templates created ok and in all template sets too..

roxics 09-06-2003 05:32 PM

Everything looks fine and seems to be working fine. Just that is that working.

Just to clearify the problems seems to be with editors.php. Though nothing was changed with that file. Every other part of your system is working great and I'm very happy with it.

Does the editors.php file need a certain CHMOD value?

Logician 09-06-2003 08:24 PM

Quote:

Yesterday at 09:32 PM roxics said this in Post #168
Everything looks fine and seems to be working fine. Just that is that working.

Just to clearify the problems seems to be with editors.php. Though nothing was changed with that file. Every other part of your system is working great and I'm very happy with it.

Does the editors.php file need a certain CHMOD value?

Have you checked templates as I suggested?

There are very few sections that uses the templates you created in the installations so if there is a problem with your template installation, the hack will still work fine but you'll get blank pages in a few sections one of which is webtemplate editing.

So make sure:
1- Installation templates are created correctly
2- Their names are correct (it is CASE-SENSITIVE) and there is no trailing space etc. at the end.
3- If you have more than 1 template sets, templates are created in ALL sets.

roxics 09-07-2003 02:47 AM

I see what you are saying. The templates for the style. They were all blank. Somehow I missed filling those in. Everythign is fixed now and working great.

Thanks for your help. :)


All times are GMT. The time now is 10:37 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.01335 seconds
  • Memory Usage 1,741KB
  • 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