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.

Remove 'Attendee' and 'Available Seats' counters from event displays

8 years 11 months ago
  • Tim's Avatar
    Topic Author
  • Tim
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active

Hi,
I have just updated my Jomsocial version and now the attendee count's are back :(
I tried to do the same hack you gave previous but the code is different?

Can you confirm how I can hack this so future upgrades will not override the modification?

Thanks

8 years 11 months ago
  • Tim's Avatar
    Topic Author
  • Tim
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active

I also now have an odd display on the event list under 'created by' listing
please see the right hand side of attached screen shot.

Attachment ScreenShot2015-04-29at1.55.43pm.png not found




Thanks for all your help! I look forward to getting this all sorted and leaving you alone :)

Cheers
Tim

Attachments:
8 years 11 months ago
Licenses:

Hi, Tim.

This means you DIDN'T followed my instructions and edited files IN CORE instead copying them to your template override folder.
Please, check my instructions again they are 100% correct. And code didn't changed.

It seems that there is lack of language constant. Just create language override for it. Copy that "strange" text to Overrides and add as text "Created by".

documentation.jomsocial.com/wiki/Changin...gle_Sentence_or_Word


- 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
8 years 10 months ago
  • Tim's Avatar
    Topic Author
  • Tim
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active

Hi again Michal,
Sorry to reopen this ticket but I am still trying to remove the 'Event Attendee' Module that shoes the avatar of event attendees as displayed on the screenshot:

Attachment ScreenShot2015-05-15at3.31.43pm.png not found



and displayed on this page: www.inrhythm.com.au/facilitator-training...itator-training-2015 )

I have been back through all code amendments given above

Thanks

Attachments:
8 years 10 months ago
Licenses:

Hi, Tim.

Copy this file:

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

to:

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

Then edit file and remove this code starts around line 309):

<div id="joms-event--attend" class="joms-tab__content">
                <div class="joms-module__body">
                    <?php if($eventMembersCount>0) { ?>
                    <ul class="joms-list--thumbnail">
                        <?php  foreach($eventMembers as $member) { ?>
                        <li class="joms-list__item">
                            <a href="<?php echo CUrlHelper::userLink($member->id); ?>" class="joms-avatar">
                                <img src="<?php echo $member->getThumbAvatar(); ?>" alt="<?php echo $member->getDisplayName(); ?>" />
                            </a>
                        </li>
                        <?php } ?>
                    </ul>
                    <div class="joms-gap"></div>
                    <a class="joms-button--link" href="<?php echo $handler->getFormattedLink('index.php?option=com_community&view=events&task=viewguest&eventid=' . $event->id . '&type='.COMMUNITY_EVENT_STATUS_ATTEND );?>"><?php echo JText::_('COM_COMMUNITY_VIEW_ALL');?> </a>

                    <?php } else {
                        echo JText::_('COM_COMMUNITY_EVENTS_NO_USER_ATTENDING_MESSAGE');
                    } ?>
                </div>
            </div>


- 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
8 years 10 months ago
Licenses:

Hi, Tim.

Copy this file:

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

to:

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

Then edit file and remove this code starts around line 309):

<div id="joms-event--attend" class="joms-tab__content">
                <div class="joms-module__body">
                    <?php if($eventMembersCount>0) { ?>
                    <ul class="joms-list--thumbnail">
                        <?php  foreach($eventMembers as $member) { ?>
                        <li class="joms-list__item">
                            <a href="<?php echo CUrlHelper::userLink($member->id); ?>" class="joms-avatar">
                                <img src="<?php echo $member->getThumbAvatar(); ?>" alt="<?php echo $member->getDisplayName(); ?>" />
                            </a>
                        </li>
                        <?php } ?>
                    </ul>
                    <div class="joms-gap"></div>
                    <a class="joms-button--link" href="<?php echo $handler->getFormattedLink('index.php?option=com_community&view=events&task=viewguest&eventid=' . $event->id . '&type='.COMMUNITY_EVENT_STATUS_ATTEND );?>"><?php echo JText::_('COM_COMMUNITY_VIEW_ALL');?> </a>

                    <?php } else {
                        echo JText::_('COM_COMMUNITY_EVENTS_NO_USER_ATTENDING_MESSAGE');
                    } ?>
                </div>
            </div>


- 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
The following user(s) said Thank You: Tim
7 years 7 months ago
  • Tim's Avatar
    Topic Author
  • Tim
  • Offline
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 0
Licenses:
JomSocial Active

Hi,
After updating jomsocial I have this issue agian. I have tried to follow previous instructions however cannot find the code you have mentioned.

I would like to remove the attendee counts from events and all event modules in jomsocial?

Thanks

7 years 7 months ago
Licenses:

Hi, Tim.

Hmm... then it seems that customization was made straight in core file... not in override.
Please, try to follow my instruction above. Use just significant part of code when searching it... or check line number.


- 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
The following user(s) said Thank You: Tim
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