New Private Post not working
-
Hello! This plugin really saves a lot of trouble!
However, the new private post is not working, can you please take a look when you can?
Please let me know.
Thanks!
-
Hi @catmaniax,
Thanks for your message.I’ve just tested this and it seems to be working fine for me.
Can you confirm you’re using the latest version of BNFW and WordPress?
If you’re still having trouble with this notification, can you make your way through this document and let me know how you get on?Thanks,
JackHey,
Yes, I’m using all the latest versions.
I have a user submitted form on the frontend using a plugin (AccessPress Anonymous Post – I’ll say it as APP for short) and all the submitted posts are stored as Private until I publish them.
BNFW does not seem to recognize this submission.
If I change APP’s settings to store new posts as “Pending” instead of “Private”, BNFW recognizes it fine.However, I do not wish to do that, because I tested it out and the date/time gets lost/overwritten in “Pending” mode to the exact date/time I press the “Publish” button of WordPress.
In “Private” the exact date/time is kept and that’s why I want to leave it in that mode.What do you think?
Hi @catmaniax,
Thanks for confirming.In that case, can you take a look at this piece of documentation on triggering notifications via a plugin’s front-end form and see if it helps?
Thanks,
JackThanks for the reply, I’ll test it out and let you know π
It’s strange though because the “Pending” mode that works with BNFW is also coming from the frontend form anyway.
EDIT: That code in functions.php didn’t seem to make a difference π
-
This reply was modified 9 years, 3 months ago by
catmaniax.
Hi @catmaniax,
Thanks for trying the functions.php code.Let me do some testing and I’ll get back to you.
Thanks,
JackOk, please let me know as soon as you know π
Hi @catmaniax,
What plugins re you using to submit the front-end form?Thanks,
JackHey,
I’m using AccessPress Anonymous Post.
Thanks @catmaniax,
I’ll investigate and let you know how I get on.Thanks,
JackThank you π
Hi @catmaniax,
It would appear the plugin you’re using is usingwp_insert_post()and as such, BNFW won’t be able to pick up the status changes between draft and publish (or private, in your case) as they’re being inserted directly into the database.There also doesn’t seem to be any hooks that can make this work so my only suggestion as this stage is to try another plugin, such as ACF.
Hope this helps.
Thanks,
JackOh, I see. I can’t use another plugin since this one really suits me.
I’ll try to contact the authors and see if anything can be done.
If by any chance you happen to find anything relevant for resolving this please let me know.Thanks again π
Hey, I was just thinking, if you ever come to implement this for the plugin I mentioned as a paid add-on I would be glad to purchase.
Hi @catmaniax,
Thanks.You might be able to use Gravity Forms or ACF Pro for this. There’re lots of plugins out there that work with BNFW with regards to posting from the front-end of your WordPress website.
Hope this helps and you find a solution.
Thanks,
JackAlright, maybe I’ll try them out.
Thanks. -
This reply was modified 9 years, 3 months ago by
The topic ‘New Private Post not working’ is closed to new replies.