Username for event creator please.

  • Zoe White
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 10 months ago #122676 by Zoe White
Username for event creator please. was created by Zoe White
Hello Tuan,

For the “event creator” option, would it be possible to have either their first and last name (as it is now)or their username please?

I have thought about how to do this using custom fields but it is beyond my very limited abilities. To have it link directly to the user’s Community Builder profile would also be a great benefit.

Many thanks.

A severely sight impaired (blind) Joomla user and member of the Joomla Accessibility Team.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #122686 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Username for event creator please.
Exactly what feature you are looking for? If you want to display creator username, please go to Events Booking -> Configuration, look at Themes tab, set Show event creator config option to Yes and it should be displayed on event details page

Tuan
The following user(s) said Thank You: Zoe White

Please Log in or Create an account to join the conversation.

  • Zoe White
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 10 months ago #122693 by Zoe White
Replied by Zoe White on topic Username for event creator please.
Hello Tuan,

Yes, when the option of “Display Event Creator: is set to YES, it shows the first and last name of the person who submitted the event, not the username.

For example:
The user’s first name is Bob
The user’s last name is Smith
The user’s Username is Black Bird

Currently the Event Creator will show :Bob Smith”

Is it possible to have it show the username instead so that in this example it would be “Black Bird”?

Many thanks.

A severely sight impaired (blind) Joomla user and member of the Joomla Accessibility Team.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #122713 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Username for event creator please.
Hello Julian

We don't support this option at the moment. If you need it, you will have to customize the code. The file you need to customize is components/com_eventbooking/themes/default/common/event_properties.php

Sadly, we don't have username data in the query, so you will have to query database to get username of the user (base on his ID)

Tuan
The following user(s) said Thank You: Zoe White

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc