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)

Yahhoon23 06-10-2004 11:40 PM

And actually, I was wrong sorry. I was thinking the array that was shown would make it check the forums you pick to make sure the threads or whatever they posted as the transaction link was in those forums.

Nevermind Sorry.

Chriss74 06-11-2004 12:00 AM

I installed the hack and when I start the hack via traderratings.html I get the error:

"This user has not registered and therefore does not have a profile to view."

Even after log off and log in, the error still occurs. I also changed a phrase to clear the cache - without success.

If I use traderratings.htlm?u=1 it shows me my (empty) trader-profile. That seem to work correctly.

What is wrong?
Thanks for any hint!
Chriss

Watson 06-11-2004 12:46 AM

Yeah Yahhoon, promotions are my friend :D

I could try summit like that I spose :D

eoc_Jason 06-11-2004 03:36 AM

You have to view a user, there is no page if you just call traderratings.php, technically it searches for userid 0. Eventually I'll probably make a stats page which will be the default if no userid is specified.


Quote:

Originally Posted by Chriss74
I installed the hack and when I start the hack via traderratings.html I get the error:

"This user has not registered and therefore does not have a profile to view."

Even after log off and log in, the error still occurs. I also changed a phrase to clear the cache - without success.

If I use traderratings.htlm?u=1 it shows me my (empty) trader-profile. That seem to work correctly.

What is wrong?
Thanks for any hint!
Chriss


eoc_Jason 06-11-2004 03:50 AM

Watson - All Admins/Mods by default can edit/delete anyone's feedback. Users by default can only edit/delete feedback they leave for someone within 5 minutes of leaving the feedback. A person can not rate themself (hence the missing link), and guests can not rate people either (obviously).

I'm not sure what you mean by their addresses via forums? None of my users post their address publically (or any personal info for that matter).

I think Yahhoon23 gave some good suggestions, I too only allow a certain usergroups the right to use the trader ratings system (as well as see the FS/WTB section).

This hack was meant to be simple (hence the minimal changes to vB). You can add conditionals and checks in the code if you want to check for threads, usergroups, reputation, whatever. However like in my original post, this hack is meant to be based on trust (kind of like user reputation).

Since running this hack back on vB2, I have had zero issues with people intentionaly trying to abuse the system. The most I really had were people who mis-rated someone by accident (however now with the user edit abilities that's eliminated). People on my site know they will get banned for abusing the forum, which includes Trader Ratings. Unless you have a bunch of immature kids on your forum, you more than likely will have little to no issues with abuse.

Again, read (or at least skim) this thread, I'm planning on continuing development of this hack, however it will still be based on a "trust" system for the most part. It just doesn't make sense to hack the crap out of vB files and templates to make something work, when a complete classifieds/auction add-in could be built from the ground up, and be self contained for the most part.

The furthest I will probably take this hack is a link in FS threads that ties two people to that thread and then they can rate each other. (even though it sounds simple, it is a lot more code and templates than you might think).

teksigns 06-12-2004 05:52 PM

any idea on the timeframe for the next release ?

eoc_Jason 06-12-2004 08:06 PM

There is no time-frame that I can give you. Simply, when it is done and at a stable point in the code. There's a lot I want to add, but it all just depends on how much free time I have to do it.

Right now my top priority is finding a job as I have been unemployed over 6 months. (Gotta pay the bills, ya know.)

Quote:

Originally Posted by teksigns
any idea on the timeframe for the next release ?


Watson 06-13-2004 06:04 PM

Yeah I think I am just gonny go for the promotions system.

Aint sure what I should do it as though, Mabye days Registed or something :D

**edit

I forgot to ask how I would go about setting this to only a certain user group can rate.

And also can I make it so only that usergroup can rate, but All other usergroups can read them.

Also this would be good to incorporate into a top5 sort of thing I was thinking about, to have at the top of forums home.

There are alot of new thread things etc, but I was thinking of a Top 5 Threads by Post, by view, and also a 5 newest posts. But also have the top 5 Members by rating.

Just an idea, and totally different mod I spose tho

EyeCrave 06-13-2004 11:25 PM

Hey Jason,

I have a quick question for you. I've read all the posts after 1.1.0 release and you seem to be heading towards a classified/auction type system.

I'm using the system for a DVD trading club and don't want to lose the trade features of this hack. Will it trading still be kept in mind for future releases?

eoc_Jason 06-14-2004 05:00 PM

Watson - look at the extra template examples with the is_member_of function to allow only specific user groups. You will need to change this on your trating_display template, and also add it to the proper actions in the traderratings.php file.

EyeCrave - The classified/auction system will be separate from this hack, but the two will be able to be tied / work together. It will be a long way down the line before I even start doing that one, so don't worry. ;)

lifesourcerec 06-14-2004 06:07 PM

Hopefully you can hook up the Top 10 feedback page. :)

