php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#312287 - 12/18/06 05:00 PM FlashChat with UBB.Threads 7.0.2
greenfirefly Offline
Lurker

Registered: 12/18/06
Posts: 1

   FlashChat with UBB.Threads 7.0.2 to Del.icio.us Add to del.icio.us
  Digg FlashChat with UBB.Threads 7.0.2 Digg it
Hello,

There is a mod called FlashChat you can find at www.tufat.com. They have the ability to integrate with UBB.Threads 6.5, but when I try it with UBB.Threads 7.0.2 it doesn't work. Does anyone know how to fix or get around this problem?

Thanks.

Top
#312308 - 12/21/06 02:20 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: greenfirefly]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
The bridge between the 2 will need to be updated.
_________________________
- Allen wavey
- What Drives You?

Top
#312310 - 12/21/06 06:23 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
I would look to updating/creating one, but I don't have the software; though I have purchased their family tree like 2 years ago lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313319 - 03/02/07 07:59 AM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
They did an update that is supposed to work for UBBT 7.1, but it has a bug in it somewhere as it isn't working.

Here is the error message I receive when trying to access the Flashchat Control Panel:

Quote:

Fatal error: Call to a member function on a non-object in /home/virtual/site5/fst/var/www/html/forums/chat/inc/cmses/ubb71CMS.php on line 82

Does anybody have any ideas on how to correct this?
_________________________
Daryl Fawcett

Top
#313328 - 03/02/07 05:54 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
I just upgraded mine to the latest build, i'll poke around a bit later though.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313333 - 03/02/07 07:03 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313336 - 03/02/07 09:16 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
found the issue, the table "USERS" was being referanced as "users"; a fix:
Find:
Code:
        $this->loginStmt = new Statement("SELECT USER_DISPLAY_NAME, USER_MEMBERSHIP_LEVEL, USER_PASSWORD,USER_IS_APPROVED,USER_IS_BANNED,USER_ID FROM   {$GLOBALS['config']['TABLE_PREFIX']}users WHERE  USER_LOGIN_NAME = ? LIMIT 1");
        //$this->updateSessionStmt = new Statement("UPDATE {$GLOBALS['config']['TABLE_PREFIX']}users SET    U_Laston   = ?, U_SessionId = ? WHERE  USER_DISPLAY_NAME = ?");
        $this->getUserStmt = new Statement("SELECT USER_LOGIN_NAME as login, USER_MEMBERSHIP_LEVEL as status FROM {$GLOBALS['config']['TABLE_PREFIX']}users WHERE  USER_ID = ? LIMIT 1");
        $this->getUsersStmt = new Statement("SELECT USER_LOGIN_NAME as login, USER_ID as id FROM {$GLOBALS['config']['TABLE_PREFIX']}users");


Replace With:
Code:
        $this->loginStmt = new Statement("SELECT USER_DISPLAY_NAME, USER_MEMBERSHIP_LEVEL, USER_PASSWORD,USER_IS_APPROVED,USER_IS_BANNED,USER_ID FROM   {$GLOBALS['config']['TABLE_PREFIX']}USERS WHERE  USER_LOGIN_NAME = ? LIMIT 1");
        //$this->updateSessionStmt = new Statement("UPDATE {$GLOBALS['config']['TABLE_PREFIX']}USERS SET    U_Laston   = ?, U_SessionId = ? WHERE  USER_DISPLAY_NAME = ?");
        $this->getUserStmt = new Statement("SELECT USER_LOGIN_NAME as login, USER_MEMBERSHIP_LEVEL as status FROM {$GLOBALS['config']['TABLE_PREFIX']}USERS WHERE  USER_ID = ? LIMIT 1");
        $this->getUsersStmt = new Statement("SELECT USER_LOGIN_NAME as login, USER_ID as id FROM {$GLOBALS['config']['TABLE_PREFIX']}USERS");
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313398 - 03/05/07 07:52 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
I've looked everywhere on the tufat site and
do not find the base UBBT integration instructions?

I found the so-called 7.02 update but only basic instructions for the old 6.5.X

