Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Members can't log in
Avatar
Lloyd Burrell
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2016 - 9:25 am

Hi

The "log in" button on my forum (http://www.electricsense.com/forum/) is not working. How can I trouble shoot this?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 2, 2016 - 9:34 am

Assuming you are referring to the actual login button in the forum header area and by 'not working' you mean nothing happens when it is clicked then I am afraid I need to ask the usual 2 questiona when this sort of thing comes up.

Firstly - was it working before you noticed it was not working and, if so, what changed? Things like that don't generally just stop. Which means that most usually something has happened to the site like - for example, a new WordPress plugin added, or a change of WordPress theme or sometimes just a plugin or theme update to add new features.

And, if in doubt then you could always use the web console to see if any errors are being reported. See the link below for some basic guidance on using that.

https://simple-press.com/docum.....r-console/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Lloyd Burrell
Member
Free Members
sp_UserOfflineSmall Offline
Feb 4, 2016 - 9:07 am

I've managed to get the log in button working but I've had to disable the 'Optimize JavaScript Code' in the Autoptimize plugin which has the downside of making my site run slower. Do you have a work around for that?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 4, 2016 - 9:44 am

The problem, of course, is that Simple:Press Javascript is already compressed and optimised. So any attempt to do it again is, as you found, going to render it useless.

All WordPress supplied script libraries are also compressed. Any half decent plugin will also supply compressed scripts. These sort of optimisation plugins have always seemed, to me, more trouble than they are worth due to the very fact of mixed scripts.

Also worth saying that some of the better ones should offer you the opportunity to exclude some script files.

if you really want to make use of it - then from the forum viewpoint you will need to:

  1. Go to the forum admin > options and ensure that the option to combine and compress the JS files is turned off.
  2. Edit your wp-config.php file and add the line below:

    define('SP_SCRIPTS_DEBUG', true);

    which will cause SP scripts to run in uncompressed mode.

In my personal opinion I think that would be a mistake bit it is, of course, your call.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620