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)

Endurer 06-05-2007 12:18 AM

Quote:

Originally Posted by VBDev (Post 1261268)
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

Absolutely fixed it :D Thank you so much :)

Lilyandy 06-05-2007 03:51 AM

install error........
安裝錯誤........

sorry my english very pool................

VBDev 06-05-2007 04:57 AM

Quote:

Originally Posted by Endurer (Post 1261407)
Absolutely fixed it :D Thank you so much :)

No problem, this was a bad utilization of the vbdate function in my code, I will apply this correction to the 1.2 :D

Quote:

Originally Posted by Lilyandy (Post 1261520)
install error........
安裝錯誤........

sorry my english very pool................

If you don't tell me more about your error during installation, I won't be able to help you ;)

Is this the plugin import that doesn't work ?

VBDev 06-05-2007 04:59 AM

Quote:

Originally Posted by solong2 (Post 1261316)
thanks Sofia but still seam nothing happen

Unfortunately your probleme might be a server problem.

We experienced the same thing on vb-hacks with our previous host, chats were not send when they contained special characters like : ? ? ?. So this is the same problem with arabic characters.

However I don't see what parameters on the host is in cause. Do you experience problems with the quick reply on your forum ?

Ranger187 06-05-2007 05:44 AM

Installed and this mod rocks. I hope you continue to support it, and update it. WEWT.

Voted as MOTM.

VBDev 06-05-2007 06:03 AM

Quote:

Originally Posted by Ranger187 (Post 1261565)
Installed and this mod rocks. I hope you continue to support it, and update it. WEWT.

Voted as MOTM.

Thank you very much :)

Yes I continue support it, I am actually working on the v1.2, I have not had the time to update the todo list with the work already done but I will do it as soon as possible so that you can know how far in the work I am.

Ranger187 06-05-2007 06:04 AM

Sounds good. I was using VBshout, but this owns that... The users keep saying they love this one so much better. ;)

Sofia 06-05-2007 10:55 PM

Progress of version 1.2 :

1. /del all clearing command independent for each channel (ie: if typed in team channel, only team chats are deleted) or add of /del team and /del gen commands [Done]
2. List of users actually online in the chatbox
3. Possibility to view team and general archives separately
4. Option in the user cp in order to choose to show or not the chatbox [Done]
5. Random smilies or possibility to choose the smilies pack used
6. IE 6 problem of channels image disapearance
7. Think of the possibility to warn the user when new messages are avaible in the other channel
8. Option in the acp to choose which text formatting options can be selected through the user cp and possibility to choose the max size for the size bbcode
9. Add of b, i et u bbcode selection in the user cp [Done]
10. Correct full mode permissions [Done]
11. Option in the acp to choose the number of top shouters shown on forumhome [Done]
12. Put the chatbox in a global var in order to be able to show it everywhere
13. Smilies in a popup like in new post or new thread (More ... link)
14. Integration with ibproarcade
15. Option in the acp to choose to see chats in descending or ascending order [Done]
16. Option in the acp to choose the editor position [Done]
17. Think of an idle mode implementation
18. Think of the possibility to add /ignore and /unignore commands
19. Chatbox announcement management directle from the chatbox and not through acp
20. Smilies button possibility to open a popup only insteed of collapsable line
21. Mood of the day in the chatbox
22. See the queries unsuseful problem [Done]
24. Problem with Opera, ie5.5 , consors... (overflow) [Done]
25. Choice of double channels or simple channel. [Done]
26. Prevent the download of shouts when there isn't [Done]
27. Statistics size too big [Done]
28. Edit Chatbox Title in options [Done]
29. popup smiley, custom height and widht popup
30. /me /ignore (usergroup permissions)
31. Enable/disable delete cross near usernames in the Chatbox to delete shouts
32. Enable/Disable display of the date [Done]
33. specific users which can use team command
34. 50% cpu
35. Options de date sp?cifiques ? la chatbox

