Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:20 pm EST
Geeklog Forums
Custom Profile
Status: offline
kyanos
Forum User
Newbie
Registered: 02/26/03
Posts: 5
If you enable a the custom account form and the user go to have a registration without put a email in email form the the gl ask to the user to put a correct email but now he table include only the nickname and email form without the custom account form.
a bad way to make it up is ...
in the file user.php i modified..
function newuserform($msg = \'\')
{
global $LANG04, $_CONF;
$retval = \'\';
if (!empty ($msg)) {
$retval .= COM_startBlock ($LANG04[21], \'\',
COM_getBlockTemplate (\'_msg_block\', \'header\'))
. $msg ;
//*kyanos. pros8e8ike giana enfaneizei se periptoseis min eisagogeis stixeion ksana tin custom forma
if ($_CONF[\'custom_registration\'] AND (function_exists(custom_userform))) {
$retval .= custom_userform(\'new\');
} else {
$retval .= newuserform($msg);
}
//*kyanos. end AND custom_usercheckdata()) {
$username = trim ($username);
any beter idea
12
12
Quote
Status: offline
josheli
Forum User
Newbie
Registered: 08/16/03
Posts: 7
See the thread in the Cool Hacks forum. This is the issue I was talking about with blaine.
It is because in users.php, createuser(), if a bad email is entered, it only shows the newuserform().
You need to check for a custom_userform(). Around line 535 of users.php is this:
} else {
$retval .= COM_siteHeader (\'Menu\')
. newuserform ($LANG04[18])
. COM_siteFooter();
}
You need to change to:
} else {
$retval .= COM_siteHeader (\'Menu\');
if ($_CONF[\'custom_registration\'] AND (function_exists(custom_userform))) {
$retval .= custom_userform (\'new\', \'\', $LANG04[18]);
} else {
$retval .= newuserform ($LANG04[18]);
}
$retval .= COM_siteFooter();
}
9
9
Quote
All times are EST. The time is now 12:20 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content