![]() |
Quote:
If anyone thinks of any caveats to that I'd really like to hear them, but it appears to work very well, and I don't have to modify any regular VBulletin php files or templates. Scuzzy |
I would like to send new registrants to my payments.php page to purchase a membership before the registration process is completed. If there is no payment made then I would like the registrant deleted so that they cannot log in to any part of my site. I added a pluggin that redirects to payments.php after the registration page but discovered that the registration still goes through if they cancel the page or close the window. How can I get around this so that the registration process and payment process are one and the same?
|
I've added some custom user profile fields, but I would like to insert them into a separate DB table for use in my non vb site. I've got the plugin on the register_addmember_complete hook, but am not sure how to refence what those fields were. From what I can see they are just called $userfield[field2], $userfield[field5], $userfield[field6]. What do I need to do in order to get these values into some sort of variable that I can insert into my table? I've tried setting a variable like $customfield1 = $vbulletin->userfield[field2]; but all the inserts into my table are just blank empty inserts.
Any help would be greatly appreciated. |
$vbulletin->userinfo[field2] is probably the correct variable, or it may be $vbulletin->GPC[field2] (or $vbulletin->GPC['field2'] depending on where you use it).
|
Thank thank you! That was perfect!
|
Which worked (in case someone else comes across this thread with the same question)?
|
$vbulletin->userinfo[field2] was the correct one
|
Quote:
|
Take a look in the manual under User Profile Fields and you will see how to make a dropdown menu for it.
|
Quote:
--------------- Added [DATE]1251760289[/DATE] at [TIME]1251760289[/TIME] --------------- B U T . . . I now noticed there is a limit of 31 options allowed to pulldown menus. Any way that can be overridden? Quote:
|
All times are GMT. The time now is 02:59 PM. |
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:
|