krystaldig37 - 3-27-2018 at 08:53 PM
I am trying to install member approval (http://svn.code.sf.net/p/xmb-forum/code/hacks/trunk/memberap...) for my forums, it's giving me instruction to change this line in member.php on
line 622
altMail($rawemail, '['.$rawbbname.'] '.$translate['textyourpw'], "{$translate['textyourpwis']} \n\n{$translate['textusername']}
$username\n{$translate['textpassword']} $password2\n\n$full_url", $headers);
} else {
I searched for it and the line does not exist in 1.9.11.15 at least - even altMail doesn't exist either
I have heard there is an updated version of the hack for later versions of XMB 1.9.11 which may or may not be obtainable since the original website it
was hosted on has been replaced with some blog or something (xmb hacks . co .uk is the site in question)
how do I install this mod?
lottos - 3-27-2018 at 08:56 PM
I would try, after making a copy of member.php:
find line 579
$body = "{$translate['textyourpwis']} \n\n{$translate['textusername']} $username\n{$translate['textpassword']} $password2\n\n$full_url";
xmb_mail( $rawemail, $subject, $body, $translate['charset'] );
} else {
replace with
$body = "{$translate['textyourpwis']} \n\n{$translate['textusername']} $username\n{$translate['textpassword']}
$password2\n\n$full_url";
xmb_mail( $rawemail, $subject, $body, $translate['charset'] );
} else if ($SETTINGS['approval'] == 'off') {
krystaldig37 - 3-31-2018 at 02:34 PM
I'll give that a go.
EDIT: It sort of works but is ugh. I'll probably axe it...