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)

WoodiE 10-03-2004 07:27 PM

I've noticed the install readme for 1.2.0 says the upgrade is for 1.1.0 to 1.2.0, however I'm running version 1.0.0 - how can I upgrade my version to the most recent?

-Michael

eoc_Jason 10-04-2004 01:07 PM

andrew67 - I'll have to check the install script... I might of forgotten to add the table_prefix stuff to a couple things... However it sounds like you are trying to do a duplicate install on top of the same locations. If you have a test board, are you using the same database name, just different table names, or the same database but different tables? The last error is in reference to the added column in the user table. Also you should pay attention to the extra indexes it creates, that might throw up an error when you try to install too...

Vixion - Same rating style as ebay (you can read their help docs). Your "feedback score" (which is displayed in the postbits) is based on unique members. However the "all positive feedback" number is not uniques, it is the total number. If you want it different it's not too hard to change it your self.

JazzleBug - You can't just alter numbers on a whim. They are recalculated based on actual ratings every time a rating is added/deleted. You would have to add "fake" ratings into the DB to make them permanate.

WoodiE - No, you can't. I need to put up some other files in a bit, I'll throw up all the upgrade files too (and be sure to include them in future versions). You will have to run the scripts to upgrade from one version to the next.


Also, yes I plan on continuing development. I've just been extremely busy... Overworked and underpaid... ;)

oldfan 10-04-2004 01:38 PM

Quote:

Also, yes I plan on continuing development. I've just been extremely busy... Overworked and underpaid...
I can't wait to see what you come up with next!

the3jams 10-04-2004 07:29 PM

Quote:

Originally Posted by eoc_Jason
...I'll throw up all the upgrade files too (and be sure to include them in future versions). You will have to run the scripts to upgrade from one version to the next.

Will these files you mentioned have a vb2 upgrade script for your old hack? I know you've been busy so I've just been quietly waiting for one :)

andrew67 10-05-2004 03:49 AM

Quote:

I'll have to check the install script... I might of forgotten to add the table_prefix stuff to a couple things... However it sounds like you are trying to do a duplicate install on top of the same locations. If you have a test board, are you using the same database name, just different table names, or the same database but different tables? The last error is in reference to the added column in the user table. Also you should pay attention to the extra indexes it creates, that might throw up an error when you try to install too...
Nope different databases however I just got access to drop the tables and am about to try and install it again.
Will let you know.
Thanks
andrew

andrew67 10-05-2004 08:23 AM

Deleted old table ( no idea how it got there ) and installed fine. Thanks Jason , excellent hack.

andrew67 10-06-2004 12:56 PM

Just out of curiosity is there any plans or does anybody know how to limit either the amount of feedback a person can give another person per day? Or to stop duplicate entries (happens if people double click the button etc.)
Would be good to somehow do an "if andrew67 has already rated eocJason on 07-10-04 then go to an error page saying (you have already rated this person once today)"

eoc_Jason 10-06-2004 02:15 PM

I suppose I can add in code to make sure they don't rate the same person twice in one day. However they can always edit & delete the duplicate entry (within the first 5 min). I haven't had any problems with my users leaving dupe feedback.

mholtum 10-06-2004 04:57 PM

My install went smoothly and it seems to have installed correctly. But, being the n00b I am I have no Idea as to how to work it.. Any pointers for the retard?

mholtum 10-06-2004 05:10 PM

I figured it out.. Works great

oldfan 10-07-2004 06:37 AM

eoc_Jason, do you think you could come up with top10 vBadvanced module that works :)
Please and thank you

eoc_Jason 10-07-2004 11:57 PM

I don't used vBadvanced, and I don't really have the time to install it and tinker around... sorry.

oldfan 10-08-2004 04:41 AM

Ok thanks dude,
Great mod, my users love it!

Vixion 10-12-2004 07:20 AM

... Damn ... It still doesn't work.

My members still can't get any acces to the Feedback System, and I double checked and changed the 'config' 1000 times, but nothing came out...

Might try a re-install....

Which tables do I need to remove from my database? And does it effect the code I inserted to the postbit etc.

kristian 10-13-2004 12:53 PM

Clicks install :devious:

Cool hack, thanks...

I havent enabled it yet for forum members as I am sure it will be abused though!

Verification
Could you not use the same method vBulletin uses for Account Activation. The seller and buyer both get an email/PM with a link to the Add Rating page?

The activation id passed in this url could be replaced with a 'Give Trader Rating' id.

Process
I liked the idea where..
  • Seller creates thread
  • Offers are posted in this thread
  • Seller has button on each offer post, he selects the offer he wants
  • Thread goes to 'Pending'
  • Both buyer and seller are sent email containing 'Give Rating' link
  • If rating(s) are given, thread goes to 'Sold'
  • Option to opt out for both parties
  • 'Pending' status is viod if buyer doesnt respond in time (24 hours)
  • Entire thread is retracted if Seller doesnt repond in time (24 hours)

