| User | Post |
|
12:09 am 8 Apr 2008
| lifeskills
Guest
| | | |
|
| |
|
|
I don't see any place to set options so that the following message does not arise. That is, I want the post to be approved automatically. What should I do?
Post Awaiting Approval by Forum Administrator
|
|
|
|
|
Visit the permission sets in the admin and change the permission settings for moderation where appropriate.
|
|
|
12:43 am 8 Apr 2008
| lifeskills
Guest
| | | |
|
| |
|
|
My permission sets for the forum have been set as below and I got that Post Awaiting Approval by Forum Administrator message. What kind of permission set do I need to make this automatic without requiring admin approval each time?
Guests => Read Only Access
Members => Limited Access
Moderators => Moderator Access
|
|
|
12:47 am 8 Apr 2008
| lifeskills
Guest
| | | |
|
| |
|
|
Also, just want to know where do I approve those awaiting approval?
|
|
|
|
|
And have you gone to the 'Manage Permission Sets' page and changed the settings as I said in post 2 above? That is where you turn off post moderation.
To approve a post awaiting moderation click on the icon at the right of the post - the admin tools. These will drop down and one of them is for approving posts - the top one usually.
|
|
|
|
|
Goto the on-line help and read the 'Admin Tools' section.
|
|
|
1:13 am 8 Apr 2008
| lifeskills
Guest
| | | |
|
| |
|
|
I figured the approval section and did it.
But, I am not seeing any where how to change the permission sets to make this automatic. What do you mean by appropriately? I am new to this software, hope you answer in a bit detail.
|
|
|
|
|
Well let's start with the same question that I asked in post 5 above. Have you gone to the 'Manage Permission Set's' admin page yet? because when you do, and you open up one of the sets, you will see post moderation settings (2 of them for each set) which will be set to 'no'. After that it becomes obvious I think that you want to set them to yes.
|
|
|
1:29 am 8 Apr 2008
| lifeskills
Guest
| | | |
|
| |
|
|
Ok, I see them now, which are labeled as bypassing moderation, which I set for members. Slowly getting used to…
|
|
|
|
|
You've got it.
You know everyone should really spend ten minutes and look at all the options and the settings because so many of the questions raised are often handled by an option here or there. The user group/permission sets are pretty powerful in dictating what users can do and are worth spending some time examining.
|
|
|
9:08 am 7 Aug 2008
| Al
Guest
| | | |
|
| |
|
|
I am in the opposite situation here. I want the “Post Awaiting Approval by Forum Administrator” message to appear. Well, I want it to appear for guests who I have set to have Limited Access and I am guessing that my settings are correct. I have left them at the default settings. Both of these settings are marked “no”.
Can bypass post moderation
Can bypass post moderation once
It shows the message when replying to posts but not when starting new threads.
Am I doing something wrong?
|
|
|
|
|
No I think there is a slight problem with the code. If Mr Papa drops in he may be able to expand on that because I recall he found the problem. I do know we have a fix ready for 3.2..
|
|
|
2:06 pm 7 Aug 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
yes, there was a bug in the permissions stuff that was letting new topics that were supposed to go to moderation end up bypassing it… its working correctly for replys to existing topics but not for new topics… it is fixed in our current 3.2 development…
If I can remember (really need the new 3.2 Watch topic feature) tonight, I can post a fix for this issue…
|
|
|
3:09 pm 7 Aug 2008
| deadhippo
Member
| | Yokohama | |
|
| posts 7 |
|
|
Good to know. Thanks,
(I'm the Al above).
|
|
|
1:58 am 8 Aug 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
to fix this in 3.1.3, do the following…
copy lines 194-203 in file sf-globals.php (shown below)
if ($they['Can bypass post moderation']) { $current_user->sfmoderated = 0; } else { $current_user->sfmoderated = 1; } if ($they['Can bypass post moderation once']) { $current_user->sfmodonce = 0; } else { $current_user->sfmodonce = 1; }
and insert them before line 147 in the same file ( in the pageview = forum if statement)
and also copy lines 173 and 174 in file sf-permissions.php (shown below)
$permissions['Can bypass post moderation'] = 1; $permissions['Can bypass post moderation once'] = 1;
and insert them before line 105 (before the else).
In the same file, copy lines 195 and 196 (will actually be different after doing above step) (shown below)
$permissions['Can bypass post moderation'] |= $GLOBALS['roles'][$perm->permission_role]['Can bypass post moderation']; $permissions['Can bypass post moderation once'] |= $GLOBALS['roles'][$perm->permission_role]['Can bypass post moderation once'];
and in same file, insert them before line 123 (before the end if statement) note that line 123 will change after you copy/insert the the first lines in this file, but I think you will get the drift of where they go..
|
|
|
4:19 pm 7 Sep 2008
| Tait
Guest
| | | |
|
| |
|
|
Hey Guys,
On a daily basis spammers (or their automated scripts) visit my wife's wedding website and post ads selling nikes. They'll post one ad in every topic. On the my simple forum “front page” I display a list of most recent topics with unread messages. The fix provided above is great. It prevents the new posts from being displayed. However, all new topics (even those with nothing but unmoderated posts) still show up in the list of most recent topics with unread messages.
Is there simple code I can add that would check a topic, see if it has any “accepted” posts and only then show it in the list of most recent topics? Did I make a mistake applying the patch above? I guess my other option would be to take down the list of mosst recent topics. Will 3.2 fix this? Is 3.2 somewhat stable now? Is migrating from 3.1 to 3.2 doable with some work?
Thanks,
Tait
|
|
|
|
|
Well the next version will not 'fix' it because it is not percieved as a bug or problem. But I can understand the point you are making and we could consider not including posts awaiting moderation… We'll have a discussion on this one.
Why do you not use the spam math to stop the spam posts? I get about 1 every 3 months….?
|
|
|
4:53 pm 7 Sep 2008
| Tait
Guest
| | | |
|
| |
|
|
Yellow Swordfish said:
Well the next version will not 'fix' it because it is not percieved as a bug or problem. But I can understand the point you are making and we could consider not including posts awaiting moderation… We'll have a discussion on this one.
Why do you not use the spam math to stop the spam posts? I get about 1 every 3 months….?
Seems like it would be an undesirable behavior to me. You've got new topics with no posts. A user will click on the new topic and see nothing. I can't imagine that your users would enjoy that behavior. Administrators fighting spam wouldn't want it either.
I do use your math captcha to stop spam. I get about 10-15 spam messages every day by the same person (at least one per forum on my wife's site). I've spent about every morning for the past two weeks cleaning out junk forum posts. Not so fun. I doubt that my spammer is using an automated script but I can't be certain.
Can anyone tell me where I might add a quick spam filter in the code? Some simple touch points would really help. I'd consider automatically deleting messagings containing certain strings. I'd imagine I could write a quick loop that grabs all unmoderated messages, processes the text of the message looking for certain strings and conditionally deletes messages.
|
|
|
|
|
Well we are agreed on not showing them. As to the spam this almost sounds personal. I'm not sure about adding anythign in at the moment but you can use the filters to inspect posts and then remove them but be careful - there could be a bug in doing that in 3.1.x - waiting for the next version would be recommended.
|
|
|
2:52 pm 8 Sep 2008
| Tait
Guest
| | | |
|
| |
|
|
AFAIK, there is no framework for creating message “filters”. Is this true? Am I missing some Simple Forum component that would allow me to auto-filter spam. Though there is no framework, I'd guess that somewhere in the code for this plugin there are php functions that encapsulate…
1. deleting a message
2. retrieving all not-yet-approved messages.
Could someone point out these functions? I'm guessing I might use sf_delete_post and sf_get_admins_queued_posts in sf-database.php. However, there may be higher level functions for these actions.
I'd be content to write a php script that I can call from the command line that processes not-yet-approved messages. I'll set it up as a cron job and kick it off a few times a day. I guess this *could* be dangerous so I'll just back up my simple forum db before I do it. I'm not worried about falsely classifying a message as spam and deleting it. I'm am worried about a bug in my code (or the simple forum code) accidentally deleting all of my topics or posts.
Tait
|
|
|
|
|
Well yes - you can use both of those functions. sf_delete_post is exactly what it sounds like. The database query for the admins queue however will pull all posts unopened by the admin whether awaiting moderation or not.
As I said earlier though, beware of deleting a post that is still in the admins 'sfwaiting' table as there is a bug that can, under ceratin circumstances, screw up the indexing. Better to completely remove it from the queue first and then delete it. You can use the sf_remove_from_waiting($topicid) call for that.
|
|
|
6:28 pm 11 Sep 2008
| Tait
Guest
| | | |
|
| |
|
|
Before I build the script, is there a place in the code (ooh, even a hook) that I could check incoming posts against some logic and decide whether or not to silently (or not so silently) ignore them? This may be a more appropriate solution if there is a bug assocaited with deleting posts from the sf_waiting queue.
One other thing, would a few screen shots of my problems help convince anyone that adding additional spam protection to v 3.2 is a really good thing? I'm more aggressively deleting the posts from spammers and they are more aggressively posting to my site. I'd guess that there is a room full of people in a far off land making very little money who are posting on any open forum they can, as many times as they can. These people probably don't speak english well and don't understand what 'Post Moderation' means. Again, I'm using moderated posts and the math captcha.
The current setup is close to meeting my needs for spam control. I just don't like that the list of recent unread topics contains topics created by spammers that say things like 'cheap sell nike jordan adidas dunk bape prada gucci coogi shoes'. When you have 10 forums and everyone of them has the same most recent topic that says 'cheap sell nike jordan adidas dunk bape prada gucci coogi shoes' people don't use your forums.
Thanks, I really do enjoy this product.
Tait
|
|
|
|
|
if you look in the online help at the program hooks at the very last one that will goive you what you need. Or - look at the filters section where the content of the post is also available.
Wat you could do with - and would be very easy to do, is a pre-save hook that can cancel the save. This would be best done in the sf-post.php file just after the globals. Make a new hook and pass the post content: For example -
if(sf-hook-pre-save($_POST['newtopicpost']) == false) { wp-redirect(SFURL); }
You may have to include the hook program file before this however but that should work…
|
|
|
|
|
I have coded this up as a standard hook in V4
|
|
|
9:36 pm 16 Sep 2008
| BJ
Guest
| | | |
|
| |
|
|
Hi,
I'm the forum moderator administartor at my site, when I login it shows a read post, I click on it to mark as read. Then go to the post, it still shows ” awaiting for forum moderator”
I loged in and out and marked that post as read to approve it but it still doesn't get approved.
I just updated from 3.13 to 3.14
Update: I finally get it to work by going to the post, clicking on the edit tool and click on the approval button from there. Don't know why it showed as READ and didn't work from administartion area?
Thanks for your help,
BJ
|
|