The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Trader Ratings v1.2.0 Details »» | |||||||||||||||||||||||||
Trader Ratings - A user feedback hack
Copyright ?2004 Jason Rabel, All Rights Reserved. __________________________________ Latest TR Verson: 1.2.0 vB Versions: 3.0.0 - 3.0.9 Author: Jason Rabel Contact: PM me here, I'll respond. Site: EXTREME Overclocking ?????????????????????????????????? Updates: ?????????????????????????????????? 1.2.0 - September 4, 2004 - Added Trader Ratings Stats Page (finally!) - Added PM notification when someone receives feedback - Changed how positive feedback percentage score is calculated (bugfix) - Ability to "close" the Trader Ratings pages (for maintainence or whatever) - TRATING_CLOSED - Ability to set the URL field when submitting feedback to required or optional - TRATING_REQ_URL 1.1.0 - June 7, 2004 - Added time-based user edit/delete abilities, set via TRATING_UEDIT constant in traderratings.php file - Userdate field is now an int field to be consistent with vBulletin - Userrating field changed to tinyint to save space - Fixed timeframes for showing historical ratings - Made some various code consolidation - Added missing ".TABLE_PREFIX." statement - Templates.txt file shows code for postbit & MEMBERINFO, with conditional examples - All 3 templates changed heavily - Added some more phrases & fixed missing phrases 1.0.1 - June 2, 2004 - Fixed a "divide by zero" display error - Postbit template fixed so guests do not have a trader rating 1.0.0 - June 1, 2004 - Initial Public Release Description: ?????????????????????????????????? Trader Ratings has evolved from my vB2 Buy/Sell/Trade User Rating System. This is a rating system for when members buy / sell / trade items from each other (presumably on a FS section of your forum). It is based on the honor system since there is no way to truly tell if they did engage in a transaction. (But I'm working on a way to fix that.) Trader Ratings came about because it was a pain to try and maintain a single thread listing good / bad traders and so far has worked out quite well. Features: ?????????????????????????????????? ? Rate another 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 ? Display ratings over time ? Filter based on Buyer/Seller/Trade/or feedback they left for others ? Users can edit/delete ratings left for others (time based limitation) ? Admins & Mods can edit/delete anyone's ratings (just incase) ? Stats page showing best & worst rated members, and recent ratings ? PM notification when a person is rated Basic Info: ?????????????????????????????????? I haven't written a FAQ or any real documentation yet, but the way the system works is very simple. The only part that might confuse someone is that the Feedback Score is based only on UNIQUE members. Also, there are simple checks in place to make sure they actually do select proper info and enter a comment. A user is not able to rate themself (obviously). Permissions for viewing / rating are similar to standard forum viewing / posting permissions. Also it checks to make sure users exist and all that good stuff. Installation Info: ?????????????????????????????????? This hack is very simply to implement requiring only: ? 1 new file ? 5 new templates / 2-3 template changes (navbar, posbit/postbit_legacy, MEMBERINFO, memberlist_resultsbit) ? 52 new phrases ? 1 new DB table / 1 table DB change & index An install/upgrade PHP file is included to do all the template/phrase/DB stuff, so basically you run that, upload the file, and edit your postbit template. BAM! Screen Shots / Demos: ?????????????????????????????????? See Screenshots below, or you can view them on my forums: My Trader Rating Page Standard Disclaimer: ?????????????????????????????????? BACKUP YOUR DATABASE & FILES BEFORE IMPLEMENTING THIS HACK!!! Forums Using This Hack: ?????????????????????????????????? EXTREME Overclocking Forums i-Club -- Forums Accord Tuner NSX Prime Honda-Acura.net Guns Network PimpRig (PM me your forum if you want me to add you to the list) Donations: ?????????????????????????????????? This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you. Plans For Future Releases: ?????????????????????????????????? ? rebuttal / followup comments ? item description (possibly instead of thread url) ? button on thread that buyer/seller clicks to tie the transaction to two people Show Your Support
|
Comments |
#382
|
||||
|
||||
awesome hack. :up:
this works much better than the vendor rating forum i had created. <clicks install> |
#383
|
|||
|
|||
Good hack, my users love it!
Would it be possible to limit the edit function to admins only? Thanks! cheers, adp |
#384
|
||||
|
||||
Thanks
I'll test it. |
#385
|
|||
|
|||
First of all, thanks TONS!!! This is a great hack. Paypal coming your way shortly.
Secondly, is there any way to just display the trader rating in the user profile for only a specific forum? I don't want it enabled for all forums, they just need to see it enabled in our buy/sell/swap forum. Thanks again, fantastic job. |
#386
|
||||
|
||||
Sure, just wrap an <if></if> conditional around the line in the postbit where the condition is the forumid == whatever (not sure of the variable off the top of my head). If you need more exact code let me know and I can post it for ya.
Quote:
|
#387
|
||||
|
||||
Okay, I just posted an Upgrades_Archive.zip file which contains the all the old upgrade files (which some people requested), and the vb2 conversion file.
1.0.0 or 1.0.1 -> 1.1.0 1.1.0 -> 1.2.0 vB2 Version -> 1.2.0 |
#388
|
|||
|
|||
Quote:
|
#389
|
||||
|
||||
Okay, I checked and made sure it was $thread[forumid].... Also if you want it to display in more than one forum section, just use the in_array function....
Here's an example: Code:
<if condition="$thread['forumid'] == 200">(Your Postbit Code)</if> |
#390
|
|||
|
|||
I do a similar thing with conditionals to help promote the trader ratings but instead of just showing a user's score I also show a message at the top of each post indicating how "safe" the user is. This is accomplished with code in two places:
1) In the phpinclude_start template I have the code $classified_forumids = array(308,214,215,216,226,284,220,217,218,219,227, 223); which is an array of all our trader forums (it's easier to use an array then a if/and 10 conditional as you will see later on). 2) In the postbit/ potbig legacy template I have the following code right before <div>$post[message]</div> Code:
<if condition="in_array($forum[forumid], $GLOBALS[classified_forumids])"> <if condition="$post[ratetradetotal] != 0"> <if condition="$post[ratetradetotal] < 0"> <div style="text-align:center;font-size:12px;color:red;font-weight:bold;">Negative: This user has <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:red;">trader rating</a> of $post[ratetradetotal]!</div> <else /> <div style="text-align:center;font-size:12px;color:blue;font-weight:bold;">Positive: This user has <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:blue;">trader rating</a> of $post[ratetradetotal]!</div> </if> <else /> <div style="text-align:center;font-size:12px;color:green;font-weight:bold;">Neutral: This user has no <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:green;">trader rating</a> history!</div> </if> <div style="text-align:center;font-size:12px;"><a href="/traderratings.php?u=$post[userid]&do=feedbacknew">Leave feedback for $post[username]</a></div><br /> </if> |
#391
|
||||
|
||||
Great MOD!
I only missing the popup window after a new rating!? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|