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)

jking222222 12-10-2007 11:39 PM

Thanks for the mod!

Is there a way to have it show up on the home page and one specific thread or board?

Dream 12-10-2007 11:42 PM

The instructions for it to show on the home page are included in the zip file.

For the chatbox to show on a thread or a particular forum, you would need template conditionals, but I'm not sure which ones you would need. You can try to ask for help on this forum.

kronnos 12-11-2007 10:23 AM

Thank you, didn't even see that text file in the folder before:)

Can I change the text "chatbox" where it says "http://forumname.com - chatbox - MozillaFirefox. Also is there a way to insert an Ad code and/or a header in the new chatbox window that opens with the javascript code?

Thank You

Dream 12-17-2007 11:12 PM

There should be a phrase that has "chatbox" in it so you can change it. If not (been almost 6 months I don't mess with this mod) there should be a <title>chatbox</title> in chatbox.php you can change.

There's no way to insert an ad to the chatbox page without adding it to the normal chatbox that appears on forumhome, because there's no way to know where the user is.

kronnos 12-18-2007 07:46 AM

Quote:

Originally Posted by Dream (Post 1403151)
There should be a phrase that has "chatbox" in it so you can change it. If not (been almost 6 months I don't mess with this mod) there should be a <title>chatbox</title> in chatbox.php you can change.

There's no way to insert an ad to the chatbox page without adding it to the normal chatbox that appears on forumhome, because there's no way to know where the user is.

Thanks, fixed it in chatbox.php. And yes, when i add the ad/header to chatbox in new windows, it also opens in the the normal chatbox aswell. I know little about codes but just got an idea to make 2 different javascript codes added to navbar.

This could be the code to add for the normal chatbox:
Code:

<!-- 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="javascript: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%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
        </tr>
</tbody>
<!-- / Chatbox -->

Which would open the chatbox.php. and then make another chatbox2.php which would then be added to:
Code:

<script type="text/javascript">
<!--
function openChatbox () {
        chatbox = window.open('chatbox2.php','chatbox','height=330,width=650,directories=no,location=no,menubar=no,resizable=yes,status=no,toolbar=no,scrollbars=yes');
}
//-->
</script>

Will that work and if yes, would it use up too much resources running to chats?

PS: In firefox the window opens in the preset size but in internet explorer the window opens full size.

Dream 12-18-2007 07:49 AM

no it would be fine

AlexanderT 12-29-2007 03:27 PM

I think there is a small bug.

Function chatbox_construct_shouts refers to the global variable $tagarounduser but it's missing in the global statement. In effect, the "Tag Around Username" option does not work. To fix it, add $tagarounduser to the global statement of the function.

Sevo 12-29-2007 06:03 PM

I have VBA installed and I uploaded your chat to it.. but in the chat box field it say "no input data" how do I get it to work in the VBA page.

thank you for your help

TCE Killa 12-29-2007 06:10 PM

Great mod this, thanks.

Tikibird 12-31-2007 06:08 AM

How is this chatbox in regards to server load? I am currently running VBShout2.1 and it is killing my bandwidth. If anyone has used both products, I would be interested in a comparison.

I downloaded it and was going to give it a try but I am confused by the various text docs with template edits. Is it necessary to edit templates to make the chatbox work? Or are the template edits just if you want to change the position of it?


All times are GMT. The time now is 09:58 AM.

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.01807 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (1)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