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.

Bug in creating events in groups

9 years 4 months ago
Licenses:
JomSocial Expired Socialize Expired

Hello,
When i try to create an event through a groupe ("club" on my website) , access is refused and it doesnt take me to the right group.
For instance, i log in as the admin of the group " Lesbians love tech" and i try to create an event and it takes me to Land Art group :(
Can you please help me to understand?
Thanks,
Anais

Attachments:
9 years 4 months ago
Licenses:

Hi, Anais.

I need to replicate that issue on your site, so please, edit your first post and add admin group credentials to Miscellaneous box.


- 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 4 months ago
Licenses:
JomSocial Expired Socialize Expired

Sorry i dont get your point, i already added Admin log in :)

9 years 4 months ago
Licenses:

Hi, Anais.

Is "admin of the group" the same user as User: Administratrice that credentials we have?


- 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 4 months ago
Licenses:
JomSocial Expired Socialize Expired

Yes it is

9 years 4 months ago
Licenses:

Hi, Anais.

When I enter to events trough group, there is no "Create event" button.
Did you removed it? I tried in "Lesbians love tech" group.


- 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 4 months ago
Licenses:
JomSocial Expired Socialize Expired

At the right bottom i send you an attachment so you can see

Attachments:
9 years 4 months ago
Licenses:

Hi, Anais.

No, this is create Group button. I'm asking about creating Events button (when in group):
prntscr.com/517bg2

This is how it looks on my site:
prntscr.com/517bpx

Note Import Event and Create Event buttons.

Do you have any customizations on this page or restrictions in create events feature?


- 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 4 months ago
Licenses:
JomSocial Expired Socialize Expired

We are not talking about the same button, please see it in yellow circle :)

Attachments:
9 years 4 months ago
Licenses:

Hi Anais,

only group admin can create event.
this group: http://[domain]/index.php/les-clubs/viewgroup/6-land-art admin is Super User
so only Super User can create events on this group. group admin is not site admin, but who created that group / group owner

that link (yellow circle) is from the template it self. seem that template not properly put that code link.
for create event link, by default that link will appear at options item
to see default template you can put ?template=0 and the end of URL
http://[domain]/index.php/les-clubs/viewgroup/6-land-art?template=0

please provide me FTP access detail I will fix that link for you. that link must appear only for group admin.

Regards,
Albert

9 years 4 months ago
Licenses:
JomSocial Expired Socialize Expired

Hello Albert,
I have edited my first post so you can help me to fix it.
Just for my understanding: when i will update Jomsocial in next version, will this bug reappear please?
Thank you for your help,
Anais

9 years 4 months ago
Licenses:

Hi Anais,

Here the fix:
1. at /templates/shape5_vertex/html/com_community/groups.viewgroup.php
2. at line 982, changing it from

<a onclick="" href="/index.php/les-sorties/create?groupid=6">| Créer une sortie</a>
to
<?php if ( ($eventPermission ==  1 && $isAdmin) || ($isMember == 2 && $isAdmin) || ( $eventPermission == 2 && $isMember == 1 )) { ?>
| <a href="<?php echo CRoute::_('index.php?option=com_community&view=events&task=create&groupid=' . $group->id);?>"><?php echo JText::_('COM_COMMUNITY_GROUPS_CREATE_EVENT'); ?></a>
<?php } ?>

the newest code is same like jomsocial default template:
/components/com_community/templates/default/ we pull all default template at there. the fix will not disappear at upgrade process, because the fix that I put, at template override.

documentation.jomsocial.com/wiki/Customizing_Template

Regards,
Albert

The following user(s) said Thank You: Anais
9 years 4 months ago
Licenses:
JomSocial Expired Socialize Expired

Thank you very much :))

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