stevesearer
Forum Replies Created
-
Forum: Plugins
In reply to: [WPS Hide Login] Filtering ‘whl_logged_in_redirect’In our case, the idea is that we allow registered users to invite other registered users to collaborate on a shared document.
In order to access their invites and the shared document, the user needs to be logged in.
When we send an email notifying the user that they have been invited, we are hoping to use redirect_to= in order to:
A) allow the user to log in and be redirected to their list of invites
Or
B) redirect the user to their list of invites if they are already logged in
- This reply was modified 1 year, 7 months ago by stevesearer.
@oscarmiguelbandin Do you happen to schedule your posts to publish at a future date (we do this)? Perhaps there is an issue when WordPress infrequently misses publishing scheduled posts?
- This reply was modified 6 years, 10 months ago by stevesearer.
We have also been having the same thing happen as described by @oscarmiguelbandin
We use the plugin Custom Post Type Permalinks to manage the url structure for custom posts. Not sure if that could be causing an issue, but thought I’d mention it.
Happy to do some testing if you have suggestions @joedolson
Ah you are right! Thanks for taking the extra time to explain to me ??
Ah I understand, the use I was hoping for was getting rid of the original filename (DSC10005.jpg) and replacing with the post title (grand-canyon-hiking-trip.jpg as opposed to having grand-canyon-hiking-trip-dsc10005.jpg).
Is that not possible?
Perhaps ignoring renaming using the {posttitle} rule and keep original filename when there is no post parent might be an enhancement?
Anyway, thanks for the great plugin it still works 95% for us ??
I am only using the {posttitle} rule. Is it necessary to use the {filename} rule as well?
Thanks!
Hi Pablo, great plugin —
I wanted to check in as well regarding the filename being removed (chair.jpg -> .jpg) when uploaded directly to the media library as opposed to being uploaded to a post. Should this be happening?
Thank you!
- This reply was modified 6 years, 11 months ago by stevesearer. Reason: add mention to plugin author
- This reply was modified 6 years, 11 months ago by stevesearer.
Forum: Plugins
In reply to: [Fly Dynamic Image Resizer] Change the Fly Images DirectoryThis plugin looks great, but I’m wondering if there is any way to use the function you’ve provided here to have the images created by the plugin be stored in the same date-based upload folder as the original upload and WordPress generated image sizes?
Thank you,
Forum: Plugins
In reply to: [W3 Total Cache] Format of "additional pages" in page cache purge policyAh nice, just adjusted your code for a quick w3tc demo which I was able to get working on edit_post. For some reason get_home_path() didn’t work for me and I had to use ABSPATH.
add_action( 'edit_post', 'example_publish_post' ); function example_publish_post(){ $homepath = ABSPATH; $path = $homepath . 'wp-content/cache/page_enhanced/localhost/'; $filestopurge = array( $path . 'contact/_index.html', $path . 'contact/_index.html_gzip' ); foreach($filestopurge as $purgefile) { if (file_exists($purgefile)) { @unlink($purgefile); } } }
Forum: Plugins
In reply to: [W3 Total Cache] Format of "additional pages" in page cache purge policyTrying to get this functionality working as well. From my investigation, you should just be able to add the pages in the following format:
/page-slug/
/page-slug/sub-page/Has anyone been able to get this functionality working? Any thoughts @amiga500 ?
- This reply was modified 8 years, 6 months ago by stevesearer.
Forum: Plugins
In reply to: [Media Tags] What code to use to display the tags in the front?The basic idea is to use get_the_term_list() with your attachment ID and the ‘media-tags’ taxonomy.
<?php $media_items = get_attachments_by_media_tags('media_tags=vacation'); if ($media_items) { foreach ($media_items as $media_item) { $itemtags = get_the_term_list($media_item->ID, 'media-tags'); echo $itemtags; } } ?>
Forum: Plugins
In reply to: [Media Tags] Display 'large' version of image on pageHey Dan,
I think you might have luck using the following, but replacing WIDTH and HEIGHT with the pixel dimensions you’re looking to use:
$largeSize = wp_get_attachment_url($mymedia->ID, array(WIDTH,HEIGHT));
I was looking into doing something similar and added the get_categories attribute ‘parent’ to the plugin and it seems to have worked.
public function shortcode( $atts ){ /* Extract shortcode attributes, set defaults */ extract( shortcode_atts( array( 'taxonomy' => 'category', 'title' => 'Categories', 'title_container' => 'h3', 'columns' => '3', 'orderby' => 'name', 'order' => 'ASC', 'show_count' => '0', 'exclude' => '', 'parent' => '', ), $atts ) ); /* Build an array of arguments for the get_terms parameters */ $args = array( 'parent' => $parent, 'orderby' => $orderby, 'order' => $order, 'show_count' => $show_count, 'exclude' => $exclude );
Once added, I was able to use [mctl taxonomy=’category’ parent=’3′] to display only children of category 3.
I am having the same issue that you both are describing in addition to others.
When I wish to access edit.php, I am greeted with the message “no posts found”, even though the same page displays that there are 500+ posts.
Lastly, the categories page is empty, though I have hundreds of categories. Interestingly enough, the pagination still exists, showing the correct number of pages for the categories I have, only no categories are listed.
Forum: Fixing WordPress
In reply to: Blog infected with malwareHey guys, so I think I may have gotten rid of whatever the problem was. We’ll see in a day or so if it stays non-Malwared (word?).
Here are the things I did:
-Uninstalled unused plugins
-changed wordpress passwords
-updated wordpress
-reuploaded and overwrote all wordpress files
-changed ftp password
-changed ftp to secure protocol for when I connect
-changed Mysql passwords
-manually deleted malicious code on site using the following tool:https://jsunpack.jeek.org/dec/go?
I would enter my domain name into the box and click submit URL’s. It might take some time, but eventually it would spit out a bunch of data. I would just scroll through each entry and look for where the code had been placed. I’d say that doing that after you change all of your passwords as my research made it seem as it compromised passwords was the issue.
-Steve