![]() |
I made an eBay style user feedback hack - Your Thoughts Plz
1 Attachment(s)
I run a hardware website & forums, and I have a lot of people buying / selling stuff. Originally we had just a master list of good / bad traders, but it quickly got out of hand. I always wanted to add a trader feedback thing, kind of like eBay and I finally got off my lazy butt and did it. This hack is kind of based off of the user ratings system that someone else wrote, I mostly just got my ideas from his code and used some of his error templates for simplicity, but basically the system works like this:
In the person's profile page you can leave a Positive (+1) / Neutral (0) / Negative (-1) choice, along with a short comment. The scores get totalled up just like eBay. You can see their rating on the threadview & profile page, if you click on the number it popups up a window showing everyone that has rated them, how they rated them, and the comments they left. You can't change your vote on someone after submitting it. Also you can only vote for a person once, I'm considering changing this since it isn't uncommon for people to deal multiple times. You can't vote for yourself. Hmm, I can't think of anything else, it's a fairly simple hack, just one PHP file, and editing a couple files and creating / editing about 6 or so templates. Things I would like to get from you guys is if you think this is something useful or not. If it is I will work on a writeup to post in the releases section, if not, then I won't bother. ;) Also I'm kind of stumped on how I can allow people to rank someone else multiple times, but have something show their previous rankings, or some message or something so that they won't accidently rank someone twice for the same thing without thinking about it... What do you think? Also I'm thinking of adding a field so you can put the URL of the thread that was the person's FS/WTB deal. If you want to see it in action, you can visit my forums. Anyhow, here's some screenshots, the first one is how it looks on the threadview... |
1 Attachment(s)
This is what the popup window looks like...
Positive shows up in green Neutral shows up in the default font color Negative shows up as red |
1 Attachment(s)
This is if you haven't rated them (Note, it's the Buy / Sell Rating, not the one above it).
|
1 Attachment(s)
This is after you have rated someone..
|
Isn't this like ratings in vB3?
|
Man this is very cool!!
Please release it!! :) Thanks in advance Kars |
Very nice, I like what I see.
|
I'm loving it - please release ! :D
A list of all comments would be cool too (with pagination of course ;)) - miSt |
Exactly what I am looking for :D
|
Good job modifying the User Rating system. :) Useful for trading sites.
|
well done.
|
I think its great , do release it :D
|
I really, really want this! Please release!
EOC Jason, What do you do as an admin if someone leaves a bogus rating? What I mean, is how can you edit or delete the feedback? BGray |
I'm actuallying adding in some code right now so that admins have a "delete" button on the popup window next to each rating, that way they can delete someones rating and it will adjust their points accordingly. You could easily modify the code to allow for Super Mods / Mods to have this ability too.
Thanks everyone for your feedback, I'll get to work on writing up the hack implementation and try to get it posted in the next day or two. Quote:
|
That's good to hear Jason and i look forward to your first hack here ;)
- miSt |
Quote:
Your and your pagination :p |
Wow, this is really nice.. Ill definitely install this as soon as you release it :)
|
Please release this when you can. This is great ;)
|
Well after the system has been up a few days on my forums I've gotten some good / bad comments from my members. Anyhow, here's a list of changes I am going to make to the system in the next day or two.
1. Re-word the text on the profile page, and require they give feedback about the buyer / seller. The text on the left side of the profile page will probably be something more like: Buy / Sell Rating: (7) 99% positive / 1% neutral / 0% negative With the number hyperlinking to the popup window of course. The text on the right side will also be cleaned and give a little text explaining what to do. 2. Put the username on the popup window title bar (so you know who's ratings you are reading). 3. Change the code on the profile page so that you don't even see a rating form for yourself (and probably fix the regular rating thing too). 4. Add code so that Admins / Supermods can delete feedback from the popup window. (and have it recalcuate totals accordingly) 5. Give the ability to rate a person more than once (because I've seen a person deal multiple times with the someone else). But also display on the profile page how many times you have rated the person before and have it popup just your previous comments. 6. Possibly add an optional form box so you can enter the URL to the thread where the deal was done. Hopefully I will be making these changes tonight, and I'll give them a day to see how they fly. I'll also write up the hack and if no bugs / glitches are found then I will be posting it up officially on Thursday! :) |
What do you mean a list of all comments with "pagination"?
Totally lost me there... Quote:
|
Sorry about that :)
When you view the comments of a user you can set it so you have 10 comments per page or something like that with a pagenav at the bottom to go the next page (like in vbulletin :)) - miSt |
LOL... Okay, simple enough request...
|
Simple hehe!
I spent an hour researching pagination to NO avail whatsoever :( - miSt |
Pagination is easy, just use the LIMIT function in your sql queries, and either have a predefined page length, or set it via another variable.
|
I cant' wait! :D
|
This is a good option. Would make members join as well :)
|
Are we still shooting for Thursday? I think this will quickly become a very popular hack. :D
|
I've got one last-minute feature I'm adding, I decided it would be good to add in the date when they submit a rating.
I'm working on the writeup right now, it will probably be up tomorrow. |
Thanks Jason! The date feature will be a nice addition. :)
BGray |
Okay, one more last thing... lol (I keep getting more ideas)...
Anyhow, I'm adding a choice so you know if they were the buyer or seller... I guess it's not really an important feature, but it just kinda makes sense to have. |
Okay, I finally posted the code and stuff! Weeeee! My first hack!
https://vborg.vbsupport.ru/showthrea...threadid=52188 Mist - Still haven't done the pagination, I will add it in soon, but I decided it was better to get it up now instead of never... Besides, adding the pagination will only require chaning the usertrade.php file, and maybe one template tweak. :) |
Awesome i'll install this as soon as you put in pagination :)
*goes off to view the thread* ;) - miSt |
[del]
|
All times are GMT. The time now is 01:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|