The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New template class?
Hello
I apologize in advance, I am not a coder and am having trouble converting an older template that i was using into a new vb4 ready template. If anyone could help it would be greatly appreciated as it would prob only take someone a minute when they know what they are doing. The code is for the template for parachat integration <?php require_once("./global.php"); require_once("./chat_global.php"); $PARACHAT_LOGIN_USERNAME = $bbuserinfo[username]; $CHATSTYLE = 'whois'; $globaltemplates = array("parachat_$CHATSTYLE",); $navbits = array(); $navbits[$parent] = $vbphrase[parachat_title]; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template("parachat_$CHATSTYLE") . '");'); ?> Thanks in advance for anyone's assistance. |
#2
|
||||
|
||||
https://vborg.vbsupport.ru/showthread.php?t=228112
https://vborg.vbsupport.ru/showthread.php?t=228078 That will help you learn a bit more so next time you can update the code yourself! Now the best way is to do a comparison on a mod you had for vB3 and then the same mod for vB4, download the version of each and compare the codes, you'll see how they updated the codes and then it will make more sense . |
#3
|
|||
|
|||
Thanks for the articles.
I have tried to use both of those but ended up with blank pages, that is why I was asking here for help. I will try again with creating the new page and see if I am missing something. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|