vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Wondering about the stability of vb4 (https://vborg.vbsupport.ru/showthread.php?t=244772)

Kyle55155 06-17-2010 08:46 AM

Quote:

Originally Posted by DragonBlade (Post 2054898)
Just to make sure, do you echo your html+PHP since you are using the include function before?

I got that php file from Lynn's article. I just copied it. The only change I made to it was specifiying the template name.

I don't echo my php or html. I just pointed the plugin at my php file and it loads it into the $includedphp variable and then I just add that variable to my template. Are you saying you put PHP code directly into the template file? That's one of the first things I tried and it will not run that way. Or are you saying I need to echo all php\html code in the template.?

I thinking I'm missing something here. Thanks for being patient. My code is for a separate app that resides inside custom vbulletin pages.

DragonBlade 06-17-2010 08:53 AM

If you dont mind, can you PM me your php code? Would simplify things :P

Kyle55155 06-17-2010 08:55 AM

sure. I have multiple pages. I'll send you one. Give me 5 minutes

--------------- Added [DATE]1276769854[/DATE] at [TIME]1276769854[/TIME] ---------------

Quote:

Originally Posted by DragonBlade (Post 2054907)
If you dont mind, can you PM me your php code? Would simplify things :P

Sent. I have hundreds of lines of php and html code. The plugin method seems pretty simple. As I just point the plugin directly at the specific php page. I'm just unclear how I am supposed to make $output (or whatever variable name) = (all the php\html code for a particular php page I have without using a plugin.

It came as a bit of a surprise when I first learned I could not add PHP coded directly into the template files. Plus I read that the custom php code must first be buffered while the Vbulletin code is executed first. I'm unclear how this issue is addressed using the no plugin method.


All times are GMT. The time now is 10:53 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.00998 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete