View Full Version : how to instert post id into a button link
Skivey
03-26-2013, 08:47 PM
Dont ask, seems weird but I need 2 reply buttons on a cirtain forum with different buttons on each.
i thought id try this: but it dont work......
<a href="newreply.php?do=newreply&noquote=1&p=[postid]" ......
im assuming [postid] is wrong as the forum is actually looking for [postid] and not the true post id.....
Thanks :)
Lynne
03-26-2013, 09:33 PM
What template are you adding this to? A postbit template? If so, you probably need to use {vb:raw post.postid}
blind-eddie
03-26-2013, 10:10 PM
Hi Lynn, This is vB3 Programming Discussions not 4.0. :p
Skivey, are you wanting to hide the default reply button in specific forum & add two new reply buttons, each linked to to post in an existing post? Do you mean thread?
This certain forum/thread must be closed for posting and is only there for member to submit reply to one of the new reply buttons (threads), right?
omardealo
03-27-2013, 05:22 PM
try this
newreply.php?do=newreply&noquote=1&t=$threadid
Skivey
04-01-2013, 08:41 PM
thanks guys, I ended up figuring it out.
There was already 2 buttons there, I just added another an changed what it did. All good and exactly what I need.
Cant wait to get all this forum done, its proper gettin on my nerves
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.