Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Buy/Sell/Trade User Rating System (aka eBay Style User Feedback Hack) Details »»
Buy/Sell/Trade User Rating System (aka eBay Style User Feedback Hack)
Version: 1.00, by eoc_Jason eoc_Jason is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-25-2003 Last Update: Never Installs: 85
 
No support by the author.

Buy / Sell / Trade User Rating System (aka eBay Style User Feedback Hack)

Standard Disclaimer:
BACKUP YOUR DATABASE & FILES BEFORE IMPLEMENTING THIS HACK!!!

Description:
This is a rating system for when members buy / sell /trade items from each other. It is based on the honor system since there is no way to truly tell if they did engage in a transaction. However I created this system because it was a pain to try and maintain a single thread listing good / bad traders and so far has worked out quite well.

Key Features:
- Rate Member Positive/Negative/Neutral
- Specify Buyer, Seller, or Trade
- Leave comments about the deal
- Records date when rating created
- Specify a URL to the deal
- Admins & Super Mods can delete ratings (just incase)
- Pagination (Just for Mist )

Current Version: v1.11
There are instructions in the zip for upgrading from 1.0 -> 1.1
*Note*, I forgot the change of templates "faq" & "faq2" (added as steps 19 & 20), thats why I uploaded v1.11, otherwise everything is the same as v1.1 (If you don't want the little FAQ part, just remove the FAQ link in the getinfo template below the rating stuff)

Tested On vBulletin Version: 2.2.9, 2.3.0
(should be compatible with all versions, very simple stuff)

To Do List: (Last Edited: 05/01/03)
- Send user an email when feedback is left for them
- Allow the user who received the feedback to comment on the feedback left for them. (For Neutral/Negative Feeback Only)
- Allow optional time limits for how often you can rate someone
- Allow all columns to be sortable ASC/DSC
- create a sort of wall of fame / shame (check this thread) for more info
- have a link so you can find out all the people you rated (and how you rated them)

Additions & Changes:
1 File Uploaded
1 Table Added
1 Table Changed
3 Files Changed
10 Templates Added
5 Templates Changed

Credits:
I can't take the entire credit for this hack, while I did have the idea in my head for a while, I took bits and pieces of code off of the User Ratings hack written by EXCHANGE.

Also I would like to give a big thanks to all the members at the Extreme Overclocking Forums that helped me test out this hack as well as give me suggestions for additions and improvements.

Like My Hack?:
If you like this hack and are currently using it, please click the INSTALL button. You will receive updates in your e-mail, whenever I add new features (or fix bugs). Also any comments / suggestions are welcome. Your opinions help make it a better hack!

Sites Currenly Using This Hack:
(If you would like your site listed, please let me know so I can add it to the list!)
forums.extremeoverclocking.com
www.sportscardforum.com
www.honda-acura.net
www.graphcal-illusions.com
www.7thgencivic.com/forums/
www.vb-host.com
www.planetwrx.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-27-2003, 11:41 PM
Fi_InCogNiTo Fi_InCogNiTo is offline
 
Join Date: Jan 2003
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:53 PM eoc_Jason said this in Post #16
Fi_InCogNiTo - 1. I can add that in fairly simple, but most people seem to notice their number change as soon as they post something. 2. Hmmm, so you mean like a rebuttle type comment? That is definitly possible, I'll have to sit and think about that for a while. So far the few members I have that got negative comments knew they were going to get them because a deal went bad...
It would still be nice to have an email sent just to inform the person of a new entry. If possible, it would be nice to have a link back to the users feedback page/profile and the member name and comment left in the email also.

And yep, a rebuttle type comment would be nice also.

I sent you a PM
Reply With Quote
  #23  
Old 04-28-2003, 12:11 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was actually a feature I was going to add in, and have the comment hyperlink to the thread. I just had to make the decision to stop adding and tweaking stuff and finally get some code written out so other people could implement it.

I'll add that feature in on the next release, which I should probably have posted maybe this next weekend.

Quote:
Today at 05:00 PM CJi said this in Post #18
I've added a field to supply the URL to which the feedback relates, this way users can't just add feedback to their friends, and if they do, they get found out.
Reply With Quote
  #24  
Old 04-28-2003, 02:19 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an extremely useful hack for my new board to be launched. Since my board will be a marketplace, where trading/buying/selling is done...i am also considering a few custom modules to be coded. This one will be integrated along with those hacks. I'll wait for your next release, which'll have more features.

Well done ! Keep up the great work, chief !

Cheers
Reply With Quote
  #25  
Old 04-28-2003, 02:26 AM
LavaNoX LavaNoX is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is such a great hack idea, great work
Reply With Quote
  #26  
Old 04-28-2003, 08:18 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a little progress update, since I couldn't sleep tonight I worked some more adding in the features that some of you suggested.

Things I have added (this will be v1.1 when I post it):
1. Pagination - It defaults to the user's / forum's default page length if you don't specify a number, otherwise it is whatever you want it to be. (This really only involved taking like 5 lines of code from showthread.php, no reason to reinvent the wheel).

2. Submitting a URL - I checked out how CJi did it on his forum, and since I really didn't want to add an extra column in the popup window, I made it if they entered a URL it would make the comment text hyperlinked, otherwise it displays as normal. However this can be changed up with minimal editing.

3. User Definable Stuff - Just set some variables at the top of the usertrade.php so that you can set various things to your liking.

4. Changed the [delete] link to just a [X] in smallfont, and also made the username in smallfont to match the rest of the displayed info in the popup box.

Things left to do - Email Notification & Rebuttle Box.

Unfortunatly I haven't upgraded to vB 2.3.0 yet, and I know they changed up the email function some from the changelog, so I need to glance over the stuff to make sure it is compatible across various versions.

I'll post the updated version (I guess we shall call it v1.1) tomorrow afternoon when I get home from work. It seems to be running all smooth on my forum but I want to glance over the code one last time when I'm actually conscience and clean it up a bit.

Most of the changes were in the usertrade.php file, I think you will have to change only 1 or 2 templates and that is all to make the upgrade.
Reply With Quote
  #27  
Old 04-28-2003, 08:26 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, on a side note, I'm trying to think up a better name for the whole thing, something short and sweet... About the only thing I can think of is: "vBTrader"

Any ideas or suggestions?
Reply With Quote
  #28  
Old 04-28-2003, 10:05 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the explanation Jason.

I think this is a really useful hack. For almost all sites which have some form of Buying and Selling and Trading going on , this sure is good to have.

Will definitely install this once the new version rolls out

As for the name , how abt vBTraderRatings ?

vBTrader sounds more like an intergrated classifieds system ... of cos if you could make that too i would be eternally grateful haha ... ok ok so i digress
Reply With Quote
  #29  
Old 04-28-2003, 12:38 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Mist - I know, I'm gonna add pagination in next... , also about the colors I think I'm to have to create something because I would like it to be a little more user definable (thought it's just that one line of code, not hard to find), but I was thinking of having the actual number color-coded too on the threadview & profile page.
This could simply be done by adding an option vbulletin options to select the color for positive,neutral and negative. Then put the global variable in the templates - problem solved

- miSt
Reply With Quote
  #30  
Old 04-28-2003, 03:17 PM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is one in the works, it's called vBay, just do a search for it, it's still being developed by some guy, but it looks to be very promising. Auction style & regular classified style listings... If he does pull it off I think it should become standard in vBulletin!

Quote:
Today at 06:05 AM cinq said this in Post #27
vBTrader sounds more like an intergrated classifieds system ... of cos if you could make that too i would be eternally grateful haha ... ok ok so i digress
Reply With Quote
  #31  
Old 04-28-2003, 05:42 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Such a feature would never get in simply due to the excess coding it would require and also because it would not be used by more than 25% of the audience (and that is being optimistic)

- miSt
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06731 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete