vBulletin Modifications

Major Additions - MGC chatbox (with ajax)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
dhoutbox
Posted By: Hay
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.6.0] Major Additions - MGC chatbox (with ajax) (636)
Released: 05-30-2007, 05:58 PM
Modification Information:
Author: MtoR
Last Online: 08-07-2007
Hack Version: 1.4 Installer Included: 1 Additional queries added to database: 1
New Templates: 10 Template Edits: 1 File Edits: 0
New Files: 11 New Phrases: 0 Installation Time (In Minutes): 15

vB 3.6.0 Compatible!
Code Hack
If you enjoy my mod and want to be kept up to date >>> "Click install"

Description

When I had left the vBulletin world, I was in the past the co-author of a little chatbox (shoutbox), very well known in the vBulletin world.
This chatbox had been developed by Svaliotti (known as Poseidon on vb.org) for vB2 in the past and I had made the porterage (with is authorisation as we were both members of the same french non-official support forum) and the improvement for vB3.

It is thus normal that in my return in the vBulletin world, I begin by getting down to this hack. Even if several versions of chatbox are already present in the vBulletin world, I said to myself that it would be a good thing to make a made in France.

Naturally, I don't deal with a "copy" version of the other chatbox, I have any coded at the beginning (it was preferable because the front code wasn't so clean any more), and I integrated a good quantity of very interesting features.

New version features

The new version contains all the features from the previous version. Description of these versions can be found in the below post.

Modifications from previous version are the following :
  • 1.4 :
    • Fixed bugs :
      • Scrolling not working properly when oldest shouts first is selected.
      • Problem of page bumped to the top when clicking on smilies.
      • Inactive mode problem when chatbox is collapsed.
      • Js error when clicking on wol channel button (experienced only by Adam21).
      • When team command is not active, clicking on the wol button and then back to the normal button make a second normal button appears.
      • When a user disables the chatbox from its ucp, he can't activate it again.
      • Problem when having a smilieys smileys like : : D and \ : D /..
      • When delete cross is active in the chatbox there is an alignment problem.
      • In archives, when viewing team shouts only and deleting a shout, the page is back to the view all shouts page.
    • New features :
      • Random smilies - Thanks to stangger5 from vb.org.
      • Channel name shown on channel buttons' mouseover.
      • Option to align or not the username in the chatbox.
      • Full page mode link directly in the chatbox.
      • Don't count at all team shouts in top X shouters (actually they were counted but only when user viewing the stats has access to the team command).
      • Full page mode as popup or in the same browser window
      • Option to choose the number of shouts in the full page mode independently from the one in the normal mode.
      • Nex commmand : /pm or /mp which allow users to send private shouts (enabled through acp option + usergroup permissions).
      • For the user which have access to this command, a little pen is shown near others username in the chatbox to easier private shouts sending - Thansk to Teepiak from vbulletin-ressources.com for his inspiration on that part
    • Removed features :
      • Aucune
This hack is very light in term of queries : only one for every recharging / refreshment of the chatbox and 5 for the statistics in the load of the page if you actiate them. If you don't activate advanced options of course as stated aside each in the acp

Installation

For those who had installed earlier v1.4 version:
  1. Upload files again
  2. Import mgc_chatbox product
  3. Enjoy
Read the file "Installation" in the pack.

Once the installation is ended, go in usergroups and edit permissions to see the Chatbox.

By default, no group has access to the chatbox.

Screenshots

The screenshots are in french as I have made it on an online website which is in french. Don't hesitate to give me new one if you want in english

They are up to date of 1.3 version.

See the following post : http://www.vbulletin.org/forum/showpost.php?p=1292136&postcount=559

User manual

Coming soon ...

Copyright

This hack is under copyright MGC (Mtor&Grog Corporation) 2007-forever and was developed for vBulletin-Resources.com & vb-hacks.org. Its redistribution on another forum that vbulletin-ressources.com, vb-hacks.org or vbulletin.org are prohibited without aggreement of the authors!

Evolutions and improvements

This fifth version of the chatbox is already very complete, but like each product, its evolution depends on all. Then don't hesitate especially to share your ideas of improvements so that we can improve even more this chatbox.


Reported bugs of v1.4:
  1. Chatbox is displayed 2 times on full page if display on defined page under the navbar option is set.
[TBT] : To Be Tested
[RT] : Reproduced in Test
[KO] : Refused (ie not reproduced)
[OK] : Corrected in the next version

TODO LIST for v2.0:
  1. Smilies in a popup like in new post or new thread (More ... link)
  2. Smilies button possibility to open a popup only insteed of collapsable line
  3. Popup smiley, custom height and widht popup
  4. Maximum number of chats per day in usergroup permissions (possibility to activate/deactivate it as it would add a query)
  5. Try to find a fix to the whosonline problem as it does not affect all user's forums
  6. Option to deactivate random smilies
  7. Correct alt tags for the chatbox's buttons
  8. Warn user on new pm
  9. Correct the readme file for the integration with vbadvanced (adv_index instead of arcade)
  10. Problem of loading in the error and warning messages
  11. Option to disable mp sending on ban.
  12. Add /ban, /ignore and /pm uid <userid> commands
  13. A surprise
Estimated release 1.5 date : September (no exact date as I'll be on holiday during two weeks in august)

Languages

Actually available :
  1. French
  2. English
  3. Arabic [Translator : alessai]
  4. German [Translator : captainslater]
To be available [Translation in progress] :
  1. Vietnamese [Translator : J1755EC6A244]
  2. Spanish [Translator : carlosacgj]
  3. Afrikaans [Translator : powerbook]
  4. Turkish [Translator : neutralizer]
  5. Portuguese [Translator : killerkraft]
  6. Greek [Translator : tonton from vbulletin-ressources.com]
  7. Bosnian [Translator : Benjaminbih]
Contact me if you want to participate and add your own country language file

Support

Several possible problems are explained in the file "Read Me"

Chatbox in iBProarcade and vBadvanced CMPS

See the readme file.

FAQ

Q: I installed the chatbox but it doesn't display
R: Check if you have allowed users (permissions in usergroups)

Q: I see shouts but in the collapsed chatbox
R: You can specify number of shouts in the collapsed chatbox. If you don't want to see it, put "0" for this option.

Q: The chatbox doesn't display below or in the top of one of the pages while in the other position it displays
R: You use a style and it's possible that variables used in templates aren't present. (Read the file "Read Me")

Q: I have a problem with accents in the Chatbox
R: Read the file "Read Me"

Q: How to change the value of color for date and for command * MtoR?
R: When you add additionnal CSS for each style, you can change color in class CSS.

Thanks to Sofia for her earlier help on the chatbox.

You can donate if you want to show your support




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 06-01-2007, 03:01 AM   #11
Coder
Join Date: May 2007
MtoR is on a distinguished road

Default

The $chatbox_forumhome doesn't work when doing the modification ?

You just have to replace $navbar in the three hook I quote in the readme file and then you just add the $chatbox_forumhome where you want the chatbox to be.

Doesn't that work for you ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-01-2007, 05:44 AM   #12
Coder
Sofia's Avatar
Join Date: Sep 2006
Real Name: Sofia
Location: France
Sofia is on a distinguished road

Default

sorry, i delete this.Sofia.

Last edited by Sofia; 06-08-2007 at 11:47 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 01:51 PM   #13
vB Newbie
Velas's Avatar
Join Date: Oct 2006
Location: Spain
Velas is on a distinguished road

Default

Thank you very much for this greateful chat




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 08:08 PM   #14
vB Newbie
Join Date: Oct 2006
Reedly is on a distinguished road

Default

Thanks for this great shoutbox!! It's awesome so far!!

I've got just a couple questions though...

1. I can't seem to make it so that registered users can delete their own posts unless I add them to the 'manage shoutbox' list of user ids. But then they have full management power. I've checked the option under the usergroup, but it still won't seem to work - any idea why?

2. Is there a way to reverse the way the shouts show up, along with putting the text field entry on the bottom of the shouts?

Thank you again for this great shoutbox!!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 04:54 AM   #15
Coder
Sofia's Avatar
Join Date: Sep 2006
Real Name: Sofia
Location: France
Sofia is on a distinguished road

Default

Quote:
Originally Posted by Reedly View Post
Thanks for this great shoutbox!! It's awesome so far!!

I've got just a couple questions though...

1. I can't seem to make it so that registered users can delete their own posts unless I add them to the 'manage shoutbox' list of user ids. But then they have full management power. I've checked the option under the usergroup, but it still won't seem to work - any idea why?
You say that your usergroups permissions under the usergroups don't work at all? And when you allow to use the Chatbox, it works?

Quote:
Originally Posted by Reedly View Post
2. Is there a way to reverse the way the shouts show up, along with putting the text field entry on the bottom of the shouts?

Thank you again for this great shoutbox!!
No, no way at present, but for the next version, soon.

View this list:

TODO LIST for v1.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
  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
  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
  10. Correct full mode permissions
  11. Option in the acp to choose the number of top shouters shown on forumhome
  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
  16. Option in the acp to choose the editor position
  17. Think of an idle mode implementation
  18. Think of the possibility to add /ignore and /deignore 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
  23. ...
__________________
vBDev's Hacks :
MGC Chatbox
MGC vBProjects Light




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-03-2007, 06:58 PM   #16
Beat me or Bite me!
iogames's Avatar
Join Date: Jun 2007
Real Name: Josh Arcadia
Location: Los Angeles, CA
iogames is on a distinguished road

Default

Then I will wait for v1.2
Does the chatbox counts on the post quota?
if I have IRC Channels the ChatBox discourage users from use them?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 01:47 AM   #17
vB Newbie
Join Date: Oct 2006
Reedly is on a distinguished road

Default

I was able to make it work - I had no idea that to edit a shout you had to double click the shout itself. I was looking for some sort of an 'edit' button or something!

So far, 2 days after installing, everything is running great! Thank you!! Love the "Team" section!! Think an alert or warning that there are shouts in each section would be great!

Thanks again!
National Mountain Bike




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 02:33 AM   #18
vB Newbie
wasy's Avatar
Join Date: Jun 2007
Location: localhost
wasy is on a distinguished road

Default

The decision of a problem with display in Opera. (Lines slip messages slip in a bottom yet will not fill all forum to a bottom.)

In a template "mgc_chatbox"
To find:
<td width="100%">
<div style="width:100%; height: {$height}px; overflow-y:auto;border: none;" id="chats"> $vbphrase[mgc_cb_loading] </div>
</td>

To replace with it:
<td width="100%">
<div id='chats' style="overflow:auto;border: none;height:{$height}px;width:100%;">$vbphrase[mgc_cb_loading]</div>
</td>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 03:41 AM   #19
Coder
Join Date: May 2007
MtoR is on a distinguished road

Default

@Reedly: Yes I am planning it for the version 1.2 but this might require a query to be added.

@Wasy : Yes someone told me about that issue with Opera, in version 1.2 I'll detect the browser version and set the overflow property accordingly




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 04:11 PM   #20
vB Newbie
Join Date: May 2007
CMGU is on a distinguished road

Default

thankss this asom




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
chatbox lite help !! cyberman General vBulletin Support 16 10-07-2007 04:43 PM
Disable AJAX on vBShout 2.1 Unforgiv3N General vBulletin Support 0 04-12-2007 09:07 AM
Integrating AJAX Technology Into Your Modifications Zero Tolerance vBulletin Modification Tutorials 3 08-28-2006 10:30 AM
My host don't support AJAX, why?? takiye General vBulletin Support 16 08-23-2006 03:13 AM


All times are GMT -3. The time now is 02:30 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)