The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
|||
|
|||
![]()
Sorry I should have said in the original post.
I have just purchased and installed P3tz. The template edits supplied are only suitable up to version 3.6.8, and I have vBulletin Version 3.7 RC1. So basically I was writing my own little code to show the Pet in a right hand side block. (template named memberinfo_block_petz) Then inside the memberinfo I was calling this template using $blocks_petz. Then I had two plugins, one was a template cache, and the other plugin was basically for when $blocks_petz is used, fetch the memberinfo_block_petz template, using the follow PHP Code. Code:
if (THIS_SCRIPT == 'member') { $userinfo['userid']=$vbulletin->userinfo['userid']; include("petz/plugins/memberinfo.php"); eval('$blocks_petz = "' . fetch_template('memberinfo_block_petz') . '";'); } I have tried just using $userinfo['userid'] but it causes Database SQL Errors. Thanks, Paul. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|