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)

dfb 01-12-2007 03:03 PM

Is there a way for the box to automatically refresh itself every x seconds?

thanks

sys4096 01-12-2007 03:09 PM

Yes it does that - you can adjust the value by editing the php file

dfb 01-12-2007 04:20 PM

thanks for the help with the box automatically refreshing,

where in the php file can I find that. What do I look for?

thanks for your help in advance

Flow Fusion 01-12-2007 09:54 PM

Quote:

Originally Posted by dfb (Post 1157207)
thanks for the help with the box automatically refreshing,

where in the php file can I find that. What do I look for?

thanks for your help in advance

In the shoutbox.php look for the
################### CONFIG VARS ##################

under that heading there is a bunch of configurations you can make including the one you asked for.

Flow Fusion 01-12-2007 09:56 PM

Quote:

Originally Posted by sys4096 (Post 1157110)
Great little chatbox, does the job perfectly for what I want, apart from 1 thing:

Is there any way to make this visible to only registered users, or members of a usergroup?

Yes, in the chatbox.php under
################## CONFIG VARS ################

look for the heading $cantshout put in the usergroups you dont want ie 1 for unregistered and so forth.

Flow Fusion 01-12-2007 09:58 PM

Quote:

Originally Posted by dfb (Post 1149837)
I like this a lot as it is very simple.

How can I move the chat box? Where in the code would I place it to put it above my forums, just below the navbar.

Right now it seems lost in the Whats Going On section.

Many thanks in advance,

derek

Anybody solve this?

kewlfoogle 01-15-2007 02:01 AM

adding this line thats stated in your install.txt i get an error...

this line:

<!-- Chatbox -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatbox')"><img id="collapseimg_forumhome_chatbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatbox].gif" alt="" border="0" /></a>
<a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatbox" style="$vbcollapse[collapseobj_forumhome_chatbox]">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%" style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
<!-- / Chatbox -->

gives me this error:

An appropriate representation of the requested resource /admincphide111k/template.php could not be found on this server.

admincphide111k/template.php is indeed there.

sys4096 01-15-2007 09:46 AM

Quote:

Originally Posted by Flow Fusion (Post 1157531)
Yes, in the chatbox.php under
################## CONFIG VARS ################

look for the heading $cantshout put in the usergroups you dont want ie 1 for unregistered and so forth.

That wasn't what I was asking m8, thanks for having a go but what I asked was if there is a way to make it VISIBLE to registered users ONLY

The above stops anyone but registered users from shouting, which is fine but I want to stop
non regged users even seeing the chatbox.

Cheers,
Paul.

darkilla2 01-15-2007 08:57 PM

i guess u can put it under the

<if condition member show> something like that forgot the exact words i knoe its right on top of the usercp links part

SidelineSports 01-16-2007 01:28 AM

Awesone! Installed! Love it!


All times are GMT. The time now is 03:48 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.01492 seconds
  • Memory Usage 1,740KB
  • 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_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