vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   FlashChat : Integration upgrades for vBulletin. (https://vborg.vbsupport.ru/showthread.php?t=74613)

Paul M 05-27-2005 12:51 AM

okay, can you pm me the entire contents of your CMS2 file.

Chadi 05-27-2005 01:07 AM

See attachment please
Thanks

Note I x'd out the license number on purpose

Paul M 05-28-2005 12:19 PM

chadi - see your PM's - I located your problem in sendLoginInfo.php (a small editing problem). :)

EricaJoy 06-01-2005 02:32 PM

*clicks install

Chadi 06-01-2005 02:35 PM

Paul...thank you very much brother

T3MEDIA 06-08-2005 12:11 AM

Quote:

Originally Posted by Paul M
chadi - see your PM's - I located your problem in sendLoginInfo.php (a small editing problem). :)

Is it safe to get the latest version of flashchat now paul?

Paul M 06-08-2005 08:54 AM

Quote:

Originally Posted by T3MEDIA
Is it safe to get the latest version of flashchat now paul?

Well that depends on what you mean by safe. Version 4.0.6 has a few minor bugs, but I believe that if you install it from scratch, following the instructions (using the defaults) then it works fine.

The only new features seem to be the bots and avatars (and more smilies), I believe that it may be slightly more efficient flash code as well. If none of this bothers you then I would question whether it's worth upgrading.

Eagle Creek 06-08-2005 11:52 AM

Does anybody know if Flashchat will work on the new vB?

Paul M 06-08-2005 12:30 PM

Quote:

Originally Posted by Eagle Creek
Does anybody know if Flashchat will work on the new vB?

No, but I can think of no reason it wouldn't.

T3MEDIA 06-08-2005 01:42 PM

Quote:

Originally Posted by Paul M
Well that depends on what you mean by safe. Version 4.0.6 has a few minor bugs, but I believe that if you install it from scratch, following the instructions (using the defaults) then it works fine.

The only new features seem to be the bots and avatars (and more smilies), I believe that it may be slightly more efficient flash code as well. If none of this bothers you then I would question whether it's worth upgrading.

Wow thanks for the heads up on that. I also heard flashchat uses a lot of resource power.

I dont know that to be true though.

Paul M 06-11-2005 11:13 PM

Quote:

Originally Posted by Eagle Creek
Does anybody know if Flashchat will work on the new vB?

Quote:

Originally Posted by Paul M
No, but I can think of no reason it wouldn't.

The answer can now be revealed - yes it will. :)

dave kaye 06-25-2005 01:04 PM

Hi All

I have just integrated flashchat, latest version and used the integration provided in the install. I have also used Pauls mod re usergroup permissions, but im can not find how to access flashchat user admin within vbulletin.

When I go to the flashchat admin then log in I get this message when clicking on users.
This option is not available when FlashChat is integrated with a custom CMS (content management system).
Please use the user administration tools which come with your system to add, edit, or remove users.

where do I go to get in to admin within vbulletin.

Thanks in advance.

Dave

Paul M 06-25-2005 01:16 PM

There is no flashchat user admin when integrated - the point of integration is that it uses vB's user list/table. :)

dave kaye 06-25-2005 01:45 PM

Hi Paul

Thanks, what about the mod the you have done to deny/allow access for usergroups, where is the admin to confiqure this.

Dave

Paul M 06-25-2005 02:18 PM

Quote:

Originally Posted by dave kaye
Hi Paul

Thanks, what about the mod the you have done to deny/allow access for usergroups, where is the admin to confiqure this.

Dave

There isn't any - you have to edit this section of the CMS file ;

PHP Code:

// Set Allowed groups 
if (in_array(2,$groups)) $userrole ROLE_USER
if (
in_array(7,$groups)) $userrole ROLE_USER

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

//Set Banned groups 
if (in_array(8,$groups)) $userrole ROLE_NOBODY
if (
in_array(9,$groups)) $userrole ROLE_NOBODY

Each number is the vB usergroup number (i.e. 6 = admin group).

dave kaye 06-25-2005 02:43 PM

Thanks Paul,
Cant believe I'm so stupid,

In the default user what should it be, I guess also I can add lines for other groups. Also I cant seem to see any rooms or a list of users currently in chat on the right hand side.

Dave

neofootball 07-08-2005 12:59 PM

I did the changes now all I get is a blank white page, it worked before. So I must have hosed something up any thoughts would be greatly appreciated. :ermm:

Paul M 07-08-2005 01:18 PM

Well that meas you broke it - as you have no links to your site in your profile I can't look.

One thing - in the flashchat config file, set debug = true, this will help find the error.

neofootball 07-08-2005 01:54 PM

Paul, ck you PM.

A.Ah 07-08-2005 07:14 PM

is there anyway to have users auto login

Paul M 07-08-2005 08:44 PM

Quote:

Originally Posted by A.Ah
is there anyway to have users auto login

Standard vb/flashchat integration already does that - this enhances it.


FYI: Hack updated to 1.75 (for the release of Flashchat 4.0.12).

Paul M 07-08-2005 10:47 PM

Quote:

Originally Posted by neofootball
Paul, ck you PM.

