The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
these are the hooks which thank_you mod use :
cache_templates userdata_delete showpost_complete showthread_complete template_groups threaddata_delete postdata_delete postbit_display_start postbit_display_complete global_setup_complete member_profileblock_fetch_unwrapped userdata_update_username in which one shall i put in the $validvariables my fields ? and again , where my table ive created for this goes in all this story ? thanks, |
#22
|
||||
|
||||
It seems to me that perhaps your first mod should have been a bit easier. This isn't going to be an easy one and I can't give you all the answers here. All I can do it point you in the general direction.
You need to add all your variables to the $validfields array. I believe I said to do that in threaddata_start and I think I gave an example on that last page. After that, you need to 'set' that fields after you have the data (from your form) and before they are saved. I can't tell you want hook location to use - you will have to find that by seeing which hooks are available and reading the code to see which is positioned where you want it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|