*VBulletin3.8.0 Gold.
*CMPS 3.1.0
*MGC Chatbox Evo Version 2.1.0
*MGC Chatbox Evo for vBadvanced CMPS: 1.7.0
Fixed!!! Works fine!!
The problem caused by path.
If your cmps_index.php is outside of the forum, try this.
You may need change /forums/ to /forum/ If your forum folder's name is 'forum'.
Don't use '$vboptions[bburl]' instead of /forums/.
1. includes/functions_mgc_cb_evo.php
Find :
$mgc_cb_evo_js_script = '<script type="text/javascript" src="clientscript/mgc_cb_evo/mgc_cb_evo_header.js"></script>';
Replace :
$mgc_cb_evo_js_script = '<script type="text/javascript" src="/forums/clientscript/mgc_cb_evo/mgc_cb_evo_header.js"></script>';
2. clientscript/mgc_cb_evo/mgc_cb_evo_header.js
Find : (12 place)
("clientscript
Replace :
("/forums/clientscript
3. Template: mgc_cb_evo_editor
Find : (2 place)
<a href="mgc_cb_evo.php?$session[sessionurl]do=view_chatbox"
Replace :
<a href="/forums/mgc_cb_evo.php?$session[sessionurl]do=view_chatbox"
4. File edit for avatar: function_mgc_cb_evo.php
Find :
$avatarurl = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]&type=thumb";
} else {
$avatarurl = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]";
Replace :
$avatarurl = '/forums/image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]&type=thumb";
} else {
$avatarurl = '/forums/image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]";
Thanks to robbiefritz, stangger5.
|