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)

Crazy Serb 01-15-2006 01:04 PM

Quote:

Originally Posted by emtee
It's built-in with Flashchat. Go to your chat/admin and read the conversations there. Setup the maximum stored messages as many as you want in flashchat config.php

Hope this helps.

ok... i am not sure how that works, and it might kinda cover my question/problem.

but what i was thinking of is having a thread or something created for each session (or at the end of each chat session) with the log file... so users can just read it later on, just like any other thread, and me being able to set permissions for it as well, etc... is that possible?

jmacieira 01-15-2006 02:34 PM

Hi Paul

My Flashchat this to call well with my base of data of Vbulletin 3.5.3

But in my forum he always opens in a new window and not integrated with the presentation of Vbulletin

as I integrate mine logo and my navbar ?

Sorry my Ingles

Paul M 01-15-2006 02:37 PM

Quote:

Originally Posted by Crazy Serb
ok... i am not sure how that works, and it might kinda cover my question/problem.

but what i was thinking of is having a thread or something created for each session (or at the end of each chat session) with the log file... so users can just read it later on, just like any other thread, and me being able to set permissions for it as well, etc... is that possible?

It's not possible unless someone writes it, and it wouldn't be simple either.

Paul M 01-15-2006 02:39 PM

Quote:

Originally Posted by jmacieira
Hi Paul

My Flashchat this to call well with my base of data of Vbulletin 3.5.3

But in my forum he always opens in a new window and not integrated with the presentation of Vbulletin

That's how it works as flashchat is totally seperate. There is a hack to embed it within a vb page, not sure off the top of my head what it's called.

jmacieira 01-15-2006 02:43 PM

Tanks for your anwser Paul

that is not possible?
https://vborg.vbsupport.ru/attachmen...chmentid=37217

Paul M 01-15-2006 03:08 PM

Like I said, there is another hack somewhere on vb.org to embed flashchat in a vb page.

erc 01-18-2006 01:06 AM

Quote:

Originally Posted by snakes1100
That is correct Paul, groupID 16 is the non-working ID group and is in the 'users' array.

Code:

        'users' => array( 2,16 ) , // vBulletin usergroups allowed standard access to chat.
        'mods' => array( 5,7 ) , // vBulletin usergroups allowed access as chat moderators.
        'admin' => array( 6 ) , // vBulletin usergroups allowed access as chat administrators.
        'banned' => array( 1,8 ) , // vBulletin usergroups banned from accessing the chat.
        'customer' => array( 0 ) , // vBulletin usergroups allowed access as customers (Live support mode only).


I'm having the same problem... Paul, you fixed it for this guy, do you remember what the problem was? Here is a link to the post:
https://vborg.vbsupport.ru/showpost....&postcount=561

I have a custom usergroup with an id of 56. Everyone who belongs to this group has it set as their primary usergroup. My file looks like this:

PHP Code:

    'users' => array( 2,9,56 ) , // vBulletin usergroups allowed standard access to chat.
    
'mods' => array( 5,) , // vBulletin usergroups allowed access as chat moderators.
    
'admin' => array( ) , // vBulletin usergroups allowed access as chat administrators.
    
'banned' => array( 1,) , // vBulletin usergroups banned from accessing the chat.
    
'customer' => array( ) , // vBulletin usergroups allowed access as customers (Live support mode only). 

But the users who belong to that group get the following message:

Quote:

The administrator may have required you to register before you can view this page.
I greatly appreciate any insight you can provide.

Paul M 01-18-2006 01:40 AM

Quote:

Originally Posted by erc
I'm having the same problem... Paul, you fixed it for this guy, do you remember what the problem was? Here is a link to the post:
https://vborg.vbsupport.ru/showpost....&postcount=561
.
.
I greatly appreciate any insight you can provide.

He had simply uploaded the edited file to the wrong place - it must replace the existing file in ../chat/inc/cmses/

erc 01-18-2006 02:06 AM

Quote:

Originally Posted by Paul M
He had simply uploaded the edited file to the wrong place - it must replace the existing file in ../chat/inc/cmses/

Ahh, Got it. Thanks :)

ViewMy.biz 01-19-2006 02:01 PM

Installed.

So far so good, but have not released it to the forum members yet.

ps installed it over a php3 extention only had to chage the reference in the xml file.

Paul M 01-19-2006 04:17 PM

Yes, perhaps it is you.

Quote:

* This integration is for Flashchat versions 4.0.1 upwards.
* Seperate zips are provided for post 4.4.0 versions and pre 4.4.0 versions.
TBH, I think it's pretty obvious how to work out which version you need knowing what version of Flashchat you have.

