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)

eoc_Jason 01-10-2005 04:34 PM

BladeUK - I replied to your PM with the (hopefully) info you need to correct it.

horrordvds.com - Like I said before, it's based on unique members. In a way, you have to think of the logic behind it. Seeing that 20 different people bought/sold something from a person IMO is a little more comforting to know that one person bought/sold 20 things from a person. The Rating is just the score displayed in the thread view. On the user's trader rating page it displays the total amount of positive feedback received. If you feel the need to make it non-unique, you can easily edit the PHP script to do so, however I'm not planning on making any changes/options in my code.

therczone - Yes, I always knew about how it displayed that info incorrectly in the "who's online", and there are numerous posts on how to alieviate the issue for any custom file (like you posted). I might add an additional text file for people who want to make this change, however I see it as non-essential. If you notice, the rest of the hack doesn't require editing any vBulletin files (this was intentional) so that upgrading from one version to the next (for both vB & TR) would be quick and painless. ;)

Hooligan_R6 01-12-2005 03:38 AM

First off have to say what a great hack this is! It installed very easily and on my default style is working perfectly. I have 2 styles and made all the same template changes I made to my default to my second template. Each user now has the Trader Rating link with their feedback amount. But if you click on the link to leave them feedback it takes them to a blank page. This is only on the second non-default style.

I tried searching through this thread to find a answer but did not find exactly what I was looking for in relation to my issue.

Thanks in advance!

akoj 01-13-2005 09:33 PM

This is such a great addition to my board. Thanks!

fiber1 01-15-2005 01:51 AM

Very nice and thank you! Would like to second the link validation in future releases.

Fiber

coolgus 01-18-2005 03:50 PM

Very Useful !!!

eoc_Jason 01-20-2005 03:58 PM

This is a template inheritence issue. You need to have all the trader rating templates at the highest level of your styles so that they can be used by all the lower custom styles.

Quote:

Originally Posted by Hooligan_R6
First off have to say what a great hack this is! It installed very easily and on my default style is working perfectly. I have 2 styles and made all the same template changes I made to my default to my second template. Each user now has the Trader Rating link with their feedback amount. But if you click on the link to leave them feedback it takes them to a blank page. This is only on the second non-default style.

I tried searching through this thread to find a answer but did not find exactly what I was looking for in relation to my issue.

Thanks in advance!


Keyser S?ze 01-21-2005 10:58 AM

right now im using 1.1.0 and its really doing all i want it to, the other new things i really have no use for and i hate to mess with something thats working

so

the oen thing i do want is the notification when someone leaves u feedback, is there anyway to install just that into 1.1.0? i can do it manually if u can tell me what to add

thanks

eoc_Jason 01-21-2005 01:45 PM

The change from 1.1.0 to 1.2.0 includes more than just new features. It also have various bug fixes that can be somewhat critical under various circumstances. Not to mention that if you do not upgrade properly then there is no guarantee that you will be able to upgrade to future versions correctly.

The upgrade to 1.2.0 is very quick and painless. It does not modify any existing TR templates (if that is what you are concerned about).

Keyser S?ze 01-23-2005 03:14 PM

