![]() |
Execute An External Script After Thread Creation
I have an external script I call that generates a static text file with the 5 most recent threads (I do it this way because doing it "live" with external.php was overwhelming my forum server do to the number of requests for the file).
I've added this to newthread.php, and it works fine (2nd line is just for reference): PHP Code:
Added to phpinclude_start template: PHP Code:
PHP Code:
Is it possible to add a unique flag to the user session? (Would be simple if it vB used the "normal" PHP sessions, but since they are custom, I have not dug too much into it yet). I suppose I could also do it with a cookie, but would prefer not to. - Shawn |
I would love to know if you got this to work, or if someone has an answer to the question above.
|
All times are GMT. The time now is 05:01 PM. |
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:
|