Messages prefix for one channel [Done]

Tulsa 06-06-2007 02:02 AM

Where can we just pull the date out of there altogether? The time is great but if my members don't know what day it is, they need more help than they can receive in this chatbox. :D

Tulsa 06-06-2007 02:44 AM

You also may want to take a look at this in Safari.

Safari is not responding to the size of the chatbox setting. So where I have it set to show 50 messages in the expanded mode, it's showing all 50 without a slider bar.

VBDev 06-06-2007 04:57 AM

Quote:

Originally Posted by Tulsa (Post 1262214)
Where can we just pull the date out of there altogether? The time is great but if my members don't know what day it is, they need more help than they can receive in this chatbox. :D

You mean be able to be able to set this parameters independently for the chatbox ? If this is the case yeah that's and the todo list.

Actually, this is just shown in the same way than on your forum.

When do you mean by "They need more help than they can receive in this chatbox"

Quote:

Originally Posted by Tulsa (Post 1262242)
You also may want to take a look at this in Safari.

Safari is not responding to the size of the chatbox setting. So where I have it set to show 50 messages in the expanded mode, it's showing all 50 without a slider bar.

I should have tested that on Safari with my laptop (an ibook), you experience the same problem than the one pointed on opera, or all the chats are shown and entirely in the chatbox. Could you try the same fix I suggested for opera, it should also solve problems with safari plz ?

shanevas2 06-06-2007 05:03 AM

Any way to make it where you only pick your text color once. Not every time.

unitedpunjab 06-06-2007 06:35 AM

i followed the installation instructions and tried installin this mod on my board but nothin happend. Nothin showed up.

I m running Vb 3.6.4 and VB SEO . Please help.

Sofia 06-06-2007 06:58 AM

Quote:

Originally Posted by unitedpunjab (Post 1262313)
i followed the installation instructions and tried installin this mod on my board but nothin happend. Nothin showed up.

I m running Vb 3.6.4 and VB SEO . Please help.

You must edit templates (Read Me >> Installation) and edit usergroups permissions to see the Chatbox. It's ok? :)

VBDev 06-06-2007 07:00 AM

Quote:

Originally Posted by shanevas2 (Post 1262291)
Any way to make it where you only pick your text color once. Not every time.

Yes, If you look at the screenshots, when bbcode are enabled, users can select their default chat color through the option menu in their user control panel :)

Tulsa 06-06-2007 10:45 AM

Quote:

Originally Posted by VBDev (Post 1262289)
You mean be able to be able to set this parameters independently for the chatbox ? If this is the case yeah that's and the todo list.

Actually, this is just shown in the same way than on your forum.

When do you mean by "They need more help than they can receive in this chatbox"

What I was asking about was removing just the date and leaving the time only when the post was made.. The reference to them needing help was just a joke of sorts, they should all know what day it is without needing to see it in the chatbox.



I
Quote:

Originally Posted by VBDev (Post 1262289)
should have tested that on Safari with my laptop (an ibook), you experience the same problem than the one pointed on opera, or all the chats are shown and entirely in the chatbox. Could you try the same fix I suggested for opera, it should also solve problems with safari plz ?

I'll go back through the posts when I get home from work and find that Opera reference and test it out and let you know if it worked or not.

Tulsa 06-06-2007 11:14 AM

Well I found it quickly enough and tried it. Works perfectly on Safari now! Thanks. This really is a superior chat/shout box. I can't wait for the update to it, my users really prefer the new posts at the bottom.

VBDev 06-06-2007 11:34 AM

Quote:

Originally Posted by Tulsa (Post 1262435)
What I was asking about was removing just the date and leaving the time only when the post was made.. The reference to them needing help was just a joke of sorts, they should all know what day it is without needing to see it in the chatbox.

I will put an option for that in the next version

Quote:

Originally Posted by Tulsa (Post 1262458)
Well I found it quickly enough and tried it. Works perfectly on Safari now! Thanks. This really is a superior chat/shout box. I can't wait for the update to it, my users really prefer the new posts at the bottom.

