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.

Request Invitation in the past event

1 year 2 weeks ago
  • Garry's Avatar
    Topic Author
  • Garry
  • Offline
  • Fresh Boarder
  • Posts: 55
  • Thank you received: 1
Licenses:
JomSocial Active

Hi friends!
There is a bug in the work of events.
In the past event, the active button "Request Invitation" continues. If the event has, this button should not be. This applies only to closed events.

1 year 2 weeks ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Garry,
Do you mean the button is not working on your site?
Could u share the steps, in your last post its not clear the issue you are facing?
If possible share site details for staff/Mods and let me now steps to replicate it.
So i can check this issue directly on your site.


Regards

1 year 2 weeks ago
  • Garry's Avatar
    Topic Author
  • Garry
  • Offline
  • Fresh Boarder
  • Posts: 55
  • Thank you received: 1
Licenses:
JomSocial Active

Hi Pankaj!
No, this is another matter.
Here's the scenario:
1. There is an event that will take place after a while. This event is private and it is need to request an invitation.
2. I want to participate in this event and click on the "Request Invitation" button.

BUT. If the event has already passed, then requests for it should no longer appear.
I remind that this applies only to private events.

Attachments:
1 year 2 weeks ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
I raised this issue to the development team and it will be fixed in the next update of the Jomsocial.
To fix it open components/com_community/templates/jomsocial/layouts/events/single.php
Find

if (
     ($event->permission == COMMUNITY_PRIVATE_EVENT) &&
     (!$isEventGuest) &&
     (!$waitingApproval) &&

replace it with
if (
 !$isPastEvent && 
     ($event->permission == COMMUNITY_PRIVATE_EVENT) &&
     (!$isEventGuest) &&
     (!$waitingApproval) &&


Regards

The following user(s) said Thank You: Garry
1 year 2 weeks ago
  • Garry's Avatar
    Topic Author
  • Garry
  • Offline
  • Fresh Boarder
  • Posts: 55
  • Thank you received: 1
Licenses:
JomSocial Active

Thanks buddy!
In general, it would be very cool to create a separate css-style for the past events. For example, here's what I would really like to do:
- the list of past events can be done in a more compact mode
- the color of the date of the past event can be made different
- add text results for the past event and much more.

Just one style, and how many possibilities.

1 year 2 weeks ago
  • Garry's Avatar
    Topic Author
  • Garry
  • Offline
  • Fresh Boarder
  • Posts: 55
  • Thank you received: 1
Licenses:
JomSocial Active

Hmm, but the solution you proposed does not work.

1 year 2 weeks ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
if the solution for past event is not working, kindly edit your first post and submit site details with FTP details for Mods/staff.
I will check and apply the fix .

Regards

1 year 2 weeks ago
  • Garry's Avatar
    Topic Author
  • Garry
  • Offline
  • Fresh Boarder
  • Posts: 55
  • Thank you received: 1
Licenses:
JomSocial Active

Hi!
I already started to prepare access for you, but it was not necessary. ))
It turned out that your decision is correct. But it only acts on the past event, which is open. But the button "Request Invitation" continues to be available in the list of past events.
Therefore:
if (
!$isPastEvent &&
($event->permission == COMMUNITY_PRIVATE_EVENT) &&
(!$isEventGuest) &&
(!$waitingApproval) &&
It is necessary to put also in file:
components/com_community/templates/jomsocial/layouts/events/list.php

As usual, thanks for the help!

1 year 2 weeks ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
You are welcome.
i will test it for the list and if issue noticed we will add this fix for list view as well.

thanks for the update.

Regards

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