Helpful Information
 
 
Category: Programming Articles
Logout Hash for custom navbars, headers etc...

Here's a plugin I pieced together that seems to do the trick for the logout has issue when moving your navbar into custom headers etc... The typical issue I've been finding is that the logouthash doesn't parse in some instances.

Hook Location : Global_Complete

$output = str_replace('[logouthash]', $vbulletin->userinfo['logouthash'], $output);

Call it in your template with [logouthash]

Works like a charm. I don't know if this causes a security issue or not, but I'm not too concerned with it at this point. If other vb gurus out there want to discuss this, feel free.

Otherwise, I hope this helps someone.

-TP










privacy (GDPR)