Tagged: idocfxarlwgu
Hello,
please can add a feature to assign a default author for publishing posts instead of the current logged in user.
The form settings page will have the option
Assign Form Author
1. Current logged in user
2. Alternative user by username or idI have a form with ID 37232 called GENERAL FORM and I want to assign the user with ID 3728 as the author of all post published by other users through this form.
ThanksHello Tosin,
Thank you for the suggestions. I have added this into the BuddyBlog Pro todo items and we will consider this in future versions of the plugin. If you are okay with the custom code I can give you the code which will update the post author once the post is published.
Regards
RaviThanks ravi the custom code will be appreciated but kindly note that I have 2 form available for publishing.
1. General Form (id=37232) – the main shortcode where the author is (logged in user)
2. Private Form (id=58256) – no shortcode available but I want the author to be assigned to specific user by (username or id)Now the General form is publicly availabel but the Private form cant be assigned a shortcode because there is no way to differentiate the shortcode [bbl-create-by-post-type post_type=’post’]
A way to differentiate the form would be to pass the form ID in the shortcode with shortcode parameter id=37232
So now both forms can be displayed in two different pages
General form = [bbl-create-by-post-type post_type=’post’ id=’37232′]
Private form = [bbl-create-by-post-type post_type=’post’ id=’58256′]Thanks
Hi Tosin,
Thank you for the details.I short of decided to hold this in the new release.
The problem I am seeing is BuddyBlog uses post author for listing posts, providing access to post editing etc.
If a user submits a form and the er user post creator will loose the access/right to edit it. This will be problematic.
Can you please help me understand your use case and I will have some suggestions.
Regards
BrajeshHi Tosin,
I am sorry for the delay in reply. Please allow me to think about it a bit more. We did not plan for anonymous users from the beginning, so we need to think about it before adding any feature that takes in that direction.My main concerns are the “after submission” redirect that will most probably become troubling for users.
Regards
Brajesh
You must be logged in to reply to this topic.