thanks for the time and effort spent on this article
very helpfull |
Please help me with this issue.
I have a plug in (Location: parse_templates) Code:
if($vbulletin->options['enable_vbadv'] AND in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vbadv_ug']))) I've tried to fix it like this Code:
if($vbulletin->options['enable_vbadv'] AND in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vbadv_ug']))) Thank you very much, and sorry for my bad English. --------------- Added [DATE]1293914180[/DATE] at [TIME]1293914180[/TIME] --------------- It's Fixed. Just simple change Location to "global_start" |
All I want to do is covert the current fetch template into current VB code. How do I do this in 4.0?
Code:
eval('$soundnotification = "' . fetch_template('sound_notification') . '";'); Code:
$soundnotification .= vB_Template::create('sound_notification')->render(); |
is posible to do
{vb:raw my_var.userid} or how i should call for the user id or username? for example vb3: <br>User Registration IP Address: $spammerinfo[ipaddress] <br>User IP Address for Selected Post: $postinfo[ipaddress] but how to make it work for vb4? :S |
Quote:
{vb:raw spammerinfo.ipaddress} {vb:raw postinfo.ipaddress} |
uhmm yeah, but the problem is that spammerinfo attribute is not working :S
|
Quote:
|
Quote:
|
I want to register $forum in facebook_publishcheckbox template. But I don't know where I set those set those register value in what file.
PHP Code:
facebook_publishcheckbox Template Code:
<label id="fb_pulishlabel" for="fb_dopublish"> |
Put the register code in a plugin, and call it where your template displays (by choosing hook location). In the case you don't really know what to do, Creat a new plugin and choose hook location is global_start or parse_template
|
All times are GMT. The time now is 01:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|