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)

RichTJ99 12-16-2007 05:39 PM

Quote:

Originally Posted by crest (Post 1372207)
I installed it and it's working fine.

I like it under the avatar with the rest of the info.

can anyone tell me how to make the iTrader info not show up in the postbit if the user has 0 feedback?

DotSauce 12-19-2007 03:39 AM

I am wondering if it would be possible to somehow manually edit a users iTrader rating?

Would this have to be done in the database?

Thanks!

Shazz 12-19-2007 04:12 AM

Quote:

Originally Posted by DotSauce (Post 1404197)
I am wondering if it would be possible to somehow manually edit a users iTrader rating?

Would this have to be done in the database?

Thanks!

Its the middle button below the options column on the iTrade page.

DotSauce 12-19-2007 04:50 AM

Quote:

Originally Posted by Shazz (Post 1404210)
Its the middle button below the options column on the iTrade page.

Ok I see what you're talking about, but it doesn't really help with what I want to do.

I want to actually bump some users rating up many points... (I am verifying their rating from another domain industry forum). I am guessing this has to be done in the database somewhere. Is there any risk to doing this? or easy way about it?

eoc_Jason 12-19-2007 02:23 PM

It doesn't use memcache, there is no need to.

You can't simply change their score in the DB. It is re-calculated each time a rating is added / removed. You would have to physically add in ratings.

SON240SX 12-19-2007 05:05 PM

Ok so I have it installed, and everything is peachy.

But how can I go on the iTrader page and search for other users or list top rated users or things like that?

Collectors 12-20-2007 02:56 PM

Will iTrader work with vBulletin 3.7.0 (Beta 3)?

RichTJ99 12-20-2007 05:41 PM

Quote:

Originally Posted by RichTJ99 (Post 1402268)
can anyone tell me how to make the iTrader info not show up in the postbit if the user has 0 feedback?

anyone?

like here

DotSauce 12-20-2007 05:59 PM

I have posted a request for a modification of this iTrader plugin.
I want to manually adjust my users trader rating numbers.
It is a paid job if anybody is up for the task...

https://vborg.vbsupport.ru/showthread.php?t=165719

siliconfinance 12-22-2007 07:05 AM

DISCLAIMER: I am not a pro modder, but I figured out how to make this work on my 3.6.8 copy. Back up everything related to vb including files and database. Make these modifications at your own risk. NOTHING IS GUARANTEED.

With that said, I just upgraded my forum from 3.5.x to 3.6.8 and the following solution worked for so it should be a good solution for those with 3.6.8 that have no idea how to restore itrader functionality.

The reason it does not work is because somewhere in the upgrade to 3.6.8 the postbit_legacy and postbit templates are wiped and they lack the itrader template conditional which displays the itrader values for your members in the detail below their avatars.

Go to your admincp>>Styles & Templates>>Style Manager>>Find the template you wish to modify and click the "<< >>" which appears on the same line in the last column.

Scroll down to Postbit Template. Double click Postbit Template. If you use Postbit Legacy (check your vb options), then double click postbit_legacy, search for the line that contains an if condition for joindate, i.e. search for "joindate".

Hopefully that will lead you to this text:
PHP Code:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 


Paste this immediately after it:
PHP Code:

<if condition="$post['userid']"><div>Trader Rating: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if> 

Save and your trader ratings should now function in 3.6.8.

If you use the postbit template, you can follow the same steps for that template but I cannot guarantee you will get the placement you want.


All times are GMT. The time now is 06:32 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.01948 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (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