there is no ubbt_registerednav template

what do I do in 7.1 ?

make a custom portal Island of it ?





Edited by owen93 (03/05/07 08:09 PM)

Top
#313404 - 03/05/07 09:36 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: owen93]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
The importer comes with the latest version of the script available on the TUFAT site; the integration file is listed in the integration list as "UBB.Threads 7.1 CMS".
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313406 - 03/05/07 09:44 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
FYI, the integration file with my updates seems to be listed here and is for FlashChat 4.7.9

BTW, my demo is at:
UBB7: http://home.corthell.net:81/forums/ubb7/ubbthreads.php
FlashChat: http://home.corthell.net:81/forums/ubb7/chat/
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313416 - 03/06/07 11:46 AM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
Thank you!

I will do a fix and see what happens on mine.
_________________________
Daryl Fawcett

Top
#313417 - 03/06/07 11:47 AM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
Another question:

Was there also an error in w3t_myid being used instead of ubbt_myid?
_________________________
Daryl Fawcett

Top
#313418 - 03/06/07 12:09 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
I answered my own question, and then found another question.

I got it working, but I need to log in myself, which is the reason for asking the following question:

Does your's log you in automatically, or do you need to log yourself in?
_________________________
Daryl Fawcett

Top
#313419 - 03/06/07 12:40 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
If you are able to log into Flashchat automatically when logged into the forum, I may not be able to do that on account that I am using a cookie prefix.

If that is the case, do you know what I need to change in the Flashchat Config. to add the cookie prefix?
_________________________
Daryl Fawcett

Top
#313420 - 03/06/07 01:28 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
I am wondering if the following also needs to be changed in order for the automatic login to work?

Code:
 // $this->ubbt_setcookie("{$GLOBALS['config']['cookieprefix']}w3t_myid",$rec['U_Number'],time()+$GLOBALS['config']['cookieexp']);

Should the w3t be changed to ubbt?

Should something be added onto 'cookieprefix' seeing that I am using a cookie prefix word?
_________________________
Daryl Fawcett

Top
#313421 - 03/06/07 03:25 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
Thanks.
yes i found those and I chose the "UBB.Threads 7.1 CMS" when I installed.

Flashchat does indeed allow me to login with my UBB registered account.

what I want to do at this point is get a link on the navigation bar.

the flashchat site has an old method for 6.5.X which calls for modifying the ubbt_registerednav templatein 6.5.X

But honestly I'm a UNIX Admin and not really a coder - so I'm being a tad braindead about where and how to tweek the navigation bar in 7.1 and add a hotlink to the FlashChat app.




Top
#313422 - 03/06/07 05:09 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: owen93]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 286
Loc: The Netherlands
Installs fine and works fine, just have to hack it, because it displays the loginname instead of the displayname.
_________________________

Top
#313423 - 03/06/07 05:33 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: blaaskaak]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
Yes, but do you also need to log in to Flashchat separately, or does it bypass a separate manual log in and logs you in automatically?
_________________________
Daryl Fawcett

Top
#313424 - 03/06/07 07:10 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Daryl Fawcett]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
It installs fine, however i have to login manually.

As for the commented out code, those are commented out lines from the 6.5 integration; do NOT uncomment them, they will not work, and it can make things not work at all.

As for auto logins, that'd use a cookie, you'll have to ask them at their site about using the ubb cookies to auto login.

I recommend making any requests on the ubb7 discussion on their site, such as having to use the display name vs login name, and any bugs you find.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313425 - 03/06/07 07:45 PM Re: FlashChat with UBB.Threads 7.0.2 [Re: Gizmo]
Daryl Fawcett Offline
User

Registered: 11/29/01
Posts: 28
Loc: Canada
Flashchat integrated with UBBT prior to version 7 did an automatic login as long as you were already logged into UBBT, which is why I was wondering why the automatic login wasn't working with UBB7.x
_________________________
Daryl Fawcett

Top
Page 1 of 4 1 2 3 4 >


Moderator:  sirdude 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
1 Registered (mikey81), 37 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks