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)

maidos 12-22-2007 06:22 PM

there some symbols the shoutbox cant take, like öäå euro currency symbol, how do i manually edit to allow

VBDev 12-23-2007 06:49 AM

Quote:

Originally Posted by maidos (Post 1407005)
there some symbols the shoutbox cant take, like ??? euro currency symbol, how do i manually edit to allow

One thing to try to activate the chatbox_utf8 variable in the functions_mgc_cb.php file.

Perhaps it could help.

maidos 12-23-2007 10:01 AM

how do i activate it?

VBDev 12-23-2007 07:26 PM

Quote:

Originally Posted by maidos (Post 1407438)
how do i activate it?

Edit functions_mgc_cb.php you'll see it at the top fo the file

edytwinky 12-23-2007 09:41 PM

Does anybody have this installed on their forum so I can get a good look at what its like?

maidos 12-23-2007 10:11 PM

yeah but how do i activate it

it displays $chatbox_utf8 = 0;

VBDev 12-24-2007 05:08 AM

Quote:

Originally Posted by maidos (Post 1407864)
yeah but how do i activate it

it displays $chatbox_utf8 = 0;

Sorry, you put 1 instead of 0.

Quote:

Originally Posted by edytwinky (Post 1407850)
Does anybody have this installed on their forum so I can get a good look at what its like?

You should try on a local test forum, this is always better as you could give a test at the admincp part :)

misticjeff 12-24-2007 06:02 AM

Quote:

Originally Posted by edytwinky (Post 1407850)
Does anybody have this installed on their forum so I can get a good look at what its like?

Sure... check it out.

www.misticriver.net/forums/

near the bottom of the page

maidos 12-24-2007 07:47 AM

doesnt work, i tried posting öäå

MotMann 12-24-2007 09:18 AM

Yes, it works

http://www.xbox360gamertag.de/Forum/

VBDev 12-24-2007 10:26 AM

Quote:

Originally Posted by maidos (Post 1408196)
doesnt work, i tried posting ???

Have you ever had problem with other ajax features and those kind of char ?

Like the quick edit or quick reply ?

weedheaven 12-24-2007 10:55 AM

My archives dont work anymore after upgrading to 1.5 anybody got help for me ? :( It apears complete blanc

VBDev 12-24-2007 03:25 PM

Quote:

Originally Posted by weedheaven (Post 1408288)
My archives dont work anymore after upgrading to 1.5 anybody got help for me ? :( It apears complete blanc

When you go to that link : mgc_chatbox.php?do=view_archive ? You get a full blank page ?

VBDev 12-24-2007 03:26 PM

<font color="Red">As a "christmas gift", I'll make a post tomorrow stating the new features of the 2.0.

I hope you'll enjoy it he he.

The release is sooner than ever.
</font>

maidos 12-24-2007 04:07 PM

yes, when i use quick reply it will just load and nothings happend. but it works using advanced post though

maidos 12-24-2007 05:35 PM

i reuploaded the files and it works using quickreply with öäå but when i post it on shoutbox i get this öööööööööööö

VBDev 12-24-2007 09:58 PM

Hum it's strange, I am not very used to the problem of "strange" characters within ajax so I think this will need a little digging and research to find that out.

maidos 12-24-2007 10:26 PM

hm its odd now it seems i cant post öäå on shoutbox after upgrading to the latest shoutbox version. Beside just to let you know i have utf8 installed on my server,centos5 was included with that

tarot 12-25-2007 01:27 AM

Small problem... when my users go and edit their options in the User CP, the chatbox disappears completely. It doesn't matter which option, and resetting the options via the ACP doesn't help.

Any ideas?

bocek 12-25-2007 04:12 AM

Quote:

Originally Posted by VBDev (Post 1408447)
As a "christmas gift", I'll make a post tomorrow stating the new features of the 2.0.

I hope you'll enjoy it he he.

The release is sooner than ever.

:up::up::up:

I really wonder these new features...


By the way, chatbox is working perfectly with 3.7.0 Beta 3 ;)

VBDev 12-25-2007 05:32 AM

Quote:

Originally Posted by maidos (Post 1408653)
hm its odd now it seems i cant post ??? on shoutbox after upgrading to the latest shoutbox version. Beside just to let you know i have utf8 installed on my server,centos5 was included with that

Oh that's strange, let's say it is magic :)

Happy to see that it works now.

Quote:

Originally Posted by tarot (Post 1408696)
Small problem... when my users go and edit their options in the User CP, the chatbox disappears completely. It doesn't matter which option, and resetting the options via the ACP doesn't help.

Any ideas?

This is because you haven't done the modification to the modifyoptions template during the install procedure.

This one is mandatory otherwise, chatbox options are not present in the usercp options of your users and thus resetting them (ie the show the chatbox option set to 0) when they change an option.

maidos 12-25-2007 08:27 AM

no im just saying that i have utf8 installed and yet it doesnt work....

VBDev 12-25-2007 10:01 AM

Oh yes sorry wasn't very good at reading :D

And it was working with previous versions ? If yes, Could you try revert back to 1.4 to see if it works.

tarot 12-25-2007 04:02 PM

wow, i'm a dork... thanks!!

VBDev 12-25-2007 04:20 PM

2.0 version development status update

I wish you a merry christmas.

It's christmas today so I decided to post here a small description of the upcoming features of the new version so that you can see that I am not working for nothing :D

The surprise


As I said you earlier, I have decided to rewrite practically all the code of the chatbox. The main reasons are that the "Surprise" of the todo list and that the chatbox code was in French (however, the code will now be in english but not the default language ;) which will still be in French with a english language file provided along).

You might all wonder what this "Surprise" is. I have decided to make a great improvement to the chatbox by adding a command/channel creation system kinda like the plugin/hook system of vBulletin but designed for the purpose of the chatbox.
I hope this will allow some users to participate to the chatbox enhancement by creating their own commands. As well as allowing all of you to arrange your channels the way you want them.

I have add the possibility to upload commands in xml file format as well as exporting them for sharing :)

Thanks also to that suprise it will possible to set for each command usergroups which have access to the command and also specific userids if needed.

It is hard to write textually how things are done, this is why I will provide you with screenshots (in French as I don't have translated it yet and the development is finished).

Commands

Due to the modification of the command system, I had to rewrite the commands code to complies with the new code.

So far, the following commands have been ported to the new version :
  • /me
  • /team
  • /announcement
  • /pm
  • /del
I have taken advantage of that porterage to enhance the pm command, when used in a dedicated channel, if the user don't enter any command parameters then the pm message will be sent to the previous user you were talking to in private.

This is something that I think was awaiten by some peoples he he.

About the /del command, there will now be a /del all command to purge the chatbox and /del chan to purge the chan.

For the moment, I haven't planned any command development for the 2.0 version. Other will probably come after.

Other improvements

I have concentrated my efforts on the command system for the moment but I have been able to already do the following improvements to the chatbox :
  • Replacement of ugly javascript popup and prompt box to beautifull CSS javascript driven popups
  • Next to every chat, a small menu opening button giving access to direct actions and direct command actions like : View user profile, Send private chat to the user, Delete chat, Delete all chats from the user, ...
Other improvements are planned taken from the 2.0 todo list, I'll give you another sneak peak later in the week.

This all for today, I hope this will give you good ideas on the new version and that you will start waiting very impatientely to it lol.

I think I'll be able to provide a beta release perhaps in 1 or 2 weeks, I'll keep you in touch.

Enjoy the end of your christmas day !

Cl?ment

XSpawn21 12-26-2007 11:34 PM

Hello i install de chat but i need some help for the templateedit-mgc_chatbox where i edit that info and the other thing is the chat still in loading and never finish. Thanks in advance :erm:

VBDev 12-27-2007 07:51 AM

Quote:

Originally Posted by XSpawn21 (Post 1409805)
Hello i install de chat but i need some help for the templateedit-mgc_chatbox where i edit that info and the other thing is the chat still in loading and never finish. Thanks in advance :erm:

The templateedit thing is for the Andreas template manager, if you haven't it installed just don't pay attention to it.

About the loading thing, have you uploaded correctly the js files onto your forum clientscript directory ?

maidos 12-27-2007 09:33 AM

nope it only get strange symbols if go to 1.4

Doom Stone 12-27-2007 06:54 PM

How would I fix the bug where the chatbox dissapears once you have edited your profile?

VBDev 12-28-2007 05:52 AM

Quote:

Originally Posted by maidos (Post 1410025)
nope it only get strange symbols if go to 1.4

That's strange coz I don't remember having changed anything regarding the chats retrieval.

Let's wait for the tnext version and see if the code change corrected that.

Quote:

Originally Posted by Doom Stone (Post 1410252)
How would I fix the bug where the chatbox dissapears once you have edited your profile?

This is not a bug but an error from your side when following the install steps.

You haven't done the modification to the modifyoptions template where you should have done it.

To correct that, you have to do the edit and then tell all your users that have the problem to go in their usercp and set the show the chatbox option back to yes.

Doom Stone 12-28-2007 08:24 AM

Ah thanks, I'll give that a shot.

caribbeanxposur 12-29-2007 02:15 PM

i installed everything correctly uploaded the the english language and my chat box is showing up in frech i think not sure which lauage it is but its not english what do it do?!?!?

in my admincp the chat box options are in english AND french or something WTF?!?! did i do something wrong?

class101 12-29-2007 02:24 PM

don't you want to start learning at our nice language ? heheh

VBDev 12-29-2007 08:32 PM

Quote:

Originally Posted by caribbeanxposur (Post 1411408)
i installed everything correctly uploaded the the english language and my chat box is showing up in frech i think not sure which lauage it is but its not english what do it do?!?!?

in my admincp the chat box options are in english AND french or something WTF?!?! did i do something wrong?

If you have uploaded the english language file everything relating to the chatbox should be in english.

Do you see everything in a different language than english ?

What have you done exactly when uploading the english file ? Are you sure that you selected the good language file coz the chatbox is provided with more than the english file ;)

SNATCH3R 12-30-2007 05:29 AM

Installed and working fine, but am not able to use /pm command for users or the administrator even thogh given permission from the Usergroup.

And if /pm is working, will the users get a seperate window with chat message as in conventional IM message apps..or is there any other option available in MGC Chat...

Hope to get a reply on this.

Thanks

VBDev 12-30-2007 06:58 AM

Quote:

Originally Posted by luttappy (Post 1411759)
Installed and working fine, but am not able to use /pm command for users or the administrator even thogh given permission from the Usergroup.

And if /pm is working, will the users get a seperate window with chat message as in conventional IM message apps..or is there any other option available in MGC Chat...

Hope to get a reply on this.

Thanks

When /pm is working, there are no separate window with chat message.

Messages are all shown either in the general channel (of course you'll only see your pm) or in the separate channel.

But you'll have to add each time the command syntax to speak with others.

In the next version, I have done so that if the pm command is used in its own channel, the pm is sent to the last user which whom you spoke without entering the command syntax :D

abroad 12-31-2007 10:54 AM

How can I uninstall this? I got a database error when I removed the product and wanted to change usergroup permission. In my Usergroup Manager I have empty fields now and when I make changes (e.g. Forum Viewing Permission) I get the following error:

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '3928575',
`genericpermissions` = '1579685575',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '137215',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '3',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '31',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '115',
`photoplogpermissions` = '21455',
`photoplogmaxfilesize` = '512000',
`photoplogmaxfilelimit` = '100',
`mgccustomusergroupperms` = '0',
`nbmsgshowchatbox` = ''
WHERE usergroupid=2;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054

gunitman247 12-31-2007 12:39 PM

<div class="smallfont">$cb_stats</div> is not working for me. I installed everything as said. I run 3.6.8 Patch 2

also Command syntax error when i use /pm /mp
using latest version of ff

Our House 12-31-2007 01:58 PM

Apologies if this has been asked (I haven't read the entire thread) before:

Is there a way to have multiple chatboxes with this mod? What I'm looking for is something that allows users A, B and C to use chatbox 1 embedded in one thread, and users D, E, and F to use chatbox 2 embedded in a different thread.

The chat (and names of the members involved) needs to remain private for each box/thread.

I will set the user permissions manually through templates & PHP. At the moment, I have it working to the point that the box only displays to the members with correct permissions. Unfortunately, the same box appears across all threads. I need for thread 1's users to have a different (private if you will) chatbox than thread 2's users.

Thanks,
OH

VBDev 12-31-2007 03:05 PM

Quote:

Originally Posted by abroad (Post 1412541)
How can I uninstall this? I got a database error when I removed the product and wanted to change usergroup permission. In my Usergroup Manager I have empty fields now and when I make changes (e.g. Forum Viewing Permission) I get the following error:

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '3928575',
`genericpermissions` = '1579685575',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '137215',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`albumpermissions` = '3',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '31',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '115',
`photoplogpermissions` = '21455',
`photoplogmaxfilesize` = '512000',
`photoplogmaxfilelimit` = '100',
`mgccustomusergroupperms` = '0',
`nbmsgshowchatbox` = ''
WHERE usergroupid=2;

MySQL Error : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054

That's because you haven't followed correctly the readme instructions about uninstall procedure.

To avoid this error, you now have to remove chatbox files from the includes/xml directory and then rebuild manually the vBulletin bitifields (rebuild can be done in debug mode through a link in the vBulletin options menu).

Quote:

Originally Posted by gunitman247 (Post 1412608)
<div class="smallfont">$cb_stats</div> is not working for me. I installed everything as said. I run 3.6.8 Patch 2

also Command syntax error when i use /pm /mp
using latest version of ff

Have you activated stats in your chatbox options of the acp?

For the pm command the syntax has changed since 1.4 version so you better check the good syntax in the help window of the chatbox.

Quote:

Originally Posted by Our House (Post 1412650)
Apologies if this has been asked (I haven't read the entire thread) before:

Is there a way to have multiple chatboxes with this mod? What I'm looking for is something that allows users A, B and C to use chatbox 1 embedded in one thread, and users D, E, and F to use chatbox 2 embedded in a different thread.

The chat (and names of the members involved) needs to remain private for each box/thread.

I will set the user permissions manually through templates & PHP. At the moment, I have it working to the point that the box only displays to the members with correct permissions. Unfortunately, the same box appears across all threads. I need for thread 1's users to have a different (private if you will) chatbox than thread 2's users.

Thanks,
OH

This one is very complicated thing and you won't be able to achieve that easily with this version of the chatbox.

I suggest you to wait for the release of the 2.0 version which will allow you to create channels so you could have a general channel for everyone but separate channels for your groups of users.

And perhaps tweak the chatbox so you don't even see the general channel.


All times are GMT. The time now is 12:42 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.06333 seconds
  • Memory Usage 1,854KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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