What I like about this is that the entire wheeling and dealing is done in public and is testamony to a sale. If they go off and deal via their PM's then they dont get the opportunity to UP their Trader Rating.

Logicaly thinking, this isnt hard to achieve - if you know your way round vB that is!

ericgtr 10-15-2004 12:20 AM

What a fantastic mod, thanks for all of your time and work with this you have obviously put a great deal of time into the support of it also, how cool is that! Clicks Install. :)

Ber|Art 10-15-2004 05:48 AM

Thx! works perfectly :)

eoc_Jason 10-17-2004 01:26 AM

Hey everyone, soory I haven't been around much, just have had lots of other things to deal with. I need to get some files online for some people to upgrade from older versions (I haven't forgotten about you guys).

As for kristian's post - Yes, that has been discussed before. But there is a lot of "what if" scenarios in that. And also will probably end up being a lot of code hacking. I'm trying to keep this version of trader ratings very simple and clean. In the future (one day) I'm hoping to make a classified/auction add-in, that way I can tailor it how I want and not have to hack up a dozen vB files in the process. (I'm never a fan of file hacks because it just makes one more step when doing upgrades).

Also I'm hoping to extend an optional module that will allow trader-ratings to be somewhat centralized and cross-forum capable.

nexialys 10-17-2004 01:41 AM

@eoc_Jason... i've built a good module for CMPS interacting with your script:
http://acmsoft.com/vb/showthread.php?t=3

if you want to add it to your next release, just drop a comment in that thread...

SVTOA 10-21-2004 01:49 AM

Well done Jason, thanks.! Works perfectly...!

dmark101 10-31-2004 09:34 PM

awesome hack. :up:

this works much better than the vendor rating forum i had created.

<clicks install>

adp 11-08-2004 04:38 PM

Good hack, my users love it!

Would it be possible to limit the edit function to admins only?

Thanks!

cheers,
adp

lange 11-09-2004 01:32 PM

Thanks

I'll test it.

OGF 11-15-2004 08:04 PM

First of all, thanks TONS!!! This is a great hack. Paypal coming your way shortly.

Secondly, is there any way to just display the trader rating in the user profile for only a specific forum? I don't want it enabled for all forums, they just need to see it enabled in our buy/sell/swap forum.

Thanks again, fantastic job.

eoc_Jason 11-15-2004 08:32 PM

Sure, just wrap an <if></if> conditional around the line in the postbit where the condition is the forumid == whatever (not sure of the variable off the top of my head). If you need more exact code let me know and I can post it for ya.

Quote:

Originally Posted by OGF
Secondly, is there any way to just display the trader rating in the user profile for only a specific forum? I don't want it enabled for all forums, they just need to see it enabled in our buy/sell/swap forum.


eoc_Jason 11-15-2004 08:38 PM

Okay, I just posted an Upgrades_Archive.zip file which contains the all the old upgrade files (which some people requested), and the vb2 conversion file.

1.0.0 or 1.0.1 -> 1.1.0
1.1.0 -> 1.2.0
vB2 Version -> 1.2.0

OGF 11-16-2004 11:51 AM

Quote:

Originally Posted by eoc_Jason
Sure, just wrap an <if></if> conditional around the line in the postbit where the condition is the forumid == whatever (not sure of the variable off the top of my head). If you need more exact code let me know and I can post it for ya.

Would you please post this sample code? Thanks again.

eoc_Jason 11-16-2004 02:28 PM

Okay, I checked and made sure it was $thread[forumid].... Also if you want it to display in more than one forum section, just use the in_array function....

Here's an example:
Code:

<if condition="$thread['forumid'] == 200">(Your Postbit Code)</if>

Ted S 11-16-2004 03:29 PM

I do a similar thing with conditionals to help promote the trader ratings but instead of just showing a user's score I also show a message at the top of each post indicating how "safe" the user is. This is accomplished with code in two places:

1) In the phpinclude_start template I have the code $classified_forumids = array(308,214,215,216,226,284,220,217,218,219,227, 223); which is an array of all our trader forums (it's easier to use an array then a if/and 10 conditional as you will see later on).

2) In the postbit/ potbig legacy template I have the following code right before <div>$post[message]</div>

Code:

<if condition="in_array($forum[forumid], $GLOBALS[classified_forumids])">

<if condition="$post[ratetradetotal] != 0">

<if condition="$post[ratetradetotal] < 0">
        <div style="text-align:center;font-size:12px;color:red;font-weight:bold;">Negative: This user has <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:red;">trader rating</a> of $post[ratetradetotal]!</div>
