lildragn
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Super Cache causing "White Screen of Death"I thought it was just me, but it pretty much nuked my site ??
Awesome, will look into the upgrade soon. Thanks!
Forum: Plugins
In reply to: [Top Authors] Full page instead of widget?Just to be clear I meant a Custom page template
Forum: Plugins
In reply to: [Top Authors] Full page instead of widget?Hi, so just in case someone wishes not to use another plugin to handle this how can this be accomplished? What code can I use to call this widget or its functions to be placed anywhere in a custom page.
Thanks!
Great plugin btw
Forum: Fixing WordPress
In reply to: Restrict author to their own media (Featured Image)Just in case anyone ever wanted a solution to this I’ve “hacked” together some existing code and it seems to work albeit ham-fisted ??
//restrict authors to only being able to view media that they've uploaded function ik_eyes_only( $wp_query ) { //are we looking at the Media Library or the Posts list? if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/upload.php' ) !== false || strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) { //user level 5 converts to Editor if ( !current_user_can( 'level_5' ) ) { //restrict the query to current user global $current_user; $wp_query->set( 'author', $current_user->id ); } } } //filter media library & posts list for authors add_filter('parse_query', 'ik_eyes_only' ); add_action('pre_get_posts','ml_restrict_media_library'); function ml_restrict_media_library( $wp_query_obj ) { global $current_user, $pagenow; if( !is_a( $current_user, 'WP_User') ) return; if( 'admin-ajax.php' != $pagenow || $_REQUEST['action'] != 'query-attachments' ) return; if( !current_user_can('manage_media_library') ) $wp_query_obj->set('author', $current_user->ID ); return; }
Cheers
Forum: Plugins
In reply to: [WP-PostRatings] Thumbnails on widgetHmm forgot to mention I wasn’t using the widget, but this code
<?php if (function_exists('get_highest_rated')): ?> <ul> <?php get_highest_rated(); ?> </ul> <?php endif; ?>
I’ll continue searching. Surprise it hasn’t been addressed yet.
Thanks at any rate for responding!
Forum: Plugins
In reply to: [WP-PostRatings] Thumbnails on widgetAnyone? Bueller?
Forum: Fixing WordPress
In reply to: Restrict author to their own media (Featured Image)Hi again, sorry for the bump, but somewhere here must be privy to this issue? There must be a way.
Thanks
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] Question regarding a featureExcellent!
~t
Forum: Plugins
In reply to: [WP-PostRatings] Thumbnails on widgetHi, I’m looking for a way to do this as well. I’m displaying highest rated and would like to add a small 150×150 thumbnail next to the listing.
Great plugin btw.
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] Question regarding a featureHiya, yup it is, I’ll take a look into that. As for favorites, I remember trying a couple and they didn’t work as expected. Should try again with this wordpress release.
Thx!
~tForum: Plugins
In reply to: Chrome bug with flexslider pluginI’m currently having the same issue with my site https://videogame-art.com and there’s also a host of other sites that are encountering this issue with Chrome PC. iOS seems to work fine and I haven’t tested the MacOs version of Chrome yet.
Currently using Chrome 25.0.1364.152 m
Any ideas?
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] WP-Symposium Blogpost-unable to use it*smacks head* forgot the concatenation haha. *learning… ??
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] WP-Symposium Blogpost-unable to use itAwesome, very flexible indeed. I added them 2 up and like this a lot better. Kept getting a parse error with the clickable code, so I left that out for now. Tried using
'<a href="'.get_permalink($post_ID).'">'get_the_post_thumbnail($post_ID, 'thumbnail')'</a>';
Amongst other variants ??
Forum: Plugins
In reply to: [Plugin Name: WP Symposium Blog Post] WP-Symposium Blogpost-unable to use itAlphaGolf you’re a scholar and a gentleman. Recheck the link now, works like a charm! This really elevates my site to where I wanted it to be. Thanks for all your help. Maybe add this example to future docs ??
Cheers!