![]() |
Hi, first i would like to say this hack rocks.
Quote:
Cheers |
Hey Guys,
Sorry about this, but my trader ratings has broken. :( I have checked and dbl checked all the templates, re-uploaded traderratings.php in binary and have pulled 3/4 of my hair out.... now i am begging for help. The main page displays fine - http://www.skylinesaustralia.com/for...ings.php?u=124 But if you want to leave feedback - http://www.skylinesaustralia.com/for...24&do=feedback The source of that page is 100% empty.... i dont know whats going on. Thanks for any assistance. Christian |
I would like to make the URL FIELD when submitting feedback a required one.. this is so we can track and moderate the system easier...
Can you please tell me where and what code to add for this... Cheers. |
Quote:
|
Quote:
In the first bit of the code you will find this option: Code:
// Require users to enter a URL when submitting feedback |
Quote:
i can also see the summary page and peoples specific feedback, but just not leave the feedback. |
Quote:
Ah, cheers for that.. very greatfull, all working now :) |
Here's a problem I noticed.
I have a user who had some bad deals, so he got some negative feedback. However, he also had some good deals as well. The problem is that he had more good than bad deals, so he still has a +2 rating. If people don't look at his rating in detail, they may think he's good to go and purchase from him, even though he may be committing fraud. The solution would be to change the way the ratings are calculated. Instead of just +1 or -1, it would be smarter to do it like eBay does - 100% less any negative marks. In this case, he might have 4 good and 2 bad. Instead of having a +2 rating, he would have a 66% rating, where everyone else would have 100%. How hard would it be to change the way this hack does the math? I would be very interested in seeing it like this. Besides, people are used to how eBay works, so this would make a lot more sense to more people. |
Okay, I tried to make the 100% score thing work by changing the math:
In traderratings.php, on line 460 Old: $tradeall = $userinfo[tradepos] + $userinfo[tradeneu] + $userinfo[tradeneg]; New: $userinfo[tradescore] = 100 / $userinfo[tradepos] + $userinfo[tradeneg] * $userinfo[tradepos]; The problem is that I get a division by zero error on the traderratings.php page. However, I believe the math is correct. Now how can I make this work? I'm no PHP programmer so I'm gonna have a very hard time making that work. So what is the @$userinfo[tradepcnt] = (1 - ($userinfo[tradeneg] / $tradeall) ) * 100; line for? Does that do what I want already? (line 465) |
Quote:
|
All times are GMT. The time now is 01:39 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:
|