Gavin B. 06-16-2004 12:56 PM

Nice, thanks a lot for that. :)

eoc_Jason 06-18-2004 01:29 AM

Okay, I just uploaded a upgrade_traderratings_vb2.php which is a direct upgrade from the vB2 hack to the current version. Consider it experimental and untested, but it *should* work without problems. ;)

I've been doing bits and pieces with new features, I'm going to try and sit down this weekend and do some hardcore coding, however it is fathers day this weekend so I might end up being busy with family.

With a little luck, another release should come early-to-mid next week. :banana:

RetroDreams 06-18-2004 02:49 PM

This would be absolutely pimp if it could be integrated in one of the PHP Auction GPL apps out there. Would take sites to a whole new level.

Chriss74 06-18-2004 07:09 PM

In ebay, you can rate the seller and the buyer. But what's about the trade? I don't understand, why the trade can be rated, too. Who should rate for the trade? The buyer, the seller or both?

Please explain, for what a rating of the trade is good for.

Thanks,
Chriss

Yahhoon23 06-18-2004 07:13 PM

Both.

It's just like an ebay auction.

On ebay, when you buy something, you pay with money.

In a trade, you are basically paying for an item with another item. Meaning in a sense, you are paying for the trade with an item of value or item worth money.

Get what I'm saying?

So it's the exact same as a ebay deal. Both people get rated on how the transaction went.

eoc_Jason 06-18-2004 08:22 PM

implementing a "trade" feature for a classified is not difficult, obviously you couldn't do a "trade" auction. ;)

Please try to keep posts relevant to this hack though, as I said the classifieds/auction will be a separate hack, once I get more gathered together I'll post a new thread for discussion while I work on it.

sketch42 06-18-2004 08:25 PM

Quote:

Originally Posted by eoc_Jason
implementing a "trade" feature for a classified is not difficult, obviously you couldn't do a "trade" auction. ;)

Please try to keep posts relevant to this hack though, as I said the classifieds/auction will be a separate hack, once I get more gathered together I'll post a new thread for discussion while I work on it.

jason.. in the next release which you said hopefully by mid next week.. is the joinable transaction button there?

Chriss74 06-18-2004 08:50 PM

Quote:

Originally Posted by Yahhoon23
Both.

It's just like an ebay auction.

On ebay, when you buy something, you pay with money.

In a trade, you are basically paying for an item with another item. Meaning in a sense, you are paying for the trade with an item of value or item worth money.

Get what I'm saying?

So it's the exact same as a ebay deal. Both people get rated on how the transaction went.

Sorry, but I still didn't get it. Maybe my english isn't good enough...

For my opinion, always the seller and the buyer should rate and should be rated - like in ebay. I still don't understand the sense of rating the deal itself - regardless if it was a sale or a trade.

And if there is a possibility to rate a trade, there should also be the possibility to rate a sale. Otherwise it would be unlogical.

Maybe, you or someone else try to explain it again, why it is sensible to rate a trade.

Thanks,
Chriss

Yahhoon23 06-19-2004 06:26 AM

Rating the deal itself is the same as rating the buyer or seller. I mean you rating the buyer or seller based on how the sale went right? Yes.

So, if someone traded you a computer for a television, wouldn't you rate on how the transaction went.

On ebay and any other feedback system, you don't rate the deal. You rate the seller for example on how good he was with customer service, or how fast he shipped etc. So if you buy an item using ebay, and he emailed you that day, and then you recieved the item in a week, you would rate him positive right?

Now if the seller never contacted you and sent the item a month late, you'd probably rate him neutral or negative because he was terrible as a seller.

Now, if you are the seller, and a buyer buys something, then he pays right away, you'd give him good feedback right? Yes.

If you are the seller and the buyer waits 2 weeks to pay, or doesn't pay at all, what do you rate him? Negative obviously.

Now, in a trade. Say you both agree to a trade. You are sending him your tv, he is sending you a computer. Well what happens if you send the tv and you never get the computer? Are you not going to leave him feedback on how the trade went? No. You are going to want others to know that you had a trade arranged and you never got the product that you wanted.

Another example is if you two are arranging a trade and he's trying to lowball you left and right, and finally you agree on something but it took forever and he acted crappy about it. You might not want to leave negative feedback because you both finally agreed on a trade, but you also didn't like he he did things so you will leave him neutral feedback.

Now as for positive feedback, say you find someone wanting to trade your tv for a computer. You both recieve your items promptly, so you would rate the feedback as positive because it was exactly as described and there were no problems.


Here's a feedback overview from eBay - http://pages.ebay.com/help/feedback/...-overview.html

"eBay members who have completed a transaction with you can leave feedback about their experience."



You made the point "For my opinion, always the seller and the buyer should rate and should be rated - like in ebay. I still don't understand the sense of rating the deal itself - regardless if it was a sale or a trade."

That is exactly what takes place in this hack. You rate a buyer or seller of an item that you recieved or sent. I don't understand exactly what you aren't understanding.

You believe that both the seller and buyer should be rated and that's what's happening in a item being sold, or items being traded. Either way it involves 2 parties.

So my main question is why is it NOT sensible to rate a trade?

Maybe if you answered that I could help you answer your questions.

eoc_Jason 06-24-2004 07:27 PM

Hey guys just a little update. I'm not dead or anything, just having a lot of personal stuff to take care of.

I know I'm long overdue for the update, but it will come just as soon as humanly possible.

joeychgo 06-24-2004 08:35 PM

There are alot of pages here - and I have a question that might have been answered and I missed it.

Can this be limited to certain usergroups?

I ahve a car club forum -- and am looking for a rating system for VENDORS, who only make up 5% of my membership. I would only want this rating system to apply to them...So that only VENDORS could be rated, but the ratings be viewable by all members.

SO, can I restrict this to a particular usergroup?

ChrisBaktis 06-24-2004 08:47 PM

Quote:

Originally Posted by Chriss74
Sorry, but I still didn't get it. Maybe my english isn't good enough...

For my opinion, always the seller and the buyer should rate and should be rated - like in ebay. I still don't understand the sense of rating the deal itself - regardless if it was a sale or a trade.

And if there is a possibility to rate a trade, there should also be the possibility to rate a sale. Otherwise it would be unlogical.

Maybe, you or someone else try to explain it again, why it is sensible to rate a trade.

Thanks,
Chriss

An example would be my site www.rustysoaptraders.com. It is for sports card trading. This hack allows the members to rate each other on trades. Did they ship cards promptly, were they packaged good etc. Some members also buy and sell cards. This allows them to rate each other also. This is a perfect hack for my type of site and many others.

Chris

ludachris 06-25-2004 06:17 PM

Hey Jason, a couple things I wanted to point out/ask:

1. I'm getting a discrepancy after upgrading from the VB2 version between the overall Trader rating and the actual number of ratings for some members - meaning, I'll look at one member who has 8 positive ratings and only has a 6 rating overall (and has no negative or neutral ratings). Is there a script I need to run to recalculate the totals?

2. I'd also like to do something to highlight if the member has a positive or negative number, like color coding, or showing a relevant graphic, but it seems VB3 doesn't like the "greater than" and "less than" symbols in the template code like you suggested a couple pages back:
Quote:

<if condition="$... >= 0">one color<else />another color</if>
Does anyone know how to get the templates to accept the great than/less than conditions? I get errors saying that there is an unexpected ">" in the code.

eoc_Jason 06-26-2004 05:17 PM

joeychgo - Please read the templates.txt file in the zip. It explains how to use conditionals in your templates for both forumid's and usergroups. Remember, you will have to adjust the templates based on if you want the TR score to show in the postbit, or if you want the link that allows people to rate each other on the TR page itself.

ludachris - The TR score is based upon unique userid's, this is done for two reasons. 1 - I think it better reflects their deals with multiple people. 2 - It prevents just one person rating another a whole bunch of times to mess up their score. Yes, you can use < and > since it is the quotes that start and end of the condition. Please post your code example that you were trying, there might be a typo somewhere else.

