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)

WEBDosser 01-05-2010 06:56 AM

Quote:

Originally Posted by rammieone (Post 1947336)
Anyone like to give me a foolproof way to install on vbadavanced please my first attempt didnt work at all!

thats because it dont work with vbadvanced.. as far as i know.

Crystal Shards 01-05-2010 05:12 PM

Please please please mod this for 4.0... It's so freaking awesome, and the chats that they currently have for 4.0 suck.

Actually, please just mod all your mods for 4.0. I miss having them.

Bansheebob 01-05-2010 05:33 PM

installed with ease, very nice thx!

Freesteyelz 01-06-2010 02:56 AM

Suggestion:

With the "onkeyup" the character limit can be bypassed if the user does not lift the key when submitting the message (try holding the key down while submitting).

In addition to "onkeyup" in the textarea add "onkeypress" like below:

Code:

onkeypress="Ccb_LimitChars('ccb_entermessage', 'cybcb_counter','$vboptions[cybchatbox_charlimit]');"
It basically is a duplicate of the "onkeyup" but using "onkeypress".

Now when users try to bypass the character limit it'll allow just one more character and you can't type anymore.

For pasting:

Users can still bypass the character limit if they paste. You can set it where users can paste but disallow additional/repeated pasted messages by:

Code:

onpaste="Ccb_LimitChars('ccb_entermessage', 'cybcb_counter','$vboptions[cybchatbox_charlimit]');"
Still, if the text is extremely long users will still be able to bypass the character limit. So to prevent pasting all together you can add into textarea:

Code:

onpaste="return false;"
That was my workaround. If there's a better solution please post it in this thread. :)

TheInsaneManiac 01-06-2010 05:30 AM

Quote:

Originally Posted by Freesteyelz (Post 1948437)
Suggestion:

With the "onkeyup" the character limit can be bypassed if the user does not lift the key when submitting the message (try holding the key down while submitting).

In addition to "onkeyup" in the textarea add "onkeypress" like below:

Code:

onkeypress="Ccb_LimitChars('ccb_entermessage', 'cybcb_counter','$vboptions[cybchatbox_charlimit]');"
It basically is a duplicate of the "onkeyup" but using "onkeypress".

Now when users try to bypass the character limit it'll allow just one more character and you can't type anymore.

For pasting:

Users can still bypass the character limit if they paste. You can set it where users can paste but disallow additional/repeated pasted messages by:

Code:

onpaste="Ccb_LimitChars('ccb_entermessage', 'cybcb_counter','$vboptions[cybchatbox_charlimit]');"
Still, if the text is extremely long users will still be able to bypass the character limit. So to prevent pasting all together you can add into textarea:

Code:

onpaste="return false;"
That was my workaround. If there's a better solution please post it in this thread. :)

I just tested all those exploits and nothing happened. I've known about the pasting thing, but it never flooded the chatbox, it just allowed you to paste messages...

imk 01-07-2010 06:02 PM

amazing - although my colours don't display?

Gato 01-07-2010 06:39 PM

I have this Hack/Mod installed and the time/date was not showed right. So i change the format for date / time. Now this hack works fine but i have a problem with another of your hacks CYB.

The problem is with the CYB- AUTO BIRTHDAY GREETER.

When the system write a post for a birthday the date is in wrong format.
The post look like this:

Today %25-%b-%2009 is celebrating one of our friends.

All this happend when i have to change in cyb-chatbox the date format, etc because the correct hour and date was not showed in that chat, When i change that, i get this error here.
You can help me?

Thanks in advance!

PD: I have vbulletin 3.8.x

justdaves 01-07-2010 07:56 PM

Anyone know of any smart phone apps (iphone or any others) that are chatbox friendly?

justdaves 01-07-2010 08:01 PM

check that, need an app that is chatbox specific.

justdaves 01-07-2010 08:02 PM

I may need to pay a coder in India to get one I suppose.


All times are GMT. The time now is 09:15 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.03929 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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