vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Run Complete php script in a empty vBulletin Page? (https://vborg.vbsupport.ru/showthread.php?t=252186)

akeid 10-17-2010 03:51 AM

Run Complete php script in a empty vBulletin Page?
 
Hey guys i have a complete highscores system that connects to is own database for my game. I was wondering if i could load this within a vbulletin page, and keep the same template. The Highscores system contains different it must connect to. I tried many things but i couldnt get it to work properly.

Heres the picture of the highscores script.

http://img818.imageshack.us/img818/3358/capturedne.png

And i want to load it in the middle of this extra vbulletin page i made, in the templates called highscores2.php

http://img803.imageshack.us/img803/5190/capturep.png


Thanks and any help is appreciated!

Carnage 10-17-2010 07:13 AM

The easiest way would be to use an iframe...

akeid 10-17-2010 03:37 PM

Yea thats what i was thinking, but if i wanted to include it within a vbulletin page, would that be possible?

Lynne 10-17-2010 04:10 PM

Create a page using this - [HOW TO - vB4] Create your own vBulletin page- and then add your own php code to the php page and output your stuff to the template.

akeid 10-17-2010 11:45 PM

Yea lynne that what i did to make the highscores2.php , but when i want to load the php code, in the template it doesnt work.

Lynne 10-18-2010 03:08 AM

Unless you post your code, we really can't make any guesses as to why it isn't being output into your template.

akeid 10-19-2010 12:36 AM

Thanks lynne, I loaded it through an iframe so it looks ok now, i matched the color etc.. , so it look ok now, Thanks for all your help guys.


All times are GMT. The time now is 06:21 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.01773 seconds
  • Memory Usage 1,717KB
  • 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
  • (7)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