sketch42 06-29-2004 05:12 AM

Quote:

Originally Posted by eoc_Jason
joeychgo - Please read the templates.txt file in the zip. It explains how to use conditionals in your templates for both forumid's and usergroups. Remember, you will have to adjust the templates based on if you want the TR score to show in the postbit, or if you want the link that allows people to rate each other on the TR page itself.

ludachris - The TR score is based upon unique userid's, this is done for two reasons. 1 - I think it better reflects their deals with multiple people. 2 - It prevents just one person rating another a whole bunch of times to mess up their score. Yes, you can use < and > since it is the quotes that start and end of the condition. Please post your code example that you were trying, there might be a typo somewhere else.

i just installed a new template... how would i go about adding the hack now.. do i run the upgrade script or the install script??

co7t 06-29-2004 10:15 PM

First off, this is an excellent hack! I just installed it and it's working great! The only problem I'm having is when you're on the "leave feedback" form. The width goes way out of the forum page. The one box with "you are responsible..." is the one specifically out of the screen. Where do I go to modify this? I'll probably just move all the text in that box right above the submit button. Suggestions?

TIA,
Co7t

eoc_Jason 06-30-2004 03:11 AM

sketch42 - You are going to have to be a *little* more specific...

co7t - TR was designed around a 1000 pixel width forum (or wider)... However if you are running the default forum width you will have to make some changes probably. However the template in question that you will have to modify the layout is tratings_feedback... (There are only 3 templates)

sketch42 06-30-2004 03:26 AM

Quote:

Originally Posted by eoc_Jason
sketch42 - You are going to have to be a *little* more specific...

co7t - TR was designed around a 1000 pixel width forum (or wider)... However if you are running the default forum width you will have to make some changes probably. However the template in question that you will have to modify the layout is tratings_feedback... (There are only 3 templates)

im sorry.... i have trader rating installed on my board already... i just added a style and wanted to know the procedure to get trader ratings working with that style

eoc_Jason 06-30-2004 03:35 AM

vB styles work from inheritence, your default TR templates should be the highest level, and allow the alternate styles to "inherit" them. If they aren't you will need to move them to the proper style, then you can customize alternate styles without affecting the templates globally.

sketch42 06-30-2004 03:41 AM

Quote:

Originally Posted by eoc_Jason
vB styles work from inheritence, your default TR templates should be the highest level, and allow the alternate styles to "inherit" them. If they aren't you will need to move them to the proper style, then you can customize alternate styles without affecting the templates globally.

wow i totally didnt understand that lol

Tilmanitou 07-01-2004 07:23 AM

Hi all!
I translated Trader Ratings (v1.10 and v1.2.0, into german) for my forum and wanted to share this little procedure with you all so you can do it now much quicker than I did. :glasses: ;)

It's pretty easy:

0.
First of all, you have to install Trader Ratings. It's now in english of course.
To translate it:

1.
In the vB Admin Control Panel, search all Phrases which names begin with "tratings" and translate them in the second field. In doing so, the original text keeps beeing saved as well as your translation.

2.
In the template "tratings_feedback", search for the following text:

PHP Code:

<td class="alt2">Your overall experience was:</td>
        <
td class="alt2">
         <
select name="userrating"

and translate "Your overall experience was:".

3.
In the template "tratings_feedback", search for the following text:

PHP Code:

<td class="alt2">$vbphrase[tratings_thread_url]</td>
        <
td class="alt2">
        <
input class="bginput" type="text" name="userurl" size="45" maxlength="200" 

value="$trating[userurl]"><br />
        <
span class="smallfont">ex:
 
http://forum.site.com/showthread.php?threadid=1234</span>
        
</td

and translate "ex: http://forum.site.com/showthread.php?threadid=1234".

4.
In the template "tratings_feedback", search for the following text:

PHP Code:

<input type="checkbox" name="ratingdelete" value="1">Delete This Rating</if>
        </
span><br /><br /><input type="submit" 

and translate "Delete This Rating".

5.
In the file "traderratings.php", translate:
-"View Trader Ratings"
-"Edit Trader Ratings Feedback"
-"Submit Trader Ratings Feedback"

6.
In the templates "postbit", "postbit_legacy", and "MEMBERINFO",
add somewhere:

PHP Code:

<if condition="$post['userid']"><div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if> 

and translate "Trader Rating:".

