WordPress.org

Ideas

Boolean and multiple category search

  1. Lester Chan
    Member

    Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.

    It will display a custom ban message when the banned IP, IP range, host name or referrer url that tries to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recorded on how many times they attempt to visit your blog. It allows wildcard matching too.

    Build Status

    Development

    Translations

    Credits

    Donations

    • I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
    1. Open wp-content/plugins Folder
    2. Put: Folder: wp-ban
    3. Activate WP-Ban Plugin
    4. Go to WP-Admin -> Settings -> Ban to configure the plugin

    N/A

    1. wp-ban screenshot 1

      Admin - Ban

    2. wp-ban screenshot 2

      Admin - Ban

    3. wp-ban screenshot 3

      Admin - Ban

    4. wp-ban screenshot 4

      Ban - Message

    Version 1.69

    • NEW: Bump WordPress 4.7
    • FIXED: Notices

    Version 1.68

    • NEW: Use translate.wordpress.org to translate the plugin
    • NEW: Use HTML DOCTYPE
    • FIXED: Remove get_language_attributes()

    Version 1.67

    • FIXED: Notices

    Version 1.66

    • FIXED: Cannot redeclare get_language_attributes()

    Version 1.65

    • NEW: Supports WordPress Multisite Network Activation
    • NEW: Uses native WordPress uninstall.php

    Version 1.64

    • NEW: Added a new ban option 'reverse proxy' to allow user to choose whether to check against HTTP_X_FORWARDED_FOR header for IP. Props Tom Adams at dxw. This fixes CVE-2014-6230

    Version 1.63

    • FIXED: Notices

    Version 1.62 (12-03-2013)

    • FIXED: Use a different modifier for preg_match() and use preg_quote() to escape regex

    Version 1.61 (11-03-2013)

    • FIXED: Replace ereg() with preg_match()

    Version 1.60 (23-05-2012)

    • NEW: AJAX Preview Of Current Banned Message
    • NEW: Added nonce To Form
    • FIXED: Don't Process Ban If Any Of The Conditions Are Empty

    Version 1.50 (01-06-2009)

    • NEW: Added "Your User Agent" Details
    • NEW: Uses jQuery Framework
    • FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(FILE) Instead Of Just $_SERVER['REQUEST_URI']

    Version 1.40 (12-12-2008)

    • NEW: Works With WordPress 2.7 Only
    • NEW: Changed Ban Admin Setting Location To 'WP-Admin -> Settings -> Ban'
    • NEW: Right To Left Language Support by Kambiz R. Khojasteh
    • NEW: Called ban_textdomain() In ban_init() by Kambiz R. Khojasteh
    • NEW: Use language_attributes() To Get Attributes Of HTML Tag For Default Template by Kambiz R. Khojasteh

    Version 1.31 (16-07-2008)

    • NEW: Works With WordPress 2.6
    • FIXED: Do Not Ban If IP is "unknown"

    Version 1.30 (01-06-2008)

    • NEW: Uses /wp-ban/ Folder Instead Of /ban/
    • NEW: Uses wp-ban.php Instead Of ban.php
    • NEW: Uses number_format_i18n()
    • NEW: IPs Listed In Ban Stats Is Now Sorted Numerically
    • NEW: Banned By User Agents (By: Jorge Garcia de Bustos)
    • FIXED: "unknown" IPs (By: Jorge Garcia de Bustos)

    Version 1.20 (01-10-2007)

    • NEW: Ability To Uninstall WP-Ban
    • NEW: Moved Ban Options From ban.php To ban-options.php

    Version 1.11 (01-06-2007

    • NEW: Banned By Referer URL
    • NEW: Ability To Exclude Specific IPs From Being Banned
    • NEW: Added Template Variables For User Attempts Count And Total Attempts Count
    • FIXED: Suppress gethostbyaddr() Error

    Version 1.10 (01-02-2007)

    • NEW: Works For WordPress 2.1 Only
    • NEW: Move ban.php To ban Folder
    • NEW: Localize WP-Ban
    • NEW: Added Ban Attempts Statistics In 'WP-Admin -> Manage -> Ban'
    • NEW: Move Ban Tab To 'WP-Admin -> Manage'
    • NEW: Added Toggle All Checkboxes
    • FIXED: Main Administrator Of The Site Cannot Be Banned

    Version 1.00 (02-01-2007)

    • NEW: Initial Release

    Upgrading

    1. Deactivate WP-Ban Plugin
    2. Open wp-content/plugins Folder
    3. Put/Overwrite: Folder: wp-ban
    4. Activate WP-Ban Plugin
    Posted: 9 years ago #
  2. ghutchis
    Member

    Replace WP Gallery tags with links and images in your Gallery albums.

    This WordPress plugin will help integrate your Gallery (gallery.sf.net) albums and photos into your WP blog.

    This plug was inspired by the MT plugin GalleryLink and the Blosxom galleryref plugin. Please make sure to edit the WPG_GALLERY_BASE and WPG_ALBUM_BASE bits below or use the WP-Plugin Manager.

    It also uses bits for QuickLinks in the post editor from the Edit Button Framework: http://www.asymptomatic.net/wp-hacks

    album/photo =>

    The tag will be the "thumbnail" size.

    You can also use a direct PHP function call if you prefer:

    The direct function call can also handle link and image CSS classes, etc.

    1. Upload the plugin files to the /wp-content/plugins/wp-gallery directory, or install the plugin through the WordPress plugins screen directly.
    2. Activate the plugin through the 'Plugins' screen in WordPress
    Posted: 9 years ago #
  3. Lester Chan
    Member

    Adds an AJAX rating system for your WordPress site's content.

    Build Status

    Development

    https://github.com/lesterchan/wp-postratings

    Translations

    http://dev.wp-plugins.org/browser/wp-postratings/i18n/

    Credits

    Donations

    I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

    1. Open wp-content/plugins Folder
    2. Put: Folder: wp-PostRatings
    3. Activate WP-PostRatings Plugin
    4. Go to WP-Admin -> Ratings

    Usage

    1. Open wp-content/themes/<YOUR THEME NAME>/index.php
    2. You may place it in archive.php, single.php, post.php or page.php also.
    3. Find: <?php while (have_posts()) : the_post(); ?>
    4. Add Anywhere Below It (The Place You Want The Ratings To Show): <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    • If you DO NOT want the ratings to appear in every post/page, DO NOT use the code above. Just type in [ratings] into the selected post/page content and it will embed ratings into that post/page only.
    • If you want to embed other post ratings use [ratings id="1"], where 1 is the ID of the post/page ratings that you want to display.
    • If you want to embed other post ratings results, use [ratings id="1" results="true"], where 1 is the ID of the post/page ratings results that you want to display.

    How To Change Schema Type?

    • The default schema type is 'Article', if you want to change it to 'Recipe', you need to make use of the wp_postratings_schema_itemtype filter as shown in the sample code below:
    <?php  
    add_filter( 'wp_postratings_schema_itemtype', 'wp_postratings_schema_itemtype' );  
    function wp_postratings_schema_itemtype( $itemtype ) {  
        return 'itemscope itemtype="http://schema.org/Recipe"';  
    }  
    ?>

    How To Add Your Site Logo For Google Rich Snippets

    • By default, the plugin will use your site header image URL as your site logo. If you want to change it, you need to make use of the wp_postratings_site_logo filter as shown in the sample code below:
    <?php  
    add_filter( 'wp_postratings_site_logo', 'wp_postratings_site_logo' );  
    function wp_postratings_site_logo( $url ) {  
        return 'http://placehold.it/350/150.png';  
    }  
    ?>

    How To Remove Ratings Image alt and title Text?

    <?php  
    add_filter( 'wp_postratings_ratings_image_alt', 'wp_postratings_ratings_image_alt' );  
    function wp_postratings_ratings_image_alt( $alt_title_text ) {  
        return '';  
    }  
    ?>

    How To Display Comment Author Ratings?

    • By default, the comment author ratings are not displayed. If you want to display the ratings, you need to make use of the wp_postratings_display_comment_author_ratings filter as shown in the sample code below:
    add_filter( 'wp_postratings_display_comment_author_ratings', '__return_true' );

    How To use PNG images instead of GIF images?

    • The default image extension if 'gif', if you want to change it to 'png', you need to make use of the wp_postratings_image_extension filter as shown in the sample code below:
    function custom_rating_image_extension() {
        return 'png';
    }
    add_filter( 'wp_postratings_image_extension', 'custom_rating_image_extension' );

    How To change the cookie expiration time?

    • The default cookie expiration if 'time() + 30000000', if you want to change the lenght of the experation, you need to make use of the wp_postratings_cookie_expiration filter as shown in the sample code below:
    function custom_rating_cookie_expiration() {
        return strtotime( 'tomorrow' ) ;
    }
    add_filter( 'wp_postratings_cookie_expiration', 'custom_rating_cookie_expiration', 10, 0 );

    How Does WP-PostRatings Load CSS?

    • WP-PostRatings will load postratings-css.css from your theme's CSS directory if it exists.
    • If it doesn't exists, it will just load the default 'postratings-css.css' that comes with WP-PostRatings.
    • This will allow you to upgrade WP-PostRatings without worrying about overwriting your ratings styles that you have created.

    How To Use Ratings Stats With Widgets?

    1. Go to WP-Admin -> Appearance -> Widgets
    2. The widget name is Ratings.

    How To Use Ratings Stats Outside WP Loop?

    To Display Lowest Rated Post

    • Use:
    <?php if (function_exists('get_lowest_rated')): ?>
        <ul>
            <?php get_lowest_rated(); ?>
        </ul>
    <?php endif; ?>
    • Default: get_lowest_rated('both', 0, 10)
    • The value 'both' will display both the lowest rated posts and pages.
    • If you want to display the lowest rated posts only, replace 'both' with 'post'.
    • If you want to display the lowest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 lowest rated posts/pages.

    To Display Lowest Rated Post By Tag

    • Use:
    <?php if (function_exists('get_lowest_rated_tag')): ?>
        <ul>
            <?php get_lowest_rated_tag(TAG_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_lowest_rated_tag(TAG_ID, 'both', 0, 10)
    • Replace TAG_ID will your tag ID. If you want it to span several categories, replace TAG_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the lowest rated posts and pages.
    • If you want to display the lowest rated posts only, replace 'both' with 'post'.
    • If you want to display the lowest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 lowest rated posts/pages.

    To Display Lowest Rated Post In A Category

    • Use:
    <?php if (function_exists('get_lowest_rated_category')): ?>
        <ul>
            <?php get_lowest_rated_category(CATEGORY_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_lowest_rated_category(CATEGORY_ID, 'both', 0, 10)
    • Replace CATEGORY_ID will your category ID. If you want it to span several categories, replace CATEGORY_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the lowest rated posts and pages.
    • If you want to display the lowest rated posts only, replace 'both' with 'post'.
    • If you want to display the lowest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 lowest rated posts/pages.

    To Display Highest Rated Post

    • Use:
    <?php if (function_exists('get_highest_rated')): ?>
        <ul>
            <?php get_highest_rated(); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_rated('both', 0, 10)
    • The value 'both' will display both the highest rated posts and pages.
    • If you want to display the highest rated posts only, replace 'both' with 'post'.
    • If you want to display the highest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 highest rated posts/pages.

    To Display Highest Rated Post By Tag

    • Use:
    <?php if (function_exists('get_highest_rated_tag')): ?>
        <ul>
            <?php get_highest_rated_tag(TAG_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_rated_tag(TAG_ID, 'both', 0, 10)
    • Replace TAG_ID will your tag ID. If you want it to span several categories, replace TAG_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the highest rated posts and pages.
    • If you want to display the highest rated posts only, replace 'both' with 'post'.
    • If you want to display the highest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 highest rated posts/pages.

    To Display Highest Rated Post In A Category

    • Use:
    <?php if (function_exists('get_highest_rated_category')): ?>
        <ul>
            <?php get_highest_rated_category(CATEGORY_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_rated_category(CATEGORY_ID, 'both', 0, 10)
    • Replace CATEGORY_ID will your category ID. If you want it to span several categories, replace CATEGORY_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the highest rated posts and pages.
    • If you want to display the highest rated posts only, replace 'both' with 'post'.
    • If you want to display the highest rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 highest rated posts/pages.

    To Display Highest Rated Post Within A Given Period

    • Use:
    <?php if (function_exists('get_highest_rated_range')): ?>
        <ul>
            <?php get_highest_rated_range('1 day'); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_rated_range('1 day', 'both', 10)
    • The value '1 day' will be the range that you want. You can use '2 days', '1 month', etc.
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Most Rated Post

    • Use:
    <?php if (function_exists('get_most_rated')): ?>
        <ul>
            <?php get_most_rated(); ?>
        </ul>
    <?php endif; ?>
    • Default: get_most_rated('both', 0, 10)
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Most Rated Post In A Category

    • Use:
    <?php if (function_exists('get_most_rated_category')): ?>
        <ul>
            <?php get_most_rated_category(CATEGORY_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_most_rated_category(CATEGORY_ID, 'both', 0, 10)
    • Replace CATEGORY_ID will your category ID. If you want it to span several categories, replace CATEGORY_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Most Rated Post Within A Given Period

    • Use:
    <?php if (function_exists('get_most_rated_range')): ?>
        <ul>
            <?php get_most_rated_range('1 day'); ?>
        </ul>
    <?php endif; ?>
    • Default: get_most_rated_range('1 day', 'both', 10)
    • The value '1 day' will be the range that you want. You can use '2 days', '1 month', etc.
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Highest Score Post

    • Use:
    <?php if (function_exists('get_highest_score')): ?>
        <ul>
            <?php get_highest_score(); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_score('both', 0, 10)
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Highest Score Post In A Category

    • Use:
    <?php if (function_exists('get_highest_score_category')): ?>
        <ul>
            <?php get_highest_score_category(CATEGORY_ID); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_score_category(CATEGORY_ID, 'both', 0, 10)
    • Replace CATEGORY_ID will your category ID. If you want it to span several categories, replace CATEGORY_ID with array(1, 2) where 1 and 2 are your categories ID.
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 0 refers to the minimum votes required before the post get shown.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Display Highest Score Post Within A Given Period

    • Use:
    <?php if (function_exists('get_highest_score_range')): ?>
        <ul>
            <?php get_highest_score_range('1 day'); ?>
        </ul>
    <?php endif; ?>
    • Default: get_highest_score_range('1 day', 'both', 10)
    • The value '1 day' will be the range that you want. You can use '2 days', '1 month', etc.
    • The value 'both' will display both the most rated posts and pages.
    • If you want to display the most rated posts only, replace 'both' with 'post'.
    • If you want to display the most rated pages only, replace 'both' with 'page'.
    • The value 10 will display only the top 10 most rated posts/pages.

    To Sort Highest/Lowest Rated Posts

    To Sort Most/Least Rated Posts

    1. wp-postratings screenshot 1

      Admin - Ratings Log Bottom

    2. wp-postratings screenshot 2

      Admin - Ratings Log Top

    3. wp-postratings screenshot 3

      Admin - Ratings Options

    4. wp-postratings screenshot 4

      Admin - Ratings Templates

    5. wp-postratings screenshot 5

      Ratings

    6. wp-postratings screenshot 6

      Ratings Hover

    Version 1.84.1

    • NEW: New wp_postratings_google_structured_data filter to filter Google Structured Data.
    • FIXED: unnamed-file.numbers due to sanitize_file_name().
    • FIXED: Generate the full path to image to prevent Googlebot from 404.

    Version 1.84

    • NEW: Added '%POST_THUMBNAIL%' Template variable.
    • NEW: Added 'wp_postratings_cookie_expiration' filter. Props @ramiy.
    • NEW: Added 'wp_postratings_ratings_image_alt' filter
    • NEW: Added more meta itemprops to pass Structured Data Testing Tool test
    • NEW: Remove po/mo files from the plugin. Props @ramiy.
    • NEW: Use translate.wordpress.org to translate the plugin. Props @ramiy.
    • NEW: Add phpDocs and update file headers. Props @ramiy.
    • NEW: Adds the ability to restrict voting rights to members of the blog. Props @stephenharris.
    • FIXED: Use the new admin headings hierarchy with H1, H2, H3 tags. Props @ramiy.
    • FIXED: Move *.js files to /js/ sub-folder. Props @ramiy.
    • FIXED: Move *.css files to /css/ sub-folder. Props @ramiy.
    • FIXED: Move the scripts to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Move the widget to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Move the shortcode to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Move activation hooks to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Move admin functions and hooks to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Move the i18n load to a separate file in /includes/ sub-folder. Props @ramiy.
    • FIXED: Replace die() with wp_die() and add i18n to the strings. Props @ramiy.
    • FIXED: Update translation strings to avoid using 'post' as the post type. Props @ramiy.
    • FIXED: Minor translation string fix. Props @ramiy.
    • FIXED: Update rating widget. Props @ramiy.
    • FIXED: Security hardening. Props @stephenharris.

    Version 1.83.2

    • FIXED: Unauthenticated blind SQL injection in ratings_most_orderby(). Props @Ben Bidner from Automattic.

    Version 1.83.1

    • FIXED: Remove No Results template from the_ratings_results()

    Version 1.83

    • NEW: Added 'wp_postratings_display_comment_author_ratings' filter. Props @ramiy.
    • FIXED: Removing Loading ... because SERP will index the text if the ratings is at the top of the article
    • FIXED: Move 'wp_postratings_image_extension' filter to init()
    • FIXED: Show headline, datePublished and image despite there is no ratings
    • FIXED: Show post without ratings as well when sorting is done in URL. Props @talljosh.

    Version 1.82

    • NEW: Added 'wp_postratings_image_extension' filter. Props @ramiy.
    • FIXED: Added headline, datePublished, image to Article Schema type
    • FIXED: Deprecated PHP4 constructor in WordPress 4.3
    • FIXED: Remove schema code when Rich Snippets is off

    Version 1.81

    • NEW: Added worstRating of 1. Props @rafaellop
    • NEW: Checked for defined() for RATINGS_IMG_EXT to allow overwrite
    • FIXED: Integration with WP-Stats

    Version 1.80

    • NEW: Suppor Custom Post Types in Widgets
    • NEW: Added 'wp_postratings_process_ratings_user', 'wp_postratings_process_ratings_userid' & 'wp_postratings_check_rated' filters
    • NEW: Supports WordPress Multisite Network Activate
    • NEW: Uses WordPress native uninstall.php

    Version 1.79

    • NEW: Use POST for ratings instead
    • NEW: Add 'wp_postratings_schema_itemtype' filter so that you can change the Schema Type. See the FAQ for sample.
    • FIXED: Use 'is_rtl()' instead of $text_direction

    Version 1.78

    • NEW: Uses Dash Icons
    • NEW: Option to turn off Google Rich Snippets
    • FIXED: Use SITECOOKIEPATH instead of COOKIEPATH. Props jbrule.
    • FIXED: If global $id is 0, use get_the_ID(). Props instruite.
    • FIXED: use esc_attr() and esc_js() to escape characters

    Version 1.77

    • NEW: Add in %POST_ID% template variables
    • FIXED: Ensure Google Rich Snippet only displays in main loop and not in the widget
    • FIXED: Removed reviewCount from Google Rich Snippet
    • FIXED: Make the ratings widget more optimized
    • FIXED: Some widget templates are using postratings_template_mostrated instead of postratings_template_highestrated

    Version 1.76

    • FIXED: No longer needing add_post_meta() if update_post_meta() fails
    • FIXED: Update 'Individual Rating Text/Value' Display no working due to missing nonce
    • FIXED: Added stripslashes() to remove slashes in the templates
    • FIXED: Check whether it is an array to prevent array_key_exists() from throwing a warning.

    Version 1.75

    • Change htmlspecialchars to esc_attr(). Props Ryan Satterfield.
    • Change esc_attr() to wp_kses() For itemprop. Props oneTarek.

    Version 1.74

    • check_rated_username() should be using $user_ID. Props Artem Gordinsky.

    Version 1.73

    Version 1.72 (11-07-2013)

    • Fixed not logging ratings
    • Fixed sorting of ratings logs

    Version 1.71 (10-07-2013)

    • Fixed "unable to delete logs/data"

    Version 1.70 (01-07-2013)

    • Add rate_post action for other plugins to use. Props paulgibbs.
    • Prevent direct access to PHP files to avoid PHP errors. Props paulgibbs.
    • Fixes for PHP Notices. Props paulgibbs.
    • Improvements. Props paulgibbs.
      • Better and safer handling of input variables
      • Removed some manual SQL in favour of WP's API.
      • Audited the rest of the SQL to make sure it was safe.
      • Removed unneeded switch() block, and decreased the line indentation for better readability :)
      • Use $wpdb->prepare() for SQL statements in wp-postratings.php
    • esc_attr(). Props felipedjinn.

    Version 1.65 (19-04-2013)

    • Fixed "Creating default object from empty value"
    • Added Text Domain To Plugin
    • Added Tested To 3.5

    Version 1.64 (17-12-2012)

    • Add "Ratings" Column To Manage Pages In WP-Admin
    • Add Sortable "Ratings" Column To Manage Posts/Pages In WP-Admin

    Version 1.63 (21-05-2012)

    • NEW: Move AJAX Request to wp-admin/admin-ajax.php
    • NEW: Added nonce To AJAX Calls And Admin Pages
    • NEW: Added Support For Google Rich Snippet

    Version 1.62 (31-09-2011)

    • FIXED: Escaped Hostname
    • FIXED: Ensure Ratings Post ID In Shortcode Is An Integer

    Version 1.61 (17-02-2011)

    • FIXED: XSS Vulnerability. Thanks Dion Hulse aka dd32
    • FIXED: Removed Global $post

    Version 1.50 (15-06-2009)

    • NEW: Works For WordPress 2.8 Only
    • NEW: Javascript Now Placed At The Footer
    • NEW: Uses jQuery Instead Of tw-sack
    • NEW: Minified Javascript Instead Of Packed Javascript
    • NEW: Renamed postratings-admin-js-packed.js To postratings-admin-js.js
    • NEW: Renamed postratings-admin-js.js To postratings-admin-js.dev.js
    • NEW: Renamed postratings-js-packed.js To postratings-js.js
    • NEW: Renamed postratings-js.js To postratings-js.dev.js
    • NEW: Translate Javascript Variables Using wp_localize_script()
    • NEW: Added In Most Rated & Highest Rated Pages To WP-Stats
    • NEW: Added get_highest_score(), get_highest_score_category(), get_highest_score_range(), get_highest_score_range_category()
    • NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()
    • NEW: Uses New Widget Class From WordPress
    • NEW: Merge Widget Code To wp-postratings.php And Remove wp-postratings-widget.php
    • NEW: get_highest_rated_tag() And get_lowest_rated_tag()
    • FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(FILE) Instead Of Just $_SERVER['REQUEST_URI']
    • FIXED: Ensure That Post Is Not A Revision
    • FIXED: Missing + Sign For Thumbs Up/Down Ratings If Score Is Positive
    • FIXED: Logged By Username Now Shows Ratings Results To Users Who Did Not Login
    • FIXED: Multiple Loops Filtered Not Cleared

    Version 1.40 (12-12-2008)

    • NEW: Works For WordPress 2.7 Only
    • NEW: Load Admin JS And CSS Only In WP-PostRatings Admin Pages
    • NEW: Added postratings-admin-css.css For WP-PostRatings Admin CSS Styles
    • NEW: Allow The Usage Of PNG Icons Or GIF Icons. See Usage Tab.*
    • NEW: Added get_lowest_rated_range() Function
    • NEW: Right To Left Language Support by Kambiz R. Khojasteh
    • NEW: Added "postratings-css-rtl.css" by Kambiz R. Khojasteh
    • NEW: Added 3 Functions For Creating HTML Code Of Rating Images by Kambiz R. Khojasteh
    • NEW: Call postratings_textdomain() In create_ratinglogs_table() and process_ratings() by Kambiz R. Khojasteh
    • NEW: Replaced Template Variable Calculations With expand_ratings_template() by Kambiz R. Khojasteh
    • NEW: Added Filter expand_ratings_template For Localizing Digits by Kambiz R. Khojasteh
    • NEW: Uses wp_register_style(), wp_print_styles(), plugins_url() And site_url()
    • FIXED: SSL Support

    Version 1.31 (16-07-2008)

    • NEW: Works For WordPress 2.6
    • NEW: Renamed GET Variables sortby To r_sortby And orderby To r_orderby
    • NEW: Renamed postratings-admin-js.php To postratings-admin-js.js and Move The Dynamic Javascript Variables To The PHP Pages
    • NEW: Renamed postratings-js.php To postratings-js.js and Move The Dynamic Javascript Variables To The PHP Pages
    • NEW: Uses postratings-js-packed.js And postratings-admin-js-packed.js
    • NEW: When Displaying The Ratings Given By Comment Author, It Check Against Cookie As Well As IP
    • NEW: Better Translation Using __ngetext() by Anna Ozeritskaya
    • FIXED: MYSQL Charset Issue Should Be Solved
    • FIXED: Removed WP-Cache Compatibility As It Is Not Tested
    • FIXED: Able To Use r_sortby And r_orderby in query_posts()

    Version 1.30 (01-06-2008)

    • NEW: Works For WordPress 2.5 Only
    • NEW: Removed 'postratings-usage.php'
    • NEW: Uses ShortCode API
    • NEW: Splitted Templates From PostRating Options Into Its Own File, 'postratings-templates.php'
    • NEW: Able To Display The Ratings Given By Comment Author When Displaying Comments
    • NEW: WP-PostRatings Will Load 'postratings-css.css' Inside Your Theme Directory If It Exists. If Not, It Will Just Load The Default 'postratings-css.css' By WP-PostRatings
    • NEW: Use number_format_i18n() Instead Of number_format()
    • NEW: Added Get Most/Highest Rated Post Within A Given Time Range Function
    • NEW: Added Get Most/Highest Rated Post By Category ID Within A Given Time Range Function
    • NEW: Added get_lowest_rated() Function
    • NEW: Added get_lowest_rated_category() Function
    • NEW: Added get_most_rated_category() Function
    • NEW: Get Most Rated Is Now Under The Templates
    • NEW: Minimum Votes Options/Parameters Added To get_lowest_rated(), get_lowest_rated_category(), get_highest_rated(), get_highest_rated_category(), get_most_rated() and get_most_rated_category() Functions
    • NEW: Uses /wp-postratings/ Folder Instead Of /postratings/
    • NEW: Uses wp-postratings.php Instead Of postratings.php
    • NEW: Move WP-PostRatings Stats Out Of postratings.php Into postrating-stats.php
    • FIXED: Thumbs Up/Down Post Should Get Sorted By Score Instead Of Average
    • FIXED: Increased The Length Of The Input Box For Individual Rating Value
    • FIXED: Manage Ratings Does Not Display "Numbers" Style Rating
    • FIXED: %POST_EXCERPT% Variable Is Sometimes Empty

    Version 1.20 (01-10-2007)

    • NEW: Works For WordPress 2.3 Only
    • NEW: Ability To Embed [ratings=1] Into Post/Excerpt, Where 1 Is The ID Of The Post/Page Ratings You Want To Display
    • NEW: Ability To Embed [ratings_results=1] Into Post/Excerpt, Where 1 Is The ID Of The Post/Page Ratings Results You Want To Display
    • NEW: Ability To Support Mutiple Categories For get_highest_rated_category(). By: Dirceu P. Junior
    • NEW: Ability To Embed [ratings] Into Excerpt
    • NEW: Added Template For No Permission To Rate
    • NEW: Ability To Filter Logs By Post ID, User and Rating
    • NEW: Added heart, heart_crystal, plusminus, plusminus_crystal, stars_crystal, thumbs, tickcross, tickcross_crystal and updown_crystal Rating Styles
    • NEW: Supports Up/Down Or Thumbs Up/Thumbs Down Rating
    • NEW: Supports Custom Image For Individual Rating Scale
    • NEW: WP-Cache Compatible By Nir Aides
    • NEW: Highest Rated Widge And Most Rated Widget Added
    • NEW: Ability To Uninstall WP-PostRatings
    • NEW: Uses WP-Stats Filter To Add Stats Into WP-Stats Page
    • FIXED: Some Translation Bug In postrating-usage.php

    Version 1.11 (01-06-2007)

    • NEW: Ratings Custom Fields Will Automatically Be Created With The Creation Of Each New Post/Page
    • NEW: Added AJAX Style Option: "Show Loading Image With Text"
    • NEW: Added AJAX Style Option: "Show Fading In And Fading Out Of Ratings"
    • NEW: Removed Ratings From Feed If Ratings Is Embedded Into The Post Using [ratings]
    • FIXED: Wrong URL For Page Under Top Rated/Highest Posts Listing
    • FIXED: Next/Previous Paging Bug In WP-Admin -> Manage Ratings
    • FIXED: Sort Most Rated Posts By Number Of Voters Followed By Post Average Ratings

    Version 1.10 (01-02-2007)

    • NEW: Works For WordPress 2.1 Only
    • NEW: Renamed postratings-js.js To postratings-js.php To Enable PHP Parsing
    • NEW: Added Function To Get Highest Rated Post By Category ID

    Version 1.05 (02-01-2007)

    • NEW: Added The Ability For Each Rating Star To Have Its Own Text
    • NEW: Highest Rated Post Is Now In The Templates For Easy Modification
    • NEW: Usage Instructions Is Also Included Within The Plugin Itself
    • NEW: Able To Delete Ratings Logs And Data By Post IDs
    • NEW: Able To Uninstall WP-PostRatings
    • NEW: Localization WP-PostRatings
    • FIXED: snippet_text() Function Missing
    • FIXED: AJAX Not Working On Servers Running On PHP CGI
    • FIXED: Highest Rated Post Is Now Based On The Ratings Followed By The Number Of Votes
    • FIXED: Added Some Default Styles To postratings-css.css To Ensure That WP-PostRatings Does Not Break

    Version 1.04 (01-10-2006)

    • NEW: Ability To Logged By UserName
    • NEW: get_highest_rated_sidebar(); To Display The Highest Rated Post On The Sidebar
    • NEW: Added CSS Class 'post-ratings-image' To All IMG Tags
    • FIXED: If Site URL Doesn't Match WP Option's Site URL, WP-PostRatings Will Not Work

    Version 1.03 (01-07-2006)

    • NEW: Total Rating Votes Stats And Total Rating Users Stats Function Added
    • FIXED: Ratings Not Working On Physical Pages That Is Integrated Into WordPress
    • FIXED: Modified Get Most/Highest Rated Post Function
    • FIXED: Search Bots Unable To Index Site

    Version 1.02a (07-06-2006)

    • FIXED: AJAX Not Working In Opera Browser

    Version 1.02 (01-06-2006)

    • NEW: Fading In/Put Effect After You Rate A Post
    • NEW: Rating Voting And Rating Results Are On The Same Image
    • NEW: Added Rating Option For Logging Method
    • NEW: Added Rating Option For Who Can Rate
    • NEW: Added Rating Results Image To Get Highest Rated Stats
    • NEW: Rating Administration Panel And The Code That WP-PostRatings Generated Is XHTML 1.0 Transitional

    Version 1.01 (01-04-2006)

    • NEW: AJAX Voting
    • FIXED: Block Search Bots From Voting
    • FIXED: Hard Coded Table Name In Ratings Stats

    Version 1.00 (01-03-2006)

    • NEW: Initial Release

    Upgrading

    1. Deactivate WP-PostRatings Plugin
    2. Open wp-content/plugins Folder
    3. Put/Overwrite: Folder: wp-postratings
    4. Activate WP-PostRatings Plugin
    5. Go to WP-Admin -> Ratings -> Ratings Templates and restore all the template variables to Default
    6. Go to WP-Admin -> Appearance -> Widgets and re-add the Ratings Widget
    Posted: 9 years ago #
  4. nextwave
    Member

    12345

    A good example of Boolean search is shown on the WordPress theme viewer: http://themes.wordpress.net/

    Posted: 10 years ago #
  5. buzink
    Member

    12345

    I would like to be able to create blog-pages that show posts from two or more specific categories. This could be done with the above requested script and proper url- rewriting.

    /search.php?search=gnome&cats=5,6,8
    would become
    /search/ubuntu/debian/mandrake/gnome

    /search.php?cats=5,6,8
    would become
    /tags/ubuntu/debian/mandrake/

    while the normal category pages could be
    /tag/debian/

    and the normal search results page:
    /search/gnome

    The only thing that has to be done is change the search-script so that it recognizes the cats GET variable in the url and change the output according to it.

    Posted: 9 years ago #
  6. annfield
    Member

    12345

    “This idea is under consideration”
    Is there anyway that one could contribute to the development of this feature?
    As previously mentioned the binary search functionality of the theme viewer is a good (if not already complete) starting point.
    Especially with the new tag and category handling of WP 2.3.
    Anybody know the initial developer of this feature and how to get in contact with him/her.

    Posted: 9 years ago #
  7. jeremyduffy
    Member

    This isn't exactly what you were asking for, but it's similar. My page is an image gallery where each post is a different image. I use categories to mark which characters from the show are in which picture and perhaps other aspects (like season 1 and season2). If I want a picture of season1 and this particular character, I wound need to select multiple categories and then have only those posts show. I've got the code that does it here:

    http://www.jeremyduffy.com/computers-internet/wordpress-stuff/wordpress-multiple-categories/

    Posted: 8 years ago #
  8. This plugin might work: http://www.zirona.com/software/wordpress-advanced-search/

    Posted: 8 years ago #
  9. slincoln
    Member

    Keyword Optimizer plugin was developed so that important blog post keywords on a website could be optimized using the HTML strong, em, and u, tags.

    The keyword optimizer SEO plugin was developed so that important blog post keywords on a WordPress blog could be optimized using the HTML <strong>, <em> and <u> tags. It allows the webmaster to select the keywords he/she wants to optimize from the administration panel and let's them assign a limit to the number of times a chosen effect is applied to those keywords.

    To demonstrate an example of this SEO plugin, if "articles" is an important keyword on a website than the webmaster can choose to surround this keyword around the <strong> tag. Using this plugin, the webmaster would need to enter this keyword into the <strong> set under the administration panel and all references to the word "articles" in a given post will be automatically placed inside the <strong> tag. The limit feature provided by the plugin lets the webmaster control the number of times this effect would be applied to that keyword. If suppose the limit is set to 2, then only the first two references to the word "articles" will be effected.

    Check out some of the other WordPress plugins by the same author.

    1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
    2. Go to the Plugins page and activate the plugin.
    3. Use the Options page to add your keywords and change your options
    4. That is all.
    1. keyword-optimizer screenshot 1

      Administration screenshot.

    2. keyword-optimizer screenshot 2

      Posts example screenshot.

    Additional

    1. The Keyword Optimizer SEO plugin was written for the Spunky Jones Ethical SEO Blog, by Naif Amoodi.
    2. If you like the plugin, be sure to spread the word about this SEO plugin. Making a small blog post about it and include a link back to the plugin page, would be great!

    License

    You should have received a copy of the GNU General Public License along with SEO Top Tip. If not, see http://www.gnu.org/licenses/.

    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    107 Votes
  • Status

    This is plugin territory