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.

Videos, Events and File Sharing default adjustments

10 years 11 months ago
  • Dalvio's Avatar
    Topic Author
  • Dalvio
  • Offline
  • Fresh Boarder
  • Posts: 23
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi.

My group configuration sets Video, Events and File Sharing as enabled (see below)

prntscr.com/42m2b1

But, when creating a new one, they appear as disabled (sse below).

prntscr.com/42m2l6

Is there any way to turn them enabled by default during a group creation process?

Thanks.

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

Hi Dalvio,

That is different behavior for those settings..

prntscr.com/42m2b1 => it will be globally, once you set this setting it will be effected to all groups, even in new group page in frontend you wont see enable / disabled " Video, Events and File Sharing " setting

prntscr.com/42m2l6 => different with this one, which purposed for that group only .

i hope you will get it.

thank you

10 years 11 months ago
  • Dalvio's Avatar
    Topic Author
  • Dalvio
  • Offline
  • Fresh Boarder
  • Posts: 23
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi, Dimas.

Maybe because of my bad english or something else, I haven´t explained clearly before.

Please, take a look at the new prntscn below.

prntscr.com/42yasu

I´m sure file sharing is globally enabled for groups, but do I really have to turn it on during each group creation?

My project has file, events and video sharing as basic necessity, and I´d like to have those options naturally enabled, instead of asking user to check respective settings during group creation.

Thanks.

P.S. If needed, consider admin information as 'administrador' and password the same one passed by form.

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

Hi Dalvio,

You need hack the code for this, please open this file components/com_community/templates/default/groups.forms.php, find this code :

#1

$params->get('groupannouncementfilesharing') >= 1
to
$params->get('groupannouncementfilesharing',1) >= 1

#2
$params->get('groupdiscussionfilesharing') >= 1
to
$params->get('groupdiscussionfilesharing',1) >= 1

#3
$params->get('eventpermission') == GROUP_EVENT_PERMISSION_ALL
to
$params->get('eventpermission') == GROUP_EVENT_PERMISSION_ALL || empty($params->get('eventpermission'))

#4
$params->get('videopermission') == GROUP_VIDEO_PERMISSION_ALL
to
$params->get('videopermission') == GROUP_VIDEO_PERMISSION_ALL || empty($params->get('videopermission') )

for better method, I suggest you do override that template documentation.jomsocial.com/wiki/Customizing_Template

thank you

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