Quote:
Originally Posted by Howell
I fixed this problem by doing the following...
Open the includes/function_mgc_cb.php file
FIND:
Code:
$chatbox_smileys .= '<a href="#top" onclick="return ajout_smilie(\'' . $textsmilie . '\');" alt="' . $smilie['title'] . '"><img src="' . $smilie['smiliepath'] . '" border="0" /></a> ';
REPLACE WITH:
Code:
$chatbox_smileys .= '<a href="#shout_top" onclick="return ajout_smilie(\'' . $textsmilie . '\');" alt="' . $smilie['title'] . '"><img src="' . $smilie['smiliepath'] . '" border="0" /></a> ';
Then go into the Styles editor and edit the template - mgc_chatbox
FIND:
Code:
<a style="float:$stylevar[right]" href="#top" onClick="return exec_collapse_chatbox();"><img id="collapseimg_mgc_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_mgc_chatbox].gif" alt="" border="0" /></a>
REPLACE WITH:
Code:
<a style="float:$stylevar[right]" href="#shout_top" onClick="return exec_collapse_chatbox();"><img id="collapseimg_mgc_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_mgc_chatbox].gif" alt="" border="0" /></a>
Plus I found the same problem with the collapse / expand function so I altered one further line...
FIND:
Code:
<a href="#top" onClick="return collaspe_chatbox();"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" border="0" /></a>
REPLACE WITH:
Code:
<a href="#shout_top" onClick="return collaspe_chatbox();"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" border="0" /></a>
Hope this helps? 
|
same problem ill try it thanx
Edit: Perfect it works