[RC] mChat New version

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] mChat New version

Post by stokerpiller » Tue Nov 24, 2009 8:35 am

Step by step, but I think it is easier to uninstall the old version and then install newest version.
I am done with phpBB

trickymicky
Registered User
Posts: 15
Joined: Tue Jun 14, 2005 11:57 pm

Re: [RC] mChat New version

Post by trickymicky » Tue Nov 24, 2009 1:28 pm

stokerpiller wrote:I bet it is, try with the mchat edit only. Just for testing.
Unfortunately I dont know ow to get them both working.
Thanks for the help, stokerpillar. I did what you suggested and there is some improvement. Nothing has changed on subsilver2, but on prosilver, everything in the chat works on the index and the forumview. but the smilies and BBCode buttons still don't work on the viewtopic. Though in prosilver the quick reply now works fine. One odd thing, now on prosilver, while clicking on a smilie or bbcode on viewtopic does not put any code in the Chat, if quick reply is open, it inputs the code into the quick reply posting area. :shock:

So any other ideas?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] mChat New version

Post by RMcGirr83 » Tue Nov 24, 2009 2:20 pm

Try

Code: Select all

	//Added by Quick Reply and mChat
	var focar = window.in_quick_reply || false;
	var mChatFocus = window.mChatFocusFix || false;
	if(!focar || !mChatFocus)
	{
		textarea.focus();
	}
	baseHeight = doc.selection.createRange().duplicate().boundingHeight;
    /* ==== mChat focus fix End ==== */
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

trickymicky
Registered User
Posts: 15
Joined: Tue Jun 14, 2005 11:57 pm

Re: [RC] mChat New version

Post by trickymicky » Tue Nov 24, 2009 2:50 pm

RMcGirr83 wrote:Try

Code: Select all

	//Added by Quick Reply and mChat
	var focar = window.in_quick_reply || false;
	var mChatFocus = window.mChatFocusFix || false;
	if(!focar || !mChatFocus)
	{
		textarea.focus();
	}
	baseHeight = doc.selection.createRange().duplicate().boundingHeight;
    /* ==== mChat focus fix End ==== */
Thanks for the suggestion, but that didn't change anything. It is still the way it was in my last post, with just the mChat edit in the editor.js.

Since the problem is worse in subsilver2 than in prosilver, does this indicate that the issue is template based?

Solexracer
Registered User
Posts: 4
Joined: Tue Nov 24, 2009 12:17 am

Re: [RC] mChat New version

Post by Solexracer » Tue Nov 24, 2009 9:51 pm

Got it working on Portal Page had to change the path to the editor.js in mchat_body.html

That was the reason why bbcodes and smilies didn't work. Maybe this is helpfull for you guys ;)
I also have quick reply installed that isn't the reason why it didn't work
Image

User avatar
ijhtio
Registered User
Posts: 150
Joined: Sat Feb 28, 2009 10:09 pm
Contact:

Re: [RC] mChat New version

Post by ijhtio » Wed Nov 25, 2009 4:47 am

I am also having the same issue as trickymicky....
RMcGirr83, you are a genius in this field...please help...I'll buy you a beer ;)
regards,
ijhtio

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] mChat New version

Post by stokerpiller » Wed Nov 25, 2009 7:19 am

Mod validated :)
Validated version: http://www.phpbb.com/community/viewtopi ... &t=1870815

I am locking here
I am done with phpBB

Locked

Return to “[3.0.x] MODs in Development”