The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
I had this plug in, now it's no go, HELP
____ Jump to Your Last Post in a Thread - M1th____
This plig in was on my site before my upgrade to latest VB, now it is not working. How can I get it going again? --------------- Added [DATE]1256359207[/DATE] at [TIME]1256359207[/TIME] --------------- // ************************************************** ******************************* // goto users last post -- @M1th if ($vbulletin->GPC['goto'] == 'lastupost') { $threadinfo = verify_id('thread', $threadid, 1, 1); $uposts = $db->query_first(" SELECT MAX(postid) AS postid FROM " . TABLE_PREFIX . "post WHERE threadid = $threadinfo[threadid] AND userid= " . $vbulletin->userinfo['userid'] ." AND visible = 1 LIMIT 1 "); if ($uposts['postid']) { exec_header_redirect('showthread.php?' . $vbulletin->session->vars['sessionurl_js'] . "p=$uposts[postid]$highlightwords#post$uposts[postid]"); } else { exec_header_redirect('showthread.php?' . $vbulletin->session->vars['sessionurl_js'] . "t=$threadinfo[threadid]&goto=lastpost$highlightwords"); } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|