vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - iTrader v2.8 - Powerful Rating System (https://vborg.vbsupport.ru/showthread.php?t=232044)

betty02 04-19-2010 06:52 AM

How easy is this to update? Just uninstall the xml and re-install the new one?

Rckcrwlr 04-19-2010 07:08 AM

I'm not getting it on mine either...

chriske 04-19-2010 08:37 AM

Quote:

Originally Posted by betty02 (Post 2023630)
How easy is this to update? Just uninstall the xml and re-install the new one?

Overwrite all files from itrader, then upload xml (choose overwrite)

Vapour 04-19-2010 10:19 AM

How come their is no new update for the 3.8.x :s.
Really wanted this for my site :s

If so ,

please post it.
Thanks

entertain 04-19-2010 10:36 AM

@chriske:
very, very difficult and nearly impossible for a newbie. I don't know why you ignored my instructions. :rolleyes:

@Vapour:
I am not the developer of the modification. The rights on the vB 3.8 version are held by vbenhancer. I only ported his version to vB 4 and added some features.

It seems as the vB 3.8.0 version (2.5.0) is not going to be updated anymore.

Zaraki 04-19-2010 10:49 AM

Hmm, so not even with the backups can I get the previous ratings?

ChaibiAlaa 04-19-2010 11:26 AM

Hello,

I have installed it and is working, but, on threads, the iTrader score is not showing on members part (the left part)

your24hourstore 04-19-2010 07:00 PM

well i have never gotten this mod to work yet, did crash my site everytime i enabled it though

7thSENSE 04-20-2010 05:59 AM

Quote:

Originally Posted by Andre31 (Post 2022267)
I have translated a small part of the phrases in German / You. Not all translated, but the beginning has been made. In consultation with the User entertain, I get permission to put the phrases available to all. If you want to translate more or better that can do that.
Thanks to entertain for the permission.

Hey,

how can I install the German language file? I've recently installed the iTrader system but don't know how to change the language. :)

Greetings

Zaraki 04-23-2010 05:57 PM

Once again I'll ask.

Previous to the un-installation, I made a backup of the entire forum.

After that, I've updated the forum to version 4.

After having the forum updated, I tried updating the older iTrader tool with this version. It ended up not working because it said it couldn't be overwritten. I tried to change this, but the option did not appear.

Then, I un-installed the previous version of the iTrader and installed this one.

Now the older iTrader rating do not appear, and I wish to change that.

I know that I have to do something about the optimizing/repairing the tables, but my question is, how.

How do I get the older iTrader ratings into this new version.

Thanks for the help.

digitalpoint 04-23-2010 10:45 PM

The indexes defined in the iTrader table are not scalable at ALL. It's causing full table scans for queries and joins done when you are looking at iTrader stuff for any user. This was causing our user table to have locking issues since those queries are joined to the user table, which in turn causes everything in the forum to slow down (even if it has nothing to do with iTrader).

1. The index rateid index has no need for it to include the dateline column in the index.

2. The index rateduserid is an exact duplicate of the rateid index. This index should include rateduserid and dateline columns (it incorrectly includes rateid and dateline).

3. An index for rateduserid + buyselltrade columns is needed.

I've made those changes to our itrader table and now our itrader table (which has 526,000+ iTrader ratings) does not cause issues any longer.

This is what our indexes look like now:

http://img197.imageshack.us/img197/1903/screenfr.png

Hopefully we will see index fixes in a future version of iTrader package? :)

Manoel J?nior 04-24-2010 02:57 AM

Great question digitalpoint!

entertain 04-24-2010 07:30 AM

@digitalpoint:
I didn't want to change the database structure, because maybe vbenhancer is going to release v3 with the old structures and this would make an update to v3 very, very difficult. :(

sevenmix 04-26-2010 02:40 AM

Hi

First of all thanks to keep updating this awesome plugin.

My question: Is there any way to keep the rate seller button on every post and not only the first one?

Thanks in advance, greetings.

entertain 04-26-2010 12:44 PM

@sevenmix:
Admin CP -> Plugins & Products -> Plugin Manager

