PDA

View Full Version : Run Complete php script in a empty vBulletin Page?


akeid
10-17-2010, 04:51 AM
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, 08:13 AM
The easiest way would be to use an iframe...

akeid
10-17-2010, 04: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, 05:10 PM
Create a page using this - [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)- and then add your own php code to the php page and output your stuff to the template.

akeid
10-18-2010, 12:45 AM
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, 04: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, 01: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.