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

kronnos 02-15-2009 02:35 PM

Currently upgraded to 3.8.1, but autorefresh not working and sometimes even when i press manually refresh it doesnt work. Would be great to see a 3.8 version avaliable.

After more testing, it seems that refresh button does not work in IE and does not autorefresh.

Dream 02-15-2009 06:04 PM

im using it on 3.8 with no problems

kronnos 02-15-2009 06:47 PM

Quote:

Originally Posted by Dream (Post 1745149)
im using it on 3.8 with no problems

Yeh, its seems to work with firefox with no problem for me, but when I try to open it in IE and wait for the refresh, it shows the refresh button flick a little every 30 sec(my set time) but it doesn't refresh. Also, im not even able to refresh via clicking the refresh button manually. Did you try it in IE? Also, if it's an error on my part, what could it be? Could it be because of the old database I used from 3.6 version? Should I have completely uninstalled the product without installing the product on top with overwrite on?

Thank!

Dream 02-15-2009 07:14 PM

it's working on IE here... did you make any changes to it? try re uploading the chatbox.php file to your forum.

using the old database has no problems with it. are you using vba?

kronnos 02-15-2009 07:44 PM

Nop, not using vba just made some changes to the actual chat box.

instead of
PHP Code:

<!-- Chatbox -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
    <
thead>
    <
tr>
        <
td class="tcat"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_chatbox')"><img id="collapseimg_forumhome_chatbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_chatbox].gif" alt="" border="0" /></a><a href="javascript:openChatbox()">$vbphrase[chatbox_chatbox]</a></td>
    </
tr>
    </
thead>
    <
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>
</
table>
<
br />
<!-- / 
Chatbox --> 

I have
PHP 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:openBlasterChat()">$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 --> 


Dream 02-15-2009 08:20 PM

you just changed the javascript function name? that would be ok... did you try replacing the chatbox.php? are you using the latest version?

kronnos 02-15-2009 08:36 PM

yeh i think I did but dont really remember how I did that, since it was more then a year ago and I spent a lot of time playing with it to make it look right. Wait..could that be why it might not be working, I changed the function name on the other server where the original site is right now, but all i did was copy the above code from old template into knew one. Should I have copied over something else where I changed the function name or it was saved in the database?

Anyway, I uploaded all the latest files including chatbox.php and when going to IE, it refreshed 2 times(after 30 sec interval) nicely and then it just doesnt anymore... When I manually try to click refresh, the button just blinks and nothing happenes.

Dream 02-15-2009 08:38 PM

if it blinks it should have gotten the new messages from the server, if there are no new messages everything stays the same.

kronnos 02-15-2009 08:41 PM

I know there are new messages because I create them in the firefox version of the site, basically I chat with myselv through firefox and IE. Anyway, its a strange blink because teh normal blink takes atleast a second or 2 to blink back to normal state as its thinking, this blink is instant as though its not thinking anything at all.

Dream 02-15-2009 08:45 PM

are you logged on IE? maybe refresh is disabled for guests.


All times are GMT. The time now is 06:49 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.01342 seconds
  • Memory Usage 1,766KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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