vince_
Forum Replies Created
-
The list isn’t in admin. It’s the list that is displayed when I click on :
https://myurl.com/members/vince/events/my-bookings/
(and when I am logged as vince)
Sorry for the confusion, Vincent
Hi,
When a user creates an event and is logged in, he can click on :
the link is :
https://myurl.com/wp-admin/post.php?post=179&action=edit
I just don’t want the user to get into the WP administration but instead use this editor :
Yes it is, sorry I thought I marked it as resolved.
I don’t favorise the use of my user’s real name in my web site. I’d like to show the username.
yes, that one.
Yes, thank you !
Hi Caimin,
My goal is to disable the event edition in WP admin. How could I display :
https://myurl.com/edit-events/?action=edit&event_id=6
instead of :
https://myurl.com/wp-admin/post.php?post=179&action=edit
??
Hi Angelo,
I am not sure if my problem was clear.
Here is a screenshot of what I’d like to change :Is it really impossible to display the username instead of the Name ?
I don’t undertand your question very well. I have done a few modifications to the plugin templates …
Thank you ! Vince
Great, thanks !
It worked great thanks ! :
add_filter('em_booking_output_placeholder','my_em_placeholder_mod',1,3); function my_em_placeholder_mod($replace, $EM_Booking, $result){ if ( $result == '#_BOOKINGNAME' ) { $replace = $EM_Booking->get_person()->display_name; } return $replace; }
Hi,
Yes you’re right. I have added a Name to my user and it appears now. Is there a way to display the username instead of the name ?
Maybe if I change something in the class files it could do the trick.Thanks a lot Caimin,
Vincent
Hi,
My logged in users only have a username, not all have a name. I just want the username to be displayed, maybe I have to change something in the class files ?
Thanks for your answer. There is maybe a way to generate the URL I want by retrieving the event ID with the event name.
I will try to make it tomorrow.