WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[resolved] Getting it to work with WP Customer Reviews plugin (2 posts)

  1. serks
    Member
    Posted 1 year ago #

    HI Paul,

    I am trying to get Achievements to work with WP Customer Reviews plugin by Go Web Solutions.

    Problem is, there are no do_action's in this plugin...these lines are the only ones that contain any actions...

    add_action('the_content', array(&$this, 'do_the_content'), 10); /* prio 10 prevents a conflict with some odd themes */
            add_action('init', array(&$this, 'init')); /* init also tries to insert script/styles */
    
            add_action('admin_init', array(&$this, 'admin_init'));
            add_action('template_redirect',array(&$this, 'template_redirect')); /* handle redirects and form posts, and add style/script if needed */
    
            add_action('admin_menu', array(&$this, 'addmenu'));
            add_action('wp_ajax_update_field', array(&$this, 'admin_view_reviews')); /* special ajax stuff */
            add_action('save_post', array(&$this, 'admin_save_post'), 10, 2); /* 2 arguments */
            add_filter('plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'plugin_settings_link'));

    Would I be able to use one of them?
    Thanks

    http://wordpress.org/extend/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Hi serks,

    Short answer is no. You need do_actions. I'd suggest you suggest to the author of that plugin to add filters and actions so that other plugins can extend its functionality ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic