Support Forum

Unable to Post, Admin Area Redirecting?

RD Rutledge Daugette
Rutledge Daugette
Member

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?

9 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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?

RD Rutledge Daugette
Rutledge Daugette
Member

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

YS Yellow Swordfish
Yellow Swordfish
Member

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/documentation/codex/faq/troubleshooting/what-is-this-jquery-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!

YS Yellow Swordfish
Yellow Swordfish
Member

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/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/

RD Rutledge Daugette
Rutledge Daugette
Member

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 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

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.

RD Rutledge Daugette
Rutledge Daugette
Member

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 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

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…

RD Rutledge Daugette
Rutledge Daugette
Member

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

We have it running JUST for stats now 🙂