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)

doug97gxe 06-18-2005 11:35 PM

depends on which post bit are you using.. you using postbit or postbit_legacy for the old style.

I threw mine below posts and above reputation

<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$post['userid']"><div>Buyer/Seller Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

</div>
<div>$post[reputationdisplay]</div>

Noonster 06-23-2005 05:44 PM

Quote:

Originally Posted by wrang
Where shuold i put this code in the postbit template??

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

Does anyone know the answer to this ??

Thanks

bigcurt 06-23-2005 06:05 PM

Please jason, test it on my board if you get anything..my site couldnt live without this hack

akoj 06-24-2005 10:00 PM

This is the most used hack on my site. I wouldn't consider the upgrade until a 3.5 hack is available.
I know this has been discussed many times but when/if you release a new version would it be possible to allow multiple feedback from one user to count? My members want the ability to show how many trades a person has made on our site.

Blootix 07-01-2005 08:31 AM

Quote:

Originally Posted by akoj
This is the most used hack on my site. I wouldn't consider the upgrade until a 3.5 hack is available.
I know this has been discussed many times but when/if you release a new version would it be possible to allow multiple feedback from one user to count? My members want the ability to show how many trades a person has made on our site.

Hi, I was wondering if/when is this hack going to be upgraded to 3.5? It's pretty much crucial that we have it for our forums :)

Also, is there a way to do a one-button "Delete All Ratings For This User" thing? I've tried to edit traderratings.php but I'm no good at php. Anybody help please :D?

eoc_Jason 07-08-2005 02:14 PM

1. When the final release of 3.5.x is available, then an updated version of this hack will be released. Not until then... I'm sorry to do that, but if anyone remembers how many changes vB 3.0 went through before it finally became a stable release, you would understand.

2. There is no "delete all ratings" button, I never considered that a valid action. However you could manually go into the database and delete all based on his userid, and manually update the TR info in the user table too.

3. If you want multiple feedbacks to count towards the score, simply modify the function at the bottom of the traderratings.php file. It's not that complicated to modify.

cherieann 07-08-2005 11:16 PM

nm, great mod :) installed

trying to change the word "optional" on my trading to "mandatory"

i've already edited the .php so it'll be mandatory, but cannot find the words "optional" anywhere in tratings_thread_url :(

Then modify the phrase tratings_thread_url and removed the "(optional)" text.

i'm assuming it's using $vbphrase.. but i'm not very good at php to know where to edit that specific vbphrase

anychance you can point me in the right direction? :)

thanks

eoc_Jason 07-10-2005 06:11 PM

Phrases are edited via the AdminCP... Under the "Languages / Phrases" section (or something similar to that... it's the 3rd choice on the list I believe).

kobescoresagain 07-18-2005 01:00 AM

is there a way to change it so it displays a number, then something like 5 stars. I don't think it would be that hard, could be done with a while statement, I believe. Anyone know how to do this.

eoc_Jason 07-18-2005 03:56 PM

Why would you want a star rating instead of numbers? I don't see how the two would correlate, unless you made the # of stars relevant to the % of positive feedback.


All times are GMT. The time now is 08:03 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.02156 seconds
  • Memory Usage 1,740KB
  • 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_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