Your chat is fixed. I recommend you get a better text editor, whatever you used made a mess of your files. :)

Kaelon 07-09-2005 02:17 AM

Quote:

Originally Posted by T3MEDIA
Wow thanks for the heads up on that. I also heard flashchat uses a lot of resource power.

I dont know that to be true though.

I have heard this as well - that FlashChat hangs and crashes with more than 20-30 concurrent users, largely because of poor flash-to-file i/o interface (though this last part has not been verified). What is known is that FlashChat tends to lag out and crash with concurrent users numbering 20-30 or so, but I'd like to see some hard data on that. Does anyone know of any FlashChat running with many concurrent users, and report on the type of performance (both in the chat room, as well as to the server)?

Paul M 07-09-2005 02:50 AM

I would be surprised if it coped well with more than 30. I don't think it would on our server.

Kaelon 07-09-2005 03:11 AM

Quote:

Originally Posted by Paul M
I would be surprised if it coped well with more than 30. I don't think it would on our server.

FlashChat, though, is being sold from its site as something that can conceivably host many, many users.

Paul M 07-09-2005 02:42 PM

Quote:

Originally Posted by Kaelon
FlashChat, though, is being sold from its site as something that can conceivably host many, many users.

Then I suggest you take it up with the author. It's not my problem, nor anything to do with this hack. :)

Kaelon 07-09-2005 05:29 PM

Quote:

Originally Posted by Paul M
Then I suggest you take it up with the author. It's not my problem, nor anything to do with this hack. :)

Sorry, I didn't mean to ruffle your feathers. I was simply asking if anyone had any data to suggest whether or not FlashChat is stable beyond 20 concurrent users.

I do have the answer, however -- it is not. On a dedicated server solution (Dual Xeon 2.2Ghz, 2 Gigs of RAM, on a 100 Mbps HE/Above backbone), Flashchat experienced flock errors beginning at around 28 users, and at 35 users, it crashed. It's not something that can be mitigated by simply performance; there are inherent flaws with the script. Just something that users might want to know before they decide to use FlashChat as their community chat solution.

cyberxp9 07-14-2005 06:45 AM

i dont want to upgrade it i want to install it with vb 3, but i cant find a link for a hack here, i need help

Paul M 07-14-2005 06:57 AM

Quote:

Originally Posted by cyberxp9
i dont want to upgrade it i want to install it with vb 3, but i cant find a link for a hack here, i need help

There isn't one - the instructions come with flashchat when you buy it.

T3MEDIA 07-16-2005 11:15 AM

Paul check out userplane... I am working with that company to have intergration with vBulletin... Nexia has done a lot of work so far on it. I hired him to do intergration and somehow he jumpped to working with them directly but you should check it out. It is on their servers so all the weight flashchat does is eliminated.

derekivey 07-29-2005 03:09 PM

Works Great, Thanks Paul!

* derekivey clicks install.

derekivey 07-29-2005 07:29 PM

For some reason after adding your mod the bots don't come in. Any idea whats wrong?

Paul M 07-29-2005 08:51 PM

Quote:

Originally Posted by derekivey
For some reason after adding your mod the bots don't come in. Any idea whats wrong?

As I don't use bots, I could not be 100% sure - but at a guess I would say they won't have a valid usergroup (as they are not vb users) and therefore would not be allowed access by the default settings of this hack.

derekivey 07-29-2005 08:57 PM

Ok, Thanks.

Paul M 07-29-2005 09:19 PM

FYI, the default access is controlled by this line in the CMS file ;

PHP Code:

    // Set default access 
    
$userrole ROLE_NOBODY 

If you set that to ROLE_USER then they may be able to get in. The problem is that so will any other non banned usergroup (inc possibly guests, I can't test this atm). You *may* want to add lines for usergroups 1, 3 and 4 to the banned groups section (a few lines below the default).

derekivey 07-29-2005 10:56 PM

Ok, Thanks Paul. I'll try and get it to work.

derekivey 08-03-2005 07:10 PM

Ok, I took a look and I think it has something to do with this code in inc\classes\sendLoginInfo.php:

PHP Code:

            // # Paul M # Prevent non allowed members joining .                        
            
if(ChatServer::userInRole($this->useridROLE_NOBODY)) 
            {
                
$user ChatServer::getUser($this->userid);
                
$this->userid null;
                return 
$this->sendBack(new Message('lout'nullnull'banned'));
            } 

I just can't figure out whats wrong :(

Paul M 08-04-2005 07:39 AM

Did you change the default to ROLE_USER as per two posts ago ?

derekivey 08-04-2005 02:53 PM

Yes, and it still didn't work.

Paul M 08-04-2005 06:52 PM

Change it back to this then, so as not to break anything else.

Code:

        // Set default access
        $userrole = ROLE_NOBODY ;

Having never used bot's I haven't really looked at how they work. I would guess they are being assigned the role of NOBODY and so getting blocked. I'll try and look before I go on Holiday, otherwise it will be towards the end of August before I return.


All times are GMT. The time now is 04:17 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.01576 seconds
  • Memory Usage 1,835KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (15)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
  • (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