wellard1981
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Recent Comment Spam AttacksHave a read of https://www.ads-software.com/support/4/15365
Forum: Requests and Feedback
In reply to: Blocking Unregistered Spammers, Porn, GamblingI’ve already developed something that requires users to regiter to enable them to comment.
See: https://www.wellardsworld.com/content/wphacks
Here’s the registered users comment hack: https://www.wellardsworld.com/content/wphacks#wp-comments.php
And here’s modified version of wp-register.php to generate random passwords to new members: https://www.wellardsworld.com/content/wphacks#wp-register.php
Hope that helps!
-WellardForum: Plugins
In reply to: User photo hackYou’ll need to copy that CSS into your wp-layout.css file.
Forum: Plugins
In reply to: User photo hackYes, your picture has to be the same name as the user ID.
For example, my ID is “dave”, so therefore in the wp-images/users directory, I would have an image called “dave.jpg”.Forum: Plugins
In reply to: Author ImageI’ve developed a hack which displays the author image (if it’s available), see https://www.wellardsworld.com/content/wphacks#wp-userphoto.php for more details.
Forum: Fixing WordPress
In reply to: Blog get spammed!!?! how to stop it?@nuclearmoose: Agreed, however the amount of spam that my site was getting was beyond control, I had to come up with something.
Obviously if somebody wrote some code to send passwords to valid e-mail addresses, then my code would need to be changed, one idea could be to generate a random graphic with letters/numbers and a routine to verify that the user has entered the correct code.
But IMO, somebody writing code to get around one site would be a complete and total waste of time.Forum: Plugins
In reply to: User photo hackOhh er, Very weird! Wouldn’t expect that to happen! – I’ve tried re-creating this problem myself and can’t.
It looks like the web server is processing it as PHP source not as a PHP script.
Try downloading https://www.wellardsworld.com/code/wp-userphoto.txt onto your web server and rename it to wp-userphoto.php.
It may be something really stupid happening somewhere! i.e. your browser not saving the file correctly, or saving it as HTML formatted.
Let me know if that works.Forum: Fixing WordPress
In reply to: Blog get spammed!!?! how to stop it?Only one way to combat spam! Have people register on your blog with a valid e-mail address to comment.
I’ve done a bit of code hacking, so when a user registers, it sends them a password instead of them defining one, which should garuntee a legitimate comments to appear. If the user provides a fake or invalid e-mail address, they wont be able to login.
Since implenting this, I’ve not had ANY comment spam.
I’m cleaning up my wp-comments.php and wp-register.php code, and they will be listed on my WP hacks page soon.
https://www.wellardsworld.com/content/wphacksForum: Plugins
In reply to: User photo hack@andrew: Hmm. Have you put the <?php include(‘wp-userphoto.php’); ?> in the main loop of the index.php?
It needs to be in between;
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
and
<?php endforeach; else: ?>
I’m using the code that I have released, and not getting the problem. Can you provide a link to a screenshot of the error?
@georginaldy: Glad to hear you got it working! It should work with/without mod_rewrite. Just as long wp-images/users is a real path.
–WellardForum: Fixing WordPress
In reply to: Alex’s Since Last Visit problemHmm.. I think the clue is in the error.
“File () is not within the allowed path” and “Warning: main(): failed to open stream: Operation ot permitted in /path/to/file on line xx”
The first error suggests this is a restriction that your current host has enabled. It’s worth getting in contact.
The second error suggests that it’s not accessable by the web server. Try chmod’ing it to 666 or 766.
Hope that helps.Forum: Themes and Templates
In reply to: Any good ressources for beginners or can I use…You could try Root’s Gemini template. It’s a very basic starting point but works very well. It’s well layed out and easy to modify.
https://atthe404.com/wordpress
Here’s mine for good measure.. design is based on Gemini.
https://www.wellardsworld.com/Forum: Fixing WordPress
In reply to: author picture when they post ?Funny you should say that.. I developed some code just the other day.
Info here: https://www.wellardsworld.com/archives/2004/10/10/user-photos-hack-for-wp/
Here: https://www.ads-software.com/support/10/14477
And code is here: https://www.wellardsworld.com/code/wp-userphoto.phps
Some sample CSS is included, you can change that to whatever you want.Forum: Everything else WordPress
In reply to: WordPress to manage articlesIt is possible to split posts up into seperate pages, and yes WP is increadably hackable! I’ve made so many modifications in the past I can’t remember what i’ve done, but it works the way I want it to work.
Forum: Installing WordPress
In reply to: novice installation question no. 1Are you running your own server, or is it hosted by an ISP or something?
You’ll need whats called a “database server”, the one that WordPress requires is MySQL. If you host supports it, contact them and ask for a new database to be set-up. If it’s your own server, you’ll need to RTFM (Read The Fine Manual) to learn how to get it working.Forum: Plugins
In reply to: Faked Folders database errorI’m getting the same. Odd.