Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.



The forum is in read only mode.

Userlist Removal

7 years 10 months ago #272 by bodiska
Userlist Removal was created by bodiska
Hello. I'd like to remove the userlist feature, so nobody can see the whole userlist. There is a setting in Kunena to hide it from Guests, but there is not such an option to hide it from everyone. I talked to Kunena, they said I have to create my own template then. I'm using your template. Could you please help me how to do it?

I'd like to get rid of this page, "forum/profile/list", so noone can access this.

Thanks in advance
7 years 10 months ago #279 by Eugene S.
Replied by Eugene S. on topic Re: Userlist Removal
You must modify the following file: YOUR_SITE/components/com_kunena/template/YOUR_TEMPLATE/html/user/list.php
But it depends from what you need. Theoretically you can write the following code there:

<?php defined ( '_JEXEC' ) or die (); ?>
<div class="kblock">
    <div class="kheader">
        <span class="ktoggler"><a class="ktoggler close" title="<?php echo JText::_('COM_KUNENA_TOGGLER_COLLAPSE') ?>" rel="your_page_name"></a></span>
        <h2><span>TITLE YOUR PAGE</span></h2>
    <div class="kcontainer" id="your_page_name">
        <div class="kbody">
            <div class="your_class">
                <p>YOUR STUFF</p>
            <div class="userlist-jump">
                <?php $this->displayForumjump(); ?>
<?php $this->displayWhoIsOnline(); ?>

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review:
Moderators: Eugene S.