vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Trader Ratings v1.2.0 (https://vborg.vbsupport.ru/showthread.php?t=65730)

doug97gxe 06-18-2005 11:35 PM

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>

Noonster 06-23-2005 05:44 PM

Quote:

Originally Posted by wrang
Where shuold i put this code in the postbit template??

<if condition="$thread[forumid] == 16">
(trader ratings row)
</if>

Does anyone know the answer to this ??

Thanks

bigcurt 06-23-2005 06:05 PM

Please jason, test it on my board if you get anything..my site couldnt live without this hack

akoj 06-24-2005 10:00 PM

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.

Blootix 07-01-2005 08:31 AM

Quote:

Originally Posted by akoj
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.

Hi, I was wondering if/when is this hack going to be upgraded to 3.5? It's pretty much crucial that we have it for our forums :)

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?

eoc_Jason 07-08-2005 02:14 PM

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.

cherieann 07-08-2005 11:16 PM

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

eoc_Jason 07-10-2005 06:11 PM

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).

kobescoresagain 07-18-2005 01:00 AM

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.

eoc_Jason 07-18-2005 03:56 PM

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.

yoyoyoyo 07-18-2005 04:21 PM

Quote:

Originally Posted by eoc_Jason
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.

ebay uses both and it works fine. they give you a specific star icon for the level of feedback, and also list the number.

eoc_Jason 07-18-2005 04:35 PM

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.

bigcurt 07-18-2005 06:31 PM

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

Q-v-n-s-Q 07-25-2005 12:17 AM

when i install ( tarder system automatic add top rated trader )
http://www.efz-tm.net/forums/traderratings.php?

totenmaske 07-28-2005 01:40 AM

Thanks for a brilliant mod!!!

RS25com 07-29-2005 04:36 PM

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

Kihon Kata 07-29-2005 04:45 PM

I'm still hoping for an upgrade to 3.5 for this hack.

any idea when?

Quote:

Originally Posted by RS25com
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


eoc_Jason 07-31-2005 01:03 PM

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.

icecube0045 08-03-2005 06:50 PM

Is there a way that i can remove the trader ratings from my forum?

icecube0045 08-03-2005 06:58 PM

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.

eoc_Jason 08-03-2005 07:00 PM

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.

icecube0045 08-03-2005 07:17 PM

Quote:

Originally Posted by eoc_Jason
1. Edit your templates that you modified with TR Info

so you mean to "revert" them, back to normal?

icecube0045 08-03-2005 07:38 PM

How can I change the style ID?

jlaine 08-06-2005 02:31 AM

Quote:

Originally Posted by eoc_Jason
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.

That's understandable - and I for one appreciate the time you've invested into this system - as it's a great addition to any site that has regular sales taking place.

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.

Chedy 08-07-2005 10:36 PM

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!

eoc_Jason 08-08-2005 01:28 PM

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.

RealDN 08-09-2005 01:48 PM

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.

Dennis B 08-11-2005 07:31 PM

Thanks Jason for this hack.

[high]* Dennis B installs. :)[/high]

zlos 08-12-2005 06:38 AM

I just want to inform, that it works under 3.0.8 perfectly :)

Shepski 08-12-2005 08:40 AM

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?

hotwheels 08-20-2005 01:45 AM

great hack.........wow

vphost 08-20-2005 09:39 PM

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

Damian 08-21-2005 03:44 AM

Quote:

Originally Posted by vphost
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

You need to add the templates to your new styles.

vphost 08-21-2005 03:53 AM

Quote:

Originally Posted by ATC_Damian
You need to add the templates to your new styles.

Hello,

I'm a bit confused, what do you mean? Being all new to changing styles and whatnot.

Regards,

vphost 08-21-2005 07:40 PM

Quote:

Originally Posted by vphost
Hello,

I'm a bit confused, what do you mean? Being all new to changing styles and whatnot.

Regards,

I think I've found out how to fix this, will have to re-try again and update you on this

Thanks

NexVision 08-21-2005 10:20 PM

Quote:

Originally Posted by eoc_Jason
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.

I am having the same problem as u offered this solution but I am upgrading. Will this delete users feedback?

Shepski 08-22-2005 08:19 PM

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

NexVision 08-23-2005 04:31 PM

Quote:

Originally Posted by NexVision
I am having the same problem as u offered this solution but I am upgrading. Will this delete users feedback?

Disregard my post above did the updates manually.

mr. visual 08-28-2005 12:03 AM

installed and works beautifully, thanks!

/me clicks install

jellybaby 09-05-2005 11:26 AM

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
  • Page Generation 0.02560 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete