The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
After posting a thread how can I find the new threadid?
$vbulletin->db->query_write("UPDATE thread SET cp = '$_POST[form_cp]', atl = '$_POST[atl]' WHERE threadid=$threadid"); That is in newthread_post_complete. Basically I added an extra checkbox to newthread template and wanna add it into the db as well. |
#2
|
|||
|
|||
![]() |
#3
|
|||
|
|||
![]()
Like ragtek mentioned: use the data managers.
Your query is insecure and opens your board for SQL-injections. |
#4
|
|||
|
|||
![]()
i thought it was in the url, ie :-
https://vborg.vbsupport.ru/showthread.php?t=219790 219790 is forum id number, though the number can be also in the middle of the url like :- http://website.com/evidence-prophecy...led-today.html so 5 is the forum id here hope this helps |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|