vb.org Archive

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

DarkGizmo 06-26-2008 02:34 AM

Quote:

Originally Posted by NegativeSmoke (Post 1558828)
Please make shouts count as posts towards the board's post total in next update! :D

:D please do this Cyb. :D

nascartr 06-26-2008 02:35 AM

Never mind...where is says time format
Quote:

H:i
change it to
Quote:

h:i A
worked for me.

MSSN 06-26-2008 03:35 AM

Thank you for the update! Love the ability to choose font size. :)

karnevil 06-26-2008 08:21 AM

thats lovely thanks cyb xxx

Subah 06-26-2008 11:05 AM

Thanks for the update :)

Penfold69 06-26-2008 12:18 PM

Cyb,

I have installed several of your mods on our forums and am always impressed at the quality of the code.

This one is the latest and tbh, my guild already love you :)

Never stop coding vBulletin mods! In fact, get yourself a job working for Jelsoft! :)

P.

Penfold69 06-26-2008 01:20 PM

So, I have a query now ;)

I want it displayed on all pages, so I found:

"Show ChatBox on (comma separated THIS_SCRIPT locations) Blank to show on all pages (not recommended because of server load)"

I blanked it out which seems to make it appear in most places. However, it doesn't appear at the top of 'Search' pages (specifically 'New Posts') EDIT: If there are unread threads, it does appear. If there are NO unread threads, it doesn't

So then I tried disabling auto-templating, and adding it manually to the bottom of the 'navbar' template, which gave exactly the same results - displays fine on forum home / forum list / thread etc, but not on the search results screen.

Any ideas how I can get it to display on the New Posts page?

vBulletin 3.7.2 btw.

P.

EDIT 2: I think it's due to the fact it's using the STANDARD_ERROR template to display the "no posts found" message. It's definately still calling the parse_templates hook, so there must be something in the code it doesn't like.

EDIT 3: The standard_error() function basically doesn't pass the correct information :( There goes my limited vBulletin knowledge. sniff..

Trip 06-26-2008 01:45 PM

Nice addition to an already great mod.
Thanks

Tettinntil 06-26-2008 02:28 PM

Is there any way I can get this to work with the norwegian letters ÆØÅ?

Terri 06-26-2008 07:11 PM

Installed. Thanks!

KevinL 06-27-2008 02:39 AM

Great Mod!

Any idea, or has anyone came across a way to fix the color drop down in Safari? It only shows a color when you choose a color, but otherwise its all just blank. Weird haha

Thanks in advance :)

SessizDunya 06-27-2008 08:53 AM

Great mod, installed on 3.7.0

Thanks.

PS: How can I put a background on the back of the chatbox? Any ideas?

RFViet 06-27-2008 10:43 AM

Should I concern about the server load issue with this Mod ???

Penfold69 06-27-2008 12:04 PM

Also, another thought would be to perhaps notify in the Chat box that a new thread has been posted, with the title, forum and a link. Ability to restrict to certain forums, or only display them based on the permission of the logged in user. :)


P.

ETDC 06-27-2008 12:27 PM

Another idea:

Often people browse away without the chat window open - how about a subtle 'pulsing' icon somewhere on the main board whenever people are chatting, so as to let people know? :)

SnapOff Racing 06-27-2008 02:23 PM

Quote:

Originally Posted by KevinL (Post 1560076)
Great Mod!

Any idea, or has anyone came across a way to fix the color drop down in Safari? It only shows a color when you choose a color, but otherwise its all just blank. Weird haha

Thanks in advance :)

That's why people shouldn't use garbage software like safari and CRapple ;)

fariborz 06-27-2008 02:36 PM

Cyb,
I moved my users to primary vip group. this problem is resolved, but:
I have color problem!!
what can i do for fix that?

KevinL 06-29-2008 03:06 AM

Quote:

Originally Posted by SnapOff Racing (Post 1560438)
That's why people shouldn't use garbage software like safari and CRapple ;)

:lol:

Maybe...but it should work with all browsers...just in case ;)

SnapOff Racing 06-29-2008 04:53 AM

Quote:

Originally Posted by KevinL (Post 1561745)
:lol:

