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)

Paul M 09-05-2005 06:39 PM

Read the first post ;)

utw-Mephisto 09-05-2005 10:43 PM

Maybe I cannot read :D

No serious, all working and I thank you for that :D :D

thenetbox 09-13-2005 05:36 PM

thank you! very nice hack!

southernlady 09-14-2005 01:56 AM

I installed this successfully once before. Then I moved servers. Now I can't get it reinstalled to save my neck. I get to the point of a *pretty blue screen* after I start flashchat. I've read thru the flashchat forum and found out that it could be the /inc/classes/sendLoginInfo.php, a curly cue out of place. So I've checked and rechecked. Loaded that file 4 times, thought I was as careful as could be but I still can not get it to work.

HELP! Also, I still need help with the who's in flashcat install as well...I just put that on hold til I finished my move. Liz

Paul M 09-14-2005 03:03 AM

If you PM me your url, an admin login, and ftp details, I can look at both for you later today or tonight.

Paul M 09-14-2005 07:25 AM

Got your PM, you should be all fixed now. :)

southernlady 09-14-2005 08:46 AM

It is, thank you VERY much. Can you tell me what I was doing wrong this time? Liz

Paul M 09-14-2005 03:49 PM

In the chat - basically step 4 - the wrong bit of code had been replaced. :)

For the 'who's chatting' - nothing - you simply hadn't installed it, so I did this for you.

southernlady 09-16-2005 04:19 PM

I had tried to the who's in chat prior to my move, Paul but not after, you are correct. I figured if I couldn't get the intergation working, the Who is in chat wasn't my first priority. So I waited on it.

So you are right, it wasn't even installed when you went in this time but if you check that thread, you will see that I had attempted it at one point.

And thank you for your help, it's working great. I don't know what I did wrong in step 4 but I will be more careful IF I ever have to move it again. Liz

hotrod1 09-23-2005 11:42 PM

Hmm, I installed the mod again when I upgraded to 4.3.2 and now when I try to enter my chatroom it says "You do not have permission to enter the chat." Any fix for this? Thanks alot!

Paul M 09-23-2005 11:46 PM

I haven't seen or used FC 4.3.2 yet so I don't know if any changes have been made to affect this integration. I may get chance over the weekend.

Paul M 09-24-2005 04:58 PM

Nope works fine with 4.3.2 - have you given your usergroup permision to use the chat in the CMS file ?

hotrod1 09-24-2005 10:10 PM

Hmm here is the code for the user permissions, is it right?

PHP Code:

//    ## Paul M Version for vB 3.5.0 ##
function getRoles($usergroupid) { 
    
$groups explode(',',$usergroupid); 
/*
    Edit the code below to set roles for different vB usergroups 
    Access is assigned in the following priority - based on all primary and secondary group membership.

    1. Assign default access (which is set to NO access below).
    2. If they are a member of an allowed group, grant USER access.
    3. If they are a member of a staff group, grant ADMIN access.
    4. If they are a member of a banned group, grant NO access.
*/

    // Set default access 
    
$userrole ROLE_USER 

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

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

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

    return 
$userrole



Paul M 09-24-2005 10:52 PM

That's almost the default that goes with default vb (you appear to have changed the default access to ROLE_USER).

Do you have custom usergroups ? what is your usergroup number ?

hotrod1 09-24-2005 10:54 PM

Yes I did and I am in #6 although I want anyone in #7, 2, and 3 to access the chatroom as well.

hotrod1 09-26-2005 07:42 PM

Anybody?

Paul M 09-26-2005 09:27 PM

Quote:

Originally Posted by hotrod1
Yes I did and I am in #6 although I want anyone in #7, 2, and 3 to access the chatroom as well.

The file as it stands will allow any usergroup except 8 or 9 permission to enter - personally I think you would be better setting the default back to ROLE_NOBODY and adding a line for usergroup 3 below the group 2 & 7 lines.

hotrod1 09-26-2005 09:49 PM

Unfortunely still no luck :(

Paul M 09-26-2005 10:20 PM

Quote:

Originally Posted by hotrod1
Unfortunely still no luck :(

There is nothing else I can do without access to your site. If you want me to have a look then I need ftp access and an admin account on your forum. You can PM me the details and I will take a look sometime in the next 24 hours.

theArchitect 09-27-2005 10:29 AM

I am experiancing something strange. The only change to my board I have made in the last 5 days is to install Flash chat with your integration modification.

Since doing this I have to keep logging back in (if I am idle for a shortish period of time). But in the past the forum would keep me logged (on my machine) unless I logged out.

Do you have any thoughts as to what may be causing this? I realise that your hack should not affect this but it is the only variable which has changed.

Paul M 09-27-2005 09:13 PM

Have you entered your vb licence code into the flashchat CMS file correctly ?

theArchitect 09-27-2005 11:07 PM

Quote:

Originally Posted by Paul M
Have you entered your vb licence code into the flashchat CMS file correctly ?

I believe so. When I go to flashchat I am automatically logged into the forum. So I assume that section is working fine.

Though, I am running RC2, so that may be causing some problems.

And (though I doubt it is relevent) when I go to the forum, although I am logged out my usernare and password get automatically entered. I told my browser to remember my details but in the past the only it remembered was my username. The password box was always blank.

Paul M 09-27-2005 11:19 PM

Quote:

Originally Posted by theArchitect
I believe so. When I go to flashchat I am automatically logged into the forum. So I assume that section is working fine.

Actually, no, you can happily login even if the licence code is wrong, but it will screw up your cookie, thus affecting your forum login status.

theArchitect 09-27-2005 11:28 PM

Quote:

Originally Posted by Paul M
Actually, no, you can happily login even if the license code is wrong, but it will screw up your cookie, thus affecting your forum login status.

Right.

According to my vbulletin35CMS.php code it looks like this:

Code:

$GLOBALS['fc_config']['db']['vblicence'] = 1,2,3,4'; // Change to your vbulletin license number //
I have changed 1,2,3,4 to what I believed to be my license number, but I am either editing the wrong code or have imputed the wrong liscence number.

Paul M 09-28-2005 12:07 AM

Quote:

Originally Posted by theArchitect
I have changed 1,2,3,4 to what I believed to be my license number, but I am either editing the wrong code or have imputed the wrong liscence number.

That is the correct area to change.

Your licence number is 8 charecters and in the comments at the top of most vbulletin files ;

Code:

/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.5.0 Beta 3 - Licence Number [high]xxxxxxxx[/high]
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2005 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/


theArchitect 09-28-2005 12:11 AM

Quote:

Originally Posted by Paul M
That is the correct area to change.

Your licence number is 8 charecters and in the comments at the top of most vbulletin files ;

Code:

/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.5.0 Beta 3 - Licence Number [high]xxxxxxxx[/high]
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2005 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/


Well, that was the number I was using.

In which case I can only put it down to a forum anomaly and hope it corrects itself when I upgrade from RC2 to RC3.

Paul M 09-28-2005 12:27 AM

Actually, I have just remembered there is a login bug in RC3 (and previous versions) causing people to be logged out after a period of time - see Bug 1258.

theArchitect 09-28-2005 12:30 AM

Quote:

Originally Posted by Paul M
Actually, I have just remembered there is a login bug in RC3 (and previous versions) causing people to be logged out after a period of time - see Bug 1258.

Thanks. I thought there may be.

Hopefully vB will go gold soon and then I can tick all of the bugs off the list. :-)

theArchitect 09-28-2005 12:52 AM

Quick question about auto-log out. I notice that if I log into flash chat and then navigate to a new url and don't return to chat then I stay logged in.

Is there a way to get flash chat to log users out after a certain period of inactivity? Or is this something that will fix itself once the vB team fix the log-in bugs?

Paul M 09-28-2005 01:13 AM

Do you use firefox by any chance ?

When you leave flashchat it attempts to run a popup to log you out, generally IE will run this ok, while firefox blocks the popup by default.

theArchitect 09-28-2005 01:25 AM

Quote:

Originally Posted by Paul M
Do you use firefox by any chance ?

When you leave flashchat it attempts to run a popup to log you out, generally IE will run this ok, while firefox blocks the popup by default.

Spot on. I run FireFox.

Out of interest, if I enable pop-ups for my site in Firefox will the chat auto-log out work? Or does FireFox block all pop-ups of this kind?

Paul M 09-28-2005 02:01 AM

Quote:

Originally Posted by theArchitect
Spot on. I run FireFox.

Out of interest, if I enable pop-ups for my site in Firefox will the chat auto-log out work? Or does FireFox block all pop-ups of this kind?

Enable pop-ups for your own site and it should be fine (assuming the option is set correctly in the flashchat config, I think it is 'on' by default).

southernlady 09-29-2005 01:57 PM

Upgraded to Gold last night, and this works just fine. Liz

Annie^.^ 09-29-2005 07:47 PM

Hi
I am unable to select the current version when I try to install flash chat.
I can see these version but not 3.5.0

vBulletin 3.0.3 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS.php
vBulletin 3.0.7 NOTE: Requires input of license number in /inc/cmses/vbulletinCMS2.php

hotrod1 09-29-2005 08:04 PM

Look at Step 1 in the readme and make sure that you applied that edit.

Paul M 09-29-2005 09:11 PM

Quote:

Originally Posted by hotrod1
Look at Step 1 in the readme and make sure that you applied that edit.

Yep, you can drop the "(beta)" bit from the edit now as well. I'll update that when I next get chance.

Ncturnal 09-29-2005 10:51 PM

This worked very well. I'm having some problems with FlashChat itself and rooms not showing up, and other active users not showing up in the userlist from within FlashChat, but Paul's mod worked like a champ.

Paul M 09-30-2005 12:29 AM

Quote:

Originally Posted by Ncturnal
This worked very well. I'm having some problems with FlashChat itself and rooms not showing up, and other active users not showing up in the userlist from within FlashChat, but Paul's mod worked like a champ.

FYI, that can be a symptom of not doing step 4 of the hack correctly, check the change carefully.

remlle 09-30-2005 12:36 AM

Paul Ive looked again and I cant find what Ive missed. could you look at my setup and let me know Ive sent you my connection info to your username at the the flashchat board I can send it here as well if you need me to. thanks in advance.

remlle 09-30-2005 12:40 AM

cancel that last message. you were right I missed a bracket. the one I downloaded from flashchat was incorrect and was missing a 4th bracket at the end. I looked at the one from this thread and it was there. thanks


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.01534 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (12)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