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 |
#112
|
||||
|
||||
Quote:
Code:
<if condition="$post['userid']"><if condition="in_array($thread[forumid],array(49,52,53,54,55))">
(trader ratings row)<div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)
</div></if>
|
#113
|
||||
|
||||
Here, use this:
PHP Code:
|
#114
|
|||
|
|||
We already hold a "rating" system on our board monitored by a moderator. Is it possible to add existing old scores into a users Trade Rating profile to get kick started? (obviously without any comments or times)
Your system installed like a dream by the way Mike |
#115
|
||||
|
||||
Quote:
thats weird... i get this error when i used your code Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/httpd/vhosts/hofoufn.com/subdomains/vb/httpdocs/includes/adminfunctions_template.php(3037) : eval()'d code on line 194 |
#116
|
||||
|
||||
It shouldn't generate an error... maybe try removing the '' from that first $post['userid'] You can nest it with two if's (your example), however make sure you have two closing if's (one for each), in your code above you only had one...
|
#117
|
||||
|
||||
You would have to show me how the old one is maintained, I might be able to give you some tips to port it over.
Quote:
|
#118
|
||||
|
||||
Quote:
|
#119
|
|||
|
|||
Very nice. I'll have to click the ol' install since I put this on a forum I administer. One thing that kinda bugged me however was that the install script didn't add the templates to all the styles at once, but I was able to get around that relatively easily. Great job overall!
|
#120
|
||||
|
||||
Well, since different people have a different styleid as their root, I didn't want to just pick a number out of the blue. I'll probably modify it so the user can select with a dropdown which one they want to install to in a future release. But at the same time I tried to make the whole install of the hack as automated as possible for people who don't know much about how vB works.
Also, it is my first time coding an installer, it's either that or a massive txt file with all the stuff to do... |
#121
|
||||
|
||||
Database error on upgrade:
Code:
Database error in vBulletin 3.0.1: Invalid SQL: ALTER TABLE user_rate_trade DROP INDEX rateduser_2 mysql error: Can't DROP 'rateduser_2'. Check that column/key exists mysql error number: 1091 Date: Monday 07th of June 2004 11:41:32 PM Script: http://www.honda-acura.net/forums/ad...derratings.php Referer: http://www.honda-acura.net/forums/ad...derratings.php Username: Daniel IP Address: 24.74.93.185 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|