vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Cyb - ChatBox (https://vborg.vbsupport.ru/showthread.php?t=201283)

Dr. Bantham 08-08-2009 12:47 PM

After a long period of perfect performance, ChatBox will no longer remove the "Message..." text when clicking within the input box. This occurred when I tested on multiple machines and browser platforms. This problem exists on the full page version as well. Any ideas?

J105C 08-08-2009 03:24 PM

This hack is AWESOME, but can you please include an option to remove ":: Refreshing Messages" every time new messages are listed. It gets VERY repetitive lol.

Thank you!

Dr. Bantham 08-09-2009 11:14 AM

Quote:

Originally Posted by Dr. Bantham (Post 1863514)
After a long period of perfect performance, ChatBox will no longer remove the "Message..." text when clicking within the input box. This occurred when I tested on multiple machines and browser platforms. This problem exists on the full page version as well. Any ideas?

I deleted the snippet of code which creates this message as a temporary fix, but consequentially the prompt is no longer displayed. Many members are confused as to how post a chat message and this text directed them accordingly. Any ideas?

Dr. Bantham 08-09-2009 12:48 PM

Quote:

Originally Posted by Dr. Bantham (Post 1863995)
I deleted the snippet of code which creates this message as a temporary fix, but consequentially the prompt is no longer displayed. Many members are confused as to how post a chat message and this text directed them accordingly. Any ideas?

This appears to be the result of a conflict created by the latest version of Keyboard Navigator. I created a corresponding post there.

Breakpoint 08-09-2009 02:34 PM

How can we make this Chatbox run smoother, it seems to take a lot of server CPU power.

mp3u 08-12-2009 10:21 AM

Using this on my forum now and it is going down very well, thank you for the hard work. I'm installing a few of your mods at the moment - all very handy.

1) My only complaint about the chatbox is that when the box refreshes it bounces down to the last post, this makes reading previous posts very difficult, can this be fixed?

2) Is it possible to monetise this chatbox? Given that say 30 people could be chatting at a given time and it is refreshing every 10 seconds it would be very cool for this to have a banner tied in that could be plugged into AdSense... don't you think?

Thanks again for all the work!

Xencored 08-12-2009 03:57 PM

1 Attachment(s)
Quote:

Originally Posted by mdelcour (Post 1860109)
is this mod no longer being supported????

Lol chill out bro

Quote:

Originally Posted by animemike (Post 1860082)
any idea why i get "Invalid Action Specified" on this mod and your newposts mod
on vbgallery mate? :confused:

Thanks

Cyb mate any info on why i am getting this
Cheers
Attachment 103176

Barteh 08-12-2009 09:47 PM

Quote:

And is there a clean way to remove the 'delete all messages' option without affecting the other modding capabilities? That's located a bit too conveniently in the pulldown menu for a function that powerful :)
Posted this in the 3.7 thread, before I noticed a 3.8 one :)

Anyway, figured it out and also modified the chatbox to hide the archive from unregistered guests.
Reason for the latter being that people seem to be using it as if it were IRC, and occasionally say things they probably don't want to show up on google.





Remove moderator 'delete all posts' button
Removing the following code in the cyb_chatbox template:
Code:

<tr>
<td class="vbmenu_option"><a href="javascript:Ccb_Confirm('delsel');"&t;$vbphrase[cybcb_delete_all]</a>
</td>
</tr>





Add conditional to block unregistered and other usergroups from chatbox archive
Find the following code in the cyb_chatbox template:
Code:

        <if condition="($_REQUEST['do']=='ccarc')">
                <form id="cybcb_search" name="cybcb_search" action="misc.php?do=ccarc" method="post">

Code:

                                        <td align="$stylevar[right]">$pagenav</td>
                                </tr>
                        </table>
                </if>
        </if>





Replace with:
Code:

        <if condition="($_REQUEST['do']=='ccarc')"><if condition="is_member_of($bbuserinfo, 0, 1, 3, 4)">
                You are not logged in or you do not have permission to access this page.<br />
                <else />

                <form id="cybcb_search" name="cybcb_search" action="misc.php?do=ccarc" method="post">

Code:

                                        <td align="$stylevar[right]">$pagenav</td>
                                </tr>
                        </table>
                </if>
        </if></if>

Replace 1/10/100 with your preferred usergroup numbers (for example unregistered, coppa, awaiting email moderation and banned).





Quote:

One minor issue though: the chatbox doesn't register unread messages properly for some reason. I've posted my first message about 90 mins ago, posted about 50 more since and it still shows that first message as the 'first unread' one... I don't see any related cron jobs in the 'scheduled task manager' though so I'm wondering how this particular field is updated?
This issue's still there though. I reckon it has something to do with session length, but I'm not sure.

And I also found out that so called 'censored words' are properly processed on all cyb chatbox pages, but the 'replacement variables' are only applied at the chatbox archive. We use replacement variables on our board as a more creative way of censoring certain offensive words (replacing them with the exact opposite being my favourite), and for some reason these aren't processed on the 'forumhome' mini chatbox - showing them in full glory instead.

Barteh 08-12-2009 09:53 PM

Quote:

Originally Posted by mp3u (Post 1865714)
1) My only complaint about the chatbox is that when the box refreshes it bounces down to the last post, this makes reading previous posts very difficult, can this be fixed?

It's designed that way, if you want to scroll further down you should use the chatbox archive :)
Alternatively, go to your admin CP -> vB options -> Cyb - chatbox, and change the following two values: "Messages to show in ChatBox/ChatBox Full" and "Message listing area height (ChatBox Full)" to something higher.

bmckinley 08-13-2009 12:00 PM

I have had several members tell me they thought the link on the navbar that reads "Chatbox Full" indicates the chat room is full of people and no more may enter (they are emphasizing the "Full"). How do we change the navbar item to just read "ChatBox" or "ChatBox Open"?


All times are GMT. The time now is 01:52 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.01667 seconds
  • Memory Usage 1,755KB
  • 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
  • (5)bbcode_code_printable
  • (7)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
  • (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