Reply to thread link in threadbit not working
I am trying to add a "Reply to" function to my threadbit, so users can click on a button in the threadbit and instantly reply to a certain thread.
I am using this: <a href="newreply.php?do=newreply&noquote=1&p=$thread[threadid]"> Reply</a> Obviously, its not working properly. It is actually posting replies to unrelated threads from a year ago. It appears that the variable I am using is not the right one for the threadbit, i.e. the wrong number is returned so you end up posting to the wrong thread. Any help would be appreciated! Thanks. |
THats because you are using the threadid as the postid :)
Off the top of my head, you will want somthing like this: <a href="newreply.php?do=newreply&noquote=1&p=$thread[firstpostid]"> Reply</a> HTHs! |
All times are GMT. The time now is 10:29 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.