finzend
Forum Replies Created
-
It is not supported that the user is already registered with the site?
In that case the email adress should be recognized and the user should be able to login with his existing username. Can that be fixed?
Forum: Fixing WordPress
In reply to: WP 3.0 Login Logout redirect URL not workingOffcourse! Sorry I didn’t do that in the first place;)
Go to domain_mapping.php
Go to the function redirect_login_to_orig and replace it (or add the line with the redirect-if on logout)function redirect_login_to_orig() { if ( !get_site_option( 'dm_remote_login' ) || $_GET[ 'action' ] == 'logout' || isset( $_GET[ 'loggedout' ] ) ) { return false; } $url = get_original_url( 'siteurl' ); if ( $url != site_url() ) { $url .= "/wp-login.php"; // finzend: make sure the redirect keeps working on logout? if ( ($_GET[ 'action' ] == 'logout') && (!empty($_GET["redirect_to"])) ) $url = $_GET["redirect_to"]; echo "<script type='text/javascript'>\nwindow.location = '$url'</script>"; } }
Forum: Fixing WordPress
In reply to: WP 3.0 Login Logout redirect URL not workingNever mind, I found the solution!
It was because of the Domain mapping plugin; that one messes with the logout/redirects.
I’ve adjusted that plugin and now it works.
Case closed.
Forum: Fixing WordPress
In reply to: How do I browse WordPress Comment Feed by page?Ok, I’ve created some sort of solution…
I’ve used this code to create a custom RSS feed:
https://xplus3.net/2008/10/30/custom-feeds-in-wordpress/After that, I made a feed distinction for posts/comments
function myPlugin_create_feed() { //header('Content-type: text/xml'); if(is_single()) { include('my_comments_feed.php'); } else { include('my_feed.php'); } }
Fot my_comments_feed.php I copy-pasted the standard RSS2 Feed Template, but it still only showed the default number of items. So I changed the code, beginning at line 34:
<?php do_action('commentsrss2_head'); ?> <?php if(is_single()) { // activate custom query: global $post, $wp_query; $wp_query->comments = get_comments( array( 'post_id' => $post->ID, 'status' => 'approve', 'type' => 'comment' ) ); } $results = $wp_query->comments; foreach ($results as $result) { //echo $result->comment_author . "<br>\n"; $mycomment_author = apply_filters('comment_author_rss', $result->comment_author); $mycomment_time = mysql2date('Y-m-d H:i:s', $result->comment_date_gmt, false); $mycomment_text = apply_filters('comment_text', $result->comment_content); $mycomment_text_rss = apply_filters('comment_text_rss', $result->comment_content); $mycomment_link = esc_url( apply_filters('the_permalink_rss', get_permalink() )) . "#comment-" . $result->comment_ID; echo " <item>\n"; echo " <title>". $mycomment_author . "</title>\n"; echo " <link>" . $mycomment_link . "</link>\n"; echo " <dc:creator>" . $mycomment_author . "</dc:creator>\n"; echo " <pubDate>". mysql2date('D, d M Y H:i:s +0000', $mycomment_time, false) . "</pubDate>\n"; echo " <guid isPermaLink=\"false\">" . get_comment_guid($result->comment_ID) . "</guid>\n"; echo " <description>" . $mycomment_text_rss . "</description>\n"; echo " <content:encoded><![CDATA[" . $mycomment_text . "]]></content:encoded>\n"; echo " </item>\n"; } ?> </channel> </rss>
There might be a simpler solution, but this seems to work!
Forum: Fixing WordPress
In reply to: How do I browse WordPress Comment Feed by page?I’m also looking for an option to show all comments via RSS, anyone?
Forum: Fixing WordPress
In reply to: Firefox crashes when reading my blog! Wp-Super- Cache?Yes, compression is disabled…
ps: multisite is on and it only seems to occur on single posts (on multiple sites and themes). The blogs have 1-10 million pageviews a month, sot this is really becoming a problem:/
Forum: Fixing WordPress
In reply to: Firefox crashes when reading my blog! Wp-Super- Cache?Is there any new info on this topic?
We have upgraded to WP Super Cache (wp3.0.1) and started to experience crashes on IE and FF browsers. Not in Chrome or Safari!
After testing and experimenting we are 100% sure the Cache-plugin is the reason that the browsers crash. The crashes are very random; sometimes multiple times in an hour, or sometimes just once a day.
Forum: Networking WordPress
In reply to: Multisite and iPhone AppIt would be very logic (and helpful) if this would work.
Anybody have any more info about an upcoming fix? I can;t find the ticket.
Forum: Plugins
In reply to: SIDEBAR LOGIN – I CAN'T LOG OUTSame here.
Next to that i’m using the wp_logout_url to redirect the user to the main page (after logout) but it keeps sending me to the wp-login screen…
I had the same problem, it seems this plugin is not ready for wp-multisite;)
But I think you can fix it like this:
– open the file email-options.php in the wp-email folder
– go to line 159 and change this code:
<form method=”post” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>?page=<?php echo plugin_basename(__FILE__); ?>”>
into this:
<form method=”post” >that worked for me…