Log in

View Full Version : Can anybody help me with this IF??


acast
09-03-2008, 07:55 PM
Hi friends, i hope you can help me constructing this if. I asked to the users of the plugin, but i get no answer. Perhaps you can help me.

The problem is with ishop, you buy a present and appears in postbit and in member profile. This are the standars code:

POsbit:

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:

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 -->



The images that appears in bother are in other template, the ishop_invpostbit_item where i put the two directories of the presents to buy in the ishop:

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



So my problem is that i want to construct and if that makes in postbit you see the presents in the itemsmini directory, and in memberprofile you see the ones of the items directory, that are biggers than the others.


I try this IF, but it doesnt work:

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



Could you help me?

Marco van Herwaarden
09-04-2008, 07:28 AM
Asking in the modification thread is still your best chance to get an answer.

acast
09-04-2008, 03:23 PM
Asking in the modification thread is still your best chance to get an answer.I did it, two times in different days, but i get no answer. Thanks Marco.