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) (652)
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 12-10-2007, 09:47 PM   #91
vB Newbie
Join Date: Mar 2007
Macajabroni is on a distinguished road

Default

This chatbox was working fine for me for a few weeks or so and just a few minutes ago, it started to just refresh and not load at all. When I click on Archives, I receive the following error:

An appropriate representation of the requested resource /mgc_chatbox.php could not be found on this server.

I tried to overwrite the files, product and even empty the database table. Can anyone help me?

Cheers!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 12-11-2007, 07:50 AM   #92
vB Newbie
Join Date: Apr 2007
wizardstyle is on a distinguished road

Default

Hi, i have this shout installed and seems ok, but some users cannot use it, just see it clean, i´ve check all the permissions and its ok. Is there any "plugin" to install??
I´ve tried with, firefox, IE, Opera, all the same , can see what goiing on in the shout.
Thank you in advance and sorry about my english.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2007, 06:17 AM   #93
vB Newbie
Join Date: Nov 2006
enes is on a distinguished road

Default

If some users don't see chatbox, in UserCP -> Edit Options should have option to turn ON/OFF Chatbox! Somehow this option goes to OFF..... And if your users don't have this options (you not follow install procedure) then you need to tweak MySQL database (on table VB_USER field MGC_CB_PARAMS set to NONE) and chatbox shoud show




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2007, 09:34 AM   #94
vB Newbie
Join Date: Dec 2007
KsAhKaR is on a distinguished road

Default

Thnks you




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2007, 07:15 AM   #95
vB Newbie
Join Date: Dec 2007
The_Rayman is on a distinguished road

Default

Clicks Install, but... gonna test it first ;)

Thanks for taking the time to develop cool plugins!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2007, 08:24 AM   #96
vB Newbie
Join Date: Dec 2007
The_Rayman is on a distinguished road

Default

Quote:
Originally Posted by Jatt View Post
Hi Mtor,
thanx for this great hack
earlier i was using version 1.1 without any problem but now when i updated it with v1.4 i am having one problem
chatbox keeps on loading/refreshing and it is not displaying any messeges.
and
when i type anything in the textbox and hit enter chatbox opens up in a full page and on that fullpage again if i type anything and hit enter page reloads

i hv tried updating and then tried fresh install as well
but it doesnt work for me
can u please please look into this
thanx a lot


hope this screenshot will help u understanding the problem better
thanx
Had the same here...

User error on my side... forgot to upload the "mgc_chatbox.php" in the main /forum folder on the site, trie it...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2007, 03:17 PM   #97
vB Newbie
Join Date: Dec 2007
The_Rayman is on a distinguished road

Default

Okay, it's installed and showing up on my board. Tried to get it working on the frontpage (I use vBa 2.21), but i do not get it to work. I have followed the instructions, but at no luck.

Did anyone get it to work?

Also, we have a dutch language plugin for our members, but once selected... the chatbox is in french. Anyone have a sloution for that too?

Thanks!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2007, 06:31 PM   #98
vB Newbie
Join Date: Dec 2007
Nathankent is on a distinguished road

Default

OMG Thanks Man This Forum Rocks !




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-21-2007, 08:00 AM   #99
vB Newbie
Join Date: Dec 2007
esaedro is on a distinguished road

Default

Excuse me. Where I have to import .xml files? In admincp>styles? wherever? I tried to import them within styles but admincp tells they're non valid files. ??




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-21-2007, 10:36 AM   #100
vB Newbie
Join Date: Dec 2007
esaedro is on a distinguished road

Default

Found out.. but I did every modification to see the chatbox within my cmps vbadvanced (except for the modification in the navbar template), then my chatbox module but it doesn't work yet. I'm using a custom template theme (vizion) so I have not in the navbar template neither <if condition="$show['popups']"> nor <!-- NAVBAR POPUP MENUS -->.
As following my navbar template. Where I have to put the modifications? Anything else?

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progidXImageTransform.Microsoft.BasicImage(gray scale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->
<div class="spacer"></div>
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>




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:45 PM.


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