steff3107
Forum Replies Created
-
Hey!
I switched to a WP default theme and deactivated every plugin but NextGen Gallery. But unfortunately the problem still exists.I uploaded pdf with screenshot: PDF with screenshots
Forum: Plugins
In reply to: [Plugin: WP-UserOnline] WP useronline 2.7.2I actually updated WP Users Online from 2.6x to 2.72. As descriped by “infected”, the new version doesn’t count any users.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Gallery files on subdomainWell, it’s possible to make this without changes in NextGEN:
function SE_gallery_filter_content( $content ) { if (strpos($content, "https://www.domain.de/wp-content/gallery") !== FALSE) { $content = str_replace('https://www.domain.de/wp-content/gallery', 'https://media.domain.de', $content); }; return $content; }; add_filter('the_content', 'se_gallery_filter_content', 100);
=> The subdomain media.domain.de points directly on https://www.domain.de/wp-content/gallery. The code above only replaces the normal url (https://www.domain.de/wp-content/gallery/…) by the new subdomain-url (https://media.domain.de/…).
But this is not a good solution, because it will slow down wordpress!
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Unable To Post With Version 0.9.3Hey!
I have the same problem like perrydc every time I save a post or page. It seems as if the post/page is saved correctly in background.
Forum: Fixing WordPress
In reply to: Showing “Page last edited by….” in frontendWell, at last I’ve found the answer on my own. While searching the admin-files, I found the right code:
<?php $post_ID = get_the_ID(); if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) { $last_user = get_userdata($last_id); printf(__('Last edited by %1$s on %2$s at %3$s'), wp_specialchars( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); }; ?>
Forum: Fixing WordPress
In reply to: Showing “Page last edited by….” in frontendThere must be a possibility to show the editor’s name. Because in the backend, it’s shown when you edit a existing page/post (under the SAVE-button).
In wp-admin/post.php I found the following code:
if ( $last = wp_check_post_lock( $post->ID ) ) { $last_user = get_userdata( $last ); $last_user_name = $last_user ? $last_user->display_name : __('Somebody'); $message = sprintf( __( 'Warning: %s is currently editing this post' ), wp_specialchars( $last_user_name ) ); $message = str_replace( "'", "\'", "<div class='error'><p>$message</p></div>" );
With this code, the user that has edited the post the last time is presented, isn’t it?
And output with:
echo $last_user_name;
But the function “wp_check_post_lock( $post->ID )” should be replaced. Unfortunately, I’ve no idea, with which other function.
Forum: Fixing WordPress
In reply to: Showing “Page last edited by….” in frontendHow?
If I use
the_author
it shows only the name of the user that has wirtten the page/post.
But I want to show the name of the user that has edited the page/post the last time.I use WP as CMS. There are several users having rights to edit posts and pages. In the frontend the name should be showed so that it’s apparent who is responsible for each page/post.