The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
paidsub hook
I am trying to use the paidsub_build and paidsub_delete hooks to run a function however I can not seem to get it to work. I think that I am not getting the userid the correct way below is what I have tried:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#2
|
|||
|
|||
Not sure if this is of any help, but how about this:
PHP Code:
|
#3
|
|||
|
|||
Tried (updated as I attempt multiple combinations):
(if one produces an error it will be indicated, otherwise does nothing) PHP Code:
PHP Code:
|
#4
|
||||
|
||||
What is the function part?
|
#5
|
|||
|
|||
PHP Code:
in useradmin_update_save i run: PHP Code:
Also if you need more code to figure out what is going on I can pm you the exact code I am using. I am also willing to pay $ to get this working. --------------- Added [DATE]1305682080[/DATE] at [TIME]1305682080[/TIME] --------------- OK perhaps this is an sql issue. When I run: (this from my understanding as listed in another thread should be correct) PHP Code:
Code:
Invalid SQL: SELECT vbb_user.membergroupids, vbb_userfield. FROM vbb_user, vbb_userfield WHERE vbb_user.userid = vbb_userfield.userid AND vbb_user.userid = 1; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM vbb_user, vbb_userfield WHERE vbb_user.userid = vbb_userfield.userid ' at line 2 Error Number : 1064 --------------- Added [DATE]1305683556[/DATE] at [TIME]1305683556[/TIME] --------------- Thank you all for the help. It was an sql issue. It appears that sql no longer likes $variables in the code. So for now hard coding the values in works. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|