TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 196
  • Total: 196

Flashchat (Yes, again)

Started by gerrymo, November 02, 2005, 06:39:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gerrymo

I have it installed and working reasonably well. However, members of other member groups cannot log in, they are told they are banned. Only Admins and regular members can use it. Anyone in any other groups cannot. I cant find anything regarding it in the chat admin section (what there is of it).

Anyone know a way round this?

Also asked this at their own board but no replies to it.

Xarcell

I haven't gotten around to reinstalling it since my RC1 upgrade yet.  I'll try to get around to it and see what I come up with.

Are you using the latest version? Flashchat had a recent upgrade.

-Xarcell

resurgence

gerrymo. they answered you question in their forums.

he asks you to edit smfcms2.php.

all the info is in the topic. HOWEVER, he only told you to edit the smfcms2.php.

to make it work, you should also edit smfcms.php with the same edit.

just tried it with my board and it works perfectly!! :)

gerrymo

Quote from: resurgence on November 03, 2005, 06:40:41 AM
gerrymo. they answered you question in their forums.

he asks you to edit smfcms2.php.

all the info is in the topic. HOWEVER, he only told you to edit the smfcms2.php.

to make it work, you should also edit smfcms.php with the same edit.

just tried it with my board and it works perfectly!! :)

Yes, but I still ahvent found what should be edited, or what to. If they dont actually give the info, how can people make the edits. I know which file needs altered, but not what to alter.

gerrymo

Solution:

find in the chat/inc/cmses/smfcms.php (also did it in smfcms2.php)

  function getRoles($status) {
    $rv = NULL;


Replace with

  function getRoles($status) {
    $rv = ROLE_USER;


Dont replace it with

  function getRoles($status) {
    $rv = ROLE_USERS;


As it says on the support site, as it wont work.

Xarcell


resurgence

Quote from: Xarcell on November 03, 2005, 08:45:15 PM
That's teh same code, no?

for smfcms and smfcms2? yes.

however, when i saw that change in the site i didn't take it i just copied the first thing i saw in the smfcms2.php that said role_user. xD

and then i did the same thing to smfcms.

it works perfectly though :)

Xarcell

Sorry, I meant "replace with" and "don't replace with" looks like same code.

gerrymo

There is a S there that shouldnt be there. Took it out and it all works like it was part of SMF (tested inside a static page using an iFrame, and as a popup. Both work very well).

Xarcell

My bad...

Anyone know how to display how many/who is in the chat within a TP block?

I found a script that tells you how many is in the chat. But not who.

One said use this:


<?php @include('http://www.YOURURL.com/forum/FlashChat/info.php'); ?>


How do I get this to work in a TP block?




This website is proudly hosted on Crocweb Cloud Website Hosting.