Previous Thread
Next Thread
Print Thread
Hop To
#260011 04/03/2017 4:47 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24

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
https://www.britbike.com/forums/ubbthreads.php
Morgan #260012 04/03/2017 8:44 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Morgan #260013 04/04/2017 1:57 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Release 20170214, Feb 14

Last edited by Morgan; 04/04/2017 2:06 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #260014 04/04/2017 2:08 AM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Morgan #260015 04/04/2017 4:56 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #260016 04/04/2017 3:21 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Morgan #260017 04/04/2017 4:10 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Gizmo I found the patch and uploaded those files. Will now wait for feedback from the member.

Thanks


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Morgan #260018 04/05/2017 4:17 AM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #260020 04/05/2017 3:01 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Morgan #260022 04/05/2017 3:30 PM
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
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
https://www.britbike.com/forums/ubbthreads.php
Morgan #260023 04/05/2017 11:23 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)