XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: trying to install member approval
krystaldig37
New Poster
**




Posts: 2
Registered: 3-26-2018
Member Is Offline


[*] posted on 3-27-2018 at 08:53 PM
trying to install member approval


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?


View user's profile View All Posts By User
lottos
Administrator
********




Posts: 477
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 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') {





View user's profile View All Posts By User
krystaldig37
New Poster
**




Posts: 2
Registered: 3-26-2018
Member Is Offline


[*] posted on 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...
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 11.9% - SQL: 88.1%]