Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (mmkk), 59 guests, and 433 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Ruben
Ruben
Lutz,FL
Posts: 5,827
Joined: December 2003
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
isaac 4
mmkk 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Login issue #260011
04/03/17 03:47 PM
04/03/17 03:47 PM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden

Quote
When I open the home page, I am not logged in, and if I click on the log in link, it just refreshes the home page. If I go to the forums page, I am not logged in. I click on the log in link, and it just refreshes the forums page. If I click on your name,to send you a message, then it goes to a log in page, where I can log in. It seems like the pop up for logging in from the home page, or the forums page is not working. Everything worked fine until the crash the other day. I'm only logging in from home, and it seems to be a windows problem, as Android works fine.

Or...maybe it's just me!


See above a message from our member
Any thoughts ?


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Login issue [Re: Morgan] #260012
04/03/17 07:44 PM
04/03/17 07:44 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
On the Control Panel Landing Page (Dashboard), what is the date that displays for the release you're using (Snapshot Date on the right side of the page); there was an issue with the Stop Forum Spam feature in the initial release that was fixed in a refresh (the build date displays what the date the build you're running is).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Login issue [Re: Morgan] #260013
04/04/17 12:57 AM
04/04/17 12:57 AM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden
Release 20170214, Feb 14

Last edited by Morgan; 04/04/17 01:06 AM.

Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Re: Login issue [Re: Morgan] #260014
04/04/17 01:08 AM
04/04/17 01:08 AM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
The v7.6.0 archive was refreshed on 2017-02-23
UBB.Wiki v7.6.0 Changelog
Release Notice


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Login issue [Re: Morgan] #260015
04/04/17 03:56 AM
04/04/17 03:56 AM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden
Hi Gizmo,

I know that I uploaded several files after that date due to recomendations by Isaac and possibly you.
Shall I make a complete upload of all files or are there only a few I need to upload?
What do you Think?


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Re: Login issue [Re: Morgan] #260016
04/04/17 02:21 PM
04/04/17 02:21 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
There where quite a few files changed; the only way I'd say not to upload them all is if you used a tool like BeyondCompare to check the contents.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Login issue [Re: Morgan] #260017
04/04/17 03:10 PM
04/04/17 03:10 PM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden
Gizmo I found the patch and uploaded those files. Will now wait for feedback from the member.

Thanks


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Re: Login issue [Re: Morgan] #260018
04/05/17 03:17 AM
04/05/17 03:17 AM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden
Quote
No, I still have to click on someone's name to get to the log in page. It's annoying, but not terminal, so I won't worry about it. Thanks for the help.
Marlin


As you see Gizmo it didn't help to upload the patch


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Re: Login issue [Re: Morgan] #260020
04/05/17 02:01 PM
04/05/17 02:01 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Make sure that you're not turning users away with a silent fail message, this should generally be set to "Auto With Message" so that the user can supply you with any associated error, if you have it set to "silent fail" it'll always just appear to not work.
CP -> Primary Settings -> Stop Forum Spam (tab) -> Spam Protection Level: Auto with Message

If you're running the patch all I can recommend that you do is open /scripts/login.inc.php and ensure that the Stop Forum Spam block (Lines 52-80) shows:
PHP Code
 if(($config["SFS_ENABLE"] == 1) && ($config["SFS_LEVEL"] > 2)) {
		if(function_exists("file_get_contents") && (ini_get("allow_url_fopen") == 1)) {
			$xml_string = @file_get_contents("https://www.stopforumspam.com/api?ip=". $user_ip);

			if($xml_string != false) {
				if($xml_string != "Error") {
					$xml = new SimpleXMLElement($xml_string);

					if($xml->appears == "yes") {
// Only submit to the database if there is a key supplied
						if($config["SFS_KEY"] != "") {
							PostToHost("username=". $Loginname ."&ip_addr=". $user_ip ."&email=". $Email ."&api_key=". $config["SFS_KEY"]);
						}

// Only inform the user of an error if Level 4 (Silent Fail)
						if($config["SFS_LEVEL"] == 3) {
							$html->not_right($ubbt_lang["SFS_DETECTED_LOGIN"]);
						} else {
							return array("location" => "cfrm");
						}
					}
				} else {
					return array("location" => "cfrm");
				}
			}
		} else {
			$html->not_right($ubbt_lang["SFS_ERROR_REMOTE"]);
		}
	} 


A set of coding was removed from the kludge above in the patch/refresh.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Login issue [Re: Morgan] #260022
04/05/17 02:30 PM
04/05/17 02:30 PM
Joined: Jun 2006
Posts: 518
Sweden
Morgan Offline OP
addict
Morgan  Offline OP
addict
Joined: Jun 2006
Posts: 518
Sweden
Gizmo

I changed from silent fail to Auto and then I opened the login.inc.php and here it is. is it ok by you?

PHP Code
 if(($config["SFS_ENABLE"] == 1) && ($config["SFS_LEVEL"] > 2)) {
		if(function_exists("file_get_contents") && (ini_get("allow_url_fopen") == 1)) {
			$xml_string = @file_get_contents("https://www.stopforumspam.com/api?ip=". $user_ip);

			if($xml_string != false) {
				if($xml_string != "Error") {
					$xml = new SimpleXMLElement($xml_string);

					if($xml->appears == "yes") {
// Only submit to the database if there is a key supplied
						if($config["SFS_KEY"] != "") {
							PostToHost("username=". $Loginname ."&ip_addr=". $user_ip ."&email=". $Email ."&api_key=". $config["SFS_KEY"]);
						}

// Only inform the user of an error if Level 4 (Silent Fail)
						if($config["SFS_LEVEL"] == 3) {
							$html->not_right($ubbt_lang["SFS_DETECTED_LOGIN"]);
						} else {
							return array("location" => "cfrm");
						}
					}
				} else {
					return array("location" => "cfrm");
				}
			}
		} else {
			$html->not_right($ubbt_lang["SFS_ERROR_REMOTE"]);
		}
	} 


Oh it looks strange presented here..


Morgan Johansson
BritBike Forum
http://www.britbike.com/forums/ubbthreads.php?
Re: Login issue [Re: Morgan] #260023
04/05/17 10:23 PM
04/05/17 10:23 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Yeah, that's the right code; have the user go to that page now that you've turned off silent fail.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)