vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   IShop - Simple, Flexible, and Integrateable. (https://vborg.vbsupport.ru/showthread.php?t=109515)

acast 09-02-2008 02:23 PM

Quote:

Originally Posted by acast (Post 1609489)
Hi, i want to do one thing and i hope you can help me. I want that when i buy something in the ishop appears in the member profile, but in postbit i want a miniature. For example, if i buy a present called apple in ishop/items/apple.gif in the postbit appears the miniature in ishop/itemsmini/apple.gif and in the member profile the big picture as like it appears.

Can anybody help me with this "if"?

Regards friends.


Can anybody help me, please? There is a template of the ishop_invpostbit_item where i put the two directories of the presents to buy in the ishop:
Code:

<img src='ishop/items/{$item['img']}' alt='{$item['name']}' border='0'>
<img src='ishop/itemsmini/{$item['img']}' alt='{$item['name']}' border='0'>


This is the standard code of ishop that i have to put in postbit and in the memberinfo template:

POsbit:

Code:

Find
----
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add AFTER
---------
<!-- show inventory -->
<fieldset><legend><a href="ishop.php?do=ViewMember&id=$post[userid]" title="$post[username]'s Inventory">$post[username]'s Inventory</a></legend>
<div>
$post[invrow]
<br>
</div>
</fieldset>
<!-- /show inventory -->

Memberinfo:
Code:

Find
----
<if condition="$vboptions['usereferrer']">

Add BEFORE
----------
<!-- show inventory -->
<fieldset><legend><a href="ishop.php?do=ViewMember&id=$userinfo[userid]" title="$userinfo[username]'s Inventory">$post[username]'s Inventory</a></legend>
<div>
$userinfo[invrow]
<br>
</div>
</fieldset>
<!-- /show inventory -->

I want an if that makes in the postbit i can see only the images located in itemsmini. I tried this one, but it doesnt work:

Code:

<if condition="$post[invrow] != ''"><div>
  <img src='ishop/itemsmini/{$item['img']}' alt='{$item['name']}' title="$post[invrow]" align="left">
</div></if>

The two images appears in postbit and in memberprofile. Can anybody help me to make a correct if?

MissKalunji 09-02-2008 06:18 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1612615)
you add the template to whatever skins/themes you use

you beat me to it :)


Quote:

Originally Posted by Peterpan002 (Post 1605061)
Thank you MissKalunji :) perfect.

You are very welcome

Winterworks 09-19-2008 11:36 PM

Blaine, thanks very much for this!

I coded an add-on for this (not much of one.. But it'll help some people)

https://vborg.vbsupport.ru/showthrea...56#post1625956

john102774 09-26-2008 01:59 AM

Question:

Is there a way for moderators with proper permission to give special Charm or trophies to individual members? However the Charm or Trophies can not be purchase. It can only given out as an award. :)
Hope this does not cause any confusion... :D

john102774 09-26-2008 03:14 AM

For example, is there a way that if I made one of my items to cost 0 credits or -1 credits in turn that will mean that no one can purchase it. It can only be given out to selective members?

BTW: For those who are curious, I'm using VB 3.7.3 and this mod works beautifly on it. :)

RedeemedWarrior 09-26-2008 05:10 AM

That seems a better task for "yet another awards system" my friend

john102774 09-27-2008 01:06 AM

Quote:

Originally Posted by RedeemedWarrior (Post 1630610)
That seems a better task for "yet another awards system" my friend

A quick cheat to try that will allow me to acheive what I mentioned would be to create an X amount of items costing X amount. Then buy all items and donate them to selective members. :D

Thanks for this great MOD! :up:

MysCha 09-27-2008 01:24 AM

i have been install this plugin
but if i click BUY
dont work

Quotaless 09-29-2008 12:35 AM

Does this work with 3.7.3?

MissKalunji 09-29-2008 12:41 AM

Yes it does


All times are GMT. The time now is 09:09 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.01993 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
  • (4)bbcode_code_printable
  • (4)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