Forum Replies Created
-
AuthorPosts
-
November 17, 2017 at 10:01 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1385816
scamrcalendar
ParticipantAndras,
Thank you so much for your help. I was using a Page Builder to create some of the pages. I know the original page had the widget there. However, the Page Builder was updated and it appears to have expanded the code out. As soon as I removed the Page Builder and put back the mini widget – all is happy again.
This was a good lesson for me to really think about all the areas a plug-in impacts, before upgrading it.
Again – many thanks!
Cheers
KathyNovember 16, 2017 at 7:38 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1384600scamrcalendar
ParticipantThis reply is private.
November 15, 2017 at 5:18 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1383409scamrcalendar
ParticipantThis reply is private.
November 13, 2017 at 11:52 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1381837scamrcalendar
ParticipantThis reply is private.
-
This reply was modified 8 years, 5 months ago by
scamrcalendar.
November 12, 2017 at 1:10 pm in reply to: mini-calendar-widget.php depreciated. How to use updated widget? #1381083scamrcalendar
ParticipantThis reply is private.
November 8, 2017 at 12:59 am in reply to: mini-calendar-widget.php depreciated. How to use updated widget? #1377707scamrcalendar
ParticipantThis reply is private.
November 8, 2017 at 12:54 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1377706scamrcalendar
ParticipantThis reply is private.
November 6, 2017 at 9:16 am in reply to: Events calendar Next/Previous or specific date don't work. Circle just spins. #1376255scamrcalendar
ParticipantI have updated my theme (Minimaze Pro) and the above errors are now gone.
Unfortunately, the problem still persists. The mini-calendar widget still doesn’t work. Clicking on the next >>, previous << or any date just takes one back to the main website page (where the widget resides). It should move to next/prev month, or pull up the specific day view of the calendar.
For some reason, the URL that one should be taken to when clicking on the PREVIOUS MONTH <<, the NEXT MONTH >>, or a specific date, say the 8th, all return a URL of
suncityanthemhikingclub.com/#. The # should have the URL info for each specific page.scamrcalendar
Participant1. Using the Advanced Custom Fields Plug-In, I created a custom field called is-there-a-hike. This has a field type of Select, and the options are 1 : YES and 0 : NO. The default value is set to 1 (yes), so I only have to change it in the no hike scenarios. Then in the Location section for this custom field (still in the ACF custom field), the “Show this field group if” is set as “Post Type is equal to tribe_events”. This way this custom field ONLY shows up if I am creating a calendar event – but it won’t show for any regular page or post work.
I set the Order No (under options right below the Location box) to 0 – so that it will be the first custom field to show for an event. That way, if there is no hike, I can select no on that field and be done quickly.
2. In my custom single-event.php file. This is stored in my child theme in a folder called tribe-events. DO NOT modify the original Tribe-events file.
Create a IF/THEN loop so that IF the is_there_a_hike custom field is set to 1 (YES), the information shows, and IF the variable is set to 0 (NO) then the info is hidden.
<!-- SHOW CONTENT ONLY IF THERE IS A HIKE --> <?php $ishike=get_field("is_there_a_hike")?> <!-- get value from custom field --> <?php if ($ishike == 1) {?> <!-- stuff you want to show when there is a hike (variable is set to 1 (yes)) goes here --> <?php } ; ?> <!-- END IF, SHOW SECTION ONLY IF HIKE THAT DAY -->I’m sure there are more glamorous ways to do this, but it works pretty slick.
February 4, 2016 at 10:38 am in reply to: Events Calendar not displaying unless user is logged in #1067804scamrcalendar
ParticipantHi Cliff,
It turned out that the Members plug-in I was using to set user Roles, had the “Enable Content Permissions” feature turned on. When I disabled this, then the calendar displays just fine.
I will follow up with the Members plug-in folks to understand this better.
Apologies for pinging you folks on this one.
– Kathy
February 2, 2016 at 1:29 pm in reply to: Event summary & Google map showing on blocked (wp-members) events #1066593scamrcalendar
ParticipantHi Geoff,
It turns out that by using the following
if ( is_user_logged_in() ) {
// This is the main part of the single-event template
} else {
// This could be html or whatever to show the user something if they are not logged in
}
The entire single event page does not show until the user is logged in. I just left the else {} blank, and allow the system to serve up my login requirement message and screen, but one could override it with something specific.
Thanks to Chad at wp_members support for coming up with this. I had tried many things, but missed the obvious. This was a nice, simple way to implement what I needed.
Thanks to you, Geoff, for all your help in digging up info on this too. If you find pointers to documentation/functions/etc – that’d be awesome. If not, ’tis ok.
You can consider this one closed. 🙂 Have a great weekend.
– Kathy
February 1, 2016 at 10:44 am in reply to: Event summary & Google map showing on blocked (wp-members) events #1065891scamrcalendar
ParticipantHi.
Thanks for the pointers. I have created a single-event.php per the Themer’s Guide. I also had found the lines of code I thought were of issue, and you confirmed that – so thanks for that!
However, in trying to move the Event Meta functions around, all I succeeded in doing was moving the actual event summary / map window around. But it always still displayed.
I’m guessing that there is something in ‘tribe_events_single_event_description’ that I might need to modify – but I have no clue where to find the function itself (or documentation on it). Where might I find this?
Thanks
KathyJanuary 29, 2016 at 7:31 am in reply to: Event summary & Google map showing on blocked (wp-members) events #1064491scamrcalendar
ParticipantCheck out HikeEvent to see the event summary info that is NOT hidden.
January 29, 2016 at 7:06 am in reply to: Event summary & Google map showing on blocked (wp-members) events #1064469scamrcalendar
ParticipantHi Geoff,
Thanks for the info on the Members plug-in. I was using the WP-Members already. I installed Members and gave it a whirl. Unfortunately I seem to run into the same issue whether I use WP-Members to block/allow content, use Members to set permissions for viewing content, or both.
In WP, the Event Restriction (via WP-Members) is set to Blocked.
Content permissions are set so Admins, Author, Contributor, Editor, Event Coordinator & Subscriber can view.A Contributor’s permissions are set to allow reading of events, venues, organizers.
Both do a good job of restricting content to everything BUT the Event summary at the bottom of the event screen. This summary has the Details (date, time, cost, event category), the Organizer (name, phone, email), the Venue (city, state, GPS coordinates) and the Google Map.
For folks that are not logged in/do not have permissions to view an event, I need to hide the event summary info as well.
Both plug-ins seem straight forward, but I am guessing that I’m missing something?
January 23, 2016 at 4:50 pm in reply to: Removing extraneous "day" "number" from event list #1061123scamrcalendar
ParticipantHey Hunter,
Thanks for the feedback. I will give it a go.
Thanks too for the pointers on how to inspect elements – that has made a HUGE difference – I can now know where to look vs just hunting and guessing through the files.
You’ve been a great help and I appreciate the pointers even though I was asking a “custom” request!
Cheers – and again, thanks!
– Kathy
-
This reply was modified 8 years, 5 months ago by
-
AuthorPosts
