vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Add-On Releases - iShop Customization - Signature and Inventory Updates (https://vborg.vbsupport.ru/showthread.php?t=191373)

Winterworks 09-19-2008 09:00 PM

iShop Customization - Signature and Inventory Updates
 
Please note that you require IShop and/or a cash system, or this add-on doesn't make much sense! (Credits to Blaine0002 for IShop and the basic code)

Steps to do this:

1) Go to... -> Styles and Templates -> Style Manager -> Edit Template -> Postbit Templates -> Postbit

2) Search for:

Code:

<!-- sig -->
or

Code:

<if condition="$post['signature']">
3) Below, you should see an area where the signature goes. In that area, add this...

Code:

<center><!-- show inventory -->
<fieldset><legend><title="$post[username]'s Inventory">$post[username]'s Inventory </a></legend>
<div>
$post[invrow]
<br>
</div>
</fieldset>
<!-- /show inventory --><br />
        <fieldset> <legend><title="$post[username]'s Signature">$post[username]'s Signature </a></legend>                        $post[signature]
                        </fieldset></center>

4) Click save, and you should now see the new updates in your signature! It should look something like this...

https://vborg.vbsupport.ru/

Not much of a modification, but it should look better then it did before. :)

Please note: This will only show up if you have something in your signature, so go add a signature if you don't have one already.

PinkDaisy 09-20-2008 09:50 AM

So this puts the gifts/items in your signature instead?

Winterworks 09-20-2008 10:41 AM

Yes, it does.

Scarface Claw 09-20-2008 08:54 PM

can it integrate with vbcredits?

Winterworks 09-20-2008 09:32 PM

I don't see why not!

touba 09-22-2008 05:59 PM

IShop is not currently running with 3.7.x

where is the interest ?

RedeemedWarrior 09-23-2008 10:26 AM

Ishop works on vb3.7 i use it on vb 3.7.3 :)

dreads 12-21-2008 12:18 AM

you might need to do some editting with ishop but yeah it should work.

whitey1974 01-06-2009 02:48 PM

Hi, I'm getting a very minor problem with this. I can't understand why!!

The inventory shows up for all my members without any problems at all, except one usergroup. For one usergroup the inventory will not show up for anyone in that usergroup. I'm no expert with code but as far as i can see the code is writtin into the postbit template, so should show up for everyone?

TIA for your help!! :D

whitey1974 01-13-2009 01:12 PM

It's ok I found the solution myself. Very basic mistake on my part, to display your inventory you must have your signature enabled regardless of whether you have a signature or not.


All times are GMT. The time now is 04:02 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.01506 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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