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)

Cyn 02-23-2005 06:35 AM

What becomes of a member's ratings under his or her original username when a change in username is made?

Telkman 02-23-2005 06:55 AM

The ratings are stored under the member's id, not their username - a change of username on the same account wouldn't affect the ratings.

ChrisBaktis 02-25-2005 12:14 AM

Anyone know how to post the feedback rating on another page?

Using this code results in no feedback rating:

Code:

<tr>
    <td class="alt1">
Feedback Rating:</b> (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)<b>
    </td>
</tr>

This works in the postbit and memberinfo templates but not on another template I have created.

Telkman 02-25-2005 07:51 AM

It depends on the page you want to have the feedback on - the $post[] array wouldn't be in use on non post related pages for example, but you may be able to use $userinfo[ratetradetotal] if the $userinfo[] array is populated.

It seems unlikely that something wouldn't already have the appropriate field stored if there's anything to do with user details on the page in question - it just depends what you're trying to do.

ChrisBaktis 02-25-2005 10:38 AM

thanks a million!

djjeffa 03-04-2005 11:36 PM

I noticed a member recived 3 + feed backs but it only showes 2 in his profile
anybody have any ideal why?

EDIT: is it because the same member left 2 + feed backs? cause it only showes 2 in his postbit?

Blootix 03-05-2005 02:39 AM

Quote:

Originally Posted by djjeffa
I noticed a member recived 3 + feed backs but it only showes 2 in his profile
anybody have any ideal why?


EDIT: is it because the same member left 2 + feed backs? cause it only showes 2 in his postbit?

If the same member gives two or more feedbacks, it will only count as one in their postbit / memberinfo. This is to prevent scamming... (I think).

Read this:
Quote:

The only part that might confuse someone is that the Feedback Score is based only on UNIQUE members.
Anyway, a suggestion to a future release would be maybe to disable certain usergroups from using this Trader Rating System.

Osiris2k 03-24-2005 11:06 PM

Hi i installed this hack on 3.0.7 and it seems to work, except for one thing

The ratings is shown above the users name not where it should be. I included an img.

Anyway to fix it?

And also, is there a way to add a link to a userprofile which would forward to his/hers rating page.

edit: fixed
https://vborg.vbsupport.ru/showthrea...136#post632136

Cyn 03-25-2005 03:55 PM

Someone asked up in post #415 about increasing the max characters for the feedback comment field. I searched the thread but didn't see that answered. Anyone know how?

Telkman 03-25-2005 04:11 PM

Not had the chance to test this, so try it at your own risk...

In the tratings_feedback template, find
PHP Code:

        <input class="bginput" type="text" name="usercomments" size="45" maxlength="80" value="$trating[usercomments]"><br /> 

Change the maxlength parameter to the maximum you're after.

Then edit the user_rate_trade table... the usercomments field is a varchar with the same maximum length. It could feasibly be a lot larger than maxlength parameter for the input anyway, but as it's limited by the input there's not much point.

I'm at my office PC, so I've not been able to check/test the above, but after downloading the script it would seem to be all that affects the comments - being limited by the maxlength in the input, there's no need for any validation of the length, so this should work.


All times are GMT. The time now is 01:47 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.01677 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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