syrupcore
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] 404 on single events with pretty permalinksIs it possible to turn off permalinks for events only? That’d be fine with me for now!
Forum: Plugins
In reply to: [The Events Calendar] 404 on single events with pretty permalinksIf I disable all plugins, it works. Turning them all on one by one until it breaks again but its different plugins each time and I have yet to find a pattern within any of them that causes it to break.
On my local instance, I did some mojo shuffle of enabling/disabling plugins, saving calendar settings and saving permalinks settings that has it working just fine – with all plugins on.
I don’t expect you guys to fix this for me but a clue as to what might be causing it so that I can investigate on my own would be very much appreciated.
Forum: Plugins
In reply to: [The Events Calendar] Changing the word 'Venue'Yup. From: https://tri.be/relabeling-the-venueorganizer-sections-in-single-event-view/
function filter_translations($translation, $text, $domain) { if ($domain == 'tribe-events-calendar') { switch ($text) { case 'Venue': $translation = 'Place'; break; } switch ($text) { case 'Organizer': $translation = 'Host'; break; } } return $translation; } add_filter('gettext', 'filter_translations', 10, 3);
Forum: Plugins
In reply to: [The Events Calendar] How to change font size for days of week#tribe-events-content .tribe-events-calendar th { font-size: 92%; letter-spacing: 0; }
seemed to work in Firefox.
Forum: Plugins
In reply to: [The Events Calendar] Need an advice before I go any futherThat’s the best solution for many reasons. Do you have a reason to *not* update WordPress?
Forum: Plugins
In reply to: [The Events Calendar] 404 on single events with pretty permalinksUsing the Debug This plugin, I was able to snoop the
WP_query
. Again, I don’t get why it’s looking for an attachment![query] => Array ( [attachment] => 2013-women-achievement-awards [debug-this] => wp_query ) [tribe_is_event] => [tribe_is_multi_posttype] => [tribe_is_event_category] => [tribe_is_event_venue] => [tribe_is_event_organizer] => [tribe_is_event_query] => [tribe_is_past] => [request] => SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = '2013-women-achievement-awards' AND wp_posts.post_type = 'attachment' ORDER BY wp_posts.menu_order, wp_posts.post_date DESC [posts] => Array ( )
??
Forum: Fixing WordPress
In reply to: How can I update "post_modified" with a value from a custom field?Sorted it out. Answer here in case someone comes looking for it via the googles:
UPDATE wp_posts, wp_postmeta SET post_date = STR_TO_DATE(wp_postmeta.meta_value, '%Y%c%d'), post_modified = STR_TO_DATE(wp_postmeta.meta_value, '%Y%c%d') WHERE wp_postmeta.post_id = wp_posts.id AND wp_posts.post_type = 'press_release' AND wp_postmeta.meta_key = 'pr_date' #the name of my custom field
just a note that I ran into the same problem/question. Perhaps whichever detection method Jetpack is using to show/hide the buttons could be used to FYI the user? Or in the help screen: “If you are not seeing activate buttons…”
Forum: Plugins
In reply to: [Manual Image Crop] Cropping and Force Regenerate Thumbnails@tomasz Thank you!
Forum: Plugins
In reply to: [New Nine Adaptive Images] How do I know if it's working?This helps to ensure the cookie is being set when you test it from something like a phone (or phone emulator).
<script> function read_cookie(k,r){return(r=RegExp('(^|; )'+encodeURIComponent(k)+'=([^;]*)').exec(document.cookie))?r[2]:null;} $(document).ready(function(){ var resolution = read_cookie('resolution'); alert(resolution); }); </script>
Forum: Plugins
In reply to: [New Nine Adaptive Images] How do I know if it's working?Got it working. Check this thread: https://www.ads-software.com/support/topic/doesnt-work-automatically-if-you-install-wp-in-a-subfolder-fix-included?replies=1
Also, this post on github helped me sort things with my htaccess out: https://github.com/MattWilcox/Adaptive-Images/issues/22#issuecomment-19578982 (this should be in the FAQ on the plugin page. good stuff!)
Forum: Plugins
In reply to: [New Nine Adaptive Images] How do I know if it's working?Same here, can’t find the cache folder anywhere. Tried hacking the plugin and setting it manually but nothing.
Forum: Plugins
In reply to: [New Nine Adaptive Images] W3 Total Cache CDN ConflictI don’t think this plugin can work with a CDN. The plugin uses a server side library to serve up a correctly sized image on the fly – it can’t do that if it’s coming from a CDN.
From: https://adaptive-images.com/details.htm#limitations (the library behind the plugin)
Adaptive Images relies on the server being able to intercept requests for images, do some logic, and then send one of a given number of responses. Content Delivery Networks are generally dumb-caches, and they won’t allow that to happen. Adaptive Images will not work if you’re using a CDN to deliver your website.
Forum: Fixing WordPress
In reply to: Group EditingThank a lot @wpyogi for the idea and for cleaning up my other post (which, btw, became the #1 google hit for “wordpress group editing” while it sat there)!
Anyway, yes I have tried Press Permit as well as Groups and BU Section Editing. While all very comprehensive they all seem to lack the ability to scope permissions based on group/post ownership (or I didn’t see/understand it).
Any other ideas?
Were my WordPress Fu stronger I might try to create it myself along with an existing simple groups plugin. Get current user’s group, build a hash of other users in that group, in the admin ‘see all posts’: foreach post {if the author is in the hash, show it}. Disable [edit] links on the client side (or do the same check) and I think I’d have a not-at-all-secure-but-secure-enough-for-this-purpose solution. Alas, my WP Fu is weak and my time/budget small!
Forum: Fixing WordPress
In reply to: Send comment notifications to a specific email address?mercime, that looks like the ticket. thanks!