Maybe...but it should work with all browsers...just in case ;)

haha oh alright :D

petacat 06-29-2008 05:39 AM

Thanks fo rthe upgrade. Nice features and well done again.

aramiK89 06-29-2008 10:11 AM

Hey, just need to check - once this is added it won't give birth to the security token error?

Has the line of code been added so that it works with the security token feature?

pk698 06-29-2008 08:54 PM

I'm getting this error msg. Anyone know why it's happening? thanks.

Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


drbox 06-30-2008 05:23 AM

installed & working excellent :) its much better then ShoutBox!!

UltraFanatics 06-30-2008 06:38 AM

Superb upgrade yet again mate, well done!

Wehn it says "pruned" does that actually mean deleted from everything?

Valter 06-30-2008 11:36 AM

Quote:

Originally Posted by UltraFanatics (Post 1562745)
Superb upgrade yet again mate, well done!

Wehn it says "pruned" does that actually mean deleted from everything?

Deleted physically from database. Messages can not be restored later.

StarFire 06-30-2008 12:14 PM

Installed on vB 3.7.2 - works great! Thanks, Cyb! Keep up the good work.

mrspring 06-30-2008 01:46 PM

Quote:

Originally Posted by Xphusion (Post 1557344)
ok i did that now how do i get it on the front of the portal page (home page) preferable under the UserCP block

Bump: i'd like to know how to get the non-chatbox full as a module also please.. All my attempts so far have made ugly messes, usually wrapped in vBadvanced inside a module :(

Also: LOVE the mod, working well on 3.7.2

Suggestion: Any way that CHANNELS could be added for future? so different sections of the board could have their own chats? I think that would kick this mod into the super-league..

TitanJeff 07-01-2008 10:55 AM

Quote:

Originally Posted by Darkfire122333 (Post 1547191)
To:

Code:

            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                    <tr>
                        <td class="<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>" colspan="3">
                            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('cybcb_boxswitch')"><img id="collapseimg_cybcb_boxswitch" src="$stylevar[imgdir_button]/collapse_<if condition="($vboptions[cybchatbox_box_style]==1)">tcat<else />thead</if>$vbcollapse[collapseimg_cybcb_boxswitch].gif" alt="" border="0" /></a>
                            <span id="cybchatmenuccbox"><if condition="($_REQUEST['do']!='cchatbox')">$vbphrase[cybcb_chatbox]<else />$vbphrase[cybcb_chatbox_full]</if> <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenuccbox"); </script></span> <span class="smallfont" id="cybcb_newinfoarea" style="display:inline;">($cybcb_newstat)</span>
                        </td>
                    </tr>
                </thead>
                <tbody id="collapseobj_cybcb_boxswitch" style="<if condition="$vboptions[cybchatbox_collapsed_always]"><if condition="(THIS_SCRIPT!='misc')">display:none</if><else />$vbcollapse[collapseobj_cybcb_boxswitch]</if>">
                    <tr valign="top">
                        <td class="alt2">
                            <div id="cybcb_messagearea" style="overflow:auto;height:$cybcb_height_messarea;width:100%;border:0px;background-color:$stylevar[alt2_bgcolor]">
                                $vbphrase[cybcb_loading]
                            </div>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td class="alt2">
                            <textarea name="ccb_entermessage" id="ccb_entermessage" class="smallfont" style="width:75%;height:15px;overflow:auto;color:$stylevar[alt1_fgcolor];background-color:$stylevar[alt1_bgcolor];border:0px;" onkeydown="if (event.keyCode == 13) {return Ccb_postMessage(cybcb_post_form);}"  onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;" <if condition="$cybcb_cantpost">disabled="disabled"</if> rows="1" cols="1">$vbphrase[message]...</textarea>
                                <input id="ccb_m_bold" type="button" class="button" style="width:30px;font-weight:bold;" value="B" onclick='Ccb_updateSButton(this, "fontWeight")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_italic" type="button" class="button" style="width:30px;font-style:italic;" value="I" onclick='Ccb_updateSButton(this, "fontStyle")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <input id="ccb_m_underline" type="button" class="button" style="width:30px;text-decoration:underline;" value="U" onclick='Ccb_updateSButton(this, "textDecoration")' <if condition="$cybcb_cantpost">disabled="disabled"</if> />
                                <select id="ccb_m_color" name="ccb_m_color" style="width:50px;background-color:black;" onchange='Ccb_updateColor(this, "color");Ccb_Init();' <if condition="$cybcb_cantpost">disabled="disabled"</if>>
                                    <option style="background-color:$stylevar[alt1_fgcolor];color:$stylevar[alt1_fgcolor];" value="$stylevar[alt1_fgcolor]" selected="selected">&nbsp;</option>
                                    $cybcb_colors
                                </select>
                                <if condition="(($vboptions[cybchatbox_smiliestotal]!=0) AND !$cybcb_cantpost AND $cybcb_smilies_init)">
                                    <span id="cybchatmenusmilies">$vbphrase[smilies] <script language="Javascript" type="text/javascript"> vbmenu_register("cybchatmenusmilies"); </script></span>
                                    <span class="vbmenu_popup" id="cybchatmenusmilies_menu" style="display:none;">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td class="thead">$vbphrase[smilies]</td>
                                            </tr>
                                            <tr>
                                                <td class="alt2">
                                                    <div id="cybcb_smiliesarea" style="max-height:200px;overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                        <div id="cybcb_smiliesarea_init" style="overflow:auto;background-color:$stylevar[alt1_bgcolor];border-top:0px;border-bottom:1px;border-left:0px;border-right:0px;border-color:$stylevar[time_fgcolor];border-style:dashed;">
                                                            $cybcb_smilies_init
                                                        </div>
                                                        <div id="cybcb_smiliesarea_full" style="background-color:$stylevar[alt1_bgcolor];margin:1px;">
                                                            <span id="cybcb_smilies_more" class="smallfont" style="display:inline;">
                                                                <a href="javascript:void(0);" onclick="Ccb_getSmilies();" style="text-decoration:none;">$vbphrase[more]</a>
                                                            </span>
                                                            <span id="cybcb_smilies_loading" class="smallfont" style="display:none;">
                                                                $vbphrase[cybcb_loading]
                                                            </span>
                                                        </div>
                                                    </div>
                                                    <div align="center" style="margin:4px;">
                                                        <img id="cybcb_smiliepreview" src="$cybcb_smilie_first" border="0" alt="" />
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </span>
                                </if>
                        </td>
                    </tr>
                    <if condition="$vboptions[cybchatbox_belownote]">
                    <tr>
                        <td class="alt2" align="$stylevar[left]" colspan="3">
                            <div class="smallfont" style="float:$stylevar[right];">$vbphrase[cybcb_chatbox_note]</div>
                        </td>
                    </tr>
                    </if>
                </tbody>
            </table>


Did this and like it. However, I notice it widens the forumhome quite a bit. Is there a way to allow the chatbox to be more narrow for those who want it? Thanks.

EDIT: figured it out. I saw the percentage of 75% and made it less. Worked just fine. Thanks.

sheep92032 07-03-2008 12:11 PM

I don't see any submit button. It'd also be nice to be able to edit the phrase 'Ask your questions in the forums. The ChatBox is for small talk.' and $vbphrase[message]. I can't use the chatbox on my ipod without the submit button, so i think that's the most important.

Valter 07-03-2008 05:58 PM

There IS a submit button, and I'm always wondering how some people can be forum admins if they don't even know how to edit phrases.

pewa 07-05-2008 11:29 AM

Cyb, the bug that makes the time displays H:i instead of the actual time is forcing me to use another chat mod, too bad.. really like this one!

Is there anything you could try to do? Maybe change the code, feth the time in another way? Ask someone else that's also into coding..

SnapOff Racing 07-05-2008 02:45 PM

Anyone know how to change the code to make the text editor be on top like this guy did...

http://img257.imageshack.us/img257/9...captureio2.png

silly rabbit 07-05-2008 10:19 PM

Quote:

Originally Posted by Cybernetec (Post 1566027)
There IS a submit button,

Cyb, great hack! While on subject a related question - whenever someone posts a message in Chatbox I've a floating popbox that [will] notify other users that "someone is Cybing in Chatbox", am using a simple "$show['typing']=true" switch but cannot figure out the best place in the code to set and clear it.

The display template part of it is not my creation, it's another modified hack from here but will post "how to" after I get this thing popping properly,

Thx Wabbit!
Quote:

Originally Posted by SnapOff Racing (Post 1567407)
Anyone know how to change the code to make the text editor be on top like this guy did...

What guy is "this"? Again, version 2.0!
Quote:

Originally Posted by TitanJeff (Post 1563880)
Did this and like it. .

SnapOff, what Titan did is very similar with the editor on the bottom, reverse the "textarea name="ccb_entermessage"" HTML and you should have it.

I like it too! Thx Titan (what version you running now?) for sharing . . .

dodjer42 07-06-2008 10:44 PM

Quote:

Originally Posted by silly rabbit (Post 1567716)

SnapOff, what Titan did is very similar with the editor on the bottom, reverse the "textarea name="ccb_entermessage"" HTML and you should have it.

I like it too! Thx Titan (what version you running now?) for sharing . . .

Do you have anymore detail on how to do this? I'm after a similar design, but with text entry at the bottom. Note: Disregard the red pbrushed text. It was someone elses screeny. Interested in the chatbox below navbar.

https://vborg.vbsupport.ru/attachmen...4&d=1208289470

Any help would be appreciated.

XiZa 07-07-2008 11:42 AM

Ok for those who asked for this layout for the chatbox:

https://vborg.vbsupport.ru/external/2008/07/45.jpg

You can get it here: just copy/paste everything in the style cyb_chatbox

http://rafb.net/p/VBTPQZ81.html

I tested it in safari, firefox 3, and opera 9.5. Not tested in IE6/7 so if someone will please test there, thanks.

I also fixed a bug with the refreshing of the chatbox, not it will reset the refresh timeout after every submit so that you do not get lots of refreshes when submitting alot of messages.

And a bug where the character count is not reset successfully after each message submission.

And lastly I added a loading indicator..

Doomday 07-07-2008 06:01 PM

is there anyway to put the text editor below the chatbox and not in the left side like it is right now?

btw installed and its works great ;)

RK1gaming 07-07-2008 07:30 PM

installed -- is there VBa module for this .. so it can be on the portal page ?

silly rabbit 07-07-2008 10:49 PM

Quote:

Originally Posted by dodjer42 (Post 1568519)
Do you have anymore detail on how to do this? I'm after a similar design, but with text entry at the bottom.

Quote:

Originally Posted by Doomday (Post 1569335)
is there anyway

Back up one page, post 268? Mind you this is postbit for ver 2.0 and not the newer 2.1, haven't had time to look at newer postbit but assume the adjustment is similar. "Compare the two and the solution should present itself!

Titan's postbit does work on 2.1 version but added features, like the px adjustment and char counter, are missing . . .

Nice work Cyb! wabbit

Doomday 07-08-2008 01:56 AM

Quote:

Originally Posted by silly rabbit (Post 1569578)
Back up one page, post 268? Mind you this is postbit for ver 2.0 and not the newer 2.1, haven't had time to look at newer postbit but assume the adjustment is similar. "Compare the two and the solution should present itself!

Titan's postbit does work on 2.1 version but added features, like the px adjustment and char counter, are missing . . .

Nice work Cyb! wabbit

thanks it does work however some of the options disappears from the chatbox like char lenght limit, i have to look the code but is too much and i dont have the time right now but it was what i was looking for.Thanks again

matt_turpin 07-08-2008 02:30 AM

I had installed a rival chatbox for quite a while, until an exploit was discovered about it and vBulletin emailed me. The chatbox was wildly popular with my members, although I was hesitant to look for a replacement because I discovered it decimated new thread posts. In its absense though, I noticed a sharp decline in activity in general so I sought out a replacement and found this one. It's great. It's totally streamlined. It fits my forum layout perfectly. It works perfectly. I'm happy that my community goaded me into replacing the chatbox because this is great.


All times are GMT. The time now is 10:50 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.02229 seconds
  • Memory Usage 1,870KB
  • 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_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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