On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Mods can’t move posts or topics

UserPost

4:01 am
19 Jul 2008


david

Guest

1

Hi,

I am running SPF 3.1.3 - WP Plugin. My mods noticed that they cannot move posts or topics. When they click the “move” icon from the Mod toolbar, the pop-up reads “Access Denied”.

In the admin console both “Can Move Topics” and “Can Move Posts” are selected for mods.

I am able to move posts/topics as an Admin that my Mods cannot move.

Any ideas what im missing?

Thanks

david

5:34 am
19 Jul 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

2

yeah, dang it… looks like a bug…  we tried to lock down some security stuff and appears we missed something here…

if you open up file simple-forum/forum/ahah/sf-ahahadmintools.php and replace the following lines at line 31

sf_initialise_globals('forum');

$thistopic = sf_get_topic_record(sf_syscheckint($_GET['id']));
$thisforum = sf_get_forum_record($thistopic->forum_id);
$groups = sf_get_combined_groups_and_forums();

with

$thistopic = sf_get_topic_record(sf_syscheckint($_GET['id']));
sf_initialise_globals('forum', $thistopic->forum_id);
$thisforum = sf_get_forum_record($thistopic->forum_id);
$groups = sf_get_combined_groups_and_forums();

and also, if you find in the same file, lines 67

sf_initialise_globals('topic');

$thispost = sf_syscheckint($_GET['pid']);
$thistopic = sf_get_topic_record(sf_syscheckint($_GET['id']));
$thisforum = sf_get_forum_record($thistopic->forum_id);
$groups = sf_get_combined_groups_and_forums();

and replace with

$thispost = sf_syscheckint($_GET['pid']);
$thistopic = sf_get_topic_record(sf_syscheckint($_GET['id']));
sf_initialise_globals('topic', $thistopic->forum_id);
$thisforum = sf_get_forum_record($thistopic->forum_id);
$groups = sf_get_combined_groups_and_forums();

will get this fixed in the next version…  mostly reordering, but also passing a param that was left out…

4:47 pm
19 Jul 2008


david

Guest

3

works like a charm - thanks!!

1:15 am
20 Jul 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

4

good news!  thanks for letting me know…



Reply to Topic: Mods can’t move posts or topics

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 5        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

10 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)