BBPress is Forum of WordPress
Sep3
I create a new web site about “The Martial Arts” with Wordpress. I want to create a forum work with WordPress together. I remember WordPress team works on forum software. They called “BBPress“. I install BBPress and it is asked me some WordPress questions about config file, i set them and i have got forum integrated with WordPress. Users are same in forum and WordPress. I suggest you BBPress if you are using Wordpress and want basic forum. BBPress is better in SEO. It is always come with its own seo system like wordpress. Here is my forum >
Read Config File to install BB Press
define('AUTH_KEY', 'aaaaa');
define('SECURE_AUTH_KEY', 'bbbbb');
define('LOGGED_IN_KEY', 'ccccc');
define('NONCE_KEY', 'ddddd');
Watermark All Uploaded Images in Wordpress
Jun0
I need a code for watermarked all uploaded images in wordpress. I google it, and i find a solution in WP Glamour. You only add this codes and all of your upload images are watermarked. This very easy solution for watermark your images. Because if you try to add watermark with PhotoShop or another image program, it will be so hard for you.
Firstly create a file with name “watermark.php”, after you will add a rule to .htaccess file.
watermark.php
<?
$src = $_GET['src'];
header('Content-type: image/jpeg');
//this will prevent the watermark from showing up in the thumbnail images
if (eregi("150x150", $src)) {
$watermark = imagecreatefrompng('empty.png');
} else {
$watermark = imagecreatefrompng('watermark.png');
}
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);
$image = imagecreatetruecolor($watermark_width, $watermark_height);
if(eregi('.gif',$src)) {
$image = imagecreatefromgif($src);
}
elseif(eregi('.jpeg',$src)||eregi('.jpg',$src)) {
$image = imagecreatefromjpeg($src);
}
elseif(eregi('.png',$src)) {
$image = imagecreatefrompng($src);
}
else {
exit("Your image is not a gif, jpeg or png image. Sorry.");
}
$size = getimagesize($src);
$dest_x = $size[0] - $watermark_width - 0;
$dest_y = $size[1] - $watermark_height - 0;
imagecolortransparent($watermark,imagecolorat($watermark,0,0));
imagecopyresampled($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, $watermark_width, $watermark_height);
imagejpeg($image, "", 95);
imagedestroy($image);
imagedestroy($watermark);
?>
.htaccess file
RewriteRule ^(.*)wp-content/uploads/(.*) $1watermark.php?src=wp-content/uploads/$2
WordPress 2.8 is Ready for Download
Jun0
The latest and greatest version of WordPress, version 2.8 “Baker,” is immediately available for download. 2.8 represents a nice fit and finish release for WordPress with improvements to themes, widgets, taxonomies, and overall speed. They also fixed over 790 bugs. This release is named in honor of noted trumpeter and vocalist Chet Baker.
First and foremost, 2.8 is way faster to use. We’ve changed the way WordPress does style and scripting.
The core and plugin updaters in previous versions of WordPress have been such a success we decided to bring the same to themes. You can now browse the entire theme directory and install a theme with one click from the comfort of your WordPress dashboard.
If you make edits or tweaks to themes or plugins from your dashboard, you’ll appreciate the new CodePress editor which gives syntax highlighting to the previously-plain editor. Also there is now contextual documentation for the functions in the file you’re editing linked right below the editor.
If you were ever frustrated with widgets before, this release should be your savior. We’ve completely redesigned the widgets interface (which we didn’t have time to in 2.7) to allow you to do things like edit widgets on the fly, have multiple copies of the same widget, drag and drop widgets between sidebars, and save inactive widgets so you don’t lose all their settings. Developers now have access to a much cleaner and robust API for creating widgets as well.
Finally you should explore the new Screen Options on every page. It’s the tab in the top right. Now, for example, if you have a wide monitor you could set up your dashboard to have four columns of widgets instead of the two it has by default. On other pages you can change how many items show per page.
What is Canonical Link Element?
Jun0
Google, Yahoo, Ask and Microsoft announced support for a new link element to clean up duplicate urls on sites. We add HEAD part of document, its syntax is pretty simple
<link rel="canonical" href="http://www.webmastersucks.com/pages.html" />
This syntax is telling search engines that the preferred location of this url is http://www.webmastersucks.com/pages.html instead of http://www.webmastersucks.com/pages.html?PHPSESSID=293JA434MFNs
yoast.com has already produced several plugins for WordPress, Magento and Drupal. You can find plugins in Yoast.
If we used “canonical”, then our content is not dublicated. These are same, and search engines see the same content. Make all the non-canonical urls do a permanent (301) HTTP redirect to the canonical/preferred url.
www.example.com
example.com
www.example.com/
example.com/
www.example.com/index.html
example.com/index.html
Links About Canonical Link Element
Matt Cutts’s Slide Show >
Google’s Blog Post >
Yahoo’s Blog Post >
Bing’s Blog Post >
Ask.com’s Blog Post >
FeedBurner HtAccess Redirect for WordPress Feeds
May0
Firstly, we burn our wordpress feeds to FeedBurner. You can burn in www.feedburner.com , we get a feedburner link like “http://feeds2.feedburner.com/WebmasterSucks“. I also burned comments feed. We redirect our WordPress feed to FeedBurner. Its help us to track our feed and add adsense code to our feeds.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/?(feed.*|comments.*) [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(feedburner|feedvalidator) [NC]
RewriteRule ^feed/?.*$ http://feeds2.feedburner.com/WebmasterSucks [L,NC,R=302]
RewriteRule ^comments/?.*$ http://feeds2.feedburner.com/WebmasterSucksComments [L,NC,R=302]
</IfModule>
For more information :
http://perishablepress.com/press/2008/10/13/wordpress-feedburner-htaccess-redirect-default-feeds/
Forgot WordPress Admin Password
May2
Firstly; you need access to your MySQL Server and maybe access to your wp-config.php file in the root of your site.
- Go www.md5-creator.com and type in a password you want to use.Example type “123″ then copy. “123 in MD5 :” ’s result is “202cb962ac59075b964b07152d234b70″
- Than open your MySQL database, and click the wp_users table
- Change “user_pass” value to copied value. In our example “202cb962ac59075b964b07152d234b70″
- Now go to your blog and log in

