View Single Post
  #1  
Old 11th March 2012, 23:15
eckeO5 eckeO5 is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 117
Default clickable smilie popup for TSSE 5.6
so now here its gone to work:

first of all i use tsse 5.6 nulled by nightcrawler and used when i right remember modification shoutbox from lateam, but should be also from another coder or coderteam.

javascript is from torrenttrader and popuplink i created by myself.

so here are 2 screenshots for what i did for my home-tracker.

Click the image to open in full size.

and the 2nd one
Click the image to open in full size.

so first find in shoutbox.php from folder include/plugins/
around may be line 146 (may be another line)
PHP Code:
<td align="left">
            <
div id="loading-layer" name="loading-layer" style="float:right; display:none;"><img src="pic/codebuttons/ajax-loader.gif" border="0" class="inlineimg" /></div><center>
            
'.$_shoutbox_smilies.'
            '.ts_load_colors_shoutbox().'            
            
<br>

            <
input maxlength="800" name="shouter_comment" type="text" id="shoutbox" size="90" /> 
            <
img width=65 height=15 src="pic/codebuttons/boutonEnvoyer.gif" onClick="saveData(); return false;"></center><BR><center
after that add
PHP Code:
<img width=75 height=22 src="pic/codebuttons/moresmilies.png'.'" onClick="javascript:winop1();" return false;" class="button">
            <img width=75 height=22 src="
pic/codebuttons/welcomes.png'.'" onClick="javascript:winop2();" return false;" class="button"
so then find the end of shoutbox which should look like that may be about line 179 (can be another line)
PHP Code:
<!-- end shoutbox -->';
// END Plugin: Shoutbox
?> 
after that put in the following javascript, its from torrenttrader i think, so code its not by myself, i just found out how to use it with tsse 5.6 !!!!

PHP Code:
<script LANGUAGE="JavaScript"><!--
function mySubmit() {
   setTimeout('document.shbox.reset()',100);
}
function winop1()
{
windop1 = window.open("/shoutbox/smilies2.php?form=<?=$form?>&text=<?=$text?>","mywin","height=400,width=400,resizable=yes,scrollbars=yes");
}
function winop2()
{
windop2 = window.open("/shoutbox/smilies.welcome.php?form=<?=$form?>&text=<?=$text?>","mywin","height=400,width=1000,resizable=yes,scrollbars=yes");
}

//--></SCRIPT>
then send up f.e. to folder /shoutbox the smilies2.php and smilies.welcome.php i send with.

take the two buttons or take some own for your popup functions and up them into your pics folder f.e. or place you want.


so at the end thats all i did but works fine.

hope i donīt forgot nething important!!!!

to get rid off editing smilies from hand, say and i will post to do it per mysql directly in your db or due to TS Run SQL Query Tool.

I some1 wants to know i will tell or write down here.

greetz to all an have fun with that shitz all friends here on bvlist, coolest forum for stuffz like this i know :fans:
Attached Files
File Type: 7z shoutbox.popup.7z (742 Bytes, 137 views)
Reply With Quote
The Following 5 Users Say Thank You to eckeO5 For This Useful Post:
Botanicar (31st July 2013), FENIX (23rd January 2013), PAX (12th March 2012), Titya (13th March 2012), z3ro (12th March 2012)