Forum Replies Created

Viewing 15 replies - 16 through 30 (of 62 total)
  • flaviodj

    (@flaviodj)

    The version that wordpress will use is the one in your “tags” folder.
    The “trunk” folder is your “work in progress” folder.

    if you look closely on your tags folder you’ll see that you didn’t change the Version on thesimply-attached/tags/1.2/simplyattached.php file.

    Version: 1.0

    Only on the simply-attached/tags/1.2/readme.txt file.

    Both the “readme.txt” and the “plugin.php” (in your case simplyattached.php) must match or else wordpress will get confused.

    Plugin Author flaviodj

    (@flaviodj)

    Thanks for the help Bage,
    I did a bit of research, what I came up with is that Yelp has recently changed the API response. Instead of giving us 3 reviews snippets they are only giving us 1 now.

    If you look at a 3rd party archived page and compare to the official page you will see:
    cached: (the way they used to give results)List of up to 3 review snippets for the business

    new and official: (new rules that were implemented without any sort of notice to anyone)List of up to 1 review snippet for the business

    Now, what I also figured out (I assume is the case) if you have an old (prior to changes, maybe 2013?) API Key you can still get the 3 reviews snippet, but if you just signed up (2014?) you will only get 1 review snippet.

    Now for a solution… I can’t control the API nor the rules, nor can I scrape and get those reviews, but I saw a bit of conflicting information on Yelp’s page.

    According to the API v1.0 – Deprecated page, it says ( and hasn’t been updated in any way yet )

    reviews> list> Contains a list of 3 reviews associated with business> 1 per business

    .

    Maybe I’ll have to rewrite the plugin to work with the API v1.0 in order to get the 3 reviews ( I still have to test if that theory will work).

    If anyone is willing to help, and could share their “new” API Keys with me for the purpose of testing and maybe giving me some time to test, I’ll do my best to get a new version out that will work the way it used to. my email is contactflavio*at*gmail.com

    Plugin Author flaviodj

    (@flaviodj)

    Also if that doesn’t do anything
    try this on line 90 (between this):

    curl_close($ch);
    
    // Handle Yelp response data

    just add “echo $data;

    curl_close($ch);
    echo $data;
    // Handle Yelp response data

    please post the text response, it should look like this:

    {
    	"is_claimed": true,
    	"rating": 4.5,
    	"mobile_url": "https://m.yelp.com/biz/ushuaia-argentinean-steakhouse-santa-monica",
    	"rating_img_url": "https://s3-media2.ak.yelpcdn.com/assets/2/www/img/99493c12711e/ico/stars/v1/stars_4_half.png",
    	"review_count": 183,
    	"name": "Ushuaia Argentinean Steakhouse",
    	"snippet_image_url": "https://s3-media1.ak.yelpcdn.com/photo/qoJegrayXiuGTIYMUlCzwA/ms.jpg",
    	"rating_img_url_small": "https://s3-media2.ak.yelpcdn.com/assets/2/www/img/a5221e66bc70/ico/stars/v1/stars_small_4_half.png",
    	"url": "https://www.yelp.com/biz/ushuaia-argentinean-steakhouse-santa-monica",
    	"menu_date_updated": 1387750747,
    	"reviews": [{
    		"rating": 4,
    		"excerpt": "Good
    food served up in a clean and modern restaurant with a strong staff and sexy
    lighting. Somewhat on the pricey side, but worth it for a special...",
    		"time_created": 1390008675,
    		"rating_image_url": "https://s3-media4.ak.yelpcdn.com/assets/2/www/img/c2f3dd9799a5/ico/stars/v1/stars_4.png",
    		"rating_image_small_url": "https://s3-media4.ak.yelpcdn.com/assets/2/www/img/f62a5be2f902/ico/stars/v1/stars_small_4.png",
    		"user": {
    			"image_url": "https://s3-media4.ak.yelpcdn.com/photo/KpfxsgLUGQ0uwa0buQYLVw/ms.jpg",
    			"id": "FFTX63pqjbhbBhdw-ZTXow",
    			"name": "Joan H."
    		},
    		"rating_image_large_url": "https://s3-media2.ak.yelpcdn.com/assets/2/www/img/ccf2b76faa2c/ico/stars/v1/stars_large_4.png",
    		"id": "y3knTiP6R6S1qt4L_dM0AA"
    	}, {
    		"rating": 5,
    		"excerpt": "After living right
    around the corner from this place for almost a year, my boyfriend and I finally
    tried Ushuaia last night. Honestly, we're both quite...",
    		"time_created": 1389483159,
    		"rating_image_url": "https://s3-media1.ak.yelpcdn.com/assets/2/www/img/f1def11e4e79/ico/stars/v1/stars_5.png",
    		"rating_image_small_url": "https://s3-media1.ak.yelpcdn.com/assets/2/www/img/c7623205d5cd/ico/stars/v1/stars_small_5.png",
    		"user": {
    			"image_url": "https://s3-media1.ak.yelpcdn.com/photo/qoJegrayXiuGTIYMUlCzwA/ms.jpg",
    			"id": "nht6dXc_4IciYQqOUW9Unw",
    			"name": "Jessica C."
    		},
    		"rating_image_large_url": "https://s3-media3.ak.yelpcdn.com/assets/2/www/img/22affc4e6c38/ico/stars/v1/stars_large_5.png",
    		"id": "oj6rktPM-dc5Y22Twe40Og"
    	}, {
    		"rating": 5,
    		"excerpt": "Attentive service.
    Great food. Happy Hour alcohol. Plus, TV's to watch your favorite team. \n\nI
    had the ribeye steak and it came with three different dipping...",
    		"time_created": 1389452609,
    		"rating_image_url": "https://s3-media1.ak.yelpcdn.com/assets/2/www/img/f1def11e4e79/ico/stars/v1/stars_5.png",
    		"rating_image_small_url": "https://s3-media1.ak.yelpcdn.com/assets/2/www/img/c7623205d5cd/ico/stars/v1/stars_small_5.png",
    		"user": {
    			"image_url": "https://s3-media3.ak.yelpcdn.com/photo/8i80fvwPB0yljCM4kauzOg/ms.jpg",
    			"id": "nyBu9khTM69iDvgZx20W_w",
    			"name": "Kat K."
    		},
    		"rating_image_large_url": "https://s3-media3.ak.yelpcdn.com/assets/2/www/img/22affc4e6c38/ico/stars/v1/stars_large_5.png",
    		"id": "Bb8C9_Acq8kFZJ8S8Yxs8Q"
    	}],
    	"phone": "3103155457",
    	"snippet_text": "After
    living right around the corner from this place for almost a year, my boyfriend
    and I finally tried Ushuaia last night. Honestly, we're both quite...",
    	"image_url": "https://s3-media3.ak.yelpcdn.com/bphoto/jmz8U7RwUYoo81l-vOjXfQ/ms.jpg",
    	"categories": [
    		["Steakhouses", "steak"],
    		["Argentine", "argentine"]
    	],
    	"display_phone": "+1-310-315-5457",
    	"rating_img_url_large": "https://s3-media4.ak.yelpcdn.com/assets/2/www/img/9f83790ff7f6/ico/stars/v1/stars_large_4_half.png",
    	"menu_provider": "single_platform",
    	"id": "ushuaia-argentinean-steakhouse-santa-monica",
    	"is_closed": false,
    	"location": {
    		"city": "Santa Monica",
    		"display_address": ["2628 Wilshire Blvd", "Santa
    Monica", "Santa Monica, CA 90403"],
    		"geo_accuracy": 8,
    		"neighborhoods": ["Santa
    Monica"],
    		"postal_code": "90403",
    		"country_code": "US",
    		"address": ["2628
    Wilshire Blvd"],
    		"coordinate": {
    			"latitude": 34.036365199999999,
    			"longitude": -118.4765252
    		},
    		"state_code": "CA"
    	}
    }

    thanks!

    Plugin Author flaviodj

    (@flaviodj)

    Sorry for the delayed response,
    I somehow didn’t receive a notification about your post.
    I actually don’t know what the problem might be with the amount of reviews showing. If it shows one it should show all.
    The number of reviews to display actually only relates to how many should show at once.
    Think like this:
    1 review = 1 block
    display # of reviews at once = display # of blocks at once.
    meaning, if you want the widget to to look shorter for display/look reasons you can show all 3 blocks at once or 2 or only one.
    So that your widget doesn’t look extremely long compared to others.

    Yelp will allow only up to 3 reviews to be fed to the plugin, no matter if you have 1 or 1000..
    The # to be displayed will only affect the number of them that will show at one given time.
    I just tried your yelp id on my site and it worked perfectly.
    One thing I’d like for you to try is on the root folder of the plugin on the file yrt.php
    between line 124 and line 129

    if (($response->review_count == 2) && ($showitems > 2)){
    	$showitems = "2";
    	}
    if (($response->review_count == 1) && ($showitems > 1)){
    	$showitems = "1";
    	}

    comment it to see if does anything like this:

    //if (($response->review_count == 2) && ($showitems > 2)){
    //	$showitems = "2";
    //	}
    //if (($response->review_count == 1) && ($showitems > 1)){
    //	$showitems = "1";
    //	}

    let me know so I can make a fix, please.

    Plugin Author flaviodj

    (@flaviodj)

    Thanks for the review ??

    Plugin Author flaviodj

    (@flaviodj)

    If you have any idea of improvements and how you think they should be done drop me a line I am up for improvements ??

    And yes, I try and keep it as simple of a code as possible and as open as possible so people can adjust the plugin as it fits best their needs

    Thanks for the review ??

    Plugin Author flaviodj

    (@flaviodj)

    Glad to help ?? were you having this issue with my plugin or did I help you with your own project? just want to know if it is a problem within my plugin so I can fix it

    Plugin Author flaviodj

    (@flaviodj)

    version 1.2 will resolve the isssue, if the problem persist open another thread.
    Thanks!

    Plugin Author flaviodj

    (@flaviodj)

    marking this as resolved

    if problem re appears please open another thread

    Plugin Author flaviodj

    (@flaviodj)

    Thanks for the review.
    I VERY much appreciate it

    Plugin Author flaviodj

    (@flaviodj)

    Ok confirmed, and fixed the problem, please update to version 1.2

    Sorry for the trouble
    Will mark this as resolved, but if you still have problems open another ticket and I’ll take care of it

    Plugin Author flaviodj

    (@flaviodj)

    believe version 1.2 should take care of the problem.

    There was a problem with the jQuery/java picking up the wrong id tag on certain themes.

    let me know if you still have problems (open another thread or email me)

    Plugin Author flaviodj

    (@flaviodj)

    actually just found the problem but please confirm
    don’t edit it like I said before.
    do THIS:
    find the plugin file yrt.php

    …mywebsite/wp-content/plugins/yelp-reviews-ticker/yrt.php

    on line 127
    jQuery('#<? echo $this->id; ?>').vTicker({
    replace with:
    jQuery('#<? echo "ticker_", $this->id; ?>').vTicker({

    on line 142:
    <div id="<? echo $this->id; ?>">
    replace with:
    <div id="<? echo "ticker_", $this->id; ?>">

    that should take care of it, please let me know if that solves it

    Plugin Author flaviodj

    (@flaviodj)

    dug thru my code and think I found the problem.
    with the latest version (1.1) can you go into the main file (yrt.php)
    if you are on the ftp side of your server it would be something like this
    mywebsite/wp-content/plugins/yelp-reviews-ticker/yrt.php
    Open that file with notepad (text editor of your choice)
    on line number 33 you’ll find this:

    array( 'description' => "Yelp Reviews Ticker shows your yelp reviews cleanly and pain free" )

    replace it with this

    array(
    				'description' => 'Yelp Reviews Ticker shows your yelp reviews cleanly and pain free',
    				'before_widget' => '<li class="widget %2$s">',
    				'after_widget'  => '</li>',
    				'before_title'  => '<h2 class="widgettitle">',
    				'after_title'   => '</h2>'
    			)

    it should resolve the problem.

    I want to make sure with you first before posting an update for the plugin.

    PLEASE PLEASE PLEASE let me know

    recap
    open file with text editor:

    …mywebsite/wp-content/plugins/yelp-reviews-ticker/yrt.php

    find line 33:
    array( 'description' => "Yelp Reviews Ticker shows your yelp reviews cleanly and pain free" )
    replace line 33 with all of this:

    array(
    				'description' => 'Yelp Reviews Ticker shows your yelp reviews cleanly and pain free',
    				'before_widget' => '<li class="widget %2$s">',
    				'after_widget'  => '</li>',
    				'before_title'  => '<h2 class="widgettitle">',
    				'after_title'   => '</h2>'
    			)

    Plugin Author flaviodj

    (@flaviodj)

    sorry about the delay. could you email me at contactflavio.at.gmail.com?

    I’d love to resolve this issue.
    I’ll post either the solution or an update when we get this resolved
    (email will be much faster for me)

Viewing 15 replies - 16 through 30 (of 62 total)