vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBChat v2.3 (https://vborg.vbsupport.ru/showthread.php?t=71049)

djjeffa 11-21-2004 02:23 AM

I upgraded and everything but I still have the damm rex x'x on the smillies and also still not showing whos in chat .
Any ideals?

rexlu 11-21-2004 03:31 AM

Is there anyway to show "who is in chat" in the vbadvanced homepage?

I tried, but couldn't make it :(

Vorty 11-21-2004 10:16 AM

Quote:

Originally Posted by djjeffa
I upgraded and everything but I still have the damm rex x'x on the smillies and also still not showing whos in chat .
Any ideals?

I have exacly the same problema.

Most of my smilies are ok, but some are in red x. :ermm:

What can I do?

Tru Smiles 11-21-2004 11:23 AM

I've had a lot of problems with my forum recently (Mainly related to my damn host ?_?) but HURRAH! I finally have vBChat working :D And it's mighty nice too!

There is just one little thing. You know the iFrame where the text appears? Because of the skin I use, the background for the iFrame uses the background for the skin, which is dark and unreadable. Does anyone know where it is that I can change the background colour to white? I'll show a picture of what it is I mean.

I've tried looking around myself, but I honestly don't trust myself to change things, even simple things >_> I've famous for breaking my old forums by trying to 'fix' them ;)

Anette 11-21-2004 02:52 PM

It is 5 hours ago since someone left the chat.It stills says in the chatroom that he is there.People logs out, but it says they are there.It also said that he was in the chat, for about an hour or so after he had left.
What is the problem, can someone help please?

Zero Tolerance 11-21-2004 03:32 PM

Quote:

Originally Posted by Vorty
I have exacly the same problema.

Most of my smilies are ok, but some are in red x. :ermm:

What can I do?

Go to your ACP, and look at the vBChat options, you will see an option to set to yes if your smilies are showing as red-x's, the reason this is optional is because it uses an extra query, therefore - must only be set to yes if the red x's problem occurs to you, if it doesn't this extra query is "un-needed"

- Zero Tolerance

lancepoint 11-21-2004 03:40 PM

can you post a response that referrs to my errors? they're posted above.
thanks

djjeffa 11-21-2004 04:57 PM

Quote:

Originally Posted by Zero Tolerance
Go to your ACP, and look at the vBChat options, you will see an option to set to yes if your smilies are showing as red-x's, the reason this is optional is because it uses an extra query, therefore - must only be set to yes if the red x's problem occurs to you, if it doesn't this extra query is "un-needed"

- Zero Tolerance

dam it was right infront of me lol now my last question is is there a way to pick what smilles show up? like to just have a set group?

Vorty 11-21-2004 08:07 PM

Quote:

Originally Posted by Zero Tolerance
Go to your ACP, and look at the vBChat options, you will see an option to set to yes if your smilies are showing as red-x's, the reason this is optional is because it uses an extra query, therefore - must only be set to yes if the red x's problem occurs to you, if it doesn't this extra query is "un-needed"

Thank you Scot, that solve my problem.

But now I have the same problem that Anette has:
Quote:

Originally Posted by Anette
It is 5 hours ago since someone left the chat.It stills says in the chatroom that he is there.People logs out, but it says they are there.It also said that he was in the chat, for about an hour or so after he had left.

The members still in the chat, but they really are log out.. (they aren't there)

What can cause this? :ermm:

Zero Tolerance 11-21-2004 11:12 PM

Quote:

Originally Posted by Vorty
Thank you Scot, that solve my problem.

But now I have the same problem that Anette has:

The members still in the chat, but they really are log out.. (they aren't there)

What can cause this? :ermm:

Possibly an error with my query to get members online, can't say the query has been changed since i first released this, ill check it out, if it is wrong it will be fixed in v1.1.2

- Zero Tolerance

Tru Smiles 11-22-2004 04:53 PM

Can someone help me? ;_;

Koopa 11-22-2004 06:11 PM

I get a blank screen after installation :S

http://www.footballmanager2005.com/forums/vBChat.php

freakz 11-22-2004 09:54 PM

I made the mistake of upgrading from v1.0.1 to v1.1.1 which obviosly cause a database error......

How can I fix this with out uninstalling the hack?

I am running VB 3.0.3

Cyn 11-23-2004 04:54 AM

Installation went extremely well and was easy. My problem - when I click on the chat link I get a blank page. I've checked and rechecked my file changes. Where exactly might my error be?

cclaerhout 11-23-2004 08:23 AM

Quote:

Originally Posted by Cyn
Installation went extremely well and was easy. My problem - when I click on the chat link I get a blank page. I've checked and rechecked my file changes. Where exactly might my error be?

Look at if the style you use has the vBChat templates. The automatic installation script only installs vBChat templates in your default style.

Rabbitoh Warren 11-23-2004 11:11 AM

Looks like a great hack. Is there a way to automatically open and close the chatrooms at specified times during the day? If not, can I suggest this feature be looked at for a future version?

Cyn 11-23-2004 11:17 AM

Quote:

Originally Posted by cclaerhout
Look at if the style you use has the vBChat templates. The automatic installation script only installs vBChat templates in your default style.

Hmmm. It seems to have not installed the templates. Should I restore the files I deleted and run the installation again?

Cyn 11-23-2004 11:42 AM

Never mind. I found them.

Is there an easy way to copy them to my other styles? Or is it cute and paste one by one?

LordDG 11-23-2004 01:43 PM

For the blinking problem, ZT, have you considered having a hidden iframe that pulls the data in and then update the actual HTML of the display iframe with JavaScript (.innerHTML). This way the refreshing is done in a hidden frame and the display frame doesn't blink.

Awesome job though :) Thanks!

Zero Tolerance 11-23-2004 02:22 PM

Quote:

Originally Posted by LordDG
For the blinking problem, ZT, have you considered having a hidden iframe that pulls the data in and then update the actual HTML of the display iframe with JavaScript (.innerHTML). This way the refreshing is done in a hidden frame and the display frame doesn't blink.

Awesome job though :) Thanks!

Very possible, i can extend javascript to do almost anything, before i scripted php i was using javascript, even made a full battle featured rpg in javascript =/.

Anyway the only flaw with the js integration would be if the user doesn't have js turned on. Or there browser is 100% ancient and doesn't support any js.

- Zero Tolerance

LordDG 11-23-2004 02:39 PM

I think it's a big enough benefit to warrant not catering to Lynx users ;)

Or you can have more than one iframe templates and depending on settings in admincp it will either be the blinking more friendly version, or the non-blinking JavaScript version.

Blam Forumz 11-23-2004 03:15 PM

Quote:

Originally Posted by Zero Tolerance
Very possible, i can extend javascript to do almost anything, before i scripted php i was using javascript, even made a full battle featured rpg in javascript =/.

Anyway the only flaw with the js integration would be if the user doesn't have js turned on. Or there browser is 100% ancient and doesn't support any js.

- Zero Tolerance

You could make an option whether to use JS or just plain HTML couldnt you? :P

Tru Smiles 11-23-2004 05:12 PM

Quote:

Originally Posted by Tru Smiles
I've had a lot of problems with my forum recently (Mainly related to my damn host ?_?) but HURRAH! I finally have vBChat working :D And it's mighty nice too!

There is just one little thing. You know the iFrame where the text appears? Because of the skin I use, the background for the iFrame uses the background for the skin, which is dark and unreadable. Does anyone know where it is that I can change the background colour to white? I'll show a picture of what it is I mean.

I don't mean to bug, but, can someone help me please? o_O

aranthorn 11-24-2004 12:14 AM

This is simply a brilliant mod. Easy install, great featues and above all works.

akiy 11-24-2004 12:36 AM

Bug report:

A user using Opera has reported that when there are enough messages so that a scrollbar shows up, the scrollbar jumps to the top at every refresh, even if the page is set to have newest messages show up at the bottom.

It looks like the Javascript call of scroll(0,99999999) does not work for Opera.

morrow 11-24-2004 01:58 AM

For some reason, the chat page is a blank screen on some systems and it works on others. Any ideas what might be wrong with the systems that get the white screen?

Thanks

Harley D 11-24-2004 03:20 AM

Quote:

Originally Posted by Tru Smiles
I don't mean to bug, but, can someone help me please? o_O


This is what I used for my "chat_iframe" template, as you can see all the different colors can be changed just like HTML. I found this in this thread.
hope this is what your needing.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
<style type="text/css">
body
{
color: #000000;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 0px 0px 0px 0px;
}
a:link
{
color: #22229C;
}
a:visited
{
color: #22229C;
}
a:hover, a:active
{
color: #FF4400;
}
</style>
</head>
<body bgcolor='#FFFFFF'>
$chat_page
</body>
<if condition="$do_scroll_auto == '1'">
<script type="text/javascript">
<!--
scroll(0,999999999)
-->
</script>
</if>
</html>


Harley D 11-24-2004 03:28 AM

Quote:

Originally Posted by morrow
For some reason, the chat page is a blank screen on some systems and it works on others. Any ideas what might be wrong with the systems that get the white screen?

Thanks

The only thing I can think of is.... If others are using a different skin, this may be the problem. the reason I say this is, after I finished installing vbchat, I found some of my skins showed blank in vbchat, I then manually added the new templates, found in my default skin, that where added during the vbchat install.
The install doesn't add templates to skins that are not child skins from the default skin. I hope I'm making sense.LOL

cclaerhout 11-24-2004 06:56 AM

A little question : how to delete private rooms ? After more than 2 hours, they are still alive. Any idea ?

Rageem 11-24-2004 09:00 AM

I made the mistake of upgrading from v1.0.1 to v1.1.1 which obviosly cause a database error......

How can I fix this with out uninstalling the hack?

I am running VB 3.0.3

fortnox 11-24-2004 11:00 AM

Hi!

First thanks for this great Hack.

I have a small Problem.

My smileys are animated Smileys and if i klick on a Smiley to insert them, all Animation will stop. :ermm:
If i klick in my Browser on refresh the Animation beginns.

kevin_r1 11-24-2004 01:33 PM

Quote:

Originally Posted by Koopa
I get a blank screen after installation :S

http://www.footballmanager2005.com/forums/vBChat.php

I had the same problem. I uploaded vBChat.php to the forums directory (again) and it worked.

Tru Smiles 11-24-2004 05:17 PM

Quote:

Originally Posted by Harley D
This is what I used for my "chat_iframe" template, as you can see all the different colors can be changed just like HTML. I found this in this thread. hope this is what your needing.

Thank you SOOOOOOOO much, I could kiss you :D :D

I was wondering, cos you such a lovely person, if you would know how to adapt that code for the BV Shoutbox here? > https://vborg.vbsupport.ru/showthrea...d=1#post574510


Please?

:D

akiy 11-24-2004 09:23 PM

Since I didn't see any code to insert the time when each message was sent, I went ahead and coded it myself.

After:
Code:

                                if($thisIgnore == 0){
I inserted:
Code:

                                        $time = date("g:ia",
                                                    mktime(date("H",
                                                                $ThisMSG['s_postime'])-$timediff+$ThisMSG['timezoneoffset'],
                                                            date("i, s, m, d, Y", $ThisMSG['s_postime'])));

I can now use $time in the chat_row and chat_row_special_recieved (sic) templates. $time takes into consideration the current chatter's timezoneoffset setting and the server's timezone setting so that each person should see their own local time when the messages were posted.

Hope that helps!

akiy 11-24-2004 09:28 PM

I now have alternating backgrounds for each message.

Somewhere near the top of chat_iframe, I inserted:
Code:

<if condition="$messagenum = 1"></if>
Then, in chat_row, I replaced:
Code:

<tr>
with
Code:

<tr <if condition="$messagenum%2 == 1">BGCOLOR="#F5F5F5"</if>>
I also inserted into the end of chat_row:
Code:

<if condition="$messagenum++"></if>
Of course you can change #F5F5F5 to whatever color you wish.

Hope that helps!

Harley D 11-25-2004 04:37 AM

Quote:

Originally Posted by akiy
Since I didn't see any code to insert the time when each message was sent, I went ahead and coded it myself.

After:
Code:

                                if($thisIgnore == 0){
I inserted:
Code:

                                        $time = date("g:ia",
                                                    mktime(date("H",
                                                                $ThisMSG['s_postime'])-$timediff+$ThisMSG['timezoneoffset'],
                                                            date("i, s, m, d, Y", $ThisMSG['s_postime'])));

I can now use $time in the chat_row and chat_row_special_recieved (sic) templates. $time takes into consideration the current chatter's timezoneoffset setting and the server's timezone setting so that each person should see their own local time when the messages were posted.

Hope that helps!

Where is this portion of code at? I'm unable to find it.

akiy 11-25-2004 02:30 PM

Quote:

Originally Posted by Harley D
Where is this portion of code at? I'm unable to find it.

You should be able to find the "if($thisIgnore == 0){" on line 331 of vBChat.php.

bidouilleur 11-25-2004 06:15 PM

I added vbchat to my board, it worked except the smileys, they didn't show in the chat window. I have some other hacks installed but anyway, Resis Is Futile, one of my support members and good scripter had a look at it and tweaked it to make it work. Since it can help some others, I take the freedom to copy his changes here.

"
To make the smilies work I just changed to things. I removed the code in the smilie-bar generating section to make them appear in random order, and added a smilie-parser for the display of messages. I changed these two parts:
PHP Code:

if($Chat_Options['d_smilequery'] != 1){               // Total Amount Of Smilies               $total = sizeof($smiliecache);               $smilie_select = array();                     for($x=0;$x<$Chat_Options['d_smilieamount'];$x++){                   $smilie_select[] = $smiliecache[rand(1,$total)];                   }               } else {               // Your getting red x's, so instead of using cached data lets query the database               $smilies = $DB_site->query("                   SELECT smilieid, smilietext, smiliepath, smilie.title,                   imagecategory.title AS category                   FROM " . TABLE_PREFIX . "smilie AS smilie                   LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)                   ORDER BY imagecategory.displayorder, smilie.displayorder               ");                   $stotal = 0;                   while($gSmile = $DB->fetch_array($smilies)){                   $allsmilies[] = $gSmile;                   $stotal++;                   }                     for($x=0;$x<$Chat_Options['d_smilieamount'];$x++){                   $smilie_select[] = $allsmilies[rand(1,$stotal)];                   } 

to

PHP Code:

if($Chat_Options['d_smilequery'] != 1){               // Total Amount Of Smilies               $total = sizeof($smiliecache);               $smilie_select = array();                     for($x=0;$x<$Chat_Options['d_smilieamount'];$x++){                   $smilie_select[] = $smiliecache[$x];                   }               } else {               // Your getting red x's, so instead of using cached data lets query the database               $smilies = $DB_site->query("                   SELECT smilieid, smilietext, smiliepath, smilie.title,                   imagecategory.title AS category                   FROM " . TABLE_PREFIX . "smilie AS smilie                   LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)                   ORDER BY imagecategory.displayorder, smilie.displayorder               ");                   $stotal = 0;                   while($gSmile = $DB->fetch_array($smilies)){                   $allsmilies[] = $gSmile;                   $stotal++;                   }                     for($x=0;$x<$Chat_Options['d_smilieamount'];$x++){                   $smilie_select[] = $allsmilies[$x];                   } 

and

PHP Code:

if($Chat_Options['d_allowbbcode'] == "yes"){                   // URL Parse Then BBCode Parse?                   $ThisMSG['s_message'] = convert_url_to_bbcode($ThisMSG['s_message']);                   $ThisMSG['s_message'] = parse_bbcode($ThisMSG['s_message'], 'nonforum');                   } else {                   $ThisMSG['s_message'] = htmlspecialchars_uni($ThisMSG['s_message']);                   }                              // Check Status                          if($ThisMSG['vbchat_pref_status'] == ""){                   $ThisMSG['vbchat_pref_status'] = "<i>None</i>";                   } 

to

PHP Code:

if($Chat_Options['d_allowbbcode'] == "yes"){                   // URL Parse Then BBCode Parse?                   $ThisMSG['s_message'] = convert_url_to_bbcode($ThisMSG['s_message']);                   $ThisMSG['s_message'] = parse_bbcode($ThisMSG['s_message'], 'nonforum');                   } else {                   $ThisMSG['s_message'] = htmlspecialchars_uni($ThisMSG['s_message']);                   }                                      if($Chat_Options['d_smiliedisplay'] == 1){                       // Your getting red x's, so instead of using cached data lets query the database                       $smilies = $DB_site->query("                           SELECT smilieid, smilietext, smiliepath, smilie.title,                           imagecategory.title AS category                           FROM " . TABLE_PREFIX . "smilie AS smilie                           LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)                           ORDER BY imagecategory.displayorder, smilie.displayorder                       ");                       while($smiliegot = $DB->fetch_array($smilies)){                           $ThisMSG['s_message'] = str_replace($smiliegot['smilietext'], "<img src='{$smiliegot['smiliepath']}' alt='{$smiliegot['title']}' />", $ThisMSG['s_message']);                       }                   }                              // Check Status                          if($ThisMSG['vbchat_pref_status'] == ""){                   $ThisMSG['vbchat_pref_status'] = "<i>None</i>";                   } 

Once again thanks Resis and I hope this can help others that have the same problem

Cyn 11-25-2004 08:33 PM

I want to use the chat only for my moderators. So I don't want vBChat to display in the navbar or at the bottom where it displays: Users Currently Inside vBChat

How can I hide these from other usergroups?

Tipi 11-25-2004 09:55 PM

Ehm, I put all the files where the readmefile told to. Now i have this error:

Quote:

Fatal error: Call to undefined function: xml_parser_create() in /usr/home/*********/www/********/admincp/install_vbchat.php on line 31

Line 31 says
PHP Code:

 $parser xml_parser_create(); 



Help??


All times are GMT. The time now is 04:10 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.02998 seconds
  • Memory Usage 1,890KB
  • 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
  • (9)bbcode_code_printable
  • (5)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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