vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

ReCom 10-20-2008 02:22 AM

Quote:

Originally Posted by VBDev (Post 1647125)
I am sorry but that bit of code works for some but won't work for others.

I am saying that because this variable is used in the chatbox code to get the path to javascript files. And using the bburl option variable would lead to a path to javascript files using http//... which is recognize by some browsers as a security concern and stop the chatbox.

Hmmm ... but pls take a look of the said plugin:
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 = $forumpath . '/';
}
else
{
        $mgc_cb_evo_floc = '';
}

Question: where does $forumpath value come from? I peeked into the vBadvanced's main PHP (adv_index.php or something, since I have renamed mine to portal.php)
Code:

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

$forumpath = '/home/' . $acctname . '/public_html/forum';

And if $mgc_cb_evo_floc is going to be used in <script> tag in HTML output, I don't expect the browser can resolve the server full path either ...

VBDev 10-20-2008 05:22 AM

Quote:

Originally Posted by SnapOff Racing (Post 1648537)
Feels like Christmas now :D

lol :D

Quote:

Originally Posted by ReCom (Post 1648686)
Hmmm ... but pls take a look of the said plugin:
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 = $forumpath . '/';
}
else
{
    $mgc_cb_evo_floc = '';
}

Question: where does $forumpath value come from? I peeked into the vBadvanced's main PHP (adv_index.php or something, since I have renamed mine to portal.php)
Code:

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

$forumpath = '/home/' . $acctname . '/public_html/forum';

And if $mgc_cb_evo_floc is going to be used in <script> tag in HTML output, I don't expect the browser can resolve the server full path either ...

It is supposed to be retrieved from the vbadvanced file yeah.

I think it does resolve in the script call no ? Perhaps I am wrong, I don't have all the knowledge :)

jerx 10-20-2008 12:21 PM

I am trying to adjust the chatbox to the side columns of vbadvanced portal. On IE7 I cannot get rid of the horizontal scrollbar on the chatbits. Is it possible to solve this?

VBDev 10-20-2008 04:06 PM

Not that easy no.

I know someone did achieved it but hasn't posted it yet here :)

VBDev 10-20-2008 04:59 PM

New version is out : 1.1.0 :)

rizelim 10-20-2008 05:11 PM

Quote:

Originally Posted by VBDev (Post 1649034)
New version is out : 1.1.0 :)

New version 1.1.0 firefox bugs ie no problem!

Markos 10-20-2008 05:13 PM

hi dev did u sort the £ sign out ?? and any more that i didnt find lol

cheat-master30 10-20-2008 05:27 PM

Do you have to keep replacing the language file with every single update?

Markos 10-20-2008 05:36 PM

can someone else try do a £ in there chatbox see if it works cos it still dont work for me

Markos 10-20-2008 05:41 PM

oo and one othere thing i slaped my self LOL on the chatbox that is lol and its not in english and i changed the lang
20/10/2008 19:40 * Markos gifle avec violence Markos


All times are GMT. The time now is 09:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07111 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete