The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This Plug In was from 3.6 or 3.7 I do not recall what my site was on when I added that one but it does not work in the current VB. Below is the code that was found in the showthread_getinfo HOOK LOCATION Here is the code info for it, can anyone make this work in the lastest VB ?????????
// ************************************************** ****************************** * // 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|