vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Buy/Sell/Trade User Rating System (aka eBay Style User Feedback Hack) (https://vborg.vbsupport.ru/showthread.php?t=52188)

mr.children 06-21-2003 06:34 PM

thank you...but where to find the phpmyadmin thing?
should i look it up in download.com?

Fi_InCogNiTo 06-25-2003 01:05 AM

<a href="https://www.phpmyadmin.net" target="_blank">www.phpmyadmin.net</a>

Logician 06-27-2003 06:32 AM

Why is this step needed?

Quote:

-----------------------------------------------------------------
3. Find in showthread.php (around line 58):
-----------------------------------------------------------------

LEFT JOIN user ON user.userid=post.userid

REPLACE with:

LEFT JOIN user ON user.userid=post.userid,ratetradetotal

-----------------------------------------------------------------
//END showthread.php
-----------------------------------------------------------------
As far as I can see "ratetradetotal" field is part of user table (ALTER TABLE user ADD ratetradetotal SMALLINT(5) DEFAULT '0' NOT NULL;) and all user table fields are already received in the query in part:
PHP Code:

 user.* 

So you don't need to change this query to get "ratetradetotal" field's value.

Besides this syntax is wrong and it produces database errors if "showpost" action is called in showthread.php like: http://www.........com/forums/showth...t&postid=64275

If I'm not missing something, removing this section from the hack does not bother anything and also fixes database errors.

Just FYI. :)

Les Shaw 07-04-2003 12:13 AM

Hack works well but when I click the trader rating in the thread I get a java script error ?
But no error if I click on it in the profile?

Any one have a fix for me :)

http://www.thecomputermechanics.com/forums/

8ballstudios 07-14-2003 02:48 PM

Jason,

Sorry if someone has already asked this question, I've tried to read all the messages in this thread.

Can this hack work similar to heatware.com? It looks like you have all the same features, the only difference that heatware.com allows users of several different websites to be rated (some of which are not vbulletin forums).

I plan on having a rating system for my forums (vbulletin 2.3.0 hosted), but want to make the rating system available to 4 additional sites as well (some vbulletin hosted, some not). I would do this on a seperate domain (a la heatware), not the same domain as my forums.

Is this possible?

Thanks!

Kevin

PurpleCow 07-30-2003 02:31 PM

Hello,

I am getting this error when i run the alter table query.

When i run this query
Quote:

ALTER TABLE user ADD ratetradetotal SMALLINT(5) DEFAULT '0' NOT NULL;
I get the following error :

Quote:

SQL Error 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; ALTER TABLE user ADD ratetradetotal SMALLINT(5) DEFAULT '0
I am running on the latest version of mysql, that is almost.

Kindly help me with the right syntax.

Thank you

PurpleCow 07-30-2003 03:00 PM

Okay, sorry, I did a mistake.

I was supposed to run the ALTER Table query seperately, i suppose. I did that now and everything went fine and infact the hack is working fine on my boards now.

Thank you

/me clicks on install now

Imprezer 08-05-2003 05:22 AM

Great hack!

Installed on www.i-club.com

Feel free to use my site as a sample!

The Realist 08-20-2003 06:26 PM

Nice hack M8, well done.

ImportPassion 08-20-2003 06:33 PM

Quote:

06-27-03 at 03:32 AM Logician said this in Post #123
Why is this step needed?



As far as I can see "ratetradetotal" field is part of user table (ALTER TABLE user ADD ratetradetotal SMALLINT(5) DEFAULT '0' NOT NULL;) and all user table fields are already received in the query in part:
PHP Code:

 user.* 

So you don't need to change this query to get "ratetradetotal" field's value.

Besides this syntax is wrong and it produces database errors if "showpost" action is called in showthread.php like: http://www.........com/forums/showth...t&postid=64275

If I'm not missing something, removing this section from the hack does not bother anything and also fixes database errors.

Just FYI. :)

ya, i saw that too, i just ignored it. mine has been working fine.


D

ImportPassion 08-20-2003 06:34 PM

BTW, how is V2 coming along?

EVO VIII Chris 08-26-2003 08:36 PM

-----------------------------------------------------------------
2. Execute the following SQL Queries (Can be done in PHPMyAdmin):
-----------------------------------------------------------------

