×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

× This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 2.0, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question How to make email-adresses of users visible in every posting?

More
7 years 4 months ago #1 by kallle
I need to make email-adresses of users visible in every posting. At the time the only place to see the email ist the user-profile.

When I show into the DB-table "...kunena_messages" the username ist filled in, but the email is complete empty. So the adresses can't be visible.
Which program-file is responsible to write the email of the users in "...kunena_messages"?

Regards,
kallle

Kunena 2.0.4 / Joomla 1.5.26

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

More
7 years 4 months ago - 7 years 4 months ago #2 by TKtemp
Hi,

email field in "kunena_messages" table is empty because you have not configured your forum in the way that email is required when messages are posted.

The easiest way to show users email in post page is to get it from your joomla users table.

Just add this line
<?php echo $this->profile->email ?>
anywhere you want to show it inside file:
components / com_kunena / template / blue_eagle / html / topic / default_profile_vertical.php
Last edit: 7 years 4 months ago by TKtemp.

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

More
7 years 3 months ago #3 by kallle
Thank you very much, TKtemp!

Please can you tell me how to make a clickable "mailto"-Link from the response of <?php echo $this->profile->email ?> ?

Regards
kallle

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

More
7 years 3 months ago #4 by TKtemp
Hi,

try in this way
<a href="mailto:<?php echo $this->profile->email ?>"><?php echo $this->profile->email ?></a>

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.137 seconds