The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
in register php,right after:
PHP Code:
PHP Code:
can someone please just tell me that WHERE statement for the new userid? PHP Code:
Thank you. |
#2
|
||||
|
||||
![]()
I dun have access to see how the userfield table looks like now, but I believe you can obtain the userid of the person who is only just registering by using :
PHP Code:
|
#3
|
|||
|
|||
![]()
I am looking for the where statement
PHP Code:
|
#4
|
|||
|
|||
![]()
[sql]WHERE userid = $userid[/sql]try that one, but best would be to add the field10 to $userfieldnames and $userfields before the original query, so it would already get updated there. No need for an extra query then.
PS You should never experiment with coding on a live board. |
#5
|
|||
|
|||
![]()
Thanks Marco. I got burnt a couple times with experiments. Thank God for backups.
That did not insert anything. Duh, that's exactly what I meant. I was sleeping. That was field15 instead of field10. Field10 is for the weather. I got it set default to Miami. I registered and the weather displayed for Chad Nigeria. hahaha |
#6
|
||||
|
||||
![]()
Sorry just reread your query.
I think you should be doing this, like Marco mentioned. PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|