clay
Forum Replies Created
-
Does your server prepend the database with a username or similar?
such as
drumbum_wordpress
Forum: Themes and Templates
In reply to: Contact form?aformmail
Forum: Fixing WordPress
In reply to: Damn evil spammersForum: Fixing WordPress
In reply to: Wrapping Text Around an Imagedavincim:
If you end up with a few words dangling underneath the picture, adjust the amount of bottom padding: sometimes I use padding: 10 0 50 20 if I want to push text from the bottom of the picture over
Forum: Fixing WordPress
In reply to: Wrapping Text Around an ImageI prefer to set the float and margins for images manually- and tweak the results.
Don’t use align on the image tag- it is deprecated in xhtml
this is what I do for image wrapping:
<img style="float:right; padding: 10px 0 20px 20px; " src="https://imageurl " alt="alt text" />
Change float to left and swap the padding for a left side image
Forum: Fixing WordPress
In reply to: Comment Moderation and Spam wordlist code?This seems to be working very well- I rarely get a spam comment these days.
If I do- I simply add it to the spamwords list and kill it before I get a million of them
Forum: Fixing WordPress
In reply to: Comment Moderation and Spam wordlist code?Adding this to wp-comments-post.php seemed to work:
if ('' == trim( get_settings('moderation_keys') ) ) return true; // If moderation keys are empty
$words = explode("\n", get_settings('moderation_keys') );
foreach ($words as $word) {
$word = trim($word);
$pattern = "#$word#i";
if ( preg_match($pattern, $author) ) die( __('Please Fuck off') );
if ( preg_match($pattern, $email) ) die( __('Please Fuck off') );
if ( preg_match($pattern, $url) ) die( __('Please Fuck off') );
if ( preg_match($pattern, $comment) ) die( __('Please Fuck off') );
if ( preg_match($pattern, $user_ip) ) die( __('Please Fuck off') ); }Forum: Everything else WordPress
In reply to: Podz Appreciation ThreadIf podz could only solve my php/mysql coding problem, and cook my dinner too I might join the crew;P
Forum: Everything else WordPress
In reply to: PHP/Mysql: Testing if input exists in tableOK, I have that part working.
I’ve written 3 functions
1 which takes the value of a text box, checks if it exists in the table, and adds it if it doesn’t.
The other 2 display the values in a select drop down or a list.
Now I can’t figure out where to go from here.Forum: Fixing WordPress
In reply to: WP and ASP pagesWell- The first thing that should be addressed is do you have PHP and mysql installed on the server you intend to install WP on?
Forum: Fixing WordPress
In reply to: Adding a Location: fieldAny ideas?
Forum: Fixing WordPress
In reply to: WP and ASP pagesThe RSS feed is an XML document so you should be able to display it on anything
Forum: Installing WordPress
In reply to: WP & HTML Pages (help needed)If you go to my user profile, I have posted a few times on how to do it, check them out and I will help you further with any questions you have
Forum: Installing WordPress
In reply to: Error establishing a database connection!Seems to be working on the root site now
Forum: Installing WordPress
In reply to: WP & HTML Pages (help needed)I would take your header and side bar and put them in a header file
Then make the blog pages php
blogpage1.php
<?php include ('htmlheader.html') ; ?>
blog code here