![]() |
Plugin not working ! Any ideas ?
Adding a pluging with the hook location:
newthread_post_complete newreply_post_complete newpost_complete With the query, $db->query_write("UPDATE userdb SET fpoints=fpoints+'2' WHERE email='".$vbulletin->userinfo[email]."'"); But for some reason its not working, Any ideas guys ?? |
Well for starters, there is no userdb table in vbulletin, so I think maybe you need to provide a bit more information or background. Also, what makes you think its not working ? Do you get an error of some sort ?
|
Quote:
userdb is part of my own code, I know its not working as there is no mysql update :) Due to it being my own code I cannot reveal SOO much only what I believe is not working. Any ideas at all ?? What I want from the hooks obv is whena new thread, reply or post is done it will run the mysql query and give x points. |
SET fpoints=fpoints+2
|
All times are GMT. The time now is 07: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:
|