Solved: 1 Year, 1 Month, 3 Weeks ago xThreads & MentionMe connect?
#6
Solved: 1 Year, 1 Month, 3 Weeks ago
Open file /mybb/jscripts/MentionMe/autocomplete.js.

Find:
			$shoutbox = $('.panel > form > input[class="text"]');

Replace to ("users" here is your custom thread field key, "'.xthreads_inputrow input[name="xthreads_users"]' is based on a fresh install of both MyBB and xThreads"):
			$shoutbox = $('.panel > form > input[class="text"]'),
			$xt_custom_field = $('.xthreads_inputrow input[name="xthreads_users"]');

Find:
		if ($shoutbox.length) {
			$shoutbox.prop("id", "dvz_shoutbox_input");
			new TextareaInterface("dvz_shoutbox_input");
		}

Add after:
		if ($xt_custom_field.length) {
			$xt_custom_field.prop("id", "xthreads_mentions_input");
			new TextareaInterface("xthreads_mentions_input");
		}

Also, note that you might need to apply almost identical but probably slightly different changes if you are using the minified version of the JavaScript file.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
xThreads & MentionMe connect? - by ThistleProse - 2020-10-06, 09:39 AM
RE: xThreads & MentionMe connect? - by Omar G. - 2020-10-06, 11:29 AM
RE: xThreads & MentionMe connect? - by Omar G. - 2020-10-07, 06:56 AM
RE: xThreads & MentionMe connect? - by Omar G. - 2020-10-08, 04:50 AM
RE: xThreads & MentionMe connect? - by Omar G. - 2020-10-08, 10:25 PM
RE: xThreads & MentionMe connect? - by Omar G. - 2020-10-08, 10:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)