![]() |
Doing something right after a thread is posted
I want to execute right after a valid thread is posted (best after build_new_post(), I reckon). However, phpinclude_start is useless in this situation and phpinclude_end does not seem to work either.
So how can I execute arbitrary code once build_new_post() (functions_newpost.php) completes successfully WITHOUT EDITING ANY FILES? Crappy solutions acceptable and I'm out of ideas but the cleaner the better. |
in the redirect template with a conditional to select if it comes from newpost (will not work if redirect message is disabled :ermm: ) ?!
Why don't u want to edit a file ? Should be really easier :p Edit : oups, if you want to run code it will not be a good solution :nervous: |
Quote:
|
All times are GMT. The time now is 10:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|