3.1.x SnippetsMchat smilies in pop up

Snippets
Previous topicNext topic
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5060
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Mchat smilies in pop up

Post by martin »

If you have a million smilies then why not make them open is a cool pop up ? makes sense.
Find This may be a partial find and not the whole line

Code: Select all

<!-- IF MCHAT_ALLOW_SMILES and .smiley -->
				<input type="button" class="button2" onclick="mChat.toggle('Smiles');" value="{L_MCHAT_SMILES}" />
				<!-- ENDIF -->
Replace with Replace the preceding lines with the following

Code: Select all

				<!-- IF MCHAT_ALLOW_SMILES and .smiley -->	
				<input type="button" class="button2" onclick="popup('{U_MORE_SMILIES}', 550, 375); return false;" value="{L_SMILIES}" />&nbsp;	
				<!-- ENDIF -->
turns this
1.png
to this
2.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5060
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Mchat smilies in pop up

Post by martin »

Demo click on the smiley button yourdomain.com - Index page
User avatar

Fast_Eddie
Users
Users
Status: Offline
User theme: Dark
Posts: 279
Joined: Aug 15th, '15, 18:25
    Windows 7 Firefox

Re: Mchat smilies in pop up

Post by Fast_Eddie »

Are you using this same code for 3.3.1 ?
And whats the file name for this edit? :rolling:
:beers: Retirement 2024!
User avatar

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5060
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Mchat smilies in pop up

Post by martin »

There is an ext that does this already.

scroll box option here https://www.martins-phpbb.com/viewtopic ... 3636#p3636
Previous topicNext topic