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)

blind-eddie 02-01-2009 05:03 AM

Read post 3 post obove this.

subly 02-01-2009 09:25 AM

Vale this mod for 3.8.x

Thank you.

Howie6666 02-01-2009 01:05 PM

How do I set it so my users cant access or post in certain catagorys/forums until I (admin) grant them access?

Howie.

superthang 02-03-2009 05:43 PM

does this work with vb 3.8?

Forum-Germany 02-05-2009 07:51 PM

Hello. I would like in profile (postbit_Legacy) also show the percent (%). how can I do?

Thank you. :)

Parker Clack 02-07-2009 04:44 AM

I am with blind-eddie that a masterlist of all the members on one page is needed. It would be great if it is searchable too.

I am with others in wanting to display the % in the postbit template. I have tried using $post[itrader_pcnt] as suggested with no luck.

Parker

sunnycher 02-07-2009 05:26 AM

I installed this on 3.8.1 and it's fine, I see the itrader page and all.
Set it to be active and set the usergroups permissions.
How exactly do you leave someone feedback?

I will need to edit their postbits?

Parker Clack 02-07-2009 12:00 PM

Cher:

As has been stated in this thread and in the templates.html file that comes with the download you will need to edit your postbit or postbit_legacy templates so this shows up under a member's username with something like.

Code:

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

Play around with the code to make it fit your board.

Parker

sunnycher 02-07-2009 02:06 PM

Parker:

Yes, I read that.
I'm not a code play arounder with. But thanks anyway.

Cher

Stubbed 02-10-2009 07:18 PM

Just on my issue, I ended up editing itrader_feedback.php to get what I needed.

Someone else must be having the same problem, so this is what I did:

Change http://www.url.com/forum to where ever your forum is, no trailing slash.

Find (Line 164):
Code:

        if (itrader_checkurl($itrader['dealurl']) == false)
Replace:
Code:

        if (itrader_checkurl('http://www.url.com/forum' . $itrader['dealurl']) == false)
Find (Line 209):
Code:

        dealurl = '" . $vbulletin->db->escape_string($itrader['dealurl']) . "',
Replace:
Code:

        dealurl = '" . $vbulletin->db->escape_string('http://www.url.com/forum' . $itrader['dealurl']) . "',
This adds the domain/directory onto the start of the url before it gets checked to see if its valid, and also before it inserts it into the database. Also works with strict url checking, and now all of the links work properly.

However, if someone doesn't put in the correct dealurl, it won't display properly, but couldn't see how to change that with out mucking up something else.

Messy, but it solved my problem.


All times are GMT. The time now is 02:26 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.01695 seconds
  • Memory Usage 1,735KB
  • 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_code_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
  • (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