![]() |
depends on which post bit are you using.. you using postbit or postbit_legacy for the old style.
I threw mine below posts and above reputation <div> $vbphrase[posts]: $post[posts] </div> <if condition="$post['userid']"><div>Buyer/Seller Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> </div> <div>$post[reputationdisplay]</div> |
Quote:
Thanks |
Please jason, test it on my board if you get anything..my site couldnt live without this hack
|
This is the most used hack on my site. I wouldn't consider the upgrade until a 3.5 hack is available.
I know this has been discussed many times but when/if you release a new version would it be possible to allow multiple feedback from one user to count? My members want the ability to show how many trades a person has made on our site. |
Quote:
Also, is there a way to do a one-button "Delete All Ratings For This User" thing? I've tried to edit traderratings.php but I'm no good at php. Anybody help please :D? |
1. When the final release of 3.5.x is available, then an updated version of this hack will be released. Not until then... I'm sorry to do that, but if anyone remembers how many changes vB 3.0 went through before it finally became a stable release, you would understand.
2. There is no "delete all ratings" button, I never considered that a valid action. However you could manually go into the database and delete all based on his userid, and manually update the TR info in the user table too. 3. If you want multiple feedbacks to count towards the score, simply modify the function at the bottom of the traderratings.php file. It's not that complicated to modify. |
nm, great mod :) installed
trying to change the word "optional" on my trading to "mandatory" i've already edited the .php so it'll be mandatory, but cannot find the words "optional" anywhere in tratings_thread_url :( Then modify the phrase tratings_thread_url and removed the "(optional)" text. i'm assuming it's using $vbphrase.. but i'm not very good at php to know where to edit that specific vbphrase anychance you can point me in the right direction? :) thanks |
Phrases are edited via the AdminCP... Under the "Languages / Phrases" section (or something similar to that... it's the 3rd choice on the list I believe).
|
is there a way to change it so it displays a number, then something like 5 stars. I don't think it would be that hard, could be done with a while statement, I believe. Anyone know how to do this.
|
Why would you want a star rating instead of numbers? I don't see how the two would correlate, unless you made the # of stars relevant to the % of positive feedback.
|
Quote:
|
My mistake, I thought he said stars instead of numbers, but he said numbers and then "something like 5 stars"... (Which I'm assuming he means the vBulletin scale of 1-5 stars). The easiest way to do it without having to even edit the PHP file would be to just do some if conditionals in the postbit template to base your stars on the TR score.
As for the eBay stars that yoyoyoyo mentioned... don't even get me started with how pointless those things are... They are eyecandy and nothing more... and that's all I will say about that. |
I think the hack works great, the stars are cool but there just for looks, My site could not live without this hack..and there are a few things I would LOVE to see done with this hack jason but stars arent really one of them :P. If you ever get time I might give you some money to modify this hack for a few things jason, when you get time :). I love this hack, and thank you a TON for doing it.
~Big Curt |
when i install ( tarder system automatic add top rated trader )
http://www.efz-tm.net/forums/traderratings.php? |
Thanks for a brilliant mod!!!
|
I am still hoping for a percentage mod for this. Right now I am having problems because people assume ANY positive number means the seller is okay, and buy from them without looking at the details. But as it turns out, a seller with 10+ and 4- = 6+. It should really equal 60%.
My members are trying to work on this. I am not above doing on the fly calculations on my site, as it's pretty small. Alternately, I can add another DB column and run some SQL to populate it, and then I just need to code to display it. Anyone wanna take this on? Here is where we stand on this: http://www.rs25.com/forums/showthread.php?p=578034 |
I'm still hoping for an upgrade to 3.5 for this hack.
any idea when? Quote:
|
1. I said this before and I will say it again. There will NOT be an update for vB 3.5.x until they have a final release. (So much code changes during the beta/RC versions, I really don't feel like having to do a bunch of needless re-work). It is currently a RC1, typically two more RC's come out, then the final release.
2. If you want to know how to make a % display, look at the function that does the calculations, and also the main TR page (since it calcs %'s for that page). The easiest cource of action would be to add another column to your user table to store the % value (if you don't want to do it on the fly). Then under the function that calculates out the TR score, add the code to calculate the % and update the user table with that info too. You will have to run a mass-update to re-calc all users. I'm not sure if I posted any code for that, but the concept is not that complex to write your own little routine. |
Is there a way that i can remove the trader ratings from my forum?
|
When i go to "apply phrases" i get this error"
Database error in vBulletin 3.0.7: Invalid SQL: INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'tratings', 'Trader Ratings', 1) mysql error: Duplicate entry 'tratings-0-1' for key 2 mysql error number: 1062 Date: Wednesday 03rd of August 2005 12:52:12 PM" I already have it installed on my forum but i tried to do it again becasue it dosent work with the new skins that ive added, it only works with the 1st one. |
1. Edit your templates that you modified with TR Info
2. Delete the traderratings.php file 3. Delete all tratings_* templates 4. Delete all tratings_* phrases 5. Drop the user_rate_trade table 6. Remove the ratetradetotal column from the user table Your issue with skin/template is probably an inheritence issue. I.E. the TR templates are at a lower level than the skin you are using. |
Quote:
|
How can I change the style ID?
|
Quote:
I completely forgot to check to see if this supported 3.5 yet and just finished the conversion - had I checked this and seen your response, I wouldn't have upgraded since this is probably the most useful modification I have in place. I kept the SQL information saved so hopefully it'll work into the new system. |
I've only read through half the pages here, so please forgive me if this has already been covered but I haven't seen it. I am running TR 1.2.0. I have a handful of people reporting that all the TR pages are blank in IE. They can be seen in Mozilla, but not IE. 99% of my users can see it just fine in all browsers. It's just a handful that can't see it in IE.
Has anyone encountered this before? I've already commented out the "$phrasegroups = array();" line. That fixed it for many who had problems, but not all. Any suggestions? Thanks! |
As mentioned numerous times before, it is probably an inheritence issue with your style sets. If you use multiple styles then you need the templates to obviously be at the highest level so that they can be inherited by all other styles below it.
|
Hey Jason or anyone. I have a little problem. I'm not sure whether this is supposed to look like this or not, but it does. On my forum RealDN.com when you take a look at the members list, you see that the layout is all messed up. I'm not sure where the ratings, and user titles are supposed to go, but it looks a little weird.
Any advice would be greatly appreciated. Thanks, Jason F. |
Thanks Jason for this hack.
[high]* Dennis B installs. :)[/high] |
I just want to inform, that it works under 3.0.8 perfectly :)
|
installed and working fine but one problem is you try and goto the traderratings.php file directly, it comes up with a mysql error rather than display the stats page:
Database error in vBulletin 3.0.8: Invalid SQL: SELECT user_rate_trade.userid, rateduser, userrating, userbuysell, a.username, a.ratetradetotal, b.username AS ratedusername, b.ratetradetotal AS ratedtradetotal FROM user_rate_trade LEFT JOIN user AS a ON a.userid = user_rate_trade.userid LEFT JOIN user AS b ON b.userid = user_rate_trade.rateduser ORDER BY userdate DESC LIMIT 15 mysql error: Column: 'userrating' in field list is ambiguous mysql error number: 1052 Date: Friday 12th of August 2005 10:39:36 AM Script: http://forums.dvd-swaps.com/traderratings.php Any ideas on this one? |
great hack.........wow
|
Hello, I need help
Rater's Trading seemed to do not work on other styles? I recently installed 3 styles from extremepixels.com but when I link Trader's Rating to /traderratings.php? it doesn't show anything and it is blank. Any guidelines would be appreciated. edit: it is @ http://www.typicalhub.com/traderratings.php |
Quote:
|
Quote:
I'm a bit confused, what do you mean? Being all new to changing styles and whatnot. Regards, |
Quote:
Thanks |
Quote:
|
anyone got any ideas on my database problem posted above? really would like to get a fix, tried all i know to fix it but no joy :(
ta |
Quote:
|
installed and works beautifully, thanks!
/me clicks install |
As far as I can see this has installed properly (great mod thank you), however, I do have a few small problems!
1. On my Top Rated Traders column I have a list of people picked at random that have no feedback, how do I get rid of them so that only people with feedback show? 2. I am selecting positive feedback but for some reason when I click submit its coming back with neutral? 3. Also, how do I edit and delete feedback (when I try to edit it just adds more feedback) as I cant see anything anywhere for this? Many Thanks |
All times are GMT. The time now is 04:23 AM. |
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:
|