Ok the I think I'll have to add a new condition in my javascript for the type of overflow when the browser is safari ;)

Karabaja 06-06-2007 03:07 PM

Ok I installed it but removed since it seemed to have caused higher server load. But that might have just been coincidence. Since I had database errors after uninstalling it. I installed again and server load didn't increase. Anyway I removed the files then uninstalled again and that got rid off database errors.
Anyway, I have few suggestions. If possible for refresh button to not appear when automatic refresh is chosen in options.
Another thing that might be just me but that refresh progress thing(not sure what it is called) is annoying.
And maybe it could be without url button as url is automatically parsed if it is enabled.

VBDev 06-06-2007 03:51 PM

Quote:

Originally Posted by Karabaja (Post 1262551)
Ok I installed it but removed since it seemed to have caused higher server load. But that might have just been coincidence. Since I had database errors after uninstalling it. I installed again and server load didn't increase. Anyway I removed the files then uninstalled again and that got rid off database errors.
Anyway, I have few suggestions. If possible for refresh button to not appear when automatic refresh is chosen in options.
Another thing that might be just me but that refresh progress thing(not sure what it is called) is annoying.
And maybe it could be without url button as url is automatically parsed if it is enabled.

The database errors were normal if you didn't removed the files before uninstalling ;)

Do you still have higher server load problem ?

For the refresh button, the refresh progress thing and the url button could be as options. For the url button, I could remove it when autoparse is active.

Noted on my brain todo list ;)

Karabaja 06-06-2007 04:00 PM

I didn't really keep it on for long enough to be objective about server load. It just went over 2.00 after I installed it with very few members online. But today when I installed again there wasn't any increase in server load. I removed it mainly for above mentioned things I didn't like about it, not server load. I'll give next release a god when it is out. Still think this is a great product and hope that it will be supported for a long time.
One suggestion I forgot. Maybe an option to define alt1 and alt2 colors for the box, rather then use style defined colors.
Thanks for considering them.

ps. It is not that common to have database errors after uninstalling hacks, because forgetting to remove the files. At least I didn't encounter it.

VBDev 06-06-2007 04:14 PM

The error you encoutendered where in the usergroups manager of the acp no ? If yes, this is due to my hack coz if you don't remove the xml files in the includes/xml folder, then when bitfields are rebuild the one for the chatbox are still present but the database fields aren't ! So this is absolutely normal.

The option to define the alt1, alt2 colors, humm maybe but as there are already many options, I don't know if I should. Anyway I'll think at it :)

Karabaja 06-06-2007 04:39 PM

Yes, errors appeared when I tried to update user group permissions. But never mind, as long as it is sorted now.
And never mind the colors, it's probably better not to bother with that. I can change them myself to suit my needs.

Karabaja 06-06-2007 04:49 PM

Sorry, I keep bothering you :)
But just remembered something. Are smilies loaded automatically with the chatbox?
That is one thing I don't like with vbshout2.1. Random smilies are always loaded, and since I have some big smilies it unnecessarily increases the page loading time considering that some members won't use chatbox at all or won't use smilies. It would be much better imho if possible for them to be loaded only after smilies button is pressed?
Maybe that is not being objective again, that depends on how many admins have smilies other then default ones installed. But I imagine there is some.

VBDev 06-06-2007 05:33 PM

Quote:

Originally Posted by Karabaja (Post 1262611)
Sorry, I keep bothering you :)
But just remembered something. Are smilies loaded automatically with the chatbox?
That is one thing I don't like with vbshout2.1. Random smilies are always loaded, and since I have some big smilies it unnecessarily increases the page loading time considering that some members won't use chatbox at all or won't use smilies. It would be much better imho if possible for them to be loaded only after smilies button is pressed?
Maybe that is not being objective again, that depends on how many admins have smilies other then default ones installed. But I imagine there is some.