ok i upgraded, i wasnt worried about it loosing data i know that never happens (usually anyway), i just didnt want it to stop working so well, one thing i love about this hack is even when i upgrade vb3, the hack doesnt have to be reinstalled, (least in 1.1, we shall see for the new one

one thing, i had hoped this problem for me would have been fixed in 1.2 but its still not working, might be a conflict of another hack im not sure but anyways

the "trader rating: (3)" shows up in legacy but not in vb3 default (the new style postbit)

i have a template hack that allows users to pick in the CP whether they want legacy or vb3 default, could that be causing the problem?

i got the right code in both postbit styles, but just doesnt show up sadly, any ideas?

eoc_Jason 01-23-2005 05:07 PM

There's no reason it shouldn't work for both template styles (I've used them on both). As long as your code is in both templates and at the right style level, it should work. (I don't know how many custom style's you use, if any, however that seems to be most peoples problem is they have the templates only for one custom styleid...)

billywiz 01-26-2005 09:53 AM

can some 1 tell me how i set the Trader Ratings so that just trusted members,admins,mods can see refs ?

any help plz sorry if its been asked before just lot of pages 30 lol

cheerz billy

GlitterKill 01-26-2005 01:57 PM

Got the latest version up and running. GREAT WORK!

http://forums.pimprig.com/traderratings.php

eoc_Jason 01-26-2005 02:12 PM

Do you mean just to make it visible, or to allow them to rate?

By default the permissions in the PHP file are set to if the usergroup "can post". However you can modify the code & templates to include actual usergroups. (Check the included template sample code).

Quote:

Originally Posted by billywiz
can some 1 tell me how i set the Trader Ratings so that just trusted members,admins,mods can see refs ?

any help plz sorry if its been asked before just lot of pages 30 lol

cheerz billy


billywiz 01-26-2005 02:31 PM

Quote:

Originally Posted by eoc_Jason
Do you mean just to make it visible, or to allow them to rate?

By default the permissions in the PHP file are set to if the usergroup "can post". However you can modify the code & templates to include actual usergroups. (Check the included template sample code).


visible and to rate

wrang 01-26-2005 04:58 PM

Great mod and it work for me too 3.0.6
But where should i put the code
Code:

<if condition="in_array($thread[forumid],array(17,18,19))">
(trader ratings row)

In the template postbit?

It says if i just want to have this function in some forum.

Code:

- For multiple forum sections:
<if condition="in_array($thread[forumid],array(200,201))">
(trader ratings row)
</if>:

So where should i put this in the template

Regards
Christian

v8news 01-26-2005 11:44 PM

Quote:

Originally Posted by eoc_Jason
Do you mean just to make it visible, or to allow them to rate?

By default the permissions in the PHP file are set to if the usergroup "can post". However you can modify the code & templates to include actual usergroups. (Check the included template sample code).



Can you please put that in a way I could understand.

Lets say i only want this feature to be available to a member group "Respected" and they only have access to the rating feature. Can you post a step buy step modification (weather that be via the CP or via editing the raw php code) to make this functional only to the "Respected" group.
How do I even make the group. (Sorry for the newbieism)

Allso are you working on a new version I currently have Trader Ratings 1.2.0 installed and functioning correctly and it has poteintial to become alot better.

Excellent work buy the way. :D

JulianD 01-27-2005 06:50 PM

Great hack! I just installed it on my boards with some minors modifications according to my needs.

eoc_Jason 01-28-2005 04:20 PM

Yes, I am working on a new version, but it is *kind* of a major overhaul from this version. Part of the problem is I don't have much free time, and this is a "free" add-on, so it is low on my priority list, so I don't know when the next version will be released.

Quote:

Originally Posted by v8news
Allso are you working on a new version I currently have Trader Ratings 1.2.0 installed and functioning correctly and it has poteintial to become alot better.


MustangLisa 01-28-2005 09:26 PM

This is FANTASTIC. Thanks!!

javageek 02-01-2005 01:48 PM

I just installed this, great work!

oldfan 02-01-2005 09:23 PM

[high]* oldfan drools
[/high]


Quote:

Originally Posted by eoc_Jason
Yes, I am working on a new version, but it is *kind* of a major overhaul from this version. Part of the problem is I don't have much free time, and this is a "free" add-on, so it is low on my priority list, so I don't know when the next version will be released.


javageek 02-02-2005 01:08 PM

A cool new feature would be to do batch ratings. Sometimes on my site we have people sell decals to 100 people or more, if they could just put a check next to the peoples name and fill out one comment that would be cool. I don't have a clue as to how hard it would be to implement though.

TurboTwoLiter 02-02-2005 11:01 PM

will this work with 3.0.6 by chance?

fuse3k 02-03-2005 04:39 PM

Noob question:

How do you ADD feeddback to a user? I have it showing their trader rating on the memberlist, postbit, etc, and the traderraatings page works fine but I can't figure out the steps to add feedback to a member. Thanks.

Keyser S?ze 02-03-2005 07:20 PM

click on their trader rating, per say in the post bit, like this "Trader rating (2)" id click the 2

that goes to their display page and there u will see a link for "add trade feedback" or soemthing like that

pretty smple

Quote:

Originally Posted by TurboTwoLiter
will this work with 3.0.6 by chance?


sure will, my forum is running 3.0.6 and it works just fine

---

just a thought, i think this looks better myself, i changed the positive and negative icons to these, (attached in case u want them)

fuse3k 02-03-2005 07:39 PM

Quote:

Originally Posted by Keyser S?ze
click on their trader rating, per say in the post bit, like this "Trader rating (2)" id click the 2

that goes to their display page and there u will see a link for "add trade feedback" or soemthing like that

pretty smple


I don't have that link displayed on the Trader Ratings page. If I try to manually add it in the address bar it tells me I don't have permissions. Any ideas?

Keyser S?ze 02-03-2005 08:05 PM

this link right here, how could u not have it

fuse3k 02-03-2005 08:09 PM

Quote:

Originally Posted by Keyser S?ze
this link right here, how could u not have it

Beats me, Everything else is being displayed except for the link to add feedback. If I try to go to it directly by point to traderratings.php?u=1&do=feedbacknew it get the message:

Brian, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Keyser S?ze 02-03-2005 08:21 PM

go download this hack again and reupload traderrating.php

fuse3k 02-03-2005 08:34 PM

I didn't modify the traderratings.php file at all so I can't see how that would do anything. Any other ideas?

Keyser S?ze 02-03-2005 09:01 PM

nope, maybe ecco jason will know, whats the link to ur forum, u can PM it to me if u dont want to post it

eoc_Jason 02-05-2005 08:24 PM

He figured it out... He was trying to rate himself... ;) (which you can't do)

wrang 02-06-2005 07:20 AM

Where shuold i put this code in the postbit template??

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

Stussi 02-08-2005 02:01 PM

Hey Jason! Very nice Hack!

But i?ve got some problems with it....

I've installed it ~3 month ago and now it makes some problems:

I've rated a guy in my forum. He had one positive rating (rated by me) and i wanted to leave him a second... worked fine but: (i translated it in german...)

Quote:

Bewertungen: 1
Positive Bewertungen: 100,0%
Positive Bewertungen von Mitgliedern: 1
Negative Bewertungen von Mitgliedern: 0
Positive Bewertungen insgesamt: 2
How is that possible?? he got 2 positive ratings by me and theres only one listed....

I also changed the Value in the DB but no effect...
And i edited the ratings... still no effect..
I also gave him a third positive... no effect except there are 2 overall ratings and 3 positve...
there are NO negative ratings...

Edit: it seems that the ratings by the same Userid dont count....

lifesourcerec 02-09-2005 08:33 PM

IS there a way to manually add feedback. I merged 2 accts and the feedback thing didn't carry over.

eoc_Jason 02-17-2005 04:05 PM

Stussi - The rating is based on unique users. Thus if you rated him 1,000 times, then it would still only give him 1 point.

lifesourcerec - if you wanted to merge over his ratings, you would probably need to search the table for his old userid, and alter them to his new userid. Also you would need to take into consideration users he rated. That can get kind of messy depending on the total rating numbers.

lifesourcerec 02-18-2005 12:05 AM

Quote:

Originally Posted by eoc_Jason
lifesourcerec - if you wanted to merge over his ratings, you would probably need to search the table for his old userid, and alter them to his new userid. Also you would need to take into consideration users he rated. That can get kind of messy depending on the total rating numbers.

Once I find his old id, how would I alter them over to his new one? change the old id to the new one?

ChrisBaktis 02-19-2005 12:35 PM

I would like to add a box in a members profile area that shows the last 5-10 feedbacks. Can anyone help with the code I need to add (if it is possible)?

JazzleBug 02-20-2005 09:14 PM

Quote:

Originally Posted by eoc_Jason
Stussi - The rating is based on unique users. Thus if you rated him 1,000 times, then it would still only give him 1 point.

lifesourcerec - if you wanted to merge over his ratings, youwouldprobably need to search the table for his old userid, and alterthem tohis new userid. Also you would need to take into considerationusers herated. That can get kind of messy depending on the totalratingnumbers.

Any idea if there will be an update regarding the merging/changingofmembernames/id's? We've already had some trouble with this and asthesite grows, it's only going to get worse.

Great addition, though! My members are using the hell out of it! :p

Telkman 02-21-2005 09:56 AM

Just a very small change I thought other people may be interested in, or have some comments on...

In the navbar on various pages, the "View Trader Ratings", "Edit Trader Ratings" etc link to the user you are currently editing - to fit in more with the traditional vB breadcrumbs style, these should perhaps link to the parent page, with no user specified.

Ideally, these would link to a page appropriate to the action in question, e.g. an edit/submit page where you can search for the user, but for something so simple and effective, that over complicates things rather - To simply have each link return to the trader ratings page, simply remove
PHP Code:

u=$userinfo[userid

from each of the below lines in traderratings.php.

PHP Code:

$navbits construct_navbits(array("traderratings.php?$session[sessionurl]u=$userinfo[userid]=> "View Trader Ratings",'' => $userinfo['username']));

$navbits construct_navbits(array("traderratings.php?$session[sessionurl]u=$userinfo[userid]=> "Submit Trader Ratings Feedback",'' => $userinfo['username']));

$navbits construct_navbits(array("traderratings.php?$session[sessionurl]u=$userinfo[userid]=> "Edit Trader Ratings Feedback",'' => $userinfo['username'])); 



All times are GMT. The time now is 07:13 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.02232 seconds
  • Memory Usage 1,847KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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