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 Move Forum
Avatar
Chandler Bolt
Member
Free Members
sp_UserOfflineSmall Offline
Apr 12, 2019 - 2:00 pm

Hi,

I've created a new forum, but am unable to move it to the top of my list.
simplepress-forum-not_movable.pngImage Enlarger

I have repeatedly dragged to the right position, saved, and yet, upon page reload, it's back in this spot.

WP Version 5.1.1

SimplePress Version 6.0.6 

Can someone please offer suggestions as to how to fix?

Thanks,

Mark

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Apr 12, 2019 - 2:08 pm

Hi:

Can you check to see if there's a javascript error being thrown when you click the save button?

Thanks.

Avatar
Chandler Bolt
Member
Free Members
sp_UserOfflineSmall Offline
Apr 12, 2019 - 2:15 pm

No JS error in the console or the Simple:Press error log

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Apr 12, 2019 - 3:48 pm

Hi:

Thanks for checking.  We'll try to dig into this more over the weekend and early next week and get back to you on it.  We added an issue report on github to keep track of this and will update it and you next week with what we find.  You can find a link to the github issue here: https://github.com/Simple-Pres...../issues/54

Thanks for the report.  

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Apr 13, 2019 - 3:28 pm

Hi:

We've confirmed that this is an issue and have applied a fix for it that will go out in the next version.

For now, if you like, you can modify the file admin\panel-forums\support\spa-forums-save.php.

In that file, go to line 1156.  It should show as:

parse_str(SP()->filters->str($_POST['spForumsOrder']), $list);

replace that entire line with this:

parse_str(filter_input(INPUT_POST, 'spForumsOrder', FILTER_SANITIZE_URL), $list);

This is not the final fix.  The final fix involves creating a new function in our api files but this is less complicated to describe and will resolve the issue for you temporarily.  

Thanks for bringing this to our attention.

Avatar
Chandler Bolt
Member
Free Members
sp_UserOfflineSmall Offline
Apr 16, 2019 - 11:08 am

This does resolve the issue. Forums are movable now
Thank you for the quick solution! Look forward to the permanent fix too.

Mark

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