The loading on button press would add user side load (more ajax again ;))

However, I am going to add the possibilty for admins to have a chatbox with a windows opening on click on the smilies buttons, so the smileys won't be loaded at each page load ;) I think this would fit your needs no ?

Karabaja 06-06-2007 06:18 PM

Quote:

Originally Posted by VBDev (Post 1262630)
The loading on button press would add user side load (more ajax again ;))

However, I am going to add the possibilty for admins to have a chatbox with a windows opening on click on the smilies buttons, so the smileys won't be loaded at each page load ;) I think this would fit your needs no ?

Yes, that would be great. I for example have some gif animations in separate smiley category which can be up to 15-20kb. So it can add like 50-60kb to the page depending on which are pulled by random.

So good solution is either loading them in a separate window on button click or pulling them from specified category which would contain only small smilies.

VBDev 06-06-2007 07:30 PM

Quote:

Originally Posted by Karabaja (Post 1262649)
Yes, that would be great. I for example have some gif animations in separate smiley category which can be up to 15-20kb. So it can add like 50-60kb to the page depending on which are pulled by random.

So good solution is either loading them in a separate window on button click or pulling them from specified category which would contain only small smilies.

For the second point, I was thinking of such a selection of the active packs in which taking random smilies.

DeadBeet 06-06-2007 10:27 PM

Great Plugin! THanks

DevilzFan 06-07-2007 02:43 AM

Love this addition. Slight problem, seems to have freezing issues in IE. Works flawlessly in Firefox though.

VBDev 06-07-2007 04:42 AM

I haven't experience freezing issues in IE.

Could you tell me more about those issues ? (when do they occurs, what exactyl you call a freezing ?)

Tuga?? 06-07-2007 01:48 PM

hi very nice chat wath is the chance to put a background image.

Thanks

nominate for HOTM

VBDev 06-07-2007 04:18 PM

To do so, you would have to edit the templates !

You could try that :

Removing the alt class from the mgc_chatbox_bit and then editing the mgc_chatbox template by adding style="css code here to add a background image" in the table tag of the following part of the template :

Code:

    <table width="100%" cellpadding="0" cellspacing="2">
    <tr>
      <if condition="$can_use_team">


Magnumutz 06-07-2007 04:28 PM

Good work man... i love it.
Though this is my first post here... i'd like to nominate it for the MOTM.

VBDev 06-07-2007 05:26 PM

It is already nominated for the june 2007 MOTM contest !

Magnumutz 06-07-2007 06:56 PM

Thanks, i already did.

DementedMindz 06-07-2007 08:22 PM

Quote:

Originally Posted by VBDev (Post 1263418)
It is already nominated for the june 2007 MOTM contest !

You can vote for it (see the link on top of the hack description :)).


voted for it and it should win since the support and the script are both great.

obmob 06-07-2007 08:52 PM

Looks awesome, I'll try it, thanks!

VBDev 06-07-2007 08:59 PM

Thanks for your support guys :)

I hope I'll be able to release the next version soon but my timetable is quite full actually so I don't have lots of time !

Anyway, I promise I'll do my best to make you wait as less as possible ! At least, would you be interested in partial releases ? I mean, as there are many things to do, would you like me to post new versions regularly or do you prefer a full release when all new things in the todo list will be finished ?

I propose this as it could help you wait more easily :D

Tulsa 06-07-2007 10:24 PM

With all of the suggestions that are turning into additional features, if it keeps up at the rate your todo list is growing, you're never going to have time to actually release the next version.

I'm all in favor of a partial release as long as that first partial release has the entries being read from top to bottom with the newest entry at the bottom.. :) Okay, I'm all in favor of a partial release anyway but that's the feature my users want the most.

VBDev 06-07-2007 10:55 PM

Actually this functionnalitie is done in the current working version I have ;)


All times are GMT. The time now is 08:53 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.02923 seconds
  • Memory Usage 1,863KB
  • 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_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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