Paul M 01-19-2006 06:42 PM

This is for integration of flashchat (the $5 script) with vbulletin, you need to have purchased and installed flashchat first (selecting the appropiate options for vb when you install it).

As it says in the hack notes, the latest versions of flashchat already include (most of) my integration as part of their supplied files. All you need to add is the plugin, and possibly the updated vbulletin35CMS.php file.

jmacieira 01-19-2006 09:33 PM

Hi Paul

I dont wonderstend my problem in my vbulletin35CMS.php

Code:

'users' => array( 2,10,12,13,14,17 ) , // vBulletin usergroups allowed standard access to chat.
'mods' => array( 5,7 ) , // vBulletin usergroups allowed access as chat moderators.
'admin' => array( 6 ) , // vBulletin usergroups allowed access as chat administrators.
'banned' => array( 1,3,4,8,9,16 ) , // vBulletin usergroups banned from accessing the chat.
'customer' => array( 0 ) , // vBulletin usergroups allowed access as customers (Live support mode only).
);

My user group ID 17 dont have acess


Please help me

Paul M 01-20-2006 12:52 AM

Quote:

Originally Posted by jmacieira
My user group ID 17 dont have acess


Please help me

How would you like me to help you ?

jmacieira 01-20-2006 10:01 AM

Hello again Paul


My Usergroups ID 17 have acess to all my forum, but don't have acess to FlashChat :ninja:

I put the ID in my vbulletin35CMS.php

Code:

'users' => array( 2,10,12,13,14,17 ) , // vBulletin usergroups allowed standard access to chat.
don't I have to do anything else?

Paul M 01-20-2006 03:18 PM

Quote:

Originally Posted by jmacieira
Hello again Paul


My Usergroups ID 17 have acess to all my forum, but don't have acess to FlashChat :ninja:

I put the ID in my vbulletin35CMS.php

Code:

'users' => array( 2,10,12,13,14,17 ) , // vBulletin usergroups allowed standard access to chat.
don't I have to do anything else?

There is nothiing else you need to do, so you have a problem somewhere. I have received your PM and will take a look later.

Paul M 01-20-2006 07:45 PM

jmacieira - You had uploaded the edited file to the wrong place - it must replace the existing file in ../chat/inc/cmses/ - you had uploaded it to ../chat/inc/ I have moved it to the correct place. :)

jmacieira 01-20-2006 08:54 PM

Tank“s Paul

many many tank's

my savior :squareeyed:

give me your paypal email please. I pay a beer for you :squareeyed:

yayvb 01-21-2006 05:24 PM

I don't consider myself to be a complete idiot, so since I was getting confused by something I guess I'll point this out for other users. Although Paul says to install the chat in your forum root directory (ie. folder with usercp.php) he means to put the unzipped CHAT directory into the root directory. In other words don't open the flash chat CHAT directory and dump all the files into your forum root directory, some files will end up being overwritten, and this isn't how it's supposed to be done.

I was curious why Paul was asking to install it into the forum root directory, but he means the CHAT folder, not all the CHAT folder files. :) Just figured I'd mention this since I was about to make a mess since I thought even though it was going to look ugly, for some reason he made it this way. :) Not true, and that's why some of you are having problems with the install.

All you do is unzip the flash chat that you downloaded, you'll see a CHAT directory, put that directory and it's contents into your forum directory. Yes it did need some clearing up. :) Thanks for this integration Paul!!

jsharper 01-21-2006 05:28 PM

yayvb: you weren't the only one who took pause at that instruction.

yayvb 01-21-2006 05:54 PM

Hmm, now when I try to install flash chat, the flash chat directions say that once you are prompted with the database settings, they should be prefilled and if not that something isn't working (ie. problem with cms file?) and not to continue.

At the same time the actual installation says to fill the details out. :( I guess worse case scenario I can delete the entries, but what did I miss here? I read through this thread and didn't see anything too useful.

I downloaded the new beta flash chat, I unzipped and uploaded to my forum root directory under /chat and proceeded to install. Ran installation and selected vbulletin integration. Installation told me that many permissions weren't set properly. After updating new permissions I am brought to the screen where I type my database settings which aren't prefilled.

I stopped here because like I said the directions said not to continue if not prefilled. Was I supposed to move the cms file somewhere else or something? Thanks.

*EDIT* I'm just an idiot which is usually the problem. :) Once I kept hitting refresh to update that I have the permissions correct, the box was unchecked so I guess I technically 'didnt' choose the vb integration option. Fixed and all is well.

iTaLiAnBoY165 01-21-2006 08:47 PM

when i try to install this on my server and i click 3.5 to install with my forums after i click continue the next page is blank does anyone have any clue

Paul M 01-21-2006 11:42 PM

Are you referring to the installation of flashchat itself ?

Did you copy the 'chat' folder into the forum root ?

(Also, please click install, esp if you want support, thanks)

cyberhypnotic 01-25-2006 06:39 AM

OK, installed this integration & clicked INSTALL.

This is my problem. I can't seem to get this thing to automatically login members. Right now, I'm the only one testing it, as I haven't placed a link on the navbar template yet (it's in the code, but commented out).

I've also implemented this to popup in a new window with JS if I code it that way OR open up on a new vB page with forum banner and navbar.

Everything works fine, as far as getting into the chat. It's the auto login that's not working.

I've looked around, probably about 3 or 4 hours, reading post after post. I can't seem to find info about how to make the auto login work.

Any helpful insight Paul?

Also realized that it's not using the same passwords as the forum, for users.

Also wanted to let you know that I don't have vBadvanced installed, as that is a CMS correct? Do I NEED that in order to have the flashchat integrated with my forum?

Paul M 01-25-2006 07:19 AM

When you installed it, did you tick the option to "integrate FlashChat with an existing bulletin board or content management system (CMS)", and then choose vb 3.5 in the next step ?

cyberhypnotic 01-25-2006 07:34 AM

Yes, I did that. When I install things, I do "try" to follow step-by-step instructions if I want it to work right.

Paul M 01-25-2006 08:16 AM

Then I don't know what, if anything, you have done wrong.

This section of the main post now becomes relevant.

Quote:

If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user and ftp access details, without these I cannot help you

BiReL41r 01-26-2006 11:28 PM

This is a good hack for the Chat system, have it on my forums...

Paul M 01-26-2006 11:46 PM

Quote:

Originally Posted by BiReL41r
This is a good hack for the Chat system, have it on my forums...

Really ? You not showing as "BiReL41r has installed this mod" ...... ;)

drex 01-27-2006 03:38 PM

paul-

using nonstandard usergroups, and noppids hack. this hack is not a problem.

the issue is that on the chat load page, when people are being automatically logged in, some users in the allowed usergroup are allowed in, and others aren't.

i do have:
PHP Code:

'users' => array( ) , // vBulletin usergroups allowed standard access to chat. 

in the right place. what happens is that some users are logged in automatically, and others are not.

those that aren't are required to use manual login, which also requests language, and then they are not authorized access.

all are members of a usergroup '9'; it allows the admins, mods, and some of the other members in, but not all.

i compared two of the members and the only real difference between their usergroup and permission settings was the fact that one had a userid in the low 100s and the other about 160ish.

i am going to reinstall everything again, and start from scratch. any other ideas in the meantime?

thanks for a great port!

-d

drex 01-27-2006 09:01 PM

works great. fixed it! please disregard.........

Paul M 01-27-2006 09:20 PM

Quote:

Originally Posted by drex
works great. fixed it! please disregard.........

Good :) What was wrong ?

virtualraceday 01-27-2006 09:31 PM

Hi Paul!

Thanks for the script... I've installed it and tried to get it working, but the auto login feature won't work for me :(

What happens is, I log into vB, then click my chat link to open FlashChat 4.4.2 in a popup window, but it tells me my login is invalid. Then, if I use the same user/pass it will log me in.

It seems like vB isn't passing the correct user/pass combination to FlashChat....because I can definitely login manually, and it even sets the correct admin level etc.

Any help would be great! Thanks in advance!

Paul M 01-27-2006 09:47 PM

Quote:

Originally Posted by virtualraceday
Any help would be great! Thanks in advance!

Can I refer you to these two quotes :)

Quote:

please make sure you have clicked the install link - esp if you require support
Quote:

Support: Please check any file edits carefully, the vast majority of problems reported are due to an error made in editing a file. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user and ftp access details, without these I cannot help you. Depending on time, it could be several days before I get chance to look at your issue.

drex 01-28-2006 02:05 AM

paul--

not sure but if i had to guess:

Quote:

Support: Please check any file edits carefully, the vast majority of problems reported are due to an error made in editing a file. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user and ftp access details, without these I cannot help you. Depending on time, it could be several days before I get chance to look at your issue.
cheers for a great hack!

Silvio 01-29-2006 06:26 PM

Paul, excuse my bad english,


ty 4 this really grat mod & *installed*

A problem for me is there.
I can't manage authoring phase, as i need , as I am not able to let script understand "secondary usergroups" and its added rights to the main usergroup.

