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 switch between profile tabs, infinite loading
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 8:53 am

Hi,

Simple press is awesome but I experience a small problem on the profile page.

 

I'm unable to switch between profile tabs, infinite loading

-It doesnt matter the user role you have, even for the admin

-I tried to change the sp theme, but no way

 

I detected an infinite redirect for this URL will the tab is loading :

nav-menus.php?menu=0&lang=/wp-admin

The &lang= parameter probably comes from WPML...  I don't know if it is related..

 

Also I prevent users to access admin pages in the General settings and ticked the redirect to user profile when they try to acess the admin. But even if i allow them it keeps loading..

 

Create an account if you want to see it in action. Here is the URL http://wp-infinity.com/forum/ 

 

Last thing : By default, when you acess a profile page, you land on the overview profile page (and cannot load the others tabs) so i desactivated the overview tab in the profile settings... and then you land to the next tab, wish is Edit Profile. AND THE TAB LOAD AS EXPECTED. 

Seems that every tabs works, but you cannot go from one to another.

 

Thanks if you can help with this, and congrat for simple press !

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 5, 2014 - 9:32 am

I think you need to briefly deactivate the WPML plugin and re-try these things to see if that is the culprit - but judging by that URL fragment then it certainly seems to be heavily interfering.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:12 am

Yep it works when i desactivate WPML..

But I really need WPML, their is a lot of work after this plugin. Paid translators,  etc..

Any idea to make theme play nicely together ? 

 

Maybe all tabs on a single page ? Just suggesting..

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:20 am

I have never looked at WPML. The main problem appears to be that it butchers the URLs. And clearly doesn't get it right every time either.

So two questions really:

  1. Do you need the WPML plugin active on the forum page?
  2. If you do then does it come with any options about preserving URLs or similar?

 

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:30 am

1/ WPML can only be activated sitewide, but I don't need a multilingual forum, so I just don't translate thoses pages but WPML remain active.

 

2/ No such options, WPML is set to different languages in directories (http://wp-infinity.com/ - Français, http://wp-infinity.com/en/ - Anglais, etc.

 

The menus are also translated but I can't see your (nav-menus.php?menu=0&lang=/wp-admin)

I don't understand the menu=0, does simple press create an invisible menu for thoses tabs ?

Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:38 am
I get thoses errors i the console when the tab is loading :
 
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
The "fb-root" div has not been created, auto-creating all.js:56
Uncaught TypeError: Object function a(e){if(!e)return;var t,r,i,o;n.apply(this,[e]),t=this.params(),r=t.size||this.dataAttr("size"),i=t.showScreenName||this.dataAttr("show-screen-name"),o=t.count||this.dataAttr("count"),this.classAttr.push("twitter-follow-button"),this.showScreenName=i!="false",this.showCount=t.showCount!==!1&&this.dataAttr("show-count")!="false",o=="none"&&(this.showCount=!1),this.explicitWidth=t.width||this.dataAttr("width")||"",this.screenName=t.screen_name||t.screenName||s.screenName(this.attr("href")),this.preview=t.preview||this.dataAttr("preview")||"",this.align=t.align||this.dataAttr("align")||"",this.size=r=="large"?"l":"m"} has no method 'init' widgets.js:45
 
 
GET http://wp-infinity.com/wp-admin/nav-menus.php?menu=0&lang= nav-menus.php:1

 

 

 

And this :

nav-menus.php?menu=0&lang=
/wp-admin
GET
302
Found
   
text/problem-with-post-edit-buttontml
   
491 B
0 B
1.75 s
1.75 s
                 
 
 
1.75 s
1 ms
 
[Image Can Not Be Found]nav-menus.php?menu=0&lang=
/wp-admin
GET
(failed)
   
Pending
   
13 B
0 B
1 ms
-
                   
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:51 am

Thibaud Litzler said
1/ WPML can only be activated sitewide, but I don't need a multilingual forum, so I just don't translate thoses pages but WPML remain active.

Well then you could try to use a plugin named 'Plugin Organiser' which should allow you to disable any WordPress plugin on specific pages - in this case the forum page.

The menus are also translated but I can't see your (nav-menus.php?menu=0&lang=/wp-admin)

I don't understand the menu=0, does simple press create an invisible menu for thoses tabs ?

Simple:Press does NOT use a file named nav-menus.php nor does it construct that sort of url when loading the profile forms. It has nothing to do with SP. This is why I said it was 'butchering' URLs.

As to the errors you posted - not sure what the first one is. The 'fb root' one is to do with a facebook connect plugin you probably have active. Not sure where the TypeError is coming from as you haven't included the source and the remainder is caused by your WPML plugin doing something with the SP profile URLs and getting them entirely wrong!

Plugins like this WPML are written for simple blog post type pages. They are not written to take into account dynamically produced rewritten URLs.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:51 am

As long as we can acess the first tab can we past the different sp-form php template together ?

 

[edit] I'll try plugin organizer first..

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 5, 2014 - 10:57 am

I would. Rewriting the profile would be hard although you could just use the WP instead of course.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2014 - 11:13 am

WPML is desactived on all forum pages, but the problem remain..

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625