vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Flashchat Integration for vB 3.5 (https://vborg.vbsupport.ru/showthread.php?t=91278)

heynurse 10-12-2005 06:27 PM

answers in bold text below in quote, hope that helps

Quote:

Originally Posted by LeeWicKeD
Hi there,

i have some question about FlashChat, before i decide to buy it or not:

1. is the chat very slow for dial-up / modem users?
NO
2. can i ban users/usergroups?
YES
3. is there an admin panel or something like this for the chat?
YES
4. can i use the smilies from the forum or do i have to add the smilies new for the chat?
It comes with it's own smilies
5. other important things i have to know?
It's only $5 ;)

thx

Lee


LeeWicKeD 10-12-2005 07:02 PM

great,thx, helped me a lot :)

is it possible to add my own smilies, or can i change the codes for the smilies? i hope so...

heynurse 10-12-2005 07:33 PM

flashchat questions and info can be found on it's website :
http://www.tufat.com/s_flash_chat_chatroom.htm and it's discussion forums: http://www.tufat.com/phpBB2/index.php?c=4

LeeWicKeD 10-12-2005 07:56 PM

ok,got all answers, thanks a lot :)

Peace_Hope 10-12-2005 08:00 PM

If you have to login all the time part of it could be that you are when leaving clicking the close button for flash chat, logging you out of the chat. Where you should just close the browser, then you will not have to login each time, and your settings will be automatically saved.

Hope that helps some people

RaceJunkie 10-13-2005 12:19 AM

Installed and everything work for me but other members do not have permisson to enter.

what's next?

Paul M 10-13-2005 12:45 AM

Quote:

Originally Posted by RaceJunkie
what's next?

This ?

Quote:

  • Remember to edit the CMS file to add your vBulletin Licence number - also - if you use non standard usergroups you will almost certainly need to edit the CMS file to give them permission to enter the chat


Itworx4me 10-13-2005 12:53 AM

Is there anyway to get the flashchat to take on the look of the forum???

Thanks,
Itworx4me

RaceJunkie 10-13-2005 01:02 AM

Quote:

Originally Posted by Paul M
This ?

Ok I done the License in the install. But what file do i edit to allow my custom usergroups. That is the problem everyone but them can enter..

Thanks Paul

Paul M 10-13-2005 01:16 AM

Quote:

Originally Posted by RaceJunkie
Ok I done the License in the install. But what file do i edit to allow my custom usergroups. That is the problem everyone but them can enter..

The CMS file - vbulletin35CMS.php

RaceJunkie 10-13-2005 01:28 AM

Ok i have 1 Jr Admin and his user group is 9

HTML Code:

//Set Staff groups
        if (in_array( 5 ,$groups)) $userrole = ROLE_ADMIN;
        if (in_array( 6 ,$groups)) $userrole = ROLE_ADMIN;
    if (in_array( 9 ,$groups)) $userrole = ROLE_ADMIN;

He still can not get in?

Paul M 10-13-2005 01:41 AM

Have you removed the group 9 entry from the banned section ?

RaceJunkie 10-13-2005 01:49 AM

Quote:

Originally Posted by Paul M
Have you removed the group 9 entry from the banned section ?


Racejunkie hangs his head in Shame.. :tired:

Thanks man Iv'e been looking at this screen to long..lol

Paul M 10-13-2005 02:06 AM

Quote:

Originally Posted by RaceJunkie
Racejunkie hangs his head in Shame.. :tired:

Thanks man Iv'e been looking at this screen to long..lol

Sorted. :up:

heynurse 10-13-2005 03:47 AM

Paul,

Love the hack! I have a problem with my time stamping, it seems as though the chat timestamping is ahead by one hour for all users? I can't seem to figure out where to fix this?

I tried modifying the flashchat config file line:
Code:

  'timeOffset'    => 0,        //sets server time offset (needed only to correct server timezone problem), minutes
and changing the 0 to -1 or +1 and saving it, but nothing changes, the time stamps are still 1 hour ahead of everyones real time?

The time stamping in my vb forum are correct. Any suggestions? TIA.

Paul M 10-13-2005 07:42 AM

Quote:

Originally Posted by heynurse
Any suggestions? TIA.

Quote:

If you have questions about Flashchat in general, their forums are here.
Their forum really is the best place for flashchat functionality problems. :)

Mike Bedford 10-13-2005 10:32 AM

after install i just get a white screen ?

lifanovsky 10-13-2005 10:55 AM

Great mod. A Ihave found Flashchat because of it, also. Its right what my users need. So thank you very much!
The only thing is that it doesn't add "Chat" to the main menu, but I've found a way, so anyway...

Mike Bedford 10-13-2005 11:13 AM

thats just the question i was going to ask, how do i add CHAT to the menu

its ok i found it

