![]() |
|
Article Options |
How to update thread field on new post
by
![]() I think this should help someone, I posted this as a question but now have it working. First add the field foobar to the threads table (as an example). This is true/false based field, you will have to add your own checks, e.g who can update foobar etc In the quick reply/new reply template/s add this HTML in the thread management area quick reply area
In threaddata_start
In newpost_complete
In newreply_post_start
I hope this helps, the advanced coders please improve if needed ![]() No members have liked this post.
Last edited by -=Sniper=-; 29 Jun 2006 at 16:45.. |
||||||||||||||||
Views: 2748
|
Comments |
#2
|
||||
|
||||
Moved to Articles as a "how to".
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#3
|
||||
|
||||
I'm pretty sure you don't have to instantiate a new instance of the Thread datamanager class.
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
#4
|
||||
|
||||
I based the code on how vb deals with openclose/sticky threads, when making a new post, so would be interested if we don't have to instantiate another instance of the thread manager class
![]() No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:43.