|
Joined: Dec 2006
Posts: 1
Lurker
|
Lurker
Joined: Dec 2006
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.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
The bridge between the 2 will need to be updated.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
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: 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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
I just upgraded mine to the latest build, i'll poke around a bit later though.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
found the issue, the table "USERS" was being referanced as "users"; a fix: Find: $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: $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");
|
|
|
|
Joined: Oct 2001
Posts: 18
Newbie
|
Newbie
Joined: Oct 2001
Posts: 18 |
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 ?
Last edited by owen93; 03/05/2007 9:09 PM.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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".
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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/
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
Thank you!
I will do a fix and see what happens on mine.
Daryl Fawcett
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
Another question:
Was there also an error in w3t_myid being used instead of ubbt_myid?
Daryl Fawcett
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
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
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
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
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
I am wondering if the following also needs to be changed in order for the automatic login to work? // $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
|
|
|
|
Joined: Oct 2001
Posts: 18
Newbie
|
Newbie
Joined: Oct 2001
Posts: 18 |
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.
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
Installs fine and works fine, just have to hack it, because it displays the loginname instead of the displayname.
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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.
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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 Not everything was ported up; you should ask there or email the author and ask...
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
I discovered that the auto login only works if the default cookies are used without a cookies prefix.
Daryl Fawcett
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Try replacing: $this->userid = isset($_COOKIE["ubbt_myid"]) ? $_COOKIE["ubbt_myid"] : NULL; With: $this->userid = isset($_COOKIE[$GLOBALS["config"]["COOKIE_PREFIX"] ."ubbt_myid"]) ? $_COOKIE[$GLOBALS["config"]["COOKIE_PREFIX"] ."ubbt_myid"] : NULL;
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
After I had changed my cookie prefix back to the default, the auto login began to work without any problem, therefore, I will not make this change, however, it is good to have it here for future use, or for others having the same problem.
Daryl Fawcett
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Was hoping someone would test it out vs me on my dev machine; as I don't use the script in a production environment I cannot test the functionality of the addition properly.
|
|
|
|
Joined: Oct 2001
Posts: 18
Newbie
|
Newbie
Joined: Oct 2001
Posts: 18 |
Was hoping someone would test it out vs me on my dev machine; as I don't use the script in a production environment I cannot test the functionality of the addition properly. well I'm still in dev myself but I added it in and it worked fine for me.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
well I'm still in dev myself but I added it in and it worked fine for me. Well, thats good enough for me; I'll post it at the flashchat thread to be updated in the integration
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
I posted a problem I'm having on their forum - hopefully one of you guys could lend a hand since I cannot log in to FlashChat! 
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
Okay, well, let me ask you guys this, if you have FlashChat integrated successfully into Threads 7.* -- the Mod there hasn't been very helpful.  For some reason, for me, the "built-in login" is working, but not the manual "HTML-based login" -- it says "incorrect user name or password". Has anyone here been able to log-in when it asks you for a username/password? Also, before I use FlashChat, I really need it to display Display Names and not Usernames. Anyone figure that out yet? I can't seem to find it... Thanks! JG
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
geoff, i have it working for html based login, no problems...
As for PDN, let me have a look at the files and I'll get back to you.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
It doesn't look like the integration file even touches the pdn, it just basically works with the login name and password...
If I get some more time I'll do some digging in the normal files to see if i can find a place to hijack what name is shown; but no promises, the ammount of files is vastly huge...
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
geoff, i have it working for html based login, no problems... I wish I knew what my problem was. Are you using the 7.1 version? I'll have to play with it more I suppose... As for PDN, let me have a look at the files and I'll get back to you. Sorry, what's PDN?  The Threads 7.1 CMS file seems to call up USER_DISPLAY_NAME - but after looking at dozens of files, I cannot find where/how to use it... 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Yes I'm using the 7.1 version; you can fiddle at: http://home.corthell.net:81/forums/ubb7/chat/
PDN == Public Displayed Name; I do realize that it selects the PDN but it never referances, if you look at the calls, it only uses the login name and password (i think its the third mysql call).
I've "cleaned up" my configuration file so line numbers wouldn't match up, else I'd tell you what lines to look at lol...
I did see that some of the scripts referance "name" so I set name as a variable but it doesn't get used; I'm sure it's only used for their "normal"/"non-integration" login system...
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
Yeah, yours works... mine doesn't... guess I'll try reinstalling it... :rolleyes: Why Darren chose to display user names rather than display names is till beyond me... makes it virtually worthless... 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
well it's quite simple; most products don't have public names and only have login names... however i think it would have been cool to have the option; perhaps email him with a feature request?
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
Guess an email to him directly would be better than trying to get passed his bulldog moderator! LOL 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
 ... no comments from me, as they wouldn't be professional in nature :nods:
|
|
|
|
Joined: Dec 2002
Posts: 67
Power User
|
Power User
Joined: Dec 2002
Posts: 67 |
Did anyone ever figure out the display name vs login name fix? I've read here and at the Tufat forums, no luck yet.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
From my point of view, without knowing what their script looks for as a variable it'd be near impossible to pull it with the integration file.
From their point of view, we're a "small fish" and they could care less.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|