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 07-28-2005 03:38 AM

Quote:

Originally Posted by ATN
me again, sorry... if i log in as admin it shows a little 'A' next to my name which is cool, and i have options to kick etc... but if i log in as a Mod it does not give me these option, i've looked and cat see where to correct this, as i would like mods to be able to kick... i bet its right in front of me aye??

thanks!

Yep, it's right in front of you ;)

By default, only Admins and Supermods (usergroups 6 & 5) are chat admins.

To add standard moderators (i.e. usergroup 7) you need to edit this section of the CMS file ;

PHP Code:

    // 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

Move & change the definition for usergroup 7.

ATN 07-28-2005 11:16 PM

oh so it is lol!

thanks again, working well!

:D

cmiller1014 07-30-2005 03:45 AM

Hi Paul,

I registered on your site, logged in, and clicked on chat. I was then asked to log in again to the chat.

is there anyway to just let users go straight into the chat if they are already logged in, or kick out a standard vbulelltin error if they dont have access?

Paul M 07-30-2005 05:19 AM

Erm... all [fully] registered users on our site go straight into the chat, did you try this before you confirmed yourself via e-mail. Users awaiting confirmation are not permitted access. Flashchat cannot output vbulletin errors, you would have got a message something like "you are not permitted access". BTW - our live site is not vB 3.5.0 ;)

cmiller1014 07-30-2005 03:52 PM

Nope im fully registered and confirmed. Still asks me to login....

Cant you simply wrap the flash chat in a vbulletin page like the vbchat hack so that the user get the no permission error? I am going to need a way to restrict access to usergroups with this.....

Paul M 07-30-2005 04:41 PM

Quote:

Originally Posted by cmiller1014
Nope im fully registered and confirmed. Still asks me to login....

I can't really see how that's possible. It works for everyone else, and you were showing up in the chat earlier. FYI, usergroups are restricted by this integration.

EasyTarget 08-03-2005 07:29 AM

Hi paul, I was wondering if you could help me to execute the flashchat program inside of a forum template page.

I have the template and the php page already, but I just don't know how to call the flashchat program inside of it. Any help would be appreciated.

Paul M 08-03-2005 11:16 AM

There is an example in the flashchat root folder of how to do this - I can't tell you any more than this as I'm away from home on a training course this week (until Friday).

LunaTech 08-05-2005 07:46 AM

I've noticed that if a regular user goes to admin.php they can change settings. How can we secure this?

It seems strange that this is allowed, but I can't find a real setting to control it. Does anyone know?

What I've done for now is change line 5 of /chat/admin/index.php to:

PHP Code:

if(!isset($_SESSION['userid']) or $_SESSION['userid'] != 1) { 

That will only give userid #1 access.

EasyTarget 08-05-2005 08:50 AM

the ban and kick functions do not appear to work for me. I try to kick/ban someone and enter the message and nothing happens.

also, were there any changes.. says updated today.


All times are GMT. The time now is 04:58 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.01515 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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