cogmios
Forum Replies Created
-
Forum: Networking WordPress
In reply to: cannot upload/move images ??The problem was that the blogs directory was owner by the root user and not the apache user who wants to write in the dir.
So I chowned the owner/group of the dirs and… it worked.
Forum: Fixing WordPress
In reply to: All weblogs show the malwareupdate on: http://weblog.mediatemple.net/weblog/category/system-incidents/1404-wordpress-redirect-exploit/
(the thread is not yet resolved)
Forum: Fixing WordPress
In reply to: All weblogs show the malwareMaybe its handy to change the 750 for wp-config.php to 400 for wp-config.php at least that is what i have.
Forum: Fixing WordPress
In reply to: All weblogs show the malwareok…. I looked through the source and found exactly the same link as mentioned in this explanation of mt:
http://wiki.mediatemple.net/w/WordPress_Redirect_Exploit
So… π They have been able to get in my database π
Ah… I see that the message is from TODAY: http://weblog.mediatemple.net/weblog/category/system-incidents/1404-wordpress-redirect-exploit/
so i guess It seems that is a thing NEW today.
if Anyone has any more information (Since it is new) on HOW they got there that would be handy, e.g. maybe there is a leak in a specific plugin ?
Forum: Fixing WordPress
In reply to: comment count gone???ok worked with
include('wp-config.php'); // Needed for login details to WordPress database to make necessary changes function updateCount() { $posts = mysql_fetch_row(mysql_query("SELECT ID FROM wp_8_posts ORDER BY ID DESC LIMIT 1")); // Fetch row in WordPress database containing information about post data for ($i = 1; $i < ($posts[0] + 1); $i++) { $comments = mysql_query("SELECT SQL_CALC_FOUND_ROWS comment_ID FROM wp_8_comments WHERE comment_post_ID = '$i' AND comment_approved = 1;") or die("Failed to calculate number of approved comments"); // Calculate the number of approved comments for a post and store in a variable. If unsuccessful, end program. mysql_query("UPDATE wp_8_posts SET comment_count = '".mysql_num_rows($comments)."' WHERE id = '$i';") or die("Failed to update the number of comments calculated"); // Update the comment count using the comment number fetched earlier. If unsuccessful, end program echo "Updated Post #$i - ".mysql_num_rows($comments)." comments <br />"; // Display message to user for each post comment count successfully updated } } updateCount();the output message could be a bit better with also displaying the new amount of comments but what the heck π
Forum: Fixing WordPress
In reply to: comment count gone???ok this is handy: http://www.ankurb.info/2008/11/16/reseting-post-and-comment-count-in-wordpress/
unfortunatly i am on multisite but that is easy to fix.
Forum: Fixing WordPress
In reply to: Sort on sizeThanks!
Forum: Fixing WordPress
In reply to: Hide a complete blogthanks Diane!
Forum: Fixing WordPress
In reply to: Rewriting Custom Post Typesok got it. just “true” in rewrite
so what it boils down to:
can i first register a set of taxonomies (without using the second parameter)
and only then later bind them to a custom post (possible with custom properties)
OR should I first register it with at least 1 custom post type and later add more via : register_taxonomy_for_object_type
(in that case i would probably make a “dummy custom post type” for initial registering all taxonomies)
Forum: Fixing WordPress
In reply to: connecting custom post typesprobably via a smart custom field that first selects country, city and then gives a list of options for addresses.
and for the contact list a smart custom field which first lets you select a b c d etc… and then gives the list of contacts
Forum: Plugins
In reply to: [Plugin: Community Blogs for BuddyPress] Adding Editors(but it is not related to this plugin, it also happens when adding users manually)
Forum: Plugins
In reply to: [Plugin: The WordPress Bar] Somehow does only work when I am logged inits not handy that it does not work with a cache.
i tried to add a comment on the blogpost of this plugin but it somehow only displays the first 2 pages of comments on the blogpost of this plugin.
if there ever will be a version which works with caching then i will retry.
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Edit Tags?Then again … since i’m the only user… I added
<?php
if (is_admin)
{
the_tags();
}
else
{
// original code
}
?>works like a charm THANKS !!!!!
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Edit Tags?First of all,
I absolutely adore it that you take the time to answer questions on this forum even though you are busy.
Unfortunately I’m using … get_the_tags…
<?php $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { ?> <p class="tbfooter"><a href="/about/<?php echo $tag->name ?>" rel="nofollow tag"><img src="/wp-content/themes/edl/inc/icons/tag.png" border="0"></a> <?php echo "<a href=\"/about/" . $tag->name . "\" rel=\"nofollow\">" . $tag->name . "</a>"; ?></p> <?php } } ?>