CREATE TABLE user_rate_trade (
userrateid INT(10) unsigned NOT NULL auto_increment,
rateduser INT(10) unsigned DEFAULT '0' NOT NULL,
userid INT(10) unsigned DEFAULT '0' NOT NULL,
userrating SMALLINT(6) DEFAULT '0' NOT NULL,
userbuysell TINYINT(1) DEFAULT '0' NOT NULL,
userdate DATE DEFAULT '0000-00-00' NOT NULL,
usercomments VARCHAR(80) NOT NULL,
userurl VARCHAR(255) NOT NULL,
PRIMARY KEY (userrateid),
KEY rateduser (userid)
);

ALTER TABLE user ADD ratetradetotal SMALLINT(5) DEFAULT '0' NOT NULL;

I am not familiar with PHP and I am still learning it. I am wondering where I put this? Do I put it in my php.ini file somewhere. If so could you show me exactly where? I have got everything completed except for this.

Thanks this is an awesome hack
Chris

devrykid 08-26-2003 09:46 PM

I am trying to install this hack on my website devrykids.com which is located on ipowerweb.com and is running phpMyAdmin 2.4.0 and was wanting to know if anyone could help me set up i'm stuck on number 2 in the installation file..

THanks
Matt

CJi 09-01-2003 08:48 PM

Has anyone tested this with vB3?

FastAttack 09-11-2003 10:14 PM

Quote:

Originally Posted by CJi
Has anyone tested this with vB3?

yeah this should be a nice addition to 3.0 :)

RS25com 10-06-2003 12:41 AM

One more suggestion, if you don't mind, and it might even be a simple one.

Instead of a single number rating like (10) I think a dual number system would be MUCH better, such as (12/2) Clicking the appropriate colored number will display JUST the positive or JUST the negative feedback.

In case this isn't completely obvious, this actually shows how many positive and negative votes a person has. I personally think the eBay system is flawed because of the easy ability to see positives versus negatives. Someone with a lot of transactions can hide some pretty serious negatives off the first page of their feedback.

I'm going to use it anyway, but that would clearly make this hack better, and (without knowing how you do the queries/output) you can probably remove some calculations which get your total figure.

asiago 10-07-2003 06:47 PM

installed really easily, and just love it! thanks for the cool mod

pdatoon 12-07-2003 08:04 PM

why no new posts?

pdatoon 12-07-2003 08:05 PM

Hello,

Just 2 questions.

Is it possible to make the URL thread field MANDATORY (must insert)

Is it possible to make the feedback in the postbit appears only when there is at least 1 feedback?

ludachris 12-12-2003 07:52 PM

Suggestions for V2

1. Make a new feature that allows you to see all comments left by the user whose profile you're viewing. This way, you can see trends in how they rate other users. This would be mainly for admins, but it can also help others determine how much "weight" to give this person's feedback. As it stands now, you can see all comments "given" to the user, but not all comments made "by" the user on the profile page.

2. Rebuttal comments are very necessary.

3. Email notification to each user when new ratings are added to their profile.

4. Suspension from using the feature on a member-to-member basis. Disallowing certain members from using the tool if they've abused it.

5. Prevention of allowing certain usergroups to be rated. I have a vendor usergroup who I don't want to be rated. I want this to be a trader rating system, not necessarily a vendor rating system.

6. Making the different rating counts clickable - right now, there are 3 numbers to display how many ratings are positive, neutral and negative. I'd like to make those numbers hyperlinked so that users can read only the negative, instead of having the option to only read ALL ratings.

Great hack by the way....

Can't wait for someone to finally come up with a vBClassifieds system. I've been asking for that for years. Glad you're taking it on.

atomic fireball 12-13-2003 12:27 AM

Excellent suggestions!

I'd really like to eventually see this hack evolve into a v2. it's an excellent hack, and with a few of those suggestions added, it would be even better. I love this hack!

atomic fireball 12-13-2003 12:29 AM

...another suggestion would be the addition of a feedback percentage under the overall rating a la eBay. Like:

Trader Rating (34)
Positive Feedback: 98.9%

etc.

pdatoon 12-28-2003 12:16 AM

Hi guys,

Does anyone know how to increase the text allowed in the comment field? When people enter long comments, it is truncated.

Any ideas where the limit variable is located?

