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

I type Like navaho

Registered: 03/10/00
Posts: 25580
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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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
Enthusiast

Registered: 02/25/07
Posts: 329
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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks