Forum Replies Created
-
AuthorPosts
-
June 29, 2018 at 1:15 PM in reply to: How to allow editing field values thru Frontend Submission by the author only? #10378
EddyPiV
ParticipantI managed to display the link only for the author. This item can be closed now. Thanks.
June 28, 2018 at 6:01 PM in reply to: How to allow editing field values thru Frontend Submission by the author only? #10373EddyPiV
ParticipantThat's how far I got as well. I was hoping you could give me some php code, as I am not familiar with php myself. And I guess this may be useful for other users as well?
June 28, 2018 at 3:08 PM in reply to: How to allow editing field values thru Frontend Submission by the author only? #10371EddyPiV
ParticipantThat works great, to a large extent.
As I want to allow users to edit their own fleds in the frontend, it should only be possible for their own posts, i.e. where the author = logged in user.
Any suggestion?
EddyPiV
ParticipantHi Anh, I don't know why, but it's working now smoothly.
Strange..., but OK, I guess.Can you close this issue?
ThanksEddyPiV
ParticipantUpdate: I have installed the Frontier plugin (to add/edit the post in the frontend), and here it is allowed to upload images to the media library. But in ME Frontend Submission, it's not.
Same user.Just for you to know. Hopefully this helps.
June 18, 2018 at 7:34 PM in reply to: How to allow editing field values thru Frontend Submission by the author only? #10240EddyPiV
ParticipantHi Anh,
I have installed the Frontier plugin, which allows my users to edit their own post(s) in the front-end.
All well, but what remains is how to allow them to edit the MB fields in the front-end?EddyPiV
ParticipantHi Anh,
No, it doesn't make any difference. I have changed it as follows:
function mb_allow_author_uploads() { if ( is_admin() ) { return; } // Replace 'subscriber' with the required role to update, can also be contributor. $author = get_role( 'author' ); $author->add_cap( 'upload_files' ); } add_action( 'init', 'mb_allow_author_uploads' );But same error message.
My users have the author role, so should be capable of uploading their own images anyway, right?EddyPiV
ParticipantThe same error occurs.
June 7, 2018 at 5:22 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10099EddyPiV
ParticipantOK, thanks for all your help. Consider this solved.
June 7, 2018 at 4:58 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10096EddyPiV
ParticipantYou are right. If I deactivate the Text Blocks plugin, it is shown as you stated. But once I activate the plugin again, the 503 Service Unavailable error is back.
I have changed the contents of my text block to just a single line of text, but same problem.
Hence, the problem is the plugin.Before I start asking for support from the plugin developer, just a final question.
I am using this text block plugin to display all the fields in the frontend in the order/layout that I want.
Is there another, more appropriate way of displaying the fields in frontend?June 7, 2018 at 3:42 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10092EddyPiV
ParticipantThe PHP version on the server is 5.6.30.
I have uploaded functions.php here: https://1drv.ms/f/s!AiZg1q2e9vdxhBlxbs_Mz30DdS2c
June 6, 2018 at 4:52 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10080EddyPiV
ParticipantAha. Thanks so much for your help.
I have added it to functions.php. It results in a 503 Service Unavailable error (while trying to use an ErrorDocument to handle the request).
Any idea?June 6, 2018 at 2:13 AM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10064EddyPiV
ParticipantWhere should I add this filter? I have added the following to single.php:
<?php add_filter( 'the_content', 'text-blocks id=”showfields”]' ) ?>, but without success.June 5, 2018 at 2:01 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10046EddyPiV
ParticipantUpdate on this issue: I am no longer using TablePress, due to the problem I mentioned.
Instead I am using Shortcodes Ultimate plugin for the design of the output, and it works great.
So, to summarize:
- I am using the shortcodes from Shortcodes Ultimate plugin for the design
- I am defining the design with the Text Blocks plugin
- The shortcode for this text block needs to be included in the text of the post (at the end of it).Now, only the following question from above issue remain outstanding:
- How to (automatically) include the shortcode from the Text Blocks plugin (e.g. [text-blocks id=”showfields”]) in the text of the post?June 5, 2018 at 1:53 PM in reply to: How to display an image in frontend with link for full size? #10045EddyPiV
ParticipantAha, that works great. Thanks!
I missed the possibility to use such parameters in the shortcode. Still learning...
Issue can be closed. -
AuthorPosts