Jump to the post that solved this thread.
Solved: 6 Years, 9 Months, 2 Weeks ago How to disable the "Awaiting activation" window ?
#1
Solved: 6 Years, 9 Months, 2 Weeks ago
Hello MyBB community.

I have a forum with MyBB version 1.8.5 (php 5.6.33-0). Registration method is set to "Administrator activation".

I would like to know how to remove this window : ?  (which is being shown after a member created his account)

[Image: fe038bfc65b599a759eb218fadad40b8.jpg]

Instead of this, the root homepage should be shown, right after the successfull registration.


Thank you
Reply
#2
Solved: 6 Years, 9 Months, 2 Weeks ago
basically you have to edit member.php file for the above requirement
find below code around line 549
error($lang->redirect_registered_admin_activate);
comment out it by adding // and add extra code redirect("index.php"); like below
//	error($lang->redirect_registered_admin_activate);
	redirect("index.php");

Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.
Reply
#3
Solved: 6 Years, 9 Months, 2 Weeks ago
(2018-04-11, 03:09 AM).m. Wrote: basically you have to edit member.php

Thank you so much Smile
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)