Title: Graeme Fulton's Replies | WordPress.org

---

# Graeme Fulton

  [  ](https://wordpress.org/support/users/graylien/)

 *   [Profile](https://wordpress.org/support/users/graylien/)
 *   [Topics Started](https://wordpress.org/support/users/graylien/topics/)
 *   [Replies Created](https://wordpress.org/support/users/graylien/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/graylien/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/graylien/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/graylien/engagements/)
 *   [Favorites](https://wordpress.org/support/users/graylien/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin Load Filter] Can not see rest api filter option after update](https://wordpress.org/support/topic/can-not-see-rest-api-filter-option-after-update/)
 *  [Graeme Fulton](https://wordpress.org/support/users/graylien/)
 * (@graylien)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/can-not-see-rest-api-filter-option-after-update/#post-13450821)
 * Hi, I have this problem after buying the add-on. I import the plf_wc_filter.json,
   and nothing happens. Is there any issues with the latest version? There is no
   default settings, and I don’t know how to add a rest api filter
 * –update – I pressed ‘filter entry’ on the default page, and the options are now
   showing from the plf_wc_filter.json. All ok!
    -  This reply was modified 5 years, 8 months ago by [Graeme Fulton](https://wordpress.org/support/users/graylien/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[kk Star Ratings - Rate Post & Collect User Feedbacks] can only vote if logged in](https://wordpress.org/support/topic/can-only-vote-if-logged-in/)
 *  [Graeme Fulton](https://wordpress.org/support/users/graylien/)
 * (@graylien)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/can-only-vote-if-logged-in/#post-4068678)
 * Hey sorry just seen this…
 *     ```
       $.fn.kkstarratings.click = function(obj, stars)
       {
       //////////////////.................
       }
       ```
   
 * This means to replace the entire function…so look for that line:
    `$.fn.kkstarratings.
   click = function(obj, stars)`, then follow it’s opening curly brace, right the
   way down to its matching closing brace..
 * so there’s a lot in between the two…I don’t know the line, I haven’t looked at
   this for a long time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[kk Star Ratings - Rate Post & Collect User Feedbacks] can only vote if logged in](https://wordpress.org/support/topic/can-only-vote-if-logged-in/)
 *  [Graeme Fulton](https://wordpress.org/support/users/graylien/)
 * (@graylien)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/can-only-vote-if-logged-in/#post-4068666)
 * Hi needed this too! This requirement is not part of the plugin, but I’ve found
   an easy hack that does the job!
 * 1. Open the kk-star-ratings folder, and open up index.php
 * 2. Look for the line below. It’s the last line in the function js() (near the
   top). In the version of this plugin I am using (2.4), the line you want is 71:
 * `$this->enqueue_js('js', self::file_uri('js.min.js'), $this->ver, array('jquery'),
   $Params, false, true);`
 * 3. Replace the above line with this:
 *     ```
       if (is_user_logged_in())
       {
          $this->enqueue_js('js', self::file_uri('js.min.js'), $this->ver, array('jquery'), $Params, false, true);
       }
       else {
             $this->enqueue_js('js', self::file_uri('js.js'), $this->ver, array('jquery'), $Params, false, true);
       };
       ```
   
 * 4. Within the kk-star-ratings folder, open up js.js
 * 5. Replace this function (line 129)
 *     ```
       $.fn.kkstarratings.click = function(obj, stars)
       {
       //////////////////.................
       }
       ```
   
 * with this:
 *     ```
       $.fn.kkstarratings.click = function(obj, stars)
       	{
   
                       alert("You must be registered to vote");
   
       		return false;
       	};
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)