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.

enable file sharing box not available in group creation

10 years 3 months ago
  • Sandra's Avatar
    Topic Author
  • Sandra
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

I am trying to set up close groups in my Jomsocial community that just I can post announcements in. For that I need to be able to upload pdf files. I set options in group settings as followed but I still don't have an option to choose file sharing in group creation.
See Attachment for more information on how I set up settings.
I would be glad for help!
Thank you,
regards,
Sandra

Attachment Bildschirmfoto2014-02-13um19.24.48.png not found


Attachment Bildschirmfoto2014-02-13um19.25.12.png not found

Attachments:
10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

I already reported this to our bug list.. thx

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

follow this steps to fix this :

1. open this file administrator/components/com_community/controllers/groups.php, add this code :

<tr>
        <td class="key"><?php echo JText::_('COM_COMMUNITY_FILES_ENABLE_SHARING'); ?></td>
        <td class="paramlist_value">
            <div class="space-12"></div>
            <select style="visibility:visible;" name='groupannouncementfilesharing'>
                <option value='0' <?php echo ($params->get('groupannouncementfilesharing', '1') == false ) ? ' selected="selected"' : '';?>><?php echo JText::_('COM_COMMUNITY_DISABLE');?></option>
                <option value='1' <?php echo ($params->get('groupannouncementfilesharing', '1') == true ) ? ' selected="selected"' : '';?> ><?php echo JText::_('COM_COMMUNITY_ENABLE');?></option>
            </select>
            <div class="space-12"></div>
        </td>
   </tr>

BEFORE this code :
<tr>
 		<td class="key"><?php echo JText::_('COM_COMMUNITY_GROUPS_NEW_MEMBER_NOTIFICATION'); ?></td>
 		<td class="paramlist_value">

2. open this file administrator/components/com_community/views/groups/tmpl/edit.php, add this code :
<tr>
        <td class="paramlist_key">
            <label class="title">
                <span class="js-tooltip"  title="<?php echo JText::_('COM_COMMUNITY_GROUPS_FILES_ENABLE_SHARING_TIPS');?>"><?php echo JText::_('COM_COMMUNITY_FILES_ENABLE_SHARING'); ?></span>
            </label>
        </td>
        <td class="paramlist_value">
            <div class="space-12"></div>
            <select style="visibility:visible;" name='groupannouncementfilesharing'>
                <option value='0'><?php echo JText::_('COM_COMMUNITY_DISABLE');?></option>
                <option value='1'><?php echo JText::_('COM_COMMUNITY_ENABLE');?></option>
            </select>
            <div class="space-12"></div>
        </td>
    </tr>
 	<tr>

AFTER this code :
<input type="text" name="grouprecentevents" id="grouprecentevents-admin" size="1" value="<?php echo $params->get('grouprecentevents', GROUP_EVENT_RECENT_LIMIT);?>" />
Add a comment to this line
 		</td>
 	</tr>

10 years 2 months ago
  • Sandra's Avatar
    Topic Author
  • Sandra
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

thank you for the code. I inserted it on the correct positions and I can see the file-sharing option in group details on admin-site.
But, whenever I try to choose "disabled" it switches back to "enabled" after saving.
And I don't see the file-sharing button in the group page in front-end.

I am not sure what is missing still.
Thanks,
Sandra

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

ehm Sandra, I suggest you wait the package 3.2.. maybe I missed the steps.. because hard for me to get the detail patch. thank you

10 years 2 months ago
  • Sandra's Avatar
    Topic Author
  • Sandra
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Expired

will do, no problem! Thank you!

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

you're welcome :) and thank you for your patient :)

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