Hi Vibeke,
Glad you’re enjoying the plugin.
Just to make sure I understand… You want to force users to login before submitting events?
Hi again!
And thanks for quick response π
Yeah – only certain users should be able to submit events – however they want to submit events from the frontend by a form and not the backend. Is this possible without buddypress or a membership plugin?
And where do I find how to set this up if its possible?
you can try to see settings under Events > Settings > General > Event Submission Form or using shortcode [event_form] in your wp page or post.
Hi again!
Just to make things clear:
1. I have set up the events manager to use usersubmitted events
2. The pages with the forms are ok – however only displaying when logged in! See the link: http://121667-www.web.tornado-node.net/legg-til-arrangement/
I need a frontend login button or form, so that the users may log in via the frontend – not backend! Do I need a membership plugin for this – or do you have a login form as well hidden somewhere? π
I found this code in anohter thread – however don’t know where to put it in the template (should I overwrite something or just add – and where) – or if the code is still legit:
em_locate_template('forms/bookingform/login.php',true, array('EM_Event'=>$EM_Event));
That should be ok or you could use a PHP include directly to /forms/bookingform/login.php.
Another way, which might the easier, would be to use the WordPress wp_login_form() function:
https://codex.ww.wp.xz.cn/Function_Reference/wp_login_form
Ok – but where do I put this code?
I have now tried to put this code into your file event-editor.php – however no Login form is showing…
A little help where to put the code would be appreciated..