Closed Thread
Results 1 to 5 of 5

Thread: Anyone know how this script was done?

  1. #1

    Anyone know how this script was done?

    Hi guys

    Was just wondering if anyone know how this script was done or if they could maybe point me somewhere in the right direction to start looking

    http://portfolio.valueweb.co.nz/trademe/

    Basically the script was created by some guy to check the feedback on different members from the website trademe.co.nz (similar to ebay). The good thing with this script was that I was able to check the feedback of a single user all the way from when they first joined.

    The link via the official website only lists the most recent 2000 feedbacks only.

    I've tried contacting the original script writer but cant seem to get a reply back.

    If anyone can help that would be greatly appreciated


    Thanks

  2. #2
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,127
    considering it doesnt work, it is a bit hard to tell. it is probably just checking the rss feed for the user, just like mine is here...
    http://www.facebook.com/feeds/notifi...9&format=rss20
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  3. #3
    WP Like sander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to beholdsander k is a splendid one to behold sander k's Avatar
    Join Date
    Jan 2008
    Location
    Netherlands
    Posts
    2,233
    <h1>TradeMe Feedback</h1>This will show all feedbacks for a user and allow you to sort by positives, neutrals or negatives only.<br /><br /><form action="http://portfolio.valueweb.co.nz/trademe/index.php/trademe/test2/" method="post">
    Member ID:<input type="text" name="memberID">
    <input type="submit" value="Get Feedback">
    </form>
    Opening soon WP Like!

  4. #4
    Quote Originally Posted by iBrightDev View Post
    considering it doesnt work, it is a bit hard to tell. it is probably just checking the rss feed for the user, just like mine is here...
    http://www.facebook.com/feeds/notifi...9&format=rss20
    Can you please elaborate on this RSS feed? Ive never used something like this before.

    Here is an example of an auction on the trademe website: http://www.trademe.co.nz/Browse/List...x?id=441601354

    If you put the username of the person "johnchalmers" into the above website search box, shown here: http://portfolio.valueweb.co.nz/trad...me/view/536987

    That is the result that comes out. As you can see, the trademe member has feedback alot of feedback but the website only gives it up until January of this year?



    Quote Originally Posted by sander k View Post
    <h1>TradeMe Feedback</h1>This will show all feedbacks for a user and allow you to sort by positives, neutrals or negatives only.<br /><br /><form action="http://portfolio.valueweb.co.nz/trademe/index.php/trademe/test2/" method="post">
    Member ID:<input type="text" name="memberID">
    <input type="submit" value="Get Feedback">
    </form>
    I dont think thats the answer...

  5. #5
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,127
    i'm sorry, i misread your question. dont know why I was thinking you asked how to pull the status updates from a facebook user. so, to answer how to make a feedback script, you need a table in the database, called something like 'feedback'
    from there, you would have rows like so...
    id, seller_id, buyer_id rating, comments, date, item
    when an item is sold, a query would be run that would create a row that insets a unique id, the seller's id, the buyer's id, the date it was purchased and the id of the item that was sold. if the item has no feedback, it would show in not completed. the feedback would need a default value of 0. if it is 0, it is not complete, 1 would be positive, 2 negative, and 3 would be neutral. so, i would set the rating row with enum (0,1,2,3) and set a default of 0 with not null. once someone provides feedback, you update the row accordingly with the feedback.

    then for the search, you would make a query that runs something like... "SELECT * from `feedback` WHERE seller_id='{$member_id}' ORDER BY date ASC"; when a link is clicked for positive, negative, neutral or not completed, you would just run another query that would look like... "SELECT * from `feedback` WHERE seller_id='{$member_id}' AND rating=1 ORDER BY date ASC"; **remember 1 is positive, so, swap that with 2 and 3 for the other ratings**

    hope that helps answer the question.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

Closed Thread

Similar Threads

  1. Replies: 0
    Last Post: January 31st, 2009, 00:40
  2. Replies: 9
    Last Post: May 11th, 2007, 01:08
  3. Replies: 14
    Last Post: April 22nd, 2007, 05:29
  4. Replies: 3
    Last Post: April 1st, 2007, 03:06
  5. Replies: 6
    Last Post: July 2nd, 2005, 21:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts