The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
![]()
I take it no-one knows then?
|
#32
|
|||
|
|||
![]()
--------------------------------------------------------------------------------
Right, that's it, i still can't get it to work!!! I'll pay for someone to do this for me as long as it's not stupid money. If anyone is interested??? |
#33
|
|||
|
|||
![]()
Sorted!!
![]() ![]() Well chuffed. You can see a test page here if you're interested http://www.astra-mk2.com/untitled.php |
#34
|
|||
|
|||
![]()
Allen,
I am having the same exact problem with my file. Could you please guide me on how to insert my HTML page into it? |
#35
|
|||
|
|||
![]()
Yep no problem blue chi.
This is what has been done with mine: create your html pages as normal. Then create a template with vbulletin here: admincp/styles & Templates/Style Manager/Add New Template call it what you want, mine is html_poloshirts. Copy all the html code into this template. eg: PHP Code:
untitled.php PHP Code:
You can put this file wherever you want really, doesn't make any difference. Oh, don't forget to upload any images referenced in the new template created. Once done, just replicate for the various pages you want. |
#36
|
|||
|
|||
![]()
Thanks so much allen, I managed to get the file show my HTML content. But I was trying to use the PHP include() function, but it doesn't seem to work. Any ideas of how to fix this?
|
#37
|
|||
|
|||
![]()
OK, I just realised that PHP is not allowed in templates, that's a whole differrent issue then. :S
|
#38
|
|||
|
|||
![]() Quote:
I've stripped my version of this code to: Code:
<?php // GO TO FORUM DIR chdir('./forum'); // STANDARD VBULLETIN STUFF define('NO_REGISTER_GLOBALS', 1); //define('THIS_SCRIPT', 'script_name'); require_once('./global.php'); // GENERIC_SHELL VARS $pagetitle = "Talk History Test"; $HTML = ""; // PIECED TOGETHER IN SCRIPT eval('$HTML = "' . $bbuserinfo[username] . '";'); eval('print_output("' . $bbuserinfo[username]. '");'); ?> Any ideas? |
#39
|
|||
|
|||
![]() Quote:
![]() |
#40
|
||||
|
||||
![]()
If you just want the username you don't need to load the whole vB backend.
Just check the cookies (bbuserid, bbpassword) and query table user |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|