Kunena 7.0.8 Released
The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
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 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question Custom Userlist for public viewing
15 years 1 month ago #99297
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Custom Userlist for public viewing
You can add this kind of check :
Code:
if ($this->me->userid != 0) { // show profile link }
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #99300
by bigblue
SUPPORT KUNENA - The numero uno forum for Joomla !!
Replied by bigblue on topic Re: Custom Userlist for public viewing
apologies.. php is beyond me - where do I put this line ?
SUPPORT KUNENA - The numero uno forum for Joomla !!
Please Log in or Create an account to join the conversation.
15 years 1 month ago #99305
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Custom Userlist for public viewing
In the file /components/com_kunena/template/default/userlist/userlist.php,
line 154 :
line 164 :
line 154 :
Code:
<?php if ($this->config->userlist_online || $this->me->userid != 0) : ?>
<td class="kcol-mid">
<span class="kicon-button kbuttononline-<?php echo $profile->isOnline(true) ?>"><span class="online-<?php echo $profile->isOnline(true) ?>"><span><?php echo $profile->isOnline() ? JText::_('COM_KUNENA_ONLINE') : JText::_('COM_KUNENA_OFFLINE'); ?></span></span></span>
</td>
<?php endif; ?>
line 164 :
Code:
<?php if ($this->config->userlist_name || $this->me->userid != 0) : ?>
<td class="kcol-mid"><?php echo CKunenaLink::GetProfileLink(intval($user->id), $this->escape($user->name)); ?></td>
<?php endif; ?>
<?php if ($this->config->userlist_username $this->me->userid != 0) : ?>
<td class="kcol-mid"><?php echo CKunenaLink::GetProfileLink(intval($user->id), $this->escape($user->username)); ?></td>
<?php endif; ?>
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #99374
by bigblue
SUPPORT KUNENA - The numero uno forum for Joomla !!
Replied by bigblue on topic Re: Custom Userlist for public viewing
Changing this, I now get a 500 internal server error when accessing the userlist when either logged in or not logged in ?
SUPPORT KUNENA - The numero uno forum for Joomla !!
Please Log in or Create an account to join the conversation.
15 years 1 month ago #99389
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Custom Userlist for public viewing
I haven't try it by myself, so it should be an error somewhere
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds