Mythotical
01-18-2010, 12:27 AM
Does anything in this need to be registered or pre-registered?
Plugin hook location - profile_start:
if ($_REQUEST['do'] == 'ignoredthreadslist')
{
construct_usercp_nav('ignoredthreadslist');
$navbits[''] = $vbphrase['ignored_threads_list'];
$templatename = 'usercp_ignoredthreadslist';
}
if ($_REQUEST['do'] == 'ignorethread' || $_REQUEST['do'] == 'unignorethread')
{
$templatename = 'bogus';
}
How would I preregister variables without having to use a created template?
Plugin hook location - profile_start:
if ($_REQUEST['do'] == 'ignoredthreadslist')
{
construct_usercp_nav('ignoredthreadslist');
$navbits[''] = $vbphrase['ignored_threads_list'];
$templatename = 'usercp_ignoredthreadslist';
}
if ($_REQUEST['do'] == 'ignorethread' || $_REQUEST['do'] == 'unignorethread')
{
$templatename = 'bogus';
}
How would I preregister variables without having to use a created template?