vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - iTrader v2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=102965)

kellyandmike 04-11-2006 07:55 PM

Is there a way to make the iTrader rating show in the memberlist? So all I have to do is click memberlist and I see the members and their ratings?

dethfire 04-11-2006 08:40 PM

Code:

if (($foruminfo[forumid] == 138) AND ($userinfo[itrader_total] < 50))
{

print_no_permission();

}

any ideas why this doesn't work?

tspore 04-12-2006 12:51 AM

How do I remove the reply option on the comments box?
I don't want people to be able to use this feature.
So then they can't get into fights over the transactions.

khurt 04-12-2006 06:19 PM

Quote:

Originally Posted by djwins
Jason, I checked this on your forums and you have the same issue there. At a quick glance it might look like it is working properly, but it is definitely not.

If you select to view feedback from "From Buyers - From Sellers - From Trades - Left for Others". and then click on a page number to view, it will take you to the "All Feedback Received" section, no matter which of the above sections you have selected. It will take you to the proper page number, but it will be in "All Feedback Received" section, not the section that you actually selected.

For a quick example, check this guy's "Left for Others" feedback and then click on page #2
http://forums.extremeoverclocking.com/itrader.php?u=2416
You will notice that you are now looking at page #2 of his "All Feedback Received" section.

I installed this to take a look at it and noticed the same issue with pagination.

It looks like an easy fix. If you notice in the URL, it should be something like this:
itrader.php?u=4&iv=3&page=2&pp=15

On the pages where the error occurs, the url looks like this:
itrader.php?u=4&v=3&page=2&pp=15

Notice the missing "i" in "iv=3".

To fix this, open itrader.php and on line 124 replace this:
Code:

        $pagenav = construct_page_nav($viewuser['pagenumber'], $viewuser['perpage'], $countposts['total'], "itrader.php?" . $vbulletin->session->vars['sessionurl'] . "u=" . $userinfo['userid'] . ($viewuser['viewtype'] ? "&amp;v=" . $viewuser['viewtype'] : ''),(!empty($viewuser['perpage']) ? "&amp;pp=" . $viewuser['perpage'] : ""));
with this:
Code:

        $pagenav = construct_page_nav($viewuser['pagenumber'], $viewuser['perpage'], $countposts['total'], "itrader.php?" . $vbulletin->session->vars['sessionurl'] . "u=" . $userinfo['userid'] . ($viewuser['viewtype'] ? "&amp;iv=" . $viewuser['viewtype'] : ''),(!empty($viewuser['perpage']) ? "&amp;pp=" . $viewuser['perpage'] : ""));
That fixed it for me. Hope it helps.

ddolliver 04-17-2006 12:54 PM

How do I as admin, modify a rating left by a registered user? I want to specifically modify a neutral to a positive after a user clicked the wrong rating. Does any one have a good admin user description?

Thanks!

bulbasnore 04-17-2006 04:54 PM

I have this installed in test. Feedback from my trading mods is focused on this issue with the eBay style rating totals:

Trader "Ditto" gets a positive rating from trader "Ash": Ditto - 1, 100%
Trader "Ditto" gets a positive rating from trader "Marina": Ditto - 2, 100%
Trader "Ditto" gets a negative rating from trader "Marina": Ditto - 1, 67%
Trader "Ditto" gets another negative rating from trader "Marina": Ditto - 1, 67%

So, it looks like the eBay style is counting the latest unique vote for ratings for the 'number of positive feedback' - we like that.

However, it looks like the eBay style is counting the latest unique negative and latest unique positive ratings for 'percentage of positive ratings'. We don't like that so much, we'd like to see Ditto's rating at 50% after the above ratings.

Assuming this isn't a bug, would Jason or someone give me a hint as to where in the code to change the calc to adjust the % to include only the latest vote from each unique trader?

Thanks EOC_Jason for sharing this great system. I know its a lot of work to code & package & support stuff for use off one's own site. You're a stud.

Odysseus 04-19-2006 10:08 PM

I have a strange problem:
After moving from one server and domain to a new machine and domain, my iTrader system keeps saying, it is closed.
But it IS enabled in my vBulletin iTrader settings, and it even shows to me as an admin as closed.

I'm running out of ideas, why the system refuses to be re-activated... :surprised:

dakuda 04-20-2006 12:01 AM

Quote:

Originally Posted by Odysseus
I have a strange problem:
After moving from one server and domain to a new machine and domain, my iTrader system keeps saying, it is closed.
But it IS enabled in my vBulletin iTrader settings, and it even shows to me as an admin as closed.

I'm running out of ideas, why the system refuses to be re-activated... :surprised:

I am having this very problem. Help?

djwins 04-25-2006 06:59 AM

Thanks Khurt! It works!

raygunz 05-02-2006 12:41 PM

I just have to say thank you Jason.

I've uploaded the files and it's working great.

I know I missed something because in the admincp when I go to iTrader Tools> Update iTrader Scores I receive a blank page.

Does anyone know what file I didn't upload, and where does it go?

Just when I thought I had it all.

Thanks.


All times are GMT. The time now is 07:34 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.01459 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (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