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.

JS Events plugin displays events out of order?!

9 years 5 months ago
Licenses:

Hi,

I made new test again:
1. delete all events
2. create
new event (test) with Dec 1 date
new event (test2) with Jan 7 date
new event (test3) with Dec 25 date
3. here the result



please give me FTP access detail. you can send it to my email This email address is being protected from spambots. You need JavaScript enabled to view it.

so I can tackle this issue ASAP

Regards

Attachments:
9 years 5 months ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

I updated the post's ftp info with the test server's ftp info. Thanks,

Adam

9 years 5 months ago
Licenses:

Hi,

really sorry. the events at your site seem okay now. I saw the event module already in order by start date:



can you replicate the issue again? I dont dare to create any new event.

Regards

Attachments:
9 years 5 months ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

Albertus,

Why do you keep focusing on the module when I keep talking about the plugin? When a user creates events and they display on the user's profile, they are listed in the same order as they are created. I already duplicated this very issue on Michal's private test server and he acknowledged it was a bug. Now that he is back from vacation, why am I still dealing with you on this? I got nowhere with this issue since you took over this issue. Please transfer this back to him as he already knows it's an issue.

Adam

9 years 5 months ago
Licenses:

Hi,

oh.... my.... what a silly me.... :D
here the fix:
edit /plugins/community/myevents/myevents.php at line 50, change the code from

$events     = $model->getEvents( null , $user->id , $this->params->get( 'sorting' , 'latest' ) , null , true , false , null , null ,$handler->getContentTypes() , $handler->getContentId() , $this->userparams->get('count', 5 ), false, false, true );
to
$events     = $model->getEvents( null , $user->id , $this->params->get( 'sorting' , 'startdate' ) , null , true , false , null , null ,$handler->getContentTypes() , $handler->getContentId() , $this->userparams->get('count', 5 ), false, false, true );

this fix will be included at 4.1.4

Regards

9 years 5 months ago
  • Adam's Avatar
    Topic Author
  • Adam
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you Albertus, that worked :)

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