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 - Dream's Chatbox (https://vborg.vbsupport.ru/showthread.php?t=131002)

Dream 03-16-2007 05:32 PM

I'll take a look on the template issue O_o

Colored usernames would need a slower query, maybe two. I can look into making it as an option.

dbirosel 03-16-2007 05:33 PM

Also, is it possible to increase the size of the text a bit? Members are complaining it's hard to see. They like how it loads fast though.

But there main concern is..

-the size of the text
-There username is not colored

dbirosel 03-16-2007 05:35 PM

Overall, i love your mod. I'll keep getting suggestons from my members and keep testing it. I'll be coming over here more often. :) So far the support is great!

Dream 03-16-2007 05:47 PM

You are welcome :)

I'm looking into making the text bigger for you. There doesn't seem to be a CSS class for bigger text in vB. But you have to change all appearances of the code "smallfont" in chatbox.php for another class.

khoadv 03-16-2007 10:32 PM

I've used this mod. It's great.

I've made some modifies: the $cantshout group won't see the text box so they can't input text. It'll prevent the guest posting and the script won't run.

Open the chatbox.php, find:

PHP Code:

echo '<div class="smallfont">'.$date.'<form action="'.THIS_SCRIPT.'.php" method="post" name="chatboxForm"><input type="text" name="shout" size="50" maxlength="255" class="smallfont"> <input type="submit" value="'.$text_send.'" class="smallfont"> <input type="button" value="'.$text_refresh.'" onclick="refreshChatboxLite(\'\')" class="smallfont"> '.$pagelinks.'<br /></form></div>'

(line 162)


replace with:

PHP Code:

echo '<div class="smallfont">'.$date.'<form action="'.THIS_SCRIPT.'.php" method="post" name="chatboxForm">';
if ( !empty(
$canshout) ) {
echo 
'<input type="text" name="shout" size="50" maxlength="255" class="smallfont"> <input type="submit" value="'.$text_send.'" class="smallfont">';
}
echo 
'<input type="button" value="'.$text_refresh.'" onclick="refreshChatboxLite(\'\')" class="smallfont"> '.$pagelinks.'<br /></form></div>'

Then find:

PHP Code:

if (empty($_REQUEST['nofocus'])) {
?> 

replace with:

PHP Code:

if (empty($_REQUEST['nofocus']) && !empty($canshout)) {
?> 


obmob 03-16-2007 11:46 PM

Wondering how is this different from vbshout?

And would be nice to have smilies available too :D

Dream 03-17-2007 12:46 AM

It's a lot more simple than vBShout.

Smilies are available.

Dream 03-17-2007 12:54 AM

Nice modifications khoadv! I'll add them in the next version.

Oh and please click install if you still use it :)

ggiersdorf 03-18-2007 09:27 PM

can this be used in ANY forum? I want to place this in my Staff forum only so we can chat is this possible?

Dream 03-18-2007 11:08 PM

You can configure chatbox.php to only allow usergroupid 6 people to use it (admin group ID), and make it show only on that forum with template modifications.

But people knowing the URL where chatbox.php is can view the conversation.


All times are GMT. The time now is 10:01 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.01528 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_php_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