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)

VBDev 01-14-2008 05:42 AM

MGC Chatbox Evolution (v2.0) Development status

As I promised, here is the new development status update.

I have been pretty busy since the beginning of the year at work and haven't been able to do a lot of work on the chatbox but it's going on its way and there is now very few things to finish before it's ready for beta release.

I know this is quite long for all of you but I want to bring you a very very good version of the product so it takes the time ;)

So far, all commands have been ported back to the new command system and the list of remaining tasks has drastically diminished, most of them are already existing features that need to be rewritten for the new code structure.

I have also changed the way ajax is handled in order to enhance compatibility with non-english languages with specific characters. It's now handled in the way the Jelsoft team handles it in vBulletin.

Many tweaks have been added too but you will discover them upon release.

Following is the list of remaining tasks :
  • Re-adding the possibility to show the chatbox on forumhome, forumdisplay, showthread and all pages features (for the moment it works only on full page mode but this is not a big deal, just few plugins to get back to the new version) [OK]
  • Archives w. download archive feature (The archive page will be remodeled as actually it's a bit too big with all messages split alone in their boxes [OK]
  • Inactive mode [OK]
  • Creating a session tracking for the chatbox or tweaking the vBulletin one in order to be able to get a working version of the who's in the chatbox [OK]
  • Maximum number of posts per day to access the chatbox (dynamic 24H)
  • Separate timestamp for archives and chatbox [OK]
  • Forumids where to show the chatbox in case of display on the forumdisplay or showthread pages [OK]
  • Default text color for usergroups [OK]
  • Shouts search system (Perhaps not sure it will be in the upcoming version)
  • Work with stangger5 on the little tweak that could help for the vbadvanced mod
And the most important thing will be to make an importer from the old version to new one as I have renamed all chatbox tables to new names due to the major changes in the code structure. The importer will only get back old chats to the new version leaving you the configuration of the chatbox to achieve :)

I think I'll release a beta before developping an importer, which I hope will be in 2 weeks (I will not be able to code during the weekend this week so won't be able to work a lot on it).

theoz1 01-15-2008 03:52 AM

Dont know if this is possible, but I am making a home page for my forums that is not part of vbulletin. Just using microsoft frontpage. Is there a way to put this on it even though it does not involve vbulletin?

thx.

VBDev 01-15-2008 05:06 PM

No sorry this is not possible.

gunitman247 01-16-2008 12:22 AM

Quote:

Originally Posted by VBDev (Post 1414649)
About the stats, where have you put the $cb_stats code ?

Is chatbox meant to be shown on forumhome on your forum ?

About the pm command which syntax have you used ?

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache" />
    <
meta http-equiv="Expires" content="-1" />
    <
meta http-equiv="Cache-Control" content="no-cache" />
    <!-- 
end no cache headers -->
    
$headinclude
    
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</
head>
<
body>
$header
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr valign="top">
    <
td class="content">
$navbar
<if condition="$show['guest']">
<!-- 
guest welcome message -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</
tr>
<
tr>
    <
td class="alt1">
        <
phrase 1="faq.php$session[sessionurl_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
    </
td>
</
tr>
</
table>
<!-- / 
guest welcome message -->
<
br />
</if>

<!-- 
main -->

$forumbits
$forumhome_markread_script
<!-- /main -->
<
center>
<
ad what="zone:4" />
<
br>
<
div class="advertisementtext"><a href="http://globalsigalliance.com/index.php?pageid=advertising">Advertise your site with GSA</a></div>
</
div>
</
center>
<
br />
<!-- 
what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
    </tr>
</thead>
<if condition="$show['
loggedinusers']">
<!-- logged-in users -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
            <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
        </td>
    </tr>
</tbody>

<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <tr>
        <td class="alt2" align="center"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                <div>$activeusers</div>
            </div>
        </td>
    </tr>
<tr><td class="alt2" align="center" colspan="2" >$vbphrase[group_legend]</td></tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
            <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt2" align="center"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
            <div>
                $vbphrase[threads]: $totalthreads,
                $vbphrase[posts]: $totalposts,
                $vbphrase[members]: $numbermembers<if condition="$show['
activemembers']">,
                    <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                </if>
            </div>
            <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
        </div>

        </td>
    </tr>
</tbody>
$cb_stats
<if condition="$show['
birthdays']">
<!-- today'
s birthdays -->
<
tbody>
    <
tr>
        <
td class="thead" colspan="2">
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
            
$vbphrase[todays_birthdays]
        </
td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <
tr>
        <
td class="alt2" align="center"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]border="0" /></a></td>
        <
td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
    </
tr>
</
tbody>
<!-- 
end today's birthdays -->
</if>
<if condition="$show['
upcomingevents']">
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            <if condition="$show['
todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
    <tr>
        <td class="alt2" align="center"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
    </tr>
</tbody>
</if>
<tbody>
    <tr>
        <td class="tfoot" align="center" colspan="<if condition="$vboptions['
showmoderatorcolumn']">6<else />5</if>">
            <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
            <if condition="$vboptions['
forumleaders']">&nbsp; &nbsp;
            <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
        </td>
    </tr>
</tbody>
</table>
<br />
<!-- end what'
s going on box -->

<!-- 
icons and login code -->
<
table cellpadding="0" cellspacing="2" border="0" width="100%">
<
tr valign="bottom">
    <
td align="center">
        <
table cellpadding="6" cellspacing="0" border="0">
        <
tr>
            <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]border="0" /></td>
            <
td class="alt1">$vbphrase[forum_contains_new_posts]</td>
            <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]border="0" /></td>
            <
td class="alt1">$vbphrase[forum_contains_no_new_posts]</td>
<if 
condition="$vboptions['showlocks']">
            <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]border="0" /></td>
            <
td class="alt1">$vbphrase[forum_is_closed_for_posting]</td></if>
        </
tr>
        </
table>
    </
td>
</
tr>
</
table>
<!-- / 
icons and login code -->
</
td>
    <
td class="divider"></td>
    <
td class="sidebar">
            <
h2>Latest Threads</h2>
            <
ul>$latest</ul>
            <
div id="links">
                <
h2>Text Advertisments</h2>
                <
ul>
                    <
li><ad what="zone:3" /></li>
                                        <
li><ad what="zone:3" /></li>
                    <
li><ad what="zone:3" /></li>
                                        <
li><ad what="zone:3" /></li>
                    <
li><ad what="zone:3" /></li>
                                        <
li><ad what="zone:3" /></li>
                    
                </
ul>
            </
div>

    </
td>
  </
tr>
</
table>
$footer
</body>
</
html

Thats my FORUMHOME Template.

I do not have the CB running on the forumhome but on a separate page. http://www.globalsigalliance.com

VBDev 01-16-2008 04:50 AM

The only thing that could avoid chatbox stats from being displayed (by looking back into my code) is the options that activates or not the stats on forumhome.

gunitman247 01-16-2008 11:38 AM

Quote:

Originally Posted by VBDev (Post 1422344)
The only thing that could avoid chatbox stats from being displayed (by looking back into my code) is the options that activates or not the stats on forumhome.

Thanks. I think this is vitally important to the success of the chatbox.

GoNz00 01-16-2008 12:06 PM

jsut wondering if there is anything i can do to the UK language file to work with UTF-8

if i edit UTF 8 into the language file i cant use inline editing for one :(

edit, fixed it.

use the uk MCG language file to overwrite the custom UK one, then go into the options for the uk file and change it back to UTF-8 as the upload defaults it, working great again :)

nicolerork 01-17-2008 11:48 AM

Is there a way to display the users in the chat within/below the chatbox instead of clicking on the "Who's Online Channel" button?

VBDev 01-17-2008 12:22 PM

Quote:

Originally Posted by nicolerork (Post 1423081)
Is there a way to display the users in the chat within/below the chatbox instead of clicking on the "Who's Online Channel" button?

If you are confident in php and javascript yes it could be possible to get the whosonline by adding ajax calls to get the whosonline.

This the way it is done when you click on the channel button but you should modify it so that it displays on load under the chatbox.

abe_119 01-18-2008 05:43 AM

Have it *installed*. Loving it !!!
Need help with 2 things though.
1. Click on the "archives" (chatbox) -- says no files found - error, but go to "view archives" on navbar, works fine.
2. Same thing when I click "help" button.

Can you tell me where to fix this ?
Thanks


All times are GMT. The time now is 08:36 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.02862 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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