eoc_Jason 01-04-2004 02:16 AM

Sorry you guys for kinda leaving you all hanging...

With the imminent release of vB3 I'm not developing this script any more...

HOWEVER, there will be a much more elaborate system that I am working on to make a functional FS/WTB section that has auctions, classifieds, and whatnot, and it will be free.

Please, just be patient. :)

ImportPassion 01-04-2004 02:53 AM

sweeeet.... drool.....

Imprezer 01-12-2004 03:17 AM

You can add my site to the list of sites using this hack.

www.i-club.com

Thanks for a great hack!

FastAttack 01-12-2004 03:50 AM

add http://www.srtforums.com to the list as well.

Although I hope to see the 3.0 version pretty soon since we are upgrading ;)

Imprezer 01-12-2004 04:36 AM

SRT's are slow. j/k. ;)

FastAttack 01-16-2004 05:07 PM

Quote:

Originally Posted by Imprezer
SRT's are slow. j/k. ;)

don't get me started on that lol

the suburu that I want in my hands is the STI ;) hehe

cyzoonic 02-14-2004 12:17 AM

We have been using the trader ratings too but not since we upgraded to v3. Hope to see a new version for 3 soon as everyone wants it back :)

-Stefan
http://www.3si.org/

Spinball 03-05-2004 09:03 AM

It's considered an important feature of our board at
www.avforums.com
And I don't think I can upgrade to Vb3 until there is a version of this hack working for it!

eoc_Jason 03-09-2004 11:58 PM

Just FYI, I'm not going to be releasing anything until vB3 goes gold, simply because I'm still learning the vB3 system, and also I don't want to deal with possible issues of code changes between RC4 and whatever is down the road.

In the mean time, if you are running vB3 and would like to display your users current ratings you can add something like this into your postbits template:

Code:

<if condition="$post[ratetradetotal]"><div>Trader Rating: ($post[ratetradetotal])</div></if>
The SQL already pulls all the users data from the post table, so you can add the total in without having to modify and PHP files.

hasan2k 03-25-2004 08:07 PM

Quote:

Originally Posted by eoc_Jason
Just FYI, I'm not going to be releasing anything until vB3 goes gold, simply because I'm still learning the vB3 system, and also I don't want to deal with possible issues of code changes between RC4 and whatever is down the road.

In the mean time, if you are running vB3 and would like to display your users current ratings you can add something like this into your postbits template:

Code:

<if condition="$post[ratetradetotal]"><div>Trader Rating: ($post[ratetradetotal])</div></if>
The SQL already pulls all the users data from the post table, so you can add the total in without having to modify and PHP files.

Now that VB 3 Gold is released, would you please let us know if you have any plans to update the hack? I will be waiting for your reply.

Your hack is by far the most useful hack I have seen on VB

Hurricane 03-31-2004 08:12 PM

I too look forward to seeing this as a VB3 hack. :)

Ian Cunningham 04-03-2004 02:18 PM

Me too - it was really useful for VB2

hasan2k 04-03-2004 09:10 PM

Quote:

Originally Posted by Ian Cunningham
Me too - it was really useful for VB2

Lets all butter "eoc jason" up. May be only then he would know what a hot this hack. I come here once a day to check if he has updated the hack.

drumsy 04-13-2004 02:59 AM

Quote:

Originally Posted by eoc_Jason
Just FYI, I'm not going to be releasing anything until vB3 goes gold, simply because I'm still learning the vB3 system, and also I don't want to deal with possible issues of code changes between RC4 and whatever is down the road.

Jason,

Just wanted to also state that I am looking forward to the release of the vB 3.0.0 version of this hack. It's something sorely needed on my website! :)

Soul2k 04-19-2004 11:06 PM

ya i want to see this on vb3 too such an awesome hack ^^

ludachris 04-26-2004 08:02 PM

Man, I was so bummed after I upgraded to VB3 to learn that this hack wasn't available yet.... everyone on my site is waiting for it to be turned back on.

eoc_Jason 04-26-2004 08:25 PM

Maybe I'll get to it this weekend, I've just had so much to do lately and not enough time to do it...

<Jason's Famous Quote>I've only got two hands!!!</Jason's Famous Quote>


All times are GMT. The time now is 09:15 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.01396 seconds
  • Memory Usage 1,832KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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