astima
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site was hacked and sending out spamShould I delete it?
Forum: Fixing WordPress
In reply to: Site was hacked and sending out spamI think I found a suspicious file called WP.modules.php. It was altered the day I started having issues. I am not a super expert in code, but it does refer to sending emails. It was located in my uploads folder. Is there a way I can confirm if this is suspicious are not?
PS thanks for all the help so far. It’s been very helpful!
Forum: Fixing WordPress
In reply to: Site was hacked and sending out spamI have been doing some research on my hacked site and I believe it is a brute force attack. I had the limit login plug-in installed and I am receiving tons of emails notifying me that someone is attempting to login and fail repeatedly. It’s always from a different IP address.
I have found several articles on ways to increase the security of my website from these types of attacks and am working on this. My concern is that since I was already hacked adding these security measures is useless if they created a backdoor. I can’t find any articles as to what to do if your site is already hacked.
What should be my first step other than increasing the security? I erased the file that was originally sending out spam. But seeing that my site was hacked twice, I must be missing something.
I am sorry if this is so confusing, but I am at such a loss as to what to do.
Any help would be greatly appreciated.
I know I need to add a condition to the loop to exclude categories from appearing in the recent posts. I always have trouble when adding to the loop, but here’s what I have so far. It doesn’t work, but I was wondering if anyone knows I am heading in the right direction.
http://pastebin.com/pvUeLkUaForum: Fixing WordPress
In reply to: how to make site load fasterOkay, I’ve made the background smaller. I would still prefer to not to use it, but that’s not my decision. I’m still trying to figure out CSS sprites. I think this could really help, but I’m not sure how to use it.
Forum: Fixing WordPress
In reply to: how to make site load fasterThanks for your quick response. I absolutely hate this background, it causes me more problems. Also thanks for informing me about CSS sprites. I think this could really help.
Do you have any recommendations for sites to get tile-able images? I’m looking for alternatives to present. If I am stuck using the current background what size do recommend?
Forum: Fixing WordPress
In reply to: automatically password protecting postsI just want to make sure I do it correctly, where do you enter the password function?
Forum: Fixing WordPress
In reply to: automatically password protecting postsThank you for the function, but I couldn’t get it to work. It may have worked and I am doing something wrong.
Is there a way to write a function that says basically if a post is in x category, then password-protected the post?
if ( in_category (12)…
Forum: Fixing WordPress
In reply to: automatically password protecting postsquick question
I assume I replaced the number three with category ID.
$protected_categories = array(3);but what do I replace the 123 with?
$protected_post = ‘123’;Forum: Fixing WordPress
In reply to: automatically password protecting postsThank you very much. I will try it out and let you know how it goes.
Forum: Plugins
In reply to: videogall shadowbox not workingI know there is a conflict with shadowbox, but I can’t seem to figure out what is causing it. Any suggestions where to look? Or what might be causing it? Thanks.
Forum: Plugins
In reply to: password protection functionI think I found the functioning, but not sure if I am entering the right code. I want all posts that appear in category 12 to automatically be password-protected. I will be posting to this category via e-mail and don’t want to have to go in each time and select this option. Below is my altered code. Is that correct?
function post_password_required( $post = null ) { $post = get_post($post); if ( empty($post->post_password) ) return false; if is_category( '12' ) return true; if ( !isset($_COOKIE['wp-postpass_' . COOKIEHASH]) ) return true; if ( stripslashes( $_COOKIE['wp-postpass_' . COOKIEHASH] ) != $post->post_password ) return true; return false; }Thanks! I will check them out
I am fairly new to all of this. A restriction plugin? any recommendations?
I am still trying to figure out if it is possible to password protect a category page. Does anyone know if it’s possible?
And if so I would preferably like to use .htaccess. So if you can password-protected category page can also use .htaccess?
At the very least can someone let me know if it’s possible to password protect a category page. I have been looking for an answer for several days now and I can’t seem to find an answer. I tend to think it’s not possible.