Missing Events

Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
There is really two event related problems here:

1) In the NingNova2 skin the event order is reversed. Upcoming events shows ones from way back in 2008 first, and up coming ones are on the last page - http://indiegospel.net/concerts

2) In the Ningja skin the archive of events seems to be lost altogether. All I see is one event made recently and previous events are not indexed. There should be a sub-tab there showing past events. http://indiegospel.net/event


--

Ken Rich
indiegospel.net

updated by @ken-rich: 01/09/15 07:11:44AM
michael
@michael
11 years ago
7,772 posts
NingNova2 is a skin only you have. The issue will be the {jrCore_list order_by=""} clause needs to be changed to whatever the field is then the reverse of what it currently is.

numerical_asc orders A~Z
numerical_desc orders Z~A

So change it to the opposite of whatever it currently is and you should be good to go.

If you can past the code from /skins/NingNova2/concerts.tpl here I can point out which line it is.

#2) It looks like your using an older version of the events module. Make sure its up to date as there should be a search box in on the /event screen in the newest one.
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
My events module (and everything else) shows up to date. However, I think I might know what's going on. Can you confirm?

I am using NingNova as the active skin, Ningja in profiles, and Elastic in Admin. I can't use Ningja as admin skin, because it changes the CSS in Nova if I do.

So I am thinking, is that search box in Events strictly a Ninja thing, or was it added to Elastic as well?

Ken


--

Ken Rich
indiegospel.net
michael
@michael
11 years ago
7,772 posts
The search box was added to the event module.
/modules/jrEvent/templates/index.tpl

Which shows up at:
your-site.com/event

some skins have an events.tpl file which will show up at
your-site.com/events

That would be provided by the skin.
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Thanks Michael,

Event(s) just gives me a "not found".

When I look at the module templates, only this line for Google Maps is a deviation from the standard 1.05 version.

{ujGoogleMaps_map name="map" map=$item module="jrEvent" height="300"}

What template should I see the search code in?


--

Ken Rich
indiegospel.net
michael
@michael
11 years ago
7,772 posts
/modules/jrEvent/templates/index.tpl

--edit-
From the ACP thats:
ACP -> PROFILE EVENTS -> TEMPLATES -> index.tpl
updated by @michael: 12/07/14 09:02:26PM
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Hi Michael,

The code there is short so easy to check. Is anything missing?

{jrCore_include template="header.tpl"}
<div class="block">
    <div class="title">
        <h1>{jrCore_lang module="jrEvent" id="23" default="Events"}</h1>
    </div>
    <div class="block_content">
    {jrCore_list module="jrEvent" search1="event_date >= `$smarty.now`" order_by="event_date NUMERICAL_ASC" pagebreak="10" page=$_post.p pager=true}
    </div>
</div>
{jrCore_include template="footer.tpl"}



--

Ken Rich
indiegospel.net
douglas
@douglas
11 years ago
2,797 posts
That code will only show upcoming events. Past events will not show.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Thanks Douglas, that's exactly what I am experiencing. The search is missing too, but according to Michael search is supposed to be there in the latest version - 1.05 (which is what I have).

So something is not adding up here...


--

Ken Rich
indiegospel.net
douglas
@douglas
11 years ago
2,797 posts
You can add this:

 search1="event_date >= `$smarty.now`"

to the jrCore_list functions in your concerts.tpl file.

There are two that this will need to be added to.

1st function
{jrCore_list module="jrEvent" order_by=$order_by template="concerts_row.tpl" require_image="event_image" pagebreak="8" page=$_post.p}

change to
{jrCore_list module="jrEvent" order_by=$order_by search1="event_date >= `$smarty.now`" template="concerts_row.tpl" require_image="event_image" pagebreak="8" page=$_post.p}

2nd function:
{jrCore_list module="jrEvent" order_by=$order_by template="concerts_row.tpl" pagebreak="8"}

change to
{jrCore_list module="jrEvent" order_by=$order_by search1="event_date >= `$smarty.now`" template="concerts_row.tpl" pagebreak="8"}

As for the search form not showing here http://indiegospel.net/event

It doesn't look like that version of the Event module has been released to the public yet.

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 12/09/14 05:33:15AM
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Awesome - so I guess that's on the schedule for a 1.06 update of the events module, since 1.05 doesn't seem to include it as Michael thought.


--

