Page 1 of 1

Changing Smilies Position in Reply Message Window

Posted: 20 Mar 2010, 22:17
by Inner Circle
I don´t know if it´s possible but does someone know how to do this?:

Thanks in advance! :)

Re: Changing Smilies Position in Reply Message Window

Posted: 20 Mar 2010, 22:19
by Stoker
It can easily be done but I suggest that you chose to display fewer smilies on the posting page instead.

Re: Changing Smilies Position in Reply Message Window

Posted: 20 Mar 2010, 22:24
by Inner Circle
Stoker » 20 Mar 2010, 21:19 wrote:It can easily be done but I suggest that you chose to display fewer smilies on the posting page instead.
Sure i could, but many people don´t want to search several pages until they find the smiley they want to use... :D
I used some sort of Iframe before but it messed up the messagebox for some users...

Re: Changing Smilies Position in Reply Message Window

Posted: 20 Mar 2010, 22:26
by Stoker
Else open styles/prosilver/template/posting_editor.html
Find and delete:

Code: Select all

<!-- IF S_SMILIES_ALLOWED and .smiley -->
			<strong>{L_SMILIES}</strong><br />
			<!-- BEGIN smiley -->
				<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
			<!-- END smiley -->
		<!-- ENDIF -->
		<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED-->
			<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
		<!-- ENDIF -->
Find:

Code: Select all

</textarea>
add after:

Code: Select all

<!-- IF S_SMILIES_ALLOWED and .smiley -->
			<strong>{L_SMILIES}</strong><br />
			<!-- BEGIN smiley -->
				<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
			<!-- END smiley -->
		<!-- ENDIF -->
		<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED-->
			<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
		<!-- ENDIF -->
Save, upload and rrefresh the template.

Re: Changing Smilies Position in Reply Message Window

Posted: 20 Mar 2010, 22:38
by Inner Circle
Thank you very much!

I´m still a noob in such kind of modding styles... :D