The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 ?? |
#2
|
||||
|
||||
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 ?
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
SET fpoints=fpoints+2
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|