3.1.x SnippetsMchat smilies in pop up

Snippets
Previous topicNext topic
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
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.
Use this to install an ext on your board no more ftp or path making.
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
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
Donator
Donator
Magic user status: Offline
Posts: 224
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:
User avatar

Topic Author
martin
Admin
Admin
Magic user status: Offline
Posts: 4777
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