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
Unable to Post, Admin Area Redirecting?
Avatar
Rutledge Daugette_1
Member
sp_UserOfflineSmall Offline
Sep 19, 2016 - 9:47 am

Hello,

None of my users (authors or members) are able to post on the forums right now, and I'm really not sure why. I've created the groups and forums with members having member permissions, and authors having mod permissions, but no one is able to post.

Additionally:

I'm getting redirected back to the previous tab within Simple:Press Admin. If I go to WP-Admin, and click on a tab for Simple:Press it takes me there, but once I try to go to another, it redirects me back to the previous - any idea why this would be?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2016 - 9:53 am

What do you actually mean by not 'able to post on the forums'? what do users do and what is the effect?

Actually - not totally sure what you mean by the second query either. Can you describe, step by step. what is happening?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Rutledge Daugette_1
Member
sp_UserOfflineSmall Offline
Sep 19, 2016 - 10:00 am

Users are able to see the forums as they are logged in, and it shows their profile, which they can edit. But if they click "create new topic", nothing happens.

For the other issue -

Step 1: Login to domain.com/wp-admin

Step 2: Click on Forums > Forums, get to Forums > Forums > Manage Groups and Forums

Step 3: Click on (Within Simple-Press Admin Area) Options > Global Settings

Step 4: Redirected back to Manage Groups and Forums

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2016 - 10:03 am

From the unable to create topics issue...

I had a quick look and your website's use of javascript is pretty bad. First uo you need to read this:

https://simple-press.com/docum.....-conflict/

I counted multiple loads of the jQuery library (as jQuery.js and jQuery.min.js

WP theme and/or plugins are doing it badly and incorrectly.

We also use the jQuery UI Tooltips library  but there appears that there may be a conflict with that from another plugin (or theme). One of them has to be turned off. You can turn off the SP tooltip library in the /templates/spFunctions.php file of the SP child theme I sent you. Open the file and set the true to false at the top. That will resolve one issue at least!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 19, 2016 - 10:06 am

As to the admin side then you clearly have Javascript problems there as well. Clearly the AJAX requests are getting hijacked. What does the web console script error reporting show when you try to do this?

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
Rutledge Daugette_1
Member
sp_UserOfflineSmall Offline
Sep 20, 2016 - 9:59 am

Disabled the UI in the theme, and enabled NoConflict mode. Still no change :/

I really don't have any idea what to do from here, to be honest. Any suggestions on how to make our jQuery / AJAX better would be much appreciated 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 20, 2016 - 11:27 am

The bones of how to fix this are really in that codex page I linked you to.

The first task is to find out which plugins (or theme) is breaking the rules. And these ARE rules and WordPress standards we are talking about here. So not only is something loading the library from the google CDN - actually I think I noticed more than one doing it - but they are also not using the WP enqueue method which would ensure, at least  that only one library gets loaded.

On top of that I noticed that different and old versions were being loaded and WordPress has moved on since those versions. Many things can fail using jQuery versions that old. So this might be a case of using old plugins that are no longer supported.

My advice - to be honest i is always to find which plugin(s) or/and theme is at fault and then lambast the author about their coding practice and ask them to put it right!

But - as that rarely seems to happen - then we can talk you through the changes you would need to make to their code. And there are several examples on these forums although this has not come up for quite some time.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Rutledge Daugette_1
Member
sp_UserOfflineSmall Offline
Sep 20, 2016 - 12:06 pm

OK, so we got it working now.

Fix 1: Remove JSON API and Notifications from JetPack, which were calling jQuery from back in 2000! What the heck!?

Fix 2: Install jQuery Updater. Once that was done, Forum Admin worked great.

Will update if we run into any more issues. Figure our solutions can help others 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 20, 2016 - 12:29 pm

I never really like to be critical about our friends at WordPress and Automattic - but JetPack causes so, so many problems. I always recommend users that if there is another way to do what you want then do it as Jetpack comes bundled with heaps of code, too many options turn4ed on that you dnlt initially know about and yes - some of it is really old!

Good find. and obviously glad you have things working...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Rutledge Daugette_1
Member
sp_UserOfflineSmall Offline
Sep 20, 2016 - 12:45 pm

JetPack is a pain, for sure! But our authors love seeing their stats haha!

We have it running JUST for stats now 🙂

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