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)

arco 04-29-2007 02:55 PM

Quote:

Originally Posted by BadgerDog (Post 1237489)
I use the chatbox on the "Forums" page only, so I guess I'm ok. It's been working fine and the latest addtions are great.

Yep, you're fine then. :)

Dream 04-29-2007 06:18 PM

Updated, version 1.3

Now when the Chatbox auto-refreshes, the message the user was typing isn't lost.

This is not perfect, because by the time the Chatbox refreshes it gets the message, and the user has time to type more stuff while the page is loading, so it may lose some letters.

BadgerDog 04-29-2007 06:32 PM

Installed v1.3 update... works fine.... :up:

BTW, my animated smiles work fine in the chatbox....

Regards,
Badger

Fungsten 04-29-2007 10:02 PM

This is when I try to upload the Product XML from the ACP.

Quote:

Database error in vBulletin 3.6.5:
Invalid SQL:
CREATE TABLE chatbox (
`shoutid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`userid` INT( 10 ) NOT NULL ,
`username` VARCHAR( 100 ) NOT NULL ,
`shout` VARCHAR( 255 ) NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( `shoutid` )
);;
Never had that before. :confused:

Dream 04-29-2007 10:07 PM

That shouldn't be happening, and I don't know why it's happening to you.

Anyway, use the attached product file. It's the version 1.3 product file with the code to create the database table removed.

Fungsten 04-29-2007 10:13 PM

It worked.

Quote:

Originally Posted by Dream (Post 1237846)
That shouldn't be happening, and I don't know why it's happening to you.

Anyway, use the attached product file. It's the version 1.3 product file with the code to create the database table removed.

On Edit:

Where the chatbox should be I get a "404 Error". Question, in the code it says:

Quote:


<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>

When editing the Forumhome temp there is this:

Quote:

<!-- end logged-in users -->
</if>
just above the portion of the template you want to edit.

Dream 04-30-2007 12:20 AM

Did you upload chatbox.php to your forum main folder?

You need to find that <tbody></tbody> code and add the Chatbox code right before it.

Fungsten 04-30-2007 12:27 AM

to the forum. Now it works! Thanks!!

Quote:

Originally Posted by Dream (Post 1237923)
Did you upload chatbox.php to your forum main folder?

You need to find that <tbody></tbody> code and add the Chatbox code right before it.

On Edit:

I logged into my test forum with a regular account and though I have in the settings not to show to that group the Chatbox area says something like "chatbox can't be viewed". IS that the way it is? Thanks.

Dream 04-30-2007 01:11 AM

Yes, thats only so that group can't view the contents. If you want to hide the entire chatbox you need to do some template coding, but I wouldn't know the exact code to tell you.

Fungsten 04-30-2007 01:13 AM

I think I might, possibly, could know a way to do that.

Quote:

Originally Posted by Dream (Post 1237949)
Yes, thats only so that group can't view the contents. If you want to hide the entire chatbox you need to do some template coding, but I wouldn't know the exact code to tell you.



All times are GMT. The time now is 07:43 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.01350 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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