rootnik
05-29-2006, 03:21 PM
When using this hook, after being redirected back to the thread after posting, vbulletin seems to want to run my plugin 2 times.
Now, if I am just browsing the forum (not posting) my hook only runs once. It only runs 2 times if I am getting redirected.
For all normal users it only runs it once (even after the redirection) like it is supposed to. This seems to happen to me because I am in the admin usergroup.
Is there any reason why this hook would run twice on the admin usergroup only after the posting redirect?
Before somebody asks: No, I am not confused over the hook running on the initial thread view and then after replying to the thread, getting redirected back to showthread.php and the hook running again. I am positive that the plugin is being ran twice for the admin usergroup AFTER the redirection.
Now, if I am just browsing the forum (not posting) my hook only runs once. It only runs 2 times if I am getting redirected.
For all normal users it only runs it once (even after the redirection) like it is supposed to. This seems to happen to me because I am in the admin usergroup.
Is there any reason why this hook would run twice on the admin usergroup only after the posting redirect?
Before somebody asks: No, I am not confused over the hook running on the initial thread view and then after replying to the thread, getting redirected back to showthread.php and the hook running again. I am positive that the plugin is being ran twice for the admin usergroup AFTER the redirection.