Support Forum

Turning off "first posts are subject to administrator approval before being displayed" message

GO gorky5
gorky5
Member

Hi. In a bid to keep track of spam registrations I’ve turned off “Can bypass first post moderation” in the permission sets.

Now, all standard users see the following message whenever they post a message: “NOTE: first posts are subject to administrator approval before being displayed”.

Is it possible to make this message expire after a certain time, eg once that person has posted or been approved? It seems unnecessary to always have it on show, especially for long-standing members.

22 Answers

New Answer

IK Ike
Ike
Member

All users are getting the message? When you say you have turned it off in the permission sets, have you turned it off in all of them? Roughly what user groups / permissions do you have set up?

GO gorky5
gorky5
Member

All standard (non-mod/admin) members are seeing the message.

I haven’t got any unusual permission sets, just the default ones I think. I’ve turned “Can bypass first post moderation” off for people in the standard and full access groups. Everyone in those groups sees the message every time they post.

IK Ike
Ike
Member

Might seem like a bit of a basic one, so not meaning to be patronising, but when you say ‘turned off’, do you mean it was a green radio button, and after turning it off it’s now grey?

Have to cover all bases!

GO gorky5
gorky5
Member

Yes, the button is now grey in both those permission sets.

IK Ike
Ike
Member

OK.. Well for starters, the button being grey means that the check is active. As it’s worded, when the button is green (activated) then the user can bypass the first post moderation.

You will want the button green (active) in order to bypass the first post moderation check..

I am confused however, are you looking to activate the first post mod check on new users, so you can check all first posts to keep track of spam? or are you looking to turn the first post mod check off for everybody (green)

GO gorky5
gorky5
Member

I’m not trying to let users bypass first post moderation. I understand the wording.

I don’t know why you’re confused. As I mentioned in my first post, all I want is to not have a permanent message for standard users saying “NOTE: first posts are subject to administrator approval before being displayed” before every single post.

I’m not sure how I can make that clearer.

IK Ike
Ike
Member

Yep, probably because I misinterpreted your first post thinking that you wanted to turn off the post moderation for current users, but never mind.

So lets start again:

Firstly, obviously someone is going to need to approve these posts manually before the notice will disappear for the user, or are you saying that the posts are being approved and the notice re-appears?

if you are using the ‘Admin Bar’ plugin you should see ‘Need Moderation’ at the very top.

GO gorky5
gorky5
Member

I don’t have a problem with the approval process. I already use the admin bar, but it’s not relevant to my question. I just want that warning message to not appear for users that have been using my forum for many months.

The message appears to all standard users regardless of how long they’ve been members. Logically it should only appear once, to *new* signups before their first post has been approved.

Is that clear enough now? I feel like I’m really struggling to get my message across here.

MP Mr Papa
Mr Papa
Member

finally think it might be… took me multiple reads to finally get what you want…

in your sp theme, the spTopicView.php and spForunView.php template files, in the declaration for new topic and new post form, you will see that text defined…  change it to whatever you want…

as always, we strongly recommend you make your own theme or a child theme instead of editing ours directly to keep from losing changes on updates…

GO gorky5
gorky5
Member

But I’m not interested in changing the text! I just want it to disappear once a user has had one message approved. It seems more sensible than to have it there permanently.

Shall I assume that it’s not possible? I feel like I’m going round in circles here.

MP Mr Papa
Mr Papa
Member

no, its not built into core to have that check made… never been asked for in almost 10 years…

but its possible for you to add those checks yourself in the theme template files I mentioned…  any php code there is valid… so run a date check, number of posts user has made, etc before setting that string…

at the airport about to board a plane so cannot give you specific example, but perhaps can from hotel room tonight…

GO gorky5
gorky5
Member

Thanks Mr Papa. I’ve looked at those php files and found the warning text. I’m not sure how to run checks for number of posts made etc, so if you could give some examples I’d appreciate it.

Here’s the line in question:

‘labelModerateOnce’ => __sp(‘NOTE: first posts are subject to administrator approval before being displayed’),

I realise I can just delete the warning text altogether, which might be easier.

FWIW, someone else sent me a PM saying they’d like to know the answer to this query too, so I’m certainly not the first to wonder. Is it worth building the option into the SP core in a future release, rather than having to hack theme template files?

MP Mr Papa
Mr Papa
Member

okay, lets assume you want to show it until a user has posted 1 time… something like this for new topics in spForumView.php

after the $addTopicForm variable declaration

global $spThisUser;
$string = ($spThisUser->posts >= 1) ? '' : 'NOTE: first posts are subject to administrator approval before being displayed';
$addTopicForm['labelModerateOnce'] = $string;

so the message will appear to users until they have one approved post….

GO gorky5
gorky5
Member

I couldn’t get those lines to work. They might work for new forum members who are awaiting a first post approval, but long-term members (who don’t have any approved posts, since I’ve just turned on first-post moderation) were still seeing the warning.

In the end I just deleted the text, which seemed like the easiest solution. Thanks for your time.