for example:

- in the template "MEMBERINFO", above

PHP Code:

<if condition="$vboptions['usereferrer']"

add:

PHP Code:

<if condition="$post['userid']">
<
div class="fieldset">
<
div style="padding:$stylevar[formspacer]px"><strong>Trader Rating:</strong> (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)
</
div></div></if> 

and translate "Trader Rating:".

- in the template "postbit_legacy" (you have to choose this template as default first. this is the vB2-Style member info frame at the left of every post, not above it),
above

PHP Code:

<if condition="$post['joindate']"><div>$vbphrase[join_date]:

add:

PHP Code:

if condition="$post['userid']"><div>Trader Rating: (<
href
="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</di
v
></if> 

and translate "Trader Rating:".


Thats all! Hope I didn't forgot or messed up something (please let me know in case) and that this will help spreading this great hack all over the world! Thanks again eoc_Jason!

Yours
Tilmanitou

eoc_Jason 07-01-2004 02:57 PM

Hmm... looks like there were a few more places I could of used phrases... I'll have to fix that in the next update... I tried to phrases wherever possible for easier translation...

lifesourcerec 07-01-2004 05:08 PM

How hard with it be to make a Top 10 traders/feedback page? Or just a table to add to the forum home?

WreckRman2 07-06-2004 04:26 AM

Quote:

Originally Posted by lifesourcerec
How hard with it be to make a Top 10 traders/feedback page? Or just a table to add to the forum home?

I like that...

WreckRman2 07-06-2004 04:30 AM

Quote:

Originally Posted by eoc_Jason
Everyone Else - So do you think it would be more worthwhile to just start working on a classifieds / auction hack (with the trader ratings system of course) rather than just try to bodge together this "buy/sell" button concept thing?

Please let me know what you guys think...


Not only do I think you should but I'd be willing to pay for it if done well. I'd love to see an integration of a For Sale, Trade and Wanted Ads with vB.

jesslynn 07-09-2004 04:21 PM

I hope someone can help me. I'm getting a perplexing error (well, to me anyway! LOL) when I try to view anyone's rating, no matter the style I try it in:

Fatal error: Call to undefined function: convert_ids_to_titles() in /****/****/****/****/includes/functions_online.php on line 33

I'm sure it's my overtired brain, but I can't figure out what to do about it. Any help would be GREATLY appreciated! Oh yeah, would help if I gave you the link to our forums: http://www.boutiquebids.com/forums

TIA!

Watson 07-11-2004 08:32 PM

Had another read through this thread, dunno if its just late, or I am well thick (mabye both)

But I am wondering, which file I edit so I make it the users have to enter a url for them to leave feedback. Also can I make it so that it only comes from a specific forum?

Also, Is there anyway to click under the username or something to actually leave feedback, the only way I been doing it is by clicking on the users trader rating number. Hoping to put like an icon or summit somewhere.

Cheers much

A very knackered

Watson

Watson 07-11-2004 08:39 PM

Quote:

Originally Posted by eoc_Jason
Watson - look at the extra template examples with the is_member_of function to allow only specific user groups. You will need to change this on your trating_display template, and also add it to the proper actions in the traderratings.php file.


Ahh mate, I aint really sure what I would be looking for in those files, and I dont wanna change anything that may damage forums heh.

Any chance on an ickle bit more info :D:D:D

jesslynn 07-12-2004 12:07 PM

Can't anyone help a gal out? ;) hehe jk

In thinking about this (whilst banging my head upon my desk all weekend), I'm wondering if my problem is because I have other hacks installed, or if I made a silly mistake somewhere and I'm just not seeing it.

To be a little more specific about when we get the error on our boards, members can't view profiles without getting the script error:
Quote:

Fatal error: Call to undefined function: convert_ids_to_titles() in /****/****/****/****/includes/functions_online.php on line 33
Also, when attempting to view Currently Active Users, we get:
Quote:

Fatal error: Call to undefined function: sanitize_perpage() in /****/****/****/****/forums/online.php on line 77
Any ideas on what I need to do so this awesome hack will work for us? It's EXACTLY what we've been looking for. :) Do I need to go in and tweak something or rerun the install?


All times are GMT. The time now is 09:30 PM.

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.01831 seconds
  • Memory Usage 1,912KB
  • 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
  • (8)bbcode_php_printable
  • (14)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