vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PHP in templates (https://vborg.vbsupport.ru/showthread.php?t=44375)

Shepski 10-07-2002 02:23 PM

PHP in templates
 
This has prolly already been done but I can see it after searching. i want to "include" php files that displays various things in my header template but it only accepts normal HTML commands. Is there a way of using PHP in the templates. I am running on a Win 2k running IIS5 if thats any help.

TIA

Xenon 10-07-2002 03:36 PM

there is just one template which supports php: phpinclude
include your file there

Shepski 10-07-2002 08:23 PM

i have checked the template pdf file but its not very helpful. how do i use this to include a file that will be displayed somewhere just below the forum logo.

take a look at my forums in my sig link, i want to display the file results just above the pictures of dvds and just below the forum logo.

Xenon 10-08-2002 11:39 AM

you have to change your included file to save all output into a variable and the put the variable where you want it

g-force2k2 10-08-2002 07:12 PM

you can always check this out:

https://vborg.vbsupport.ru/showthrea...threadid=43325

it allows for php to be used in templates ;) regards..

g-force2k2

Shepski 10-09-2002 09:11 AM

I have sorted it now thanks :)

take a look at here to see the results :)


All times are GMT. The time now is 01:48 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.01994 seconds
  • Memory Usage 1,713KB
  • 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
  • (6)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