Snippets
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array
martin
- Admin

-
Status:
Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
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}" />
<!-- 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.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array
martin
- Admin

-
Status:
Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Post
by martin »
Demo click on the smiley button yourdomain.com - Index page
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array
Fast_Eddie
- Users

-
Status:
Offline
- User theme: Dark
- Posts: 279
- Joined: Aug 15th, '15, 18:25
Post
by Fast_Eddie »
Are you using this same code for 3.3.1 ?
And whats the file name for this edit?


Retirement 2024!
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array
martin
- Admin

-
Status:
Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Post
by martin »
There is an ext that does this already.
scroll box option here
https://www.martins-phpbb.com/viewtopic ... 3636#p3636