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


All times are GMT. The time now is 11:57 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.01789 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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