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
Members not able to delete own posts
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2013 - 11:28 am

Hi Guys,

It seems that none of my forum members are able to delete there own posts since i updated the forum. I did try to toggle the permission off and on, but it did not change anything.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2013 - 11:29 am

which permission?  there are  multiple delete permissions.. please tell me the status of all them... they may be 'fighting' each other...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2013 - 11:34 am

Here you are:

permission.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2013 - 11:46 am

so you have edit forever checked and edit until a reply checked... pick the one that you really want there...  I suspect you want to uncheck the edit until reply...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2013 - 2:09 pm

Mr Papa said
so you have edit forever checked and edit until a reply checked... pick the one that you really want there...  I suspect you want to uncheck the edit until reply...

OK i did that, but the problem still remain, members can not delete their own posts.

The strange thing is, after clicking delete the post disapear as it should. But the post is back again when you reset the page.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 12, 2013 - 2:08 am

I will have to open a ticket for research... and see if we can duplicate...  but sounds like at least ajax part is working, so maybe something got knocked for users when that was implemented...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 12, 2013 - 3:55 am

Mr Papa said
I will have to open a ticket for research... and see if we can duplicate...  but sounds like at least ajax part is working, so maybe something got knocked for users when that was implemented...

I can give you admin rights at my site if it makes things easier for you. Then you might run a debugging tool or similar.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 12, 2013 - 11:20 am

thanks.  let me test it locally first...  as I mentioned in one of your other topics, I am guessing we knocked this when we changed the deletion to use ajax...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2013 - 12:57 am

yeah, bug in the delete post ajax for users deleting their own posts.. typo in an argument...

is fixed in next version...

if you want to fix now, in file simple-press/forum/content/ahah/sp-ahah-admintoollinks.php, around line 137 find this line

        $ajaxUrl = SFHOMEURL.'index.php?sp_ahah=admintools&sfnonce='.wp_create_nonce('forum-ahah').'&action=delete-post&killpost='.$post['post_id'].'&killposttopic='.$post['topic_id'].'&killpostforum='.$post['forum_id'].'&killpostpopster='.$post['user_id'].'&page='.$page;

you will want to change the

killpostpopster

argument to

killpostposter

within that line...  sorry for the issue...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 13, 2013 - 6:47 am

Thanks Steve,

I did change the argument.

But members still cant delete their own posts. A new message did popup after you reset the page: "access denied, you dont have the right permission".

However i am 100% sure members do have the correct permissions. I have been double checking every little detail.

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