drsprite
Forum Replies Created
-
Forum: Plugins
In reply to: [NextGEN Download Gallery] Redirects?I’ll email it to you now.
Forum: Plugins
In reply to: [NextGEN Download Gallery] Redirects?Hi Ross,
Yes, I’m using Customer Area. The plugin link is here.
https://www.ads-software.com/plugins/customer-area/
Coincidentally, your plugin is routing them to the Page that has [customer-area] short code on it. Even if I disable plugin Customer Area, I am still redirected.
Thank you
Forum: Plugins
In reply to: [Facebook] Social Publisher does not work with scheduled postsThanks Niall. I’m afraid if it doesn’t work, we’ll have to wait 6+ months again for any kind of recognition. Is there another way, more effectively, to request such support?
Forum: Plugins
In reply to: [Facebook] Social Publisher does not work with scheduled postsAnyone? Bueller?
Forum: Plugins
In reply to: [Facebook] Social Publisher does not work with scheduled postsYou’re correct. Scheduled posts do not go onto Facebook through the social aspect of this plugin.
Something also the FB WordPress devs haven’t acknowledged.
Forum: Plugins
In reply to: [Facebook] Social Publisher does not work with scheduled postsdev team? anyone? bueller?
Forum: Plugins
In reply to: [Facebook] Social Publisher does not work with scheduled postsAny update on this, Facebook devs?
Forum: Hacks
In reply to: Use excerpt_save_pre to create auto excerpt from WYSIWYGI’ve figured this out. The “secret” is
&$_POST
when the post is saved/published. That builds an array which the content can be extracted, and then saved to the excerpt field usingexcerpt_save_pre
.I went a little further allowing control over the number of characters, or the number of words, using
$length
, and the output is controlled on which$output
section you uncomment.The code below tested on my vanilla site as working.
function auto_insert_excerpt(){ $post_data = &$_POST; $post_content = $post_data['content']; $length = 15; // This will return the first $length number of CHARACTERS //$output = (strlen($post_content) > 13) ? substr($post_content,0,$length).'...' : $post_content; // This will return the first $length number of WORDS $post_content_array = explode(' ',$post_content); if(count($post_content_array) > $length && $length > 0) $output = implode(' ',array_slice($post_content_array, 0, $length)).'...'; return $output; } add_filter('excerpt_save_pre', 'auto_insert_excerpt');
Forum: Plugins
In reply to: [Theme My Login] Custom template doesn't allow to edit custom passwordThank you for confirming. I had done this earlier, and your reply is great confirmation.
Forum: Plugins
In reply to: [Theme My Login] Redirect to profile page after loginYou’re correct. I must have had a typo when I made this support request because it wasn’t working. I went back and tried again and it worked.
To confirm, using
https://www.host.com/people/%user_login%
worked for me.Thanks for the reply.
Forum: Plugins
In reply to: [WordPress Users] Pretty URLsThis doesn’t fix the pretty URL though. I still have to go to https://www.com/users/?uid=1. I was looking for https://www.com/users/admin
Forum: Plugins
In reply to: [WordPress Users] Pretty URLsNot sure what happened to my topic. Its not here anymore. Thank you I’ll look into this plugin.
Forum: Fixing WordPress
In reply to: Insert Media – Attachment Display Settings: set a defaultHi,
The solution that alexbestoloci made would work, but it concerns me that with every WordPress upgrade you did, those options would be overwritten. Here’s what I did that worked great with WP 3.5.1 and would stay after an upgrade.
Place this in your theme’s functions.php file.
function mytheme_setup() { // Set default values for the upload media box update_option('image_default_align', 'center' ); update_option('image_default_link_type', 'media' ); update_option('image_default_size', 'large' ); } add_action('after_setup_theme', 'mytheme_setup');
If you want the default link action to be none, then change this line
update_option('image_default_link_type', 'none' );
Hope this helps and good luck
Forum: Alpha/Beta/RC
In reply to: image_default_link_typepiichi,
I was able to get those 3 update_option to work. It works great in WP 3.5.1. Thanks!
I did it like this
function mytheme_setup() { // Set default values for the upload media box update_option('image_default_align', 'center' ); update_option('image_default_link_type', 'none' ); update_option('image_default_size', 'large' ); } add_action('after_setup_theme', 'mytheme_setup');
Forum: Plugins
In reply to: [File Gallery] Full size image in IE8Ah yes, the email was sent at the end of November. I found it and yes, this is resolved. Thanks ??