<else />
        <div style="text-align:center;font-size:12px;color:blue;font-weight:bold;">Positive: This user has <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:blue;">trader rating</a> of $post[ratetradetotal]!</div>
</if>

<else />
<div style="text-align:center;font-size:12px;color:green;font-weight:bold;">Neutral: This user has no <a href="/traderratings.php?$session[sessionurl]u=$post[userid]" style="color:green;">trader rating</a> history!</div>
</if>

<div style="text-align:center;font-size:12px;"><a href="/traderratings.php?u=$post[userid]&do=feedbacknew">Leave feedback for $post[username]</a></div><br />

</if>

Using this conditional set you could easily do just about anything from showing different information int he threads to just showing the rating in posts in certain forums (or both).

mr.gamesbay 11-22-2004 03:30 AM

Great MOD! :)

I only missing the popup window after a new rating!?

hasan2k 11-24-2004 12:02 AM

Does the latest version (1.2.0) contain the ability to limit access by usergroup(s)?

I could not find this important information anywhere in the posts..may be I overlooked. Can someone please tell me?

eoc_Jason 11-24-2004 03:13 PM

By default if a user has generic posting permissions, then they can use the Trader Ratings system.

However if you want to limit it even further, you can simply add conditional statements in your templates (with the is_member_of() function). Also you can add the same code to the traderratings.php file to make it 100% complete, but usually just editing the templates is enough so that only certain user groups can view / rate people.

alkatraz 11-25-2004 06:44 AM

finaly got this working

originaly had vbtrader on my vb2 board
upgraded to vb3 and ran into some problems with duplicate fields/tables with this installer (not upgrader)
dropped the conflicting db stuff and got it to work on one style but even after running the installer on multiple styles it still didnt add them
installed the templates manualy from the installer and

it's not working great!

thx for a fantastic script, looking forward to the complete classified system

horrordvds.com 12-05-2004 08:08 PM

I don't want to have to read through all the pages, so maybe someone can answer for me. Can I manually set someone's feedback number? We have a manual system now and I'd like to implement this, but it would be nice for people to be able to keep their current numbers. Follow what I'm saying?

eoc_Jason 12-06-2004 11:53 PM

To answer your question, no you can't. The system recalculates out their score each time a ratings is added.

You *could* in theory generate a bunch of old ratings (using some sort of script would probably be the easiest), but you would run into the problem of not having them by a unique user.

tteal 12-08-2004 01:22 AM

Awesome mod, however, everytime someone tries to read a rating, they get this message:

The Trader Ratings system is currently down for maintainence, but will be back up as soon as possible.

How can that be fixed?

Tks,
Tim

Cyn 12-12-2004 02:09 PM

A couple of questions.

1. Edited to say: Found the answer to my own question. :)

2. Is it possible to set submitted ratings to be moderated for approval?

3. How can I fix the "You are responsible for your own words" screen that is extended beyond the screen requiring vertical scrolling to view it completely? See attachment.

Fabulous hack! Thanks!

Cyn 12-12-2004 04:42 PM

Something else. In a member's profile where it shows their location when logged in it shows:
Unknown Location /discussions/traderratings.php? @ 09:32 PM

Can we correct this to say Viewing Trader Ratings or something?

And another something else. Is it possible for members to opt out of receiving a PM for every rating someone leaves them?

eoc_Jason 12-13-2004 01:32 PM

tteal - Did you do an upgrade or new install?

Cyn - No, there is no mod approval in this system, and I doubt there will be in the future. Most people watch their ratings like a hawk and if something isn't right I always get a PM about it. ;)

As for the text, it's all just in the template (I think that might actually be a phrase). However you can just adjust the table structure to stack one on top of the other instead of side-by-side.

As for the unknown location, you can modify your online.php file (I think it is that one) and add a custom location for that file (I believe there are 2 places). I don't like hacking separate files which is why I didn't include it (since it's not really a big deal). However if you really want just do a search as I'm sure you can follow some similar instructions for editing that file.

Cyn 12-13-2004 06:53 PM

Quote:

Originally Posted by eoc_Jason
tteal - Did you do an upgrade or new install?

Cyn - No, there is no mod approval in this system, and I doubt there will be in the future. Most people watch their ratings like a hawk and if something isn't right I always get a PM about it. ;)

As for the text, it's all just in the template (I think that might actually be a phrase). However you can just adjust the table structure to stack one on top of the other instead of side-by-side.

As for the unknown location, you can modify your online.php file (I think it is that one) and add a custom location for that file (I believe there are 2 places). I don't like hacking separate files which is why I didn't include it (since it's not really a big deal). However if you really want just do a search as I'm sure you can follow some similar instructions for editing that file.

Thanks for the prompt response. Our members think this feature rocks! :)


All times are GMT. The time now is 08:04 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.02104 seconds
  • Memory Usage 1,839KB
  • 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
  • (6)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