Forum Replies Created
-
AuthorPosts
-
June 23, 2016 at 7:50 pm in reply to: Can I add a clear button to Date and Location (or at least refresh the results)? #1131317
fifteen15studios
ParticipantCliff,
Thanks for the advice! I’ll check it out. The clear button which came with the script was helpful, but it cleared all fields. I want specific clear buttons for each field. Unless I’m missing something and there are individual clear buttons for each one somewhere in the settings and I didn’t know it?
fifteen15studios
ParticipantOk, thanks! The code worked before, but that’s an enhancement. Apparently when I call a function, sometimes the output gets moved around the page. I’m not sure why. It must be some other script interfering. But I got it to work! The output wasn’t in the place I expected.
June 20, 2016 at 12:14 am in reply to: Can I display the number of events on the front end? #1129119fifteen15studios
ParticipantNico,
First, THANK YOU for taking the time to explain it in so much detail! I added the code to my functions.php and placed the call in my template. However, it doesn’t seem to be working. It should return a number, but it returns blank. Do you know why that could be? I’m logged in.
Thanks,
BrendanMay 13, 2016 at 11:31 am in reply to: Date function not working properly. Is this the Events Calendar? #1114400fifteen15studios
ParticipantI just sent some of the notifications I saw after turning on debug. They’re nothing that really stand out. A bunch of notices, really. I just sent a few. I didn’t see any errors.
I tried a different theme and the time was still off. I tried turning off my plugins and my time was still off. I checked to make sure my time was set in Geenral Settings, and it was, at UTC -4.
I have a theory. I think WordPress forces UTC on the date function in PHP, whereas a normal page would just use the server’s time. Since WordPress forces UTC, it requires us to set the time in Settings. I set mine, but it doesn’t seem to be working. If it’s not reported in the details I sent you, and it usually is, its probably because it’d not going through for some reason. Any idea why?
Thanks!
BrendanMay 13, 2016 at 11:27 am in reply to: Date function not working properly. Is this the Events Calendar? #1114398fifteen15studios
ParticipantThis reply is private.
fifteen15studios
ParticipantI had conflicting JavaScript in the theme. For some reason, this didn’t conflict until now, so maybe it was an update that caused it. I disabled the JavaScript in the theme and it works fine. Thanks!
(By disabled, I meant that I just renamed the folder with all the JS scripts so my site couldn’t find it.
Thanks!
BrendanMay 11, 2016 at 12:52 pm in reply to: Date function not working properly. Is this the Events Calendar? #1113401fifteen15studios
ParticipantThis reply is private.
May 11, 2016 at 12:52 pm in reply to: Date function not working properly. Is this the Events Calendar? #1113399fifteen15studios
ParticipantHmm… I’m not sure if the time is detailed in this, but I’ll post it. I think I could try a phpinfo, but that still doesn’t tell me why it’s happening.
fifteen15studios
ParticipantOk, thanks for the help. I ran a full-text search for all of those functions and I got zero results for each. Maybe I’m doing something wrong, but I tried other functions, and they showed up.
fifteen15studios
ParticipantThis reply is private.
April 29, 2016 at 12:40 pm in reply to: Can we add geolocation to find point of event on the map? #1108963fifteen15studios
ParticipantThis reply is private.
April 29, 2016 at 12:39 pm in reply to: Can we add geolocation to find point of event on the map? #1108962fifteen15studios
ParticipantHmm.. I’m not sure what you mean. I’ll add my code for the page, but the display has to do with this snippet:
<?php if ( ! empty( $post->distance ) ) { echo tribe_get_distance_with_unit( $post->distance ); } else { echo "<i>Distance Not Listed</i>"; } ?>April 28, 2016 at 6:22 am in reply to: Can we add geolocation to find point of event on the map? #1108157fifteen15studios
ParticipantThis reply is private.
April 28, 2016 at 6:13 am in reply to: Can we add geolocation to find point of event on the map? #1108155fifteen15studios
ParticipantCliff,
Thanks for replying! I guess I didn’t think that through.
It looks like the issues is more with reporting distance than it is with geolocation. There are lat and long data in the listings so that’s all set. My problem is that my site only seems to report distance on the map view, and only under certain conditions.
I’m using the function to get the distance, and it seems to be working IF I have a location selected (which makes sense) and IF I am in map view (at at certain times, only IF I’m working in Firefox). If I’m in any other view, the distance seems to not work.
I’m going to add some information to this in a private reply so you can see what I’m talking about.
Thanks!
BrendanApril 15, 2016 at 1:12 pm in reply to: Putting Add Events (and other Admin features) in Front End #1103229fifteen15studios
ParticipantProfile Builder and WP Front End worked well for this. 🙂
-
AuthorPosts
