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)

WinJStar 07-31-2007 06:25 AM

How to get rid of MGC and make it just Chat

Quote:

Originally Posted by Sofia (Post 1258871)
In the product_mgc_chatbox, find

HTML Code:

<phrase name="mgc_chatbox" date="1176242966" username="mtor" version="1.0"><![CDATA[MGC Chatbox]]></phrase>
And replace by :

HTML Code:

<phrase name="mgc_chatbox" date="1176242966" username="mtor" version="1.0"><![CDATA[Chatbox]]></phrase>
For the next version, users can choose their title


WinJStar 07-31-2007 06:30 AM

^^^Sry didn't mean to post there, was making some notes.
While I'm accidentally caught lurking tho...great mod. ;)

Karabaja 07-31-2007 08:29 AM

Quote:

Originally Posted by VBDev (Post 1305906)

Here is how you could temporarly remove the random thing (I will make an option in the next version):
  1. Open includes/functions_mgc_cb.php
  2. Find
    PHP Code:

      $smileys $vbulletin->db->query_read("
      SELECT smilieid, smilietext, smiliepath, title
       FROM " 
    TABLE_PREFIX "smilie
       ORDER BY RAND() LIMIT " 
    $vbulletin->options['mgc_cb_editor_nbsmileys'] . "
     "
    ); 

  3. Replace it by
    PHP Code:

      $smileys $vbulletin->db->query_read("
      SELECT smilieid, smilietext, smiliepath, title
       FROM " 
    TABLE_PREFIX "smilie
       ORDER BY displayorder
     "
    ); 

  4. Here you go :)

Thanks, I've tried that but in that case it shows me like all available smilies or too many of them, not sure which, but much more then it is chosen in acp.

VBDev 07-31-2007 09:01 AM

Quote:

Originally Posted by baha (Post 1305949)
yes.
clientscript forde:( is error Upgrade from v1.2
:(automatic refreshment error:erm:

Don't have you make modifications in your templates ? This could be a reason.

Which error does ie tell you ?

Quote:

Originally Posted by WinJStar (Post 1305964)
^^^Sry didn't mean to post there, was making some notes.
While I'm accidentally caught lurking tho...great mod. ;)

He he lol ! I will slap you lol

Quote:

Originally Posted by Karabaja (Post 1306005)
Thanks, I've tried that but in that case it shows me like all available smilies or too many of them, not sure which, but much more then it is chosen in acp.

Sorry, this was :

PHP Code:

$smileys $vbulletin->db->query_read(
SELECT smilieid, smilietext, smiliepath, title 
FROM " 
TABLE_PREFIX "smilie 
ORDER BY displayorder 
LIMIT " 
$vbulletin->options['mgc_cb_editor_nbsmileys'] . "
"
); 


hardiono 07-31-2007 10:02 AM

I installed v 1.4 as a new installation. I got this message when I opened the forum

Fatal error: Call to undefined function: can_use_mp_cmd() in /home/xxxx.xxx/public_html/forum/index.php(537) : eval()'d code on line 293

If I incativated the Chatbox, everything was fine.

Please help

VBDev 07-31-2007 01:09 PM

This is because you haven't uploaded the includes/functions_mgc_cb.php file (as I can deduct from the error).

MarkEE 07-31-2007 02:48 PM

Installed and working. Thank you!

Is there an easy way to clear the archive?

Thanks

VBDev 07-31-2007 03:55 PM

/del all in the chatbox :D

jamper 07-31-2007 04:00 PM

Forgive me, but i'm a noob:D

I have the latest mgc chatbox installed in my vbulletin 3.6.7 version. If i upgrade vbulletin to 3.6.8, does the mod still work?

Thank you

MarkEE 07-31-2007 04:30 PM

Thanks...that worked!


All times are GMT. The time now is 03:28 PM.

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.05447 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_html_printable
  • (3)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
  • (6)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