Jump to the post that solved this thread.
Solved: 3 Years, 6 Months, 4 Weeks ago Error in mybb 1.8.13
#36
Solved: 3 Years, 6 Months, 4 Weeks ago
Wow, just narrowed this down and there is some interference with this plugin:
https://community.mybb.com/mods.php?action=view&pid=26

It was the only one I had installed on my localhost and when I deactivated it the popup worked. So I commented out the acp plugin lines in the plugin file and BINGO, works.

In particular in that plugin it's a function to the user-user.

// Avatar Gallery when editing user
function avatargallery_admin_user()
{
	global $db, $mybb, $lang, $page;
	$lang->load("user_avatar_gallery");


	echo "<script type=\"text/javascript\">\n function submitUserForm() { $('#tab_overview').closest('FORM').submit(); }</script>\n";

	if($mybb->input['action'] == "avatar_gallery")
	{

The fix is to move the echo of script to below the action like so:

// Avatar Gallery when editing user
function avatargallery_admin_user()
{
	global $db, $mybb, $lang, $page;
	$lang->load("user_avatar_gallery");

	if($mybb->input['action'] == "avatar_gallery")
	{

	echo "<script type=\"text/javascript\">\n function submitUserForm() { $('#tab_overview').closest('FORM').submit(); }</script>\n";


You have no idea how much time I wasted today on this.

A few helpful posts and I fix my forum and report a plugin bug. How wonderful.

BTW, can someone alert the plugin author because he's got his PM to be buddies only.
Reply
Jump to the post that solved this thread.


Messages In This Thread
Error in mybb 1.8.13 - by ziuma - 2017-11-08, 03:41 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-11-08, 04:30 AM
RE: Error in mybb 1.8.13 - by ziuma - 2017-11-08, 09:10 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-11-08, 11:20 AM
RE: Error in mybb 1.8.13 - by snakeoilos - 2017-11-08, 12:20 PM
RE: Error in mybb 1.8.13 - by snakeoilos - 2017-11-08, 11:33 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-11-08, 12:19 PM
RE: Error in mybb 1.8.13 - by lomazzo - 2017-11-19, 11:19 PM
RE: Error in mybb 1.8.13 - by .m. - 2017-11-08, 12:25 PM
RE: Error in mybb 1.8.13 - by ziuma - 2017-11-08, 12:39 PM
RE: Error in mybb 1.8.13 - by snakeoilos - 2017-11-08, 12:57 PM
RE: Error in mybb 1.8.13 - by ziuma - 2017-11-08, 01:13 PM
RE: Error in mybb 1.8.13 - by snakeoilos - 2017-11-08, 01:17 PM
RE: Error in mybb 1.8.13 - by ziuma - 2017-11-09, 06:54 AM
RE: Error in mybb 1.8.13 - by snakeoilos - 2017-11-09, 09:18 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-11-09, 10:07 AM
RE: Error in mybb 1.8.13 - by ziuma - 2017-11-09, 11:06 AM
RE: Error in mybb 1.8.13 - by Animus - 2017-11-11, 04:37 PM
RE: Error in mybb 1.8.13 - by janno - 2017-11-11, 07:43 PM
RE: Error in mybb 1.8.13 - by NashIvan - 2018-03-05, 09:15 AM
RE: Error in mybb 1.8.13 - by Animus - 2017-11-12, 02:11 PM
RE: Error in mybb 1.8.13 - by Starnova - 2017-11-12, 06:05 PM
RE: Error in mybb 1.8.13 - by Euan T - 2017-11-12, 08:43 PM
RE: Error in mybb 1.8.13 - by Starnova - 2017-11-13, 03:42 AM
RE: Error in mybb 1.8.13 - by Euan T - 2017-11-13, 06:30 PM
RE: Error in mybb 1.8.13 - by Starnova - 2017-11-13, 06:54 PM
RE: Error in mybb 1.8.13 - by Euan T - 2017-11-13, 10:11 PM
RE: Error in mybb 1.8.13 - by Starnova - 2017-11-13, 11:47 PM
RE: Error in mybb 1.8.13 - by Euan T - 2017-11-14, 10:32 PM
RE: Error in mybb 1.8.13 - by bv64 - 2017-11-20, 03:56 AM
RE: Error in mybb 1.8.13 - by lomazzo - 2017-11-20, 07:06 PM
RE: Error in mybb 1.8.13 - by labrocca - 2017-11-30, 11:49 PM
RE: Error in mybb 1.8.13 - by .m. - 2017-12-01, 07:00 AM
RE: Error in mybb 1.8.13 - by labrocca - 2017-12-01, 07:22 AM
RE: Error in mybb 1.8.13 - by doylecc - 2017-12-01, 07:52 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-12-01, 08:00 AM
RE: Error in mybb 1.8.13 - by labrocca - 2017-12-01, 08:18 AM
RE: Error in mybb 1.8.13 - by IranDeliver - 2017-12-21, 06:26 AM
RE: Error in mybb 1.8.13 - by .m. - 2017-12-21, 07:02 AM
RE: Error in mybb 1.8.13 - by Ikerepc - 2017-12-21, 09:29 AM
RE: Error in mybb 1.8.13 - by Ronshaan - 2017-12-27, 08:06 PM
RE: Error in mybb 1.8.13 - by Hyperspace - 2018-01-30, 08:54 PM
RE: Error in mybb 1.8.13 - by Ikerepc - 2018-01-30, 09:25 PM
RE: Error in mybb 1.8.13 - by alv4 - 2018-04-01, 03:08 PM
RE: Error in mybb 1.8.13 - by linguist - 2018-06-08, 08:36 AM
RE: Error in mybb 1.8.13 - by jcurlz - 2018-06-09, 11:31 PM
RE: Error in mybb 1.8.13 - by IAF - 2018-06-24, 07:32 AM
RE: Error in mybb 1.8.13 - by mobo12 - 2018-07-13, 05:46 PM
RE: Error in mybb 1.8.13 - by Adeya - 2019-06-19, 10:34 PM
RE: Error in mybb 1.8.13 - by DarkCode - 2020-03-29, 09:21 PM
RE: Error in mybb 1.8.13 - by .m. - 2020-03-30, 02:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)