I better explain with an example

Let immagine that you have 2 usergroups 1 called "Registerd" (Groupid 2) and another called "Enabled" (Groupid 13)

but again, immagine to use secondary usergroups, so you have a user that belong as primary usergroup to Groupid 2 and has also as child group a secondary flag on Groupid 13, with added its privileges.

Now I would need to grant access to both users -> that have primary Groupid 13 or those that have primary Groupid 2 but also a secondary groupid13. At same time I do not want to grant Access to User with Only primary Groupid 2.

....really difficult for me to explain in english.. I hope i did.

I played around that and i tested various ideas on vbulletin35CMS.php

I thought to have solved my problem using this last quoted . but ..notthing...

I modified:
PHP Code:

foreach ($GLOBALS['vbulletin']['users'] as $group) if (in_array($group,$groups)) $userrole ROLE_USER// Check Allowed groups 

to :

PHP Code:

foreach ($GLOBALS['vbulletin']['users'] as $group)
{
if (
in_array($group,$groups) && in_array($GLOBALS['vbulletin']['users'][0], $groups))
{
     
$userrole ROLE_USER// Check Allowed groups
}


then I set up users array to both

PHP Code:

'users' => array( 13,) , // vBulletin usergroups allowed standard access to chat. 

or
PHP Code:

'users' => array( 13 ) , // vBulletin usergroups allowed standard access to chat. 

but in neither way is working :tired:

How can I Do to solve this problem? is my logic wrong or just a typo :S ?

ty so much for patience

regards


*note : I am using flaschat integration module post-440 with Flaschat452Beta

Paul M 01-29-2006 10:25 PM

Quote:

Originally Posted by Silvio
Now I would need to grant access to both users -> that have primary Groupid 13 or those that have primary Groupid 2 but also a secondary groupid13. At same time I do not want to grant Access to User with Only primary Groupid 2.

Okay, Assuming I have understood this correctly then all you need to do is this ;

PHP Code:

'users' => array( 13 ) , // vBulletin usergroups allowed standard access to chat. 

The only reason I can think of that this didn't work is because of the other change you made - restore that back to this ;

PHP Code:

foreach ($GLOBALS['vbulletin']['users'] as $group) if (in_array($group,$groups)) $userrole ROLE_USER// Check Allowed groups 

I honestly can't understand why you edited that or what you were trying to do.

By simply using the original file and changing the standard access group to 13, the following will happen ;

Primary = 2 Secondary = none : No Access
Primary = 2 Secondary = 13 : Access allowed
Primary = 13 Secondary = none : Access Allowed

Which appears to be what you described above.

Silvio 01-30-2006 07:28 AM

ty so much Paul,

B4 trying to play with code, I tried to setup (with ummodified code) only on array setup to -> 13 but users with secondary on 13 wasent allowed. to allow them i had to setup 2,13 on array. but consequently group 2 was allowed and should not.

so after that, i tryed to play a bit, but no results.

Now actually i restored the original line of your code to test again, and result is the same.
to grant access to sec/13 i need to setup array at (2,13)

I would love to sort it out

ty for patience & help

ciao take care
l8r

Paul M 01-30-2006 09:38 AM

It should work as described (it does here, I just tested it). Please PM me ftp access if you want me to have a look.

Silvio 01-30-2006 11:30 AM

:rolleyes: ty Paul, your code is working ... I understood where an issue is .(well I should say 2 as my brain is really lame&small :disappointed: )
Ok the problem is on cookies.

array set on : (13)

Donno why but
1) logging in vB with testuser1(group 2) it wont give access as should
then normally log out vB from that user
2) logging in with vB testuser2(group2+13) it will give rights as should

So ur mod is perfect, but

2)<-- is true only if
a) cookies are hand-cleared on explorer proper menu
b) to login vB as testuser2 after that testuser1 has logged out vB, It must be done after all opened explorer are closed and reopened in new fresh instances (just logout vB & again login vB with the other user in same explorer window will make the difference)

Again sorry to keep loosing ur time, as ur mod is PERFECT and on vB3.5.3 is working great!!!

A note is that, in the case cookies are not unset properly : --> If I logout from vB Testuser2 (the one with rights) and then I login vB as Testuser1 (the one without), even if vB well recognize both of them as it is welcoming them with their correct username (welcome Testuser1 .....), flashchat will log me as Testuser2 granting me access.

ciao take care


All times are GMT. The time now is 10:22 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.02094 seconds
  • Memory Usage 1,875KB
  • 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
  • (4)bbcode_code_printable
  • (8)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