Thanks for the how to.
1.
Quote:
Originally Posted by KirbyDE
I've gone one step further and adapted the existing Add WOL Locations from ACP Hack to create/update the necessary hook code automatically, so you can easily add/edit Locations without having to write a single line of PHP Code 
|
Could you provide the url please
2.
Jako, this is for 3.50. Doesn't work for 3.08.
3.
One question about this how to. Is the "Activity" a phrase? Can you provide an example of what "YOUR_ACTIVITY" would look like?
Quote:
Originally Posted by noppid
PHP Code:
if($filename=='YOUR_ADDIN_FILE.php'){$userinfo['activity'] = 'YOUR_ACTIVITY';}
PHP Code:
if($userinfo['activity']=='YOUR_ACTIVITY')
{
$userinfo['where'] = '<a href="YOUR_ADDIN_FILE.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].' YOUR_ACTIVITY</a>';
$userinfo['action'] = 'YOUR_ACTIVITY';
$handled = true;
}
|