![]() |
Display Grouped Events more sensibly when grouped by event
Out of the box vBulletin displays events that are Grouped by Event by their eventid. Seems kind of dumb as they should be grouped by the starting date or some more logical criteria. This simple change does just that. BTW - I did a search and didn't see this posted so if I missed it mea culpa.
NOTE: This change impacts only the FORUMHOME display. If you are running the Upcoming Events modification for vBa CMPS you can make these same change to the minicalendar.php module. In index.php find Code:
// ### TODAY'S EVENTS ################################################# Code:
// ### TODAY'S EVENTS ################################################# Code:
ksort($events, SORT_NUMERIC); Code:
if ($vboptions['showeventtype']) |
good hack.. !
|
Thanks! =)
|
Did this, but doesn't appear to be working... I'm using VBadvanced.com...
Any one have this issue? |
Quote:
What makes you think it's not working? |
stupid as it may sound... what exactly is this doing?
|
The default behavior when displaying events "Grouped by Event" is to display them based on their eventid - which bears no relation to when the event occurs. Thus events that happen way in the future may be displayed first if they were entered into the calendar some time ago. An event that occurs "tomorrow" may appear last simply becasue it was entered last - even though it should, more sensibly, appear first in the list.
This causes the events to be display based on their start date. |
I just double checked my modifications, and ti doesn't seem to work...
It is still showing my the order I entered them, not by the actual date... Here's my attachment... Am I missing something stupid? |
Ah... You had me chasing a wild goose on this one. To have an impact on the vBa CMPS Upcoming Events stuff you need to edit the minicalendar.php module! It's the same code changes so it's pretty easy. The change I posted here impacts the FORUMHOME page only.
Whew! |
That did it...
Thanks for helping me out... You should add a quick note in your description above for those users using VBAdvanced... Thanks again - INterFX |
All times are GMT. The time now is 07:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|