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
Admin User sorting lost on page 2
Avatar
Joshua Walton
Member
sp_UserOfflineSmall Offline
Jun 30, 2016 - 12:11 pm

Hello and thank you for an awesome plugin!

We are interested in tracking our most active users. Since there isn't really any reporting feature (that I have found) we are instead just looking a couple times a week at the Users from the Admin side

Admin Menu > Forum > Users

Then we will sort by whatever data we are tracking, such as the 'Last Visit' column or the 'Posts' (post count) column. However, once we go to page 2, the column sorting (ordering) resets.

iIn the address bar, It looks like the parameters are not being passed. Can this be fixed? Is there a hotfix you can provide me to update the right file via FTP?

If you have any questions or I can help in any way, please let me know. Thanks for your help!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2016 - 12:33 pm

Gosh that really is broken isn't it? Our apologies.

This was only introduced in the last update and the irony here is that we moved from using our own code to utilising the core WordPress listing API...

I will open a bug report straightaway and we will look into it. If it is an easy fix then yes - we can post the code fix in the topic here...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2016 - 10:55 pm

in simple-press/admin/panel-users/forms/spa-users-members-form.php, trying commenting out these lines of code around line 157

                        # set up some globals to handle our bastardized urls
                        $bits = parse_url(SFADMINUSER);
                        $_SERVER['REQUEST_URI'] = $bits['path'].'?'.$bits['query'];
Avatar
Joshua Walton
Member
sp_UserOfflineSmall Offline
Jul 6, 2016 - 12:07 pm

Thank you - that fix worked! We are using Version 5.6.7

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 6, 2016 - 3:06 pm

And I can confirm that it is also fixed in the forthcoming 5.5.8 update. Thanks for the original information.

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