Edit plug-in: iTrader Navbar Link (postbit_display_complete)

Search for:
PHP Code:

    if (in_array($this->forum['forumid'], $itrader_forumsurl_ok) AND $this->registry->options['itrader_rate_trade'] AND $this->registry->bf_ugp['itraderpermissions']['canrate'] AND $vbulletin->userinfo['userid'] != $thread[postuserid] AND $this->post['postid'] == $this->thread['firstpostid']) 

change into
PHP Code:

    if (in_array($this->forum['forumid'], $itrader_forumsurl_ok) AND $this->registry->options['itrader_rate_trade'] AND $this->registry->bf_ugp['itraderpermissions']['canrate'] AND $vbulletin->userinfo['userid'] != $thread[postuserid]) 

(untested ;))

sevenmix 04-26-2010 03:00 PM

Thanks very much entertain, that works perfectly :)

Retal 04-29-2010 01:15 PM

Hello, the links under usernames on the page "Left for others" lead to the iTrader page of the user who left the rating, not the user who was rated.

Solution

itrader.php
Change
PHP Code:

        $templater vB_Template::create('itrader_userbits');
            
$templater->register('itrader'$itrader);
            
$templater->register('userinfo'$userinfo);
        
$itrader_userbits .= $templater->render(); 

to
PHP Code:

        $templater vB_Template::create('itrader_userbits');
            
$templater->register('itrader'$itrader);
            
$templater->register('userinfo'$userinfo);
            
$templater->register('viewuser'$viewuser);
        
$itrader_userbits .= $templater->render(); 

Template itrader_userbits
Change
HTML Code:

<a href="{vb:raw vboptions.bburl}/itrader.php?{vb:raw session.sessionurl}u={vb:raw itrader.userid}">{vb:raw itrader.username}</a>(<strong>{vb:raw itrader.itrader_total}</strong>)
to
HTML Code:

<a href="{vb:raw vboptions.bburl}/itrader.php?{vb:raw session.sessionurl}u=<vb:if condition="$viewuser['viewtype'] == 4">{vb:raw itrader.rateduserid}<vb:else />{vb:raw itrader.userid}</vb:if>">{vb:raw itrader.username}</a> (<strong>{vb:raw itrader.itrader_total}</strong>)

sung 04-30-2010 05:33 PM

Quote:

Originally Posted by entertain (Post 2026365)
@digitalpoint:
I didn't want to change the database structure, because maybe vbenhancer is going to release v3 with the old structures and this would make an update to v3 very, very difficult. :(

If he was changing the table schema you'd be correct, however changing the indexes won't have any effect on that since you can just rebuild them.

To make his changes you'd just put the following queries in the install/upgrade code:

Code:

alter table itrader drop index rateid;
alter table itrader drop index rateduserid;
alter table itrader add index rateid (rateid);
alter table itrader add index rateduserid (rateduserid, dateline);
alter table itrader add index rateduserid2 (rateduserid, buyselltrade);


And to go back to the previous indexes:

Code:

alter table itrader drop index rateid;
alter table itrader drop index rateduserid;
alter table itrader drop index rateduserid2;
alter table itrader add index rateid (rateid, dateline);
alter table itrader add index rateduserid (rateid, dateline);


Unless you have some inside knowledge about a 3.x release, no sense in making the current version slower for no reason.

entertain 04-30-2010 08:14 PM

@sung:
Thanks! Is it possible that itrader_main became very slow after these changes?

(Taking around 2-3 seconds to load, all other (itrader) pages around 0,05 to 0,10 seconds)

KevinAlthaus 05-01-2010 09:02 PM

Is this version fully working in vb 4.0?

entertain 05-01-2010 09:14 PM

@Kevin:
it ONLY works with vb 4.0 :D

sung 05-02-2010 12:07 AM

Quote:

Originally Posted by entertain (Post 2029745)
@sung:
Thanks! Is it possible that itrader_main became very slow after these changes?

(Taking around 2-3 seconds to load, all other (itrader) pages around 0,05 to 0,10 seconds)

Its slower than the rest, but not because of the index changes.

I just changed my indexes back to the defaults to see what the page generation time is.

I get ~0.6 seconds, which is the same time it takes with the changes digitialpoint suggested.

funkejj 05-05-2010 02:42 AM

Is there a way to change the Trade to something else like Gift? I ahve looked every where and can't find where to change it.

BadgerDog 05-05-2010 12:06 PM

Any chance to get a "paid" version integrated into Photoposts Classifieds? :up:

Thanks ... :)

Regards,
Badger

entertain 05-05-2010 12:27 PM

@BadgerDog:
However you could pn me with links what should be integrated and where exactely.

Then I might make you a price offer. :)

ps2wiz 05-06-2010 03:39 AM

Quote:

Originally Posted by entertain (Post 2026365)
@digitalpoint:
I didn't want to change the database structure, because maybe vbenhancer is going to release v3 with the old structures and this would make an update to v3 very, very difficult. :(


When is he going to release the new version?

entertain 05-06-2010 10:39 AM

@ps2wiz:
This weekend. ;)

Rckcrwlr 05-06-2010 10:44 AM

Quote:

Originally Posted by entertain (Post 2032506)
@ps2wiz:
This weekend. ;)

Woo Hoo!!!!!

entertain 05-06-2010 10:47 AM

Oh you talked about vbenhancer? His website is not available anymore and he doesn't reply any pns here, so I think he stopped the support. :( Sorry :(

ps2wiz 05-06-2010 12:10 PM

Oh, so you are planning on releasing a new update this weekend? With what changes?

bigcurt 05-07-2010 03:26 AM

Super, super sadface lol.

washingtonboise 05-07-2010 10:54 AM

Loving it. score doesn't want to appear in the post bit though, and that makes me feel blue. Looking forward to next release.

sevenmix 05-10-2010 04:04 PM

Quote:

Originally Posted by entertain (Post 2027581)
@sevenmix:
Admin CP -> Plugins & Products -> Plugin Manager

Edit plug-in: iTrader Navbar Link (postbit_display_complete)

Search for:
PHP Code:

    if (in_array($this->forum['forumid'], $itrader_forumsurl_ok) AND $this->registry->options['itrader_rate_trade'] AND $this->registry->bf_ugp['itraderpermissions']['canrate'] AND $vbulletin->userinfo['userid'] != $thread[postuserid] AND $this->post['postid'] == $this->thread['firstpostid']) 

change into
PHP Code:

    if (in_array($this->forum['forumid'], $itrader_forumsurl_ok) AND $this->registry->options['itrader_rate_trade'] AND $this->registry->bf_ugp['itraderpermissions']['canrate'] AND $vbulletin->userinfo['userid'] != $thread[postuserid]) 

(untested ;))

Hi, this works fine, but when the user makes the post the rate button disappears for him, so its the same problem because he cant rate the other users with the button.

Any solution?

DCS1443 05-12-2010 07:46 PM

Any reason why on our site it says "Itraderfeedback system is closed"?

Gamertype 05-15-2010 12:21 AM

n00b question...Where do the php files get installed?

mikez006 05-16-2010 05:29 PM

Quote:

Originally Posted by entertain (Post 2032506)
@ps2wiz:
This weekend. ;)

That was last weekend. Any update on when the new version is being released?

entertain 05-17-2010 10:53 AM

It will only be a bugfix release of 2.7.0. :o I am testing a few things out at the moment. It is almost finished.

waderow 05-17-2010 01:20 PM

can I show the trader rating in the thread by the avatar?

Sicilian 05-20-2010 02:21 PM

Quote:

Originally Posted by entertain (Post 2038435)
It will only be a bugfix release of 2.7.0. :o I am testing a few things out at the moment. It is almost finished.

Any idea when the new version will be released? I'm looking at adding a trading section on my forums with iTrader, but will hold off is the new version is going to be released in the next few days.

Ocean-Wonders 05-21-2010 09:48 AM

Thanks, great mod :D


All times are GMT. The time now is 01:58 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.02057 seconds
  • Memory Usage 1,851KB
  • 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
  • (2)bbcode_html_printable
  • (6)bbcode_php_printable
  • (9)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