ekko848
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Getting WP Super Cache to work on localhost with HTTPSGot it working.
Needed to add my OpenSSL certificate to /wp-includes/certificates/ca-bundle.crt
Works on HTTPs now 🙂
Thank you @robswaimea.
Yes, I remember you from that thread 🙂
You were correct, in that the javascript was being cached and wasn’t showing me an updated version. That’s why I was able to rename the
includesfolder and the map still worked.Makes sense.
I tried in a different browser, and was easily able to comment out the code which is creating the
new marker, and now it’s working as I want it too.Thanks for the help, again.
Thanks for the reply Robswaimea.
Yeah after I responded yesterday I did some more digging and got it working using basically the same method.
It’s really weird that we are needing to modify the core files in order to get custom markers on ‘locations_map’. This is most definitely something that should be forwarded to the plug-in author for a real comment (instead of just Caimin or Angelo which just seem to offer base-line support and that’s it)!
Anyways, what I was looking to do which might be kind of niche was have it so that the first location displayed a different custom marker, and anything after the first one a different custom marker.
I basically did the same thing except
var templateDir = "<?php echo get_template_directory_uri(); ?>"; var myIcon = new google.maps.MarkerImage(templateDir + "/images/star-3.png", null, null, null, new google.maps.Size(22,25));set a variable and path for my icon
for (var i = 0; i < marker.length; i++) { marker[0].setOptions({ "icon": myIcon }); marker[i].setOptions({ "icon": 'http://maps.google.com/mapfiles/ms/icons/green-dot.png', }); }and then targeted the first iteration
marker[0], set to the definedmyIconvariable.
Then usedmarker[i]to target all the other icons.But, I’m still rather novice at Javascript, so I’m not really convinced I’m doing this the best way (although, in initial testing, it seemed to work as I want it too) for having a different first iteration in this for loop we are using. So still plan on looking back into this later down the road to optimize it, but you get the general idea.
Additionally I just put this right in the middle of my single page template.. so I don’t think it matters where you place it (header, footer, on page, anywhere).
- This reply was modified 9 years, 8 months ago by ekko848.
Anyway you can share your code snippet, Robswaimea, that got this to work? I am attempting something similar and it’d be a big help.
Turns out it wasn’t an issue with getting the
$post_id, I did some debugging and it was returning the correct numbers in the array.It is just some limitation within the plug-in itself.
Anyways, for anyone wondering, my work-around was to create Categories for each of my users, and then filter using the shortcode
[fullcalendar type=”event” category=”‘.$category_id.'”]
Next best thing!
Okay.. I’ll let you know if I find a work-around.
I’m of course biased, but it seems like this should be an essential feature.
The functionality is obviously there (if I manually input my
$user_ID, or of course usingget_current_user_id();), all that is needed is the$postvariable, or perhaps a later hook in the function so that it fires after to get this data.Anyways, thanks for the reply.
- This reply was modified 9 years, 8 months ago by ekko848.
This turned out to be an issue not related to Events Manager, but a file permission error on edit.php in wp-admin. I fixed permission and now it’s working again 🙂
Thanks for the reply.
I’ve done as you said and can confirm that this is not being caused by my theme or another plug-in (default theme, all plug-ins disabled except ‘Events Manager’).
This is further evidenced by the fact that I have an exact replica of the site on my localhost and Events Manager works perfect on there – no issues.
It seems that this error is occurring due to some configuration on our server. Do you have any idea as to what this could be or any other possible way to troubleshoot?
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Custom Theme not workingI had this issue as well.
It works.. but it takes some configuration/testing.
As far as I know the Author has not provided any explanation for how to do this, so that probably adds to the confusion.
But, basically, don’t point to the custom theme folder… instead point to the ‘jquery-ui.css’ file. That’s all it needs.
So download your custom theme, put it on your webserver, and put in the link like
http://www.mywebsite.com/css/jquery-ui.cssIf that is not working make sure to check your jquery versions… (mine wouldn’t work unless I was using 1.11.4.
Also download everything except effects from Themeroller (not sure if you need everything, but I was having issues with this as well)
Forum: Plugins
In reply to: [WP-PostRatings] Shortcode Appears Reverse On Homepage?You were correct, thank you.
Forum: Fixing WordPress
In reply to: Live->Local, Did Not Copy All SQL Databases. How to 'refresh'?Nevermind, I was directing to the wrong database. Just fixed it in my wp-config and it is proper now.