Ken Rich
indiegospel.net
Strumelia
Strumelia
@strumelia
11 years ago
3,603 posts
Just a thought here...
I can understand why a music band's site would not need past events to show- the concert is over, everyone went home...on to the next gig to list as coming event.
However, in a social network kind of setting, I would find it rather odd and abrupt for an event to simply disappear off the face of the earth after midnight of the date it happens. Members would be like "huh?, who turned out the lights?" Even Ken characterizes it as the past events going 'missing'... as I would tend to see it as well.

Imagine an event like a hiking trip or a weekend music workshops camp- and a bunch of your members are attending. In the days or weeks leading up to the event, they'd be posting "Hey anyone coming from Albany wanna ride share?" "What should I pack for that hike?" "Is that a beginner level workshop?"

BUT- in at least the several days AFTER the event in that case, people would be wanting to discuss the event a bit and touch base, like "Did you get back home safe during that snowstorm", "What would you have changed about the workshop schedule?" or "On the way home, some of us new friends had a great meal at the pizza place on Rte 7 after the hike on sunday, and so-and-so brought their fiddle and..."

To me it makes sense to not automatically have events immediately disappear, and it'd be great to have a simple check box option for that rather than having to add code in multiple templates to achieve it- as though it was something unique or unusual to want to customize. Kind of like how there is a check box in the blogs module for "show blogs module" or not show it.
And of course if we have such an option for events, I assume it'd still remain a relatively simple to manually delete old past events. Just my take on it, thanks.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/09/14 08:37:19AM
douglas
@douglas
11 years ago
2,797 posts
Ken_Rich:
Awesome - so I guess that's on the schedule for a 1.06 update of the events module, since 1.05 doesn't seem to include it as Michael thought.

That is my guess since my dev site is using the latest event module and shows the search field and my test site is using the same version your using and does not show the search field.

Strumelia:
Just a thought here...
I can understand why a music band's site would not need past events to show- the concert is over, everyone went home...on to the next gig to list as coming event.
However, in a social network kind of setting, I would find it rather odd and abrupt for an event to simply disappear off the face of the earth after midnight of the date it happens....

The event doesn't disappear, It just doesn't show on the upcoming events lists. It will still be listed in the other lists.


Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Past events are still cool to show on a music site - kind of like "bragging rights" or like - hey you can promote with us - see...

The Nova skin is good at showing different views with subtabs. It might be something to consider in Ningja to compliment the search.

Something like: Upcoming events - default, Past Events, Events by location...


--

Ken Rich
indiegospel.net
Strumelia
Strumelia
@strumelia
11 years ago
3,603 posts
"The event doesn't disappear, It just doesn't show on the upcoming events lists. It will still be listed in the other lists."

When i click on the "all" link it still only shows coming events, and when I go to my site's main events area (mysite).com/event - doesn't show past events there either. Douglas, what 'other lists' do you mean, where I or my members could see past events? Sorry I am looking but not finding past events in any list of Events (Ningja skin) nor is there a search feature within Events module (which as I hear, is coming).


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/09/14 11:22:58AM
brian
@brian
11 years ago
10,148 posts
Douglas - I'm thinking for the NingJa skin that showing/not showing past events could be a skin config checkbox - would make this easy.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Cool...


--

Ken Rich
indiegospel.net
Strumelia
Strumelia
@strumelia
11 years ago
3,603 posts
double cool.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
11 years ago
2,797 posts
brian:
Douglas - I'm thinking for the NingJa skin that showing/not showing past events could be a skin config checkbox - would make this easy.

Thanks!

I'll make it happen. :)

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
11 years ago
2,797 posts
Strumelia:
"The event doesn't disappear, It just doesn't show on the upcoming events lists. It will still be listed in the other lists."

When i click on the "all" link it still only shows coming events, and when I go to my site's main events area (mysite).com/event - doesn't show past events there either. Douglas, what 'other lists' do you mean, where I or my members could see past events? Sorry I am looking but not finding past events in any list of Events (Ningja skin) nor is there a search feature within Events module (which as I hear, is coming).

I don't think the Ningja skin shows anything but upcoming events, which is obviously about to be changed. ;)

The skin Ken has modified is a clone of the Nova skin which has a list for upcoming, newest, and highest rated events as well as an event location list. The only list in that scenario that doesn't show past events is the upcoming list.

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
11 years ago
3,603 posts
"I don't think the Ningja skin shows anything but upcoming events, which is obviously about to be changed"

Great, thanks guys.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015