http://www.tufat.com/docs/flashchat/vbulletin.html

heynurse 10-13-2005 03:25 PM

Quote:

Originally Posted by Paul M
Their forum really is the best place for flashchat functionality problems. :)

Thanks Paul, I just thought the time stamp problem was somehow part of the integration with the vbulletin, because it seems that everyones timestamp is only one our off of the vb time.

I'll post the question over there :) Thanks again for a killer hack!

djmac 10-14-2005 01:39 AM

Paul

I have installed the FlashChat and made all the modifications on your patch. I first installed it to intergrate with vB3.5 stable R3 and when I signed into the Forum the Chat menu appeared, clicked on it and went straight to a room. It was great. The less my members have to log in to features the better.

Then all of a sudden it stopped allowing me to enter without logging in, no matter if I was logged into vB or not. I tried not intergrating, I tried freestyle. Now when I re-install it I see no rooms. No matter what I do now something is different. I think I have been at to long. I know it will work, but I am doing something wrong and I can't see it. Please advise. :tired:
I looked in the TuFat site for an upgrade but didn't see one.

Regards
Don McLaughlin

Paul M 10-14-2005 03:08 AM

Things never just stop working, there is always a reason, something has been changed.

Please read the "support" note in the first post and PM me the appropiate details. Also, you are not currently showing as having this hack installed, please click install if you require support, thanks. :)

djmac 10-14-2005 04:23 AM

Quote:

Originally Posted by Paul M
Things never just stop working, there is always a reason, something has been changed.

Please read the "support" note in the first post and PM me the appropiate details. Also, you are not currently showing as having this hack installed, please click install if you require support, thanks. :)


I couldn't agree with you more. That's why I feel it is something I am doing. I went over the editing of the patch and it looks correct. But things change when you stare at it to long. Anyway I reinstalled it, logged into vB53 and clicked on the flashchat button and went straight to a room, got out of it and tried to get back in and the login dialog box pops up. Look for a PM with information on site. This is deeply appreciated

Regards
Don McLaughlin

Mike Bedford 10-14-2005 10:38 AM

This is prob a really dumb question and may have been answered many times but i cant find it.

It does not seem to be transfering the username and password from the forum, i have to login manualy.

nymyth 10-14-2005 01:51 PM

Nice hack....2 problems

1. When a i'm logged into my vbulletin and i goto the chat....i see that whole login page (with the different login methods, acme widgets demo etc).....should it be doing this???? i want it to go straight to chat

2. if anyone member or not is on that chat/index.php page they can access the admin part of the chat......what do i do???

Thanks.

Peace

djmac 10-14-2005 02:24 PM

Quote:

Originally Posted by Mike Bedford
This is prob a really dumb question and may have been answered many times but i cant find it.

It does not seem to be transfering the username and password from the forum, i have to login manualy.


You may have been doing what I have been doing. When I log into the forums I wasn't checking the "Remember Me" box. This will create a cookie so the FlashChat will see you as well. Now when I do this and click FlashChat I go right to a room. I hope this helps.

Regards
Don

nymyth 10-14-2005 02:44 PM

fixed my issue. Also deleted index.php from the chat page so people cant get there too.....

Thanks.

Peace

ggiersdorf 10-14-2005 03:25 PM

Well Im having different issues, I modified the files went to my website and ran the install I picked VB3.5 and got to section 2 when I hit next the screen went blank and nothing else happens. I cannot get past this part..

djmac 10-14-2005 03:52 PM

Quote:

Originally Posted by ggiersdorf
Well Im having different issues, I modified the files went to my website and ran the install I picked VB3.5 and got to section 2 when I hit next the screen went blank and nothing else happens. I cannot get past this part..


You need to install your flashchat within the forums directory. Example:

bbs/upload/chat

I hope that helps.

Regards
Don

nymyth 10-14-2005 04:19 PM

Quote:

Originally Posted by djmac
You need to install your flashchat within the forums directory. Example:

bbs/upload/chat

I hope that helps.

Regards
Don

You can also change your path within the "vbulletin35CMS" file.....

find:
Code:

$vbpath = realpath(dirname(__FILE__));
require_once $vbpath . '/../../../includes/config.php';

and change the vbpath to a path that leads to your vbulletin config file.

Peace

FindYourHost 10-14-2005 05:19 PM

Fatal error: Call to a member function on a non-object in /usr/local/home/httpd/vhtdocs/dsvr.claretandbanter.co.uk/chat/inc/classes/chatServer.php on line 112

I get this when going to the admin section.

Install didn't give me any errors tho. Using the latest version of flashchat 4.3.3

nymyth 10-14-2005 05:26 PM

^^Go back to the "in inc\classes\connection.php ;" file and make sure the edit change is correct.

Peace

FindYourHost 10-14-2005 07:00 PM

