Eagle Creek
03-24-2006, 05:42 PM
Hi Guys!
I read this:
https://vborg.vbsupport.ru/showthread.php?t=98009
But I can't get it working.
It's about this page:
http://www.nucia.nl/forum/donatie.php
So what I do is:
Plugin:
Product: vBulletin
Hook Location: online_location_process
Title: My Custom Location (Part1)
Plugin PHP Code: if ($filename == 'donatie.php')
{
$userinfo['activity'] = 'donatie';
}
[b]Plugin is Active: Yes
Plugin:
Product: vBulletin
Hook Location: online_location_unknown
Title: My Custom Location (Part2)
Plugin PHP Code: if ($userinfo['activity'] == 'donatie')
{
$userinfo['action'] = 'TEST message donation'; // you might wanna use a $vbphrase here...
$userinfo['where'] = '<a href="./donatie.php?' . $vbulletin->session->vars['sessionurl'] . '">THIS IS TEST MESSAGE</a>'; // you might wanna use a $vbphrase here...
$handled = true;
}
Plugin is Active: Yes
But it keeps saying 'unknow location'. Can somebody tell me what I'm doing wrong?
I read this:
https://vborg.vbsupport.ru/showthread.php?t=98009
But I can't get it working.
It's about this page:
http://www.nucia.nl/forum/donatie.php
So what I do is:
Plugin:
Product: vBulletin
Hook Location: online_location_process
Title: My Custom Location (Part1)
Plugin PHP Code: if ($filename == 'donatie.php')
{
$userinfo['activity'] = 'donatie';
}
[b]Plugin is Active: Yes
Plugin:
Product: vBulletin
Hook Location: online_location_unknown
Title: My Custom Location (Part2)
Plugin PHP Code: if ($userinfo['activity'] == 'donatie')
{
$userinfo['action'] = 'TEST message donation'; // you might wanna use a $vbphrase here...
$userinfo['where'] = '<a href="./donatie.php?' . $vbulletin->session->vars['sessionurl'] . '">THIS IS TEST MESSAGE</a>'; // you might wanna use a $vbphrase here...
$handled = true;
}
Plugin is Active: Yes
But it keeps saying 'unknow location'. Can somebody tell me what I'm doing wrong?