11. vB uses this code to redirect to any location (in our case page.php), how do I redirect to previous page that user accessed?
PHP Code:
$vbulletin->url = "page.php" . $vbulletin->session->vars['sessionurl'];
if (isset($_SERVER['QUERY_STRING'])) {
eval(print_standard_redirect('redirect_linkdir', true, true));}
15. How do I create online locations for my sub-pages. Solution in
post #14 doesn't work for me.
16. After reading
Send PMs (automatically), it was easy to send PM's. Just have a few queries, what does
$pmdm->set_info('is_automated', true); AND
cache_permissions($fromuser, false); does ? coz I can't see any difference with/without them.