Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Hide "more"

9 years 10 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

ISSUE SUMMARY:


STEPS TO REPLICATE:
1 go to a group and you will see members photos more
2
3
4
5
RESULT
EXPECTED RESULT
i want to hide more
BROWSER

9 years 10 months ago
Licenses:

Hi, Gustavo.

Are you sure of that? Under "More" you have shrotcut to Discussions, Announcements, Banned users list and files (if enabled).

But if you're sure copy this file:

ROOT/components/com_community/templates/jomsocial/layouts/groups/single.php

to:

ROOT/templates/your-template/html/com_community/layouts/groups (if you don't have any of those folders, feel free to create them)

Then remove that code (line 311):

<li class="full">
            <a href="javascript:" data-ui-object="joms-dropdown-button">
                <?php echo JTEXT::_('COM_COMMUNITY_MORE'); ?>
                <svg viewBox="0 0 14 20" class="joms-icon">
                    <use xlink:href="<?php echo CRoute::getURI(); ?>#joms-icon-arrow-down"></use>
                </svg>
            </a>
            <ul class="joms-dropdown more-button">
                <?php if ($config->get('creatediscussion')) { ?>
                    <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=groups&task=viewdiscussions&groupid=' . $group->id); ?>">
                            <?php echo ($totalDiscussion == 1)
                                ? JText::_('COM_COMMUNITY_GROUPS_DISCUSSION') . ' <span class="joms-text--light">' . $totalDiscussion . '</span>'
                                : JText::_('COM_COMMUNITY_GROUPS_DISCUSSIONS') . ' <span class="joms-text--light">' . $totalDiscussion . '</span>'; ?>
                        </a></li>
                <?php } ?>
                <?php if ($config->get('createannouncement') && ($isMember || $isSuperAdmin)) { ?>
                    <li>
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=groups&task=viewbulletins&groupid=' . $group->id); ?>">
                            <?php echo ($totalBulletin == 1)
                                ? JText::_('COM_COMMUNITY_GROUPS_ANNOUNCEMENT_COUNT') . ' <span class="joms-text--light">' . $totalBulletin . '</span>'
                                : JText::_('COM_COMMUNITY_GROUPS_ANNOUNCEMENT_COUNT_MANY') . ' <span class="joms-text--light">' . $totalBulletin . '</span>'; ?>
                        </a>
                    </li>
                <?php } ?>
                <?php if ((($isAdmin) || ($isMine) || ($isMember && !$isBanned)) && $isFile) { ?>
                    <li>
                        <a href="javascript:" onclick="joms.api.fileList('group',<?php echo $group->id ?>)">
                        <?php echo ($isFile == 1)
                            ? JText::_('COM_COMMUNITY_GROUPS_FILE_COUNT') . ' <span class="joms-text--light">' . $isFile . '</span>'
                            : JText::_('COM_COMMUNITY_GROUPS_FILE_COUNT_MANY') . ' <span class="joms-text--light">' . $isFile . '</span>'; ?>
                        </a>
                    </li>
                <?php } ?>

                <?php if ($isAdmin || $isSuperAdmin) { ?>
                    <li>
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=groups&task=banlist&list=-1&groupid='.$group->id) ?>">
                            <?php echo JText::_('COM_COMMUNITY_GROUPS_BANNED_MEMBERS') ; ?>
                            <span class="joms-text--light"><?php echo $totalBannedMembers; ?></span>
                        </a>
                    </li>
                <?php } ?>
            </ul>
        </li>


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 10 months ago
  • gustavo's Avatar
    Topic Author
  • gustavo
  • Offline
  • Fresh Boarder
  • Posts: 86
  • Thank you received: 1
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Perfect!!! thanks!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW