carolmyt
02-04-2005, 10:48 PM
Is there a way to customize the secondary usergroup action so that they can only purchase one group? I'm still learning php, and my guess is that it would be somewhere in here:
// Step One
if ($_REQUEST['step'] == "1") {
// Tell them what they've won.
$show['usergroup'] = "1";
// Usergroup Options
$optioncode = uttstore_secondarygroup_getselect($group);
// Temporary - Define the phrase text.
$vbphrase['uttstore_inputs_usergroup_secondaryusergroup'] = "Which group would you like to join?";
// Create Input Fields
$field_templates = uttstore_contruct_input_fields($fields);
// Send them home...
eval('$current .= "' . fetch_template('uttstore_standard_inputs') . '";');
}
But that's just a guess.
I'm also guessing that if it is possible, I should be able to create multiple actions each to purchase just one specific group, right?
Or else I have even less of an idea what I'm doing than I thought. ;P
// Step One
if ($_REQUEST['step'] == "1") {
// Tell them what they've won.
$show['usergroup'] = "1";
// Usergroup Options
$optioncode = uttstore_secondarygroup_getselect($group);
// Temporary - Define the phrase text.
$vbphrase['uttstore_inputs_usergroup_secondaryusergroup'] = "Which group would you like to join?";
// Create Input Fields
$field_templates = uttstore_contruct_input_fields($fields);
// Send them home...
eval('$current .= "' . fetch_template('uttstore_standard_inputs') . '";');
}
But that's just a guess.
I'm also guessing that if it is possible, I should be able to create multiple actions each to purchase just one specific group, right?
Or else I have even less of an idea what I'm doing than I thought. ;P