vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - MGC Chatbox (with AJAX) (https://vborg.vbsupport.ru/showthread.php?t=148472)

VBDev 06-04-2007 07:54 PM

you have installed both products given in the zip file ?

VBDev 06-04-2007 07:55 PM

Quote:

Originally Posted by Endurer (Post 1261254)
Vbdev, is the date bug fixed? :)

Could you try that:

Open the mgc_chatbox.php file, find :
PHP Code:

             /* Mise en forme de la date */
             
$chatbit['date'] = vbdate($vbulletin->options['dateformat'], $val['date'], truetruefalse);
             
$chatbit['date'] .= "  " vbdate($vbulletin->options['timeformat'], $val['date']); 

Replace by :
PHP Code:

             /* Mise en forme de la date */
             
$chatbit['date'] = vbdate($vbulletin->options['dateformat'], $val['date'], true);
             
$chatbit['date'] .= "  " vbdate($vbulletin->options['timeformat'], $val['date']); 

Tell me if that changes something

soniceffect 06-04-2007 07:55 PM

one of only ..... is that what Im doin wrong?

EDIT:- dosey git ... it is n all LOL ... my appologies .. cheers for the pointer :)

Sofia 06-04-2007 08:02 PM

Quote:

Originally Posted by solong2 (Post 1261193)
heelo

i have arabic fourm when i write english it's ok but when i try arabic nothing happen i cat ues arabic in it


thanks alo

On my forum, arabic characters works perfectly (example : ستايل روعه لمنتديات)

But try this :

In includes/functions_mgc_cb.php,

Find:

PHP Code:

$chatbox_utf8 0

Replace by:

HTML Code:

$chatbox_utf8 = 1;

solong2 06-04-2007 08:24 PM

Quote:

Originally Posted by Sofia (Post 1261275)
On my forum, arabic characters works perfectly (example : ستايل روعه لمنتديات)

But try this :

In includes/functions_mgc_cb.php,

Find:

PHP Code:

$chatbox_utf8 0

Replace by:

HTML Code:

$chatbox_utf8 = 1;


i try still not working

thanks for help

Sofia 06-04-2007 08:27 PM

Quote:

Originally Posted by solong2 (Post 1261286)
i try still not working

thanks for help

And when you post a message with arabic characters, what happens? Nothing?

VBDev 06-04-2007 08:29 PM

Maybe you could change the following bit of code in the mgc_chatbox.php file :

Code:

header('Content-type: text/html; charset=ISO-8859-15');
By the charset corresponding to your charset.

Unfortunately I am not really used to arabian characters but I know that with ajax, this a real problem as it might not be really well supported :(

solong2 06-04-2007 08:32 PM

sorry

but in my databaes i'm not uesing loclhost i'm uesing IP server

Sofia 06-04-2007 08:35 PM

Edit the mgc_chatbox.php file :

Find:

PHP Code:

header('Content-type: text/html; charset=ISO-8859-15'); 

Replace by:

PHP Code:

header("Content-Type: text/xml; charset=windows-1256"); 


solong2 06-04-2007 08:52 PM

Quote:

Originally Posted by Sofia (Post 1261300)
Edit the mgc_chatbox.php file :

Find:

PHP Code:

header('Content-type: text/html; charset=ISO-8859-15'); 

Replace by:

PHP Code:

header("Content-Type: text/xml; charset=windows-1256"); 


thanks Sofia but still seam nothing happen


All times are GMT. The time now is 09:59 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.01779 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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