vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - iTrader 2.1.0 (Interim Release) (https://vborg.vbsupport.ru/showthread.php?t=182400)

Shazz 09-02-2008 02:02 AM

Quote:

Originally Posted by Digital Jedi (Post 1612417)
What do you mean by "dead"?

Unsupported

Digital Jedi 09-02-2008 10:47 AM

It's an interim release to hold us over until the full version is finished. So yeah, it's unsupported, but it works. Jason is just reserving the right to finish the full version on his own time.

12forums 09-02-2008 08:40 PM

I really don't know where to edit the templates! I don't know nothing about templates editing.
Can someone help me do it so I can continue working on my forum?

This is in the manual::

Template Instructions:

Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:

* itrader_total - iTrader Score (stored as an integer)
* itrader_pcnt - Percent Positive Feedback (also stored as an integer)

Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.

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

Additionally it would be wise to have some sort of link that is easily accessible to your members so they can view their own ratings. My suggestion would be to add some code in the navbar or usercp menu somewhere. If no userid is specified then the system defaults to the user's own iTrader page.

<a href="itrader.php?$session[sessionurl]">iTrader</a>

Use your imagination where you want these links to be visible, there's nothing set in stone where it should be display or how it should look. Some people wanted the percent score so I added in this version. You can get creative and use some stars or something based on their score or positive ranking.

Please, can you tell me in detail what I have to do or what you did?

Thanks in advance,
Amro

12forums 09-02-2008 11:30 PM

Can someone help me with the post I made above this one?

I highly appreciate it.

Thanks,
Amro

soundbarrierpro 09-02-2008 11:30 PM

PM me. I'm hitting the hay, but I'll help you all day tomorrow. You'll be a template editing whiz by the mid day. I'm eastern standard time and am in work by 7:30 am. I'll be glad to walk you through it.

Digital Jedi 09-03-2008 12:51 AM

There's also a very good explanation of templates and how to edit them in the docs: http://www.vbulletin.com/docs/html/templates_intro

Cash2Paypal 09-03-2008 09:27 AM

Love the iTrader but is there a way to raise TR? If I want to offer new members to keep a TR from another forum.. is there a way to edit the TR and it stay? or a table I can inject into the mysql? Anything?

shavedaccord 09-03-2008 06:47 PM

I am getting this at the top of my Members List now..

Quote:

iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()
iTrader: ()

soundbarrierpro 09-03-2008 07:24 PM

Quote:

Originally Posted by shavedaccord (Post 1613845)
I am getting this at the top of my Members List now..

That's because you dropped the variable in the wrong place. Try moving it around and dropping it wherever in the memberlist template. Just save and check, save and check until you find it's where you want it.

graham_w 09-04-2008 09:50 AM

Hi all, got the itrader info into my memberlist - but im just trying to figure out how to sort the itrader_total into order in the members list much the same as you can sort the posts. I've tried a few things but couldn't get it to work.

The posts sort in memberlist is this :

Quote:

<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=DESC&amp;sort=posts&amp;pp=$perpage$userg rouplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
so I tried setting the itrader to be this :

Quote:

<td class="thead" nowrap="nowrap"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&amp;</if>order=DESC&amp;sort=itrader_total&amp;pp=$perpa ge$usergrouplink">$vbphrase[itrader]</a> $sortarrow[itrader]</td>
The numbers display fine but the sort doesnt seem to recognise itrader_total and won't sort it in order. Anyone able to assist ?


All times are GMT. The time now is 02:24 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.01411 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
  • (5)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