Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Flashchat Integration for vB 3.5 Details »»
Flashchat Integration for vB 3.5
Version: 2.67, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.5.x Rating:
Released: 06-28-2005 Last Update: 12-07-2006 Installs: 706
 
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.5

Note:
The latest versions of Flashchat include my integration as part of the standard Tufat supplied files - including the vBulletin 3.5 CMS file.



vB 3.5 integration allows ;

* Authorised members to be automatically logged in.
* All non authorised members are locked out (both are based on usergroup membership).
* If enabled, the users location is now displayed in WOL (use the plugin to avoid "Unknown Location").
* 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".

Also ;

* Real ip detection when a proxy server is used (only if the proxy server passes on the details).
* Permanant, Private Rooms are loaded by Admins (and moderators in 4.5.0) (allows for Staff Rooms).


More notes:

* This integration is for Flashchat versions 4.7.0 upwards, support for versions prior to this has been withdrawn.
* If you use non standard usergroups you will need to edit the CMS file to give them permission to enter the chat.

[high]The CMS file assumes that you are installing Flashchat in your forum root folder - this is the same folder as your usercp.php file and includes folder. Installation will fail if you do not do this.[/high]

Support: Please check any file edits carefully, and make sure you have uploaded any edited files to the correct location - the vast majority of problems reported are due to an error made in editing [or uploading] 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. I will then look as soon as I have time.

Finally, I am not Tufat.com nor anything to do with the Flashchat product - if you have questions about Flashchat in general, their forums are here.


History:

2.53 - Support for customer role added.
2.54 - GetUser caching added.
2.55 - Lastactivity update added, caching altered to match main flashchat code.
2.56 - Support for 4.5.x photo feature added with choice of avatar or profile picture.
2.57 - Changes for local language translations. Session cookie cleared on logout.
2.58 - Security fix: Integrated login code altered to cut out the use of insecure userid cookie.
2.59 - GetUser caching re-enabled, Port fix added for pre 3.5 RC3 versions of config.php
2.60 - Added the ability to login direct to a room using ../chat/flashchat.php?username=_int_&room=n
2.61 - Changes to User and Role Caching.
2.62 - Minor fix to Get User for membergroupids.
2.63 - Security (anti-hacking) code added (as supplied by Darren).
2.64 - Usergroup settings moved to top of CMS file.
2.65 - Fixed error message when accessing chat admin area.
2.66 - Default role changed.
2.67 - Minor bug fix to Avatar detection, login code changes, tidy up.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 10-08-2005, 11:34 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
I would say ;

1. You're not using cookies (i.e the remember me option)

2. You have removed the permission for guests to view profiles on your forum.

(if you are using cookies, you don't need to login to flashchat, it's automatic).

I am using the remember me option and I don't have to login to chat. I have removed permission for guests to see users profiles but if we are logged into the message base at the same time we are in chat, shouldn't it still function based on our login status on the message base?
Reply With Quote
  #203  
Old 10-08-2005, 11:36 PM
ozmazdaclub's Avatar
ozmazdaclub ozmazdaclub is offline
 
Join Date: Oct 2003
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have flashchat installed and the intergration oinstalled also but users are reporting that every so often flash chat freezes and they all have to exit. anyone have any idea why this is possibly happening..

Thanks
Reply With Quote
  #204  
Old 10-08-2005, 11:36 PM
turblue turblue is offline
 
Join Date: Aug 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there...

I am testing the intergration on my home server.

1: I have modified the files as described, and checked.
2: All files have been uploaded, and checked.

I still get a blank screen after I select vb3.5 intergration. Obviously I have done something wrong. I have two questions.

When altering the section for permissions on the vbulletin35CMS.php file, can you please explain what exactly goes here.?? Is this correct.?? Is the syntax correct.??

// Set Allowed groups
if (in_array( 2 ,$groups)) $userrole = Registered Users;
if (in_array( 7 ,$groups)) $userrole = Paid Member;

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

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

Also, can you possibly just give some quick reasons as to why I return a blank screen after selecting the vb3.5 intergration option.??

Many thanks..!!!
BTW, I installed the chat without intergration, and it works just great.!! Now I need to intergrate.
Reply With Quote
  #205  
Old 10-09-2005, 12:05 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa
I am using the remember me option and I don't have to login to chat. I have removed permission for guests to see users profiles but if we are logged into the message base at the same time we are in chat, shouldn't it still function based on our login status on the message base?
No idea then, as long as you logged into vB first, using 'remember me' then it works fine for me in both IE & Firefox.
Reply With Quote
  #206  
Old 10-09-2005, 12:12 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by turblue
When altering the section for permissions on the vbulletin35CMS.php file, can you please explain what exactly goes here.?? Is this correct.?? Is the syntax correct.??
Basically you have broken it by making those changes. They should be left (put back) as ROLE_USER, ROLE_ADMIN or ROLE_NOBODY. They are flashchat roles - and those lines basically map vb usergroup ids to flashchat roles. i.e usergroups 2 & 7 get allocated ROLE_USER, groups 5 & 6 get ROLE_ADMIN etc.


Quote:
Originally Posted by turblue
Also, can you possibly just give some quick reasons as to why I return a blank screen after selecting the vb3.5 intergration option
Yep, see above, it's probably because you have broken the CMS file.
Reply With Quote
  #207  
Old 10-09-2005, 04:52 AM
testpig's Avatar
testpig testpig is offline
 
Join Date: Apr 2004
Location: Australia
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Received them okay. You appear to have made the error mentioned in this post ;

https://vborg.vbsupport.ru/showthrea...ets#post739785

i.e. you have a bracket missing.
Hi Paul....firstly just wanted to say thanks for the great hack! Very much appreciated.

I downloaded it from the FlashChat site and thought I should let you know that version still only has 3 brackets in the integration text file.....so probably causing some unnecessary grief. I've resolved it thanks to this thread.

One small question which is possibly related to a post above. Every time I enter the chat from the VB3.5 forum I need to login to chat again. There is no prompt to 'remember me" at the chat login so possibly I have a problem with a cookie path, or a setting somewhere". Any idea where I should look?

Thanks again,
Steve.
www.hemi6pack.com
Reply With Quote
  #208  
Old 10-09-2005, 07:13 AM
fringehead fringehead is offline
 
Join Date: Nov 2004
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man, nice work!

S
Reply With Quote
  #209  
Old 10-09-2005, 07:54 AM
turblue turblue is offline
 
Join Date: Aug 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All good now, thank you Paul...!!!!
Reply With Quote
  #210  
Old 10-09-2005, 09:03 AM
Cornolio Cornolio is offline
 
Join Date: Nov 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Have you uploaded the CMS file ?
sure
Reply With Quote
  #211  
Old 10-09-2005, 02:29 PM
p3gator p3gator is offline
 
Join Date: Jan 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, Paul, thanks for taking the time to make this modification, top notch, and appreciate the time you took to post and answer questions, very helpful for all of us!

Regarding the NAVBAR.... and this post:

Quote:
Originally Posted by EasyTarget
Code:
<a href="http:blah.com/flashchat.php" target="_blank">FlashChat</a>
I think that will open the program in a new window.
I personally find the chat used more when ppl can see at the top of the page how many ppl are chatting, so I did this for now:

Code:
                <td class="vbmenu_control"><a href="chat/flashchat.php" target="_blank">Chat ($totalchatters)</a></td>
Anyways, probably a better way to do that, but at 0030 here in Japan, my ability to think beyond something that simple is nill...

edit... sigh, but that $totalchatters call only works on the forumhome page... oh well, was worth a shot anyways.

Once again, thanks for the mod Paul, good stuff.

John
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05081 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete