The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
I'm not using it in a query; I'm using it in a plugin. I'm not sure if it makes a difference though...
![]() --------------- Added 12 Apr 2009 at 21:26 --------------- Okay, that isn't working either. Here's my plugin: Code:
$blocklist = array_merge($blocklist, array( 'licenses' => array( 'class' => 'licenses', 'title' => 'User Licenses', 'hook_location' => 'profile_left_last' ) )); class vB_ProfileBlock_licenses extends vB_ProfileBlock { var $template_name = 'memberinfo_block_licenses'; function confirm_empty_wrap() { return false; } function confirm_display() { return ($this->block_data['licenses'] != ''); } function prepare_output($id = '', $options = array()) { $this->block_data['licenses'] = '<iframe src="http://www.mydomain.net/admincp/vbma_admin.php?do=viewuserslicenses&userid=userIDhere" width="100%"></iframe>'; } } So now here is the list of things I've tried (in place of the red code): $user['userid'] $prepared[userid] $prepared['userid'] '".$prepared['userid']."' ... and none of them work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|