The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to make [threadid] variable go to new post
Hi,
I have this widget code to get the latest post in my vbulletin 4.2 //Latest post $output_bits .='<div id="tab-4" class="tab-content document"><div class="document"><ul>'; while($post = vB::$db->fetch_array($post_get)) { $i++; if($i%2 != 0) $cl ='li-1'; else $cl ='li-2'; $output_bits .= '<li class="'.$cl.'">'.$post[title].' <a rel="nofollow" href="showthread.php?t='.$post[threadid].'"> read post ?</a></li>'; } $output_bits .='</ul></div><div > My question is the URL generated is always the standard URL like http://www.example.com/showthread.ph...B4-appointment i want to make the code to add in a variable (?goto=newpost) and go to the new post like http://www.example.com/showthread.ph...t?goto=newpost How can I edit the above code? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|