Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MGC Chatbox Evo for vBadvanced CMPS Details »»
MGC Chatbox Evo for vBadvanced CMPS
Version: 1.7, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.2 Rating:
Released: 02-07-2008 Last Update: 08-23-2008 Installs: 227
Auto-Templates
Additional Files  
No support by the author.

This module shows MGC Chatbox Evo on vBadvanced CMPS v3.0.1
MGC Chatbox Evo found here ..

This module will work with your cmp_index inside or outside the forum root folder..

(New)version 1.7:
Updated to be compatible with:
MGC Chatbox Evo Version: 1.0.0 and MGC Chatbox Evo Version: 1.1.0

New how to install:
1:
Admincp >> MGC Chatbox Evo>> Display and position >>
Display on defined pages in a variable set to Yes..
and in the Other pages list,, put adv_index in that box...

2:
Admincp >> vBa CMPS >> Download / Upload Module,,
Select mgcchatboxevo17.xml file from your computer.
Active set to YES..
Select Style to install templates to..
Set Usergroups permissions..
Click (Submit)..

After Rebuild Style Information ,,click "Continue" to activate this module on your CMPS pages.
Move to: center Column,,then set the Order:

If you have any problems with it just saying Loading,,do step three..
3:
Adminc >> Plugins & Products >> Plugin Manager >> Global variables of the chatbox

Put this:
Code:
$forumpath = $vbulletin->options[bburl];
before:

Code:
if (THIS_SCRIPT == 'adv_index' && !empty($forumpath))
{
	$mgc_cb_evo_floc = $forumpath . '/';
}
else
{
	$mgc_cb_evo_floc = '';
}
Enjoy !!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #332  
Old 02-22-2009, 02:44 AM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of you who are unable to get the chatbox to "load" on integration....
I had to edit the clientscripts/mgc_cb_evo_functions.js file and change all calls to mgc_cb_evo_ajax.php.

I deleted the jsloc+' part and simply put './mgc_cb_evo_ajax.php' in the quotes.
or if your forum is in forum then:
'./forum/mgc_cb_evo_ajax.php'

load the scipt in a GOOD editor - not notepad - wordpad is ok.
I think there was 16-18 occurances so do a well crafted find & replace.

How did I figure this out?

Loading Fiddler2 and watching what my site loads, I saw my site attempt to load the ajx script from
/home/myname/public_html/vb
Which translates to "www.mysite.com/home/myname/public_html/vb/mgc_cb_evo_ajax.php"
which is obviously wrong....

Developer::::

the jsloc varible needs to be looked at in the
mgc_cb_evo_functions.js
script
Reply With Quote
  #333  
Old 02-22-2009, 12:32 PM
DigitALL DigitALL is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cory_booth View Post
I deleted the jsloc+' part and simply put './mgc_cb_evo_ajax.php' in the quotes.
or if your forum is in forum then:
'./forum/mgc_cb_evo_ajax.php'
Could you please be more specific what part to be replaced with what exactly?
Reply With Quote
  #334  
Old 02-22-2009, 04:53 PM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In this location:
clientscript\mgc_cb_evo

there is this file:
mgc_cb_evo_functions.js

within this file, there are numerous statements:
"POST",mgc_cb_evo_jsloc+"mgc_cb_evo_ajax.php"

change this statement to read (approx 16-18 times):
"POST","./mgc_cb_evo_ajax.php" or "POST","./forum/mgc_cb_evo_ajax.php"

respectively...
Reply With Quote
  #335  
Old 02-22-2009, 09:38 PM
DigitALL DigitALL is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much bud!

Is this issue related to the CMPS module only, or is it applicable to the core chatbox too.
If it is related to the core soft, it should be posted in that thread too, right?
Reply With Quote
  #336  
Old 02-23-2009, 02:13 AM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked for me if I hit chatbox on regular foum pages, but I am pulling chatbox on Arcade and Photopost and other "non-core" modules - including VBAdvanced. All of those suffered the same "loading" problem.
Reply With Quote
  #337  
Old 02-24-2009, 04:59 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cory_booth View Post
For those of you who are unable to get the chatbox to "load" on integration....
I had to edit the clientscripts/mgc_cb_evo_functions.js file and change all calls to mgc_cb_evo_ajax.php.

I deleted the jsloc+' part and simply put './mgc_cb_evo_ajax.php' in the quotes.
or if your forum is in forum then:
'./forum/mgc_cb_evo_ajax.php'

load the scipt in a GOOD editor - not notepad - wordpad is ok.
I think there was 16-18 occurances so do a well crafted find & replace.

How did I figure this out?

Loading Fiddler2 and watching what my site loads, I saw my site attempt to load the ajx script from
/home/myname/public_html/vb
Which translates to "www.mysite.com/home/myname/public_html/vb/mgc_cb_evo_ajax.php"
which is obviously wrong....

Developer::::

the jsloc varible needs to be looked at in the
mgc_cb_evo_functions.js
script
Hi,

Just for a test, to see what I could change in the next version of the Evo chatbox (as it's not an issue on stangger5 side), try to do the following.

Edit the plugin of the chatbox named "Global variables of the chatbox", replace its content by :
PHP Code:
require_once(DIR '/includes/functions_mgc_cb_evo.php');

mgc_cb_evo_unserialize_user_params();

if (
THIS_SCRIPT == 'adv_index' && !empty($forumpath))
{
    
$mgc_cb_evo_floc './directory_in_which_your_forum_is/';
}
else
{
    
$mgc_cb_evo_floc './';

Don't forget to replace directory_in_which_your_forum_is by your directory

If this fixes it I will add an option in the next coming release of the chatbox to let you set that directory within chatbox options.
Reply With Quote
  #338  
Old 02-24-2009, 04:37 PM
DigitALL DigitALL is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you VBDev! Awesome!

Please help me out:
My forum is in www.mysite.com/forum/ and when you say: "replace directory_in_which_your_forum_is by your directory", does it mean that means that
Code:
$mgc_cb_evo_floc = './directory_in_which_your_forum_is/';
it will look like:
Code:
$mgc_cb_evo_floc = './forum/';
Is this correct or do I have to insert full link, please?
Reply With Quote
  #339  
Old 02-26-2009, 11:07 AM
SoFresh SoFresh is offline
 
Join Date: Aug 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's not showing at all for me... it's active and on center... I see nothing
http://www.sofreshforums.com/index.php
Reply With Quote
  #340  
Old 03-04-2009, 02:57 AM
kimmer kimmer is offline
 
Join Date: Apr 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this as directed, but it doesn't show up on my board in standard mode or vbadvanced. I've installed the 1.00 like the instructions said and it never showed up on the standard board. Any help is appreciated. I don't have any errors, but I also have nothing to click to check it. Everything shows up in the admin cp, but nothing on the actual forum.....
Reply With Quote
  #341  
Old 03-04-2009, 11:53 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tried the edit four post up ??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14923 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete