vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   php templates (https://vborg.vbsupport.ru/showthread.php?t=89985)

imported_blueuniverse 10-23-2004 08:10 AM

php templates
 
Is there any way, to get PHP code in the templates, as I need to integrate a script with the rest of my site.

If not, what solution would you recommend? Is it possible to build a php powered page, without the use of templates, that you can enter the php code in manually?

solutions would be much appreciated

Jolten 10-23-2004 02:11 PM

place your php in the php_include start template.

imported_blueuniverse 10-23-2004 03:55 PM

Surely if I did that though, it would be included on all pages, and not the one specific page I want. And how would I get that to appear where I want on the specific page?

Tony G 10-23-2004 11:15 PM

Well, you'd need to create a variable in the phpinclude template, for a specific template if you wish, and then place it where you want it to show.

imported_blueuniverse 10-24-2004 05:39 AM

sounds pretty complicated. I'd have thought that there would have been mods for doing something like this though?

Tony G 10-24-2004 05:53 AM

There are mods that use the phpinclude template, but no mod telling you how to make a phpinclude mod, sorry. If you have a specific mod you want, request it and be more specific. :)

imported_blueuniverse 10-24-2004 05:55 AM

Ok then - THIS IS MY SPECIFIC MOD REQUEST

What I want is to be able to use php within templates. Not just includes, but whole chunks of code within the templates. Would anybody be able to make this possible.

;)

Tony G 10-24-2004 10:17 AM

Like I said, no modification will tell you how to make a modification. It will do it for you, and that's it. When I am referring to specific, I mean, what modification you want to make to your forum, what function you want to add, etc.

imported_blueuniverse 10-25-2004 05:34 AM

Surely the function I want to add is php in the templates system

Jolten 10-25-2004 05:58 PM

Open your specific vbulletin php pages and add the php you want to those files then alter your html in the template to correspond with your added PHP.


All times are GMT. The time now is 08:12 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.02305 seconds
  • Memory Usage 1,722KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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