• Resolved Agrajag27

    (@agrajag27)


    We’re trying to replace Post Status Notifier which has become unstable of late and is also very performance intensive.

    I installed this plugin (deactivated PSN) and created my first Notification to nearly match one of only two we use:

    A notification to me and our editor when anyone sets a post status to Pending.

    The settings:

    -Post Pending Review
    -Plain Text
    – x Set “From” Name & Email, CC, BCC
    From Name and Email: slashcomment.com [email protected]
    -Send to: rich, russ (me and the editor)
    -Subject: /comment: A new post from [post_author] is waiting for Review
    -Body:
    There’s a new post by [post_author] waiting for Review.

    [post_title]

    [post_excerpt]

    [permalink]

    You can contact [user_firstname] via e-mail at [user_email].
    ————————————————————–

    That’s it. I created a test post, added an excerpt to it and set the status to Pending. Nothing. Remember, this is pretty much identical to PSN so spam should not be an issue. Test Post worked fine.

    (One other question: PSN has the concept of Status Before. Thus, if I set a post as Pending and then realize I have to update it and re-edit it and Save as Pending a second time, PSN won’t send out a new notification as that notification is set to only trigger if the previous state was Draft. Will this one send out a notification every time an author hits the Save as Pending button?)

    https://www.ads-software.com/plugins/bnfw/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi Agrajag27,
    Thanks for your message.

    With regards to updating a post – no, it won’t send out another ‘Post Pending Review’ notification. The only thing this may trigger is a ‘Post Updated’ notification, if you have one set-up.

    With regards to the main issue of the notification not coming through, are you able to install the Email Log plugin and re-test, then let me know if it appears in the log?

    Thanks,
    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    I clearly needed to post to get it to work. Now it sent the item just fine.

    HOWEVER, I did make one change to it while testing. I changed the From Name “Sitename” to slashcomment.com

    Our sitename is essentially /comment and that’s what was there before. Would a / character or the lack of the .com prevent the e-mail from going out?

    Either way, this looks like a great product Jack. I’ve struggled with PSN for ages with continual outages and tons of rushed updates.

    Plugin Author bnfw

    (@voltronik)

    Hi Agrajag27,
    Glad it’s now all working for you.

    I wouldn’t have thought so, no. Not unless you didn’t have a valid looking email address in the From Email Address field. Either way, I’ll log it as a potential bug and do some testing on it.

    Glad you like the plugin – please feel free to leave an honest review if you like.
    I also released the first add-on for the plugin yesterday which allows you to use Custom Fields in your notifications.

    Thanks,
    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    Ah, that will help. Let me get a few more Notification types going and I will review it for you. Support like this is hard to come by.

    FYI, Plain Text at least one issue: carriage returns are showing up in the e-mails with nbsp’s. Here’s the test. See below for one other question.

    There’s a new post by Rich Heimlich waiting for Review. The details are as follows:

     

    Title: Another Test Post for Me!!!

    Excerpt: This is the coolest test post ever!

    Post Name: another-test-post-for-me

     

    Link: https://slashcomment.com/?p=25202

     

    =========

    So the permalink…. One of the things we like to know is if the contributor got the right category and such. I know I can use post_category, but I suspect the editors will gloss over that. The URL they HAVE to click to edit and will have a hard time missing that. However, there seems to be no shortcode for that. It appears I could build such a thing something like this:

    Link: https://slashcomment.com/%5Bpost_category%5D/%5Bpost_name%5D

    The issue with that is that I don’t believe it would cover sub-cats, so a post in our Everything Else category would essentially have the wrong URL then.

    PSN shows us the “final” URL. Is there a code I’m missing?

    Plugin Author bnfw

    (@voltronik)

    Hi Agrajag27,
    I just tested with [permalink] and I’m getting the correct output when using ‘Custom’ in WP Settings > Permalinks with this format: /%category%/%postname%/.

    Permalink: https://www.bnfw.dev/uncategorised/test-post/

    I’ve been unable to replicate the plain text bug you’re experiencing, but I’ll keep testing and log anything I find.

    Thanks,
    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    That’s STRANGE. I’m set to custom as well.

    Custom Structure: https://slashcomment.com/%category%/%postname%/

    You saw the URL is generated. <grin> The plot thickens…..

    Plugin Author bnfw

    (@voltronik)

    That is strange!

    Have you tried re-saving your permalinks twice to force an update?
    Currently, it looks like it’s picking up the [guid] instead of the [permalink].

    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    I’ll give that a shot, but clearly that’s not something a contributor is likely to do. They’re just going to write and go.

    Plugin Author bnfw

    (@voltronik)

    Hi Agrajag27,
    Re-saving your permalinks should only be something you’ll have to do once, just to see if it kickstarts things working.

    Alternatively, a theme or plugin could be changing your permalink structure.
    I suppose there’s always a chance that the full permalink isn’t generated until a post is published too. If that is the case then there’s no way of knowing what it’ll be unless you were to just output all the category and post name shortcodes as you mentioned above.

    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    The funny thing is, while you’re editing the post it shows the “permalink” and it’s showing the one we both expect…..

    Where is the setting to re-save the links?

    Plugin Author bnfw

    (@voltronik)

    Hi Agrajag27,
    Go to Settings > Permalinks and do ‘Save Changes’ twice.

    I’m beginning to wonder if this is true:

    I suppose there’s always a chance that the full permalink isn’t generated until a post is published too. If that is the case then there’s no way of knowing what it’ll be unless you were to just output all the category and post name shortcodes as you mentioned above.

    I’m wondering whether it’s pre-empting the permalink structure and just showing you a ‘preview’ as the post isn’t published yet. What happens when you go to that permalink when you’re not logged in?

    Jack

    Thread Starter Agrajag27

    (@agrajag27)

    1. https://slashcomment.com/?p=25206

    404 error when not logged in. I would assume that’s correct as the post is Pending.

    2. PSN shows me the correct Permalink. VERY confused how it’s getting it.

    Thread Starter Agrajag27

    (@agrajag27)

    3. PSN uses a shortcode called [blog_wpurl] to generate it.

    I assume that’s custom and not a WP shortcode.

    Thread Starter Agrajag27

    (@agrajag27)

    Nevermind on that last one. My mistake. They use [post_permalink] and [post_editlink]

    Thread Starter Agrajag27

    (@agrajag27)

    That does bring up one other one: for Pending links a link to edit would be useful:

    https://slashcomment.com/wp-admin/post.php?post=25215&action=edit

    That’s from PSN and why it uses the guid I’m not sure, but I know the editors use that link. Is that supported?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Post Pending Review Not Being Sent Out’ is closed to new replies.