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)

XiZa 05-06-2008 07:37 PM

Also,

In safari (mac) private chats display like so: 06/05/2008 20:34From <lalala> (without the space between the date and from).

The private chat dialog also shows the text below it through, some sort of css error. It's the same in firefox mac. have not tested other browsers.

XiZa 05-06-2008 07:39 PM

And could you also tell me how to unignore and unban a user? Thanks

XiZa 05-06-2008 07:40 PM

1 Attachment(s)
I made a screenshot of the dialog box displaying incorrectly.

soundbarrierpro 05-06-2008 07:41 PM

What type of strain if any does this put against your bandwidth considering it's ajax? If this is used regularly will it cause significant use?

VBDev 05-06-2008 09:20 PM

Quote:

Originally Posted by Playa82 (Post 1510319)
oh, ok. but i got 0.4.0 installed. and i fixed it with the files 2 posts above ;-)

Those fixes should not be needed when using the 0.4.0 with the last vbulletin versions.

Quote:

Originally Posted by johnban (Post 1510381)
No, I check and I have put

Minimum number of posts to use the chatbox --> 1
Minimum number of posts during the last 24H to use the chatbox --> 0

:confused:

The count is not based on a number of posts since install, that's strange.

Can you make a screenshot of all usergroup permissions please.

Quote:

Originally Posted by Tom S (Post 1510534)
I am also having troubles with the channels showing text instead of the .gif for team and pm. I noticed for the General channel that the image called for in the coding is not the same as the image name. I am having troubles getting the Gen channel to show anything. Could this be one of the issues or has it always been this way?

In the coding it calls for <img id="mgc_cb_evo_channel_$channel[chanid]_on"

But in my channel image directory, it is called mgc_cb_gen_channel_sel.gif.

Is the evo and gen confusing the program?

I may be way off base, learning the coding stuff.

Another thing that I have noticed is that images folder for vB has the small i, and with the folder in the download package has the large I (Images).

Tom S.

You need 3 images for a channel, they have the same name except the end :
  • _sel
  • _nosel
  • _new
followed by the extension.

Quote:

Originally Posted by XiZa (Post 1510736)
I've noticed that you are sending the entire contents of the chat table with each ajax request. I think it would be better if you only sent some sort of javascript array (json) with the new entries, and an empty response if no new messages were sent.

It will save on javascript processing (possibly javascript memory leakage as well) and on bandwidth considering this auto refreshes every x seconds.

Yes that's right I am sending the whole content.

It would indeed be perhaps better to send with the new entries.

However, imagine if a user remove a shout or ignore someone, then the need of a full reload is logical.

I have perhaps not had a good idea to code it like that but considering what I just said I don't see how I could do it in another way but perhaps you have another good suggestion ? :)

VBDev 05-06-2008 09:24 PM

Quote:

Originally Posted by XiZa (Post 1510873)
Also,

In safari (mac) private chats display like so: 06/05/2008 20:34From <lalala> (without the space between the date and from).

The private chat dialog also shows the text below it through, some sort of css error. It's the same in firefox mac. have not tested other browsers.

You mean the menu ?

Even with the screenshot I don't understand what you mean.

I have a mac and have tested on safari but perhaps not since that change, please tell me how to reproduce it.

Quote:

Originally Posted by XiZa (Post 1510875)
And could you also tell me how to unignore and unban a user? Thanks

You have to install the ban and ignore commands, then checks the help in the chatbox for more info :)

Quote:

Originally Posted by soundbarrierpro (Post 1510879)
What type of strain if any does this put against your bandwidth considering it's ajax? If this is used regularly will it cause significant use?

The memory strain is not on server side but on user side.

However XiZa is right, it will use bandwidth but that amount is not that significant comparing to downloading a file for example ;)

The use of the bandwith won't be that intensive.

VBDev 05-06-2008 09:24 PM

<font color="Red">Thanks to tekInside for his kind donation !
</font>

XiZa 05-07-2008 05:31 AM

1 Attachment(s)
Well,

You could add json commands like {command:'removeMessage': 112} and things like that to remove messages. But that would mean you would have to keep a log of removed messages.. and edited messages.. in separate tables since if you just send the last x messages you wouldn't know if they were deleted or edited.

Or perhaps just an extra column in the message table status: active, deleted, edited (perhaps a date value)

And if the user wants to ignore someone, then you can indeed respond with a full reload or just use client side javascript to remove the entries by that user if you kept that information available.

<tr id="message_y" class="user_x">

Also, when someone isn't online and you try to PM them, it states "that user doesn't exist". Think it would be better if you would say "the user isn't online".

Anyway, you have seen the popup dialog screenshot, will you be fixing that?

I also attached a pic about the spacing issue, small issue but would be better if fixed :) No space between date and "To/from" and after the name. Maybe if you used &nbsp; it would work better.

Also, a spelling error in the help: "usergroupds "

Edit: I would also love the ability to remove certain icons, like the button that empties the chat input field. And the ability to change the icon images.

Thanks

XiZa 05-07-2008 05:35 AM

One more question, I just noticed a different initial state (chat log) from two accounts. Is this a setting somewhere or a bug? If I go in safari to the archives I see all of it, but if I use my other user account in firefox, it only shows my posts I just made.

(Note that i am just testing this currently with only two users, offline)

XiZa 05-07-2008 05:49 AM

Also, the command syntax could possibly be made better?

Does vbulletin allow usernames that are numbers only? If not you could check if integer, its uid otherwise username.

Another error in the help:

/pm uname "userid"

should be "username"

I just checked and it doesn't appear that vbulletin blocks integer names..

Better syntax could be:

/ignore username
/unignore username
/ignore userid uid
/unignore userid uid

So only use a parameter (uid) to the more advanced option which I doubt many people will use anyway.

Don't require " " around the username unless there are spaces in the username. (then you could show an error mesage before sending the command to the server)


All times are GMT. The time now is 03:10 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.07378 seconds
  • Memory Usage 1,756KB
  • 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
  • (7)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