//Touch connection
$stmt = new Statement("UPDATE {$GLOBALS['fc_config']['db']['pref']}connections SET updated=NOW() WHERE id=?");
$stmt->process($this->id);

//Touch room
$this->updateSelfRoom();

return;
}
}

$this->id = md5(uniqid(rand(), true));
$this->userid = ChatServer::isLoggedIn( $args );
$this->roomid = $this->getAvailableRoom($GLOBALS['fc_config']['defaultRoom']);

$color = $GLOBALS['fc_config']['themes'][$GLOBALS['fc_config']['defaultTheme']]['recommendedUserColor'];
if($color == null) $color = 0xFFFFFF;

$this->color = $color;
$this->state = 1;
$this->lang = $GLOBALS['fc_config']['defaultLanguage'];

// Paul M - Real ip detection
$realip = ''; $proxyip = '';
$ignoreprivate = true; // Set to false to allow private 'real' ip's //
if ($_SERVER['HTTP_FROM'] != '') $proxyip = $_SERVER['HTTP_FROM'];
if ($_SERVER['HTTP_FORWARDED'] != '') $proxyip = $_SERVER['HTTP_FORWARDED'];
if ($_SERVER['HTTP_CLIENT_IP'] != '') $proxyip = $_SERVER['HTTP_CLIENT_IP'];
if ($_SERVER['HTTP_X_FORWARDED_FOR'] != '') $proxyip = $_SERVER['HTTP_X_FORWARDED_FOR'];
if (preg_match("#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#" , $proxyip, $iplist))
{
$proxyip = $iplist[0];
if ($ignoreprivate and preg_match("#^(127|10|172\.(1[6-9]|2[0-9]|3[0-1])|192\.168|169\.254)\.#", $proxyip)) $proxyip = '';
}
else $proxyip = '';
if ($proxyip == '') $realip = $_SERVER['REMOTE_ADDR']; else $realip = $proxyip;
$this->ip = ($args['ip'] == null)? $realip : $args['ip'];

Taken from my connection.php

Paul M 10-14-2005 08:22 PM

Quote:

Originally Posted by djmac
You may have been doing what I have been doing. When I log into the forums I wasn't checking the "Remember Me" box.

This is due to the very annoying change the the default action for "remember me", Jelsoft in their infinite wisdom have decided to turn it off by default, and most people simply don't notice, and it breaks things like this.

I'm working on a new CMS file that should eliminate this problem, it also removes the need to enter your vb licence number in the file (and also updates your location in the vb session table when you login).

If anyone would like to test it please drop me a PM with your e-mail address.

Carl Anderson 10-15-2005 12:34 AM

Quote:

Originally Posted by Paul M
This is because they don't log out properly, but just close the browser. It mainly affects non IE users (see posts 150 & 151).

I turned off blocking popups in firefox and that works - logs me out by just closing the page.

When I use my IE 6 I used to get nothing so I turned off the popup blocker in that. Now as I close it I get a pop up that just hangs and stays there and never closes or logs me out?

Any ideas?

Paul M 10-15-2005 11:10 AM

Quote:

Originally Posted by Paul M
If anyone would like to test it please drop me a PM with your e-mail address.

Well, it seems no one is interested. So apart from my own site, it will be untested when released.

Carl Anderson 10-15-2005 01:19 PM

Quote:

Originally Posted by Paul M
Well, it seems no one is interested. So apart from my own site, it will be untested when released.

I would like to test it I wilkl leave a PM...

Thanks for this great well supported hack..............

LeeWicKeD 10-16-2005 08:55 AM

Quote:

Originally Posted by FindYourHost
Fatal error: Call to a member function on a non-object in /usr/local/home/httpd/vhtdocs/dsvr.claretandbanter.co.uk/chat/inc/classes/chatServer.php on line 112

I get this when going to the admin section.

Install didn't give me any errors tho. Using the latest version of flashchat 4.3.3

same problem here, but error on line 22 in chatserver.php :speechless:

Paul M 10-17-2005 04:15 AM

I have uploaded the new version.

Quote:

New in version 2.47;

* The users location is now displayed in "who's online".
* The CMS file no longer requires your vb licence code to be entered.
* Automatic login now works even if a member has not ticked "remember me".
To upgrade from previous versions ;

Import the plugins as a product using the vb Product Manager.
Upload the new vbulletin35CMS.php to the flashchat /inc/cmses/ folder.

If you use custom usergroups, edit the new CMS file to give them access (note, the section to edit is totally different and near the bottom of the file).

djmac 10-17-2005 05:04 AM

Great fix and great upgrade. Thanks Paul :D

BTW Sorry I didn't see the request for wanting to test it first.


Regards
Don


All times are GMT. The time now is 12:39 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.02016 seconds
  • Memory Usage 1,846KB
  • 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_html_printable
  • (20)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