Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
IShop - Simple, Flexible, and Integrateable. Details »»
IShop - Simple, Flexible, and Integrateable.
Version: 1.1.4, by Blaine0002 Blaine0002 is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 03-04-2006 Last Update: 08-01-2007 Installs: 257
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

Version 1.1.4 RELEASE
Now with AJAX!

IShop

YOU NEED AN EXTERNAL CASH HACK FOR THIS TO WORK!
OMG YES IT WORKS WITH 3.6.X!!!

Works best with ICASH (also made by me)
I can actually give you support on the integration with ICash

By
Blaine0002

With help from:
Siradrian
Zachariah
eXtremetim
Ggiersdorf
Zero Tolerance


allows:
Your users to buy images with their money for their postbit or to have their own inventory

Features

+Multiple Shop Categories
+Unlimited Items
+Little Queries!
+Stock
+ICash Or EBux Integrated
+Detailed items/categories/shops stats(number of sold items, Stock)
+Item Donation
+Postbit Inventory and cash display
+Users sort items using AJAX
+Users may own multiple items of the same type
+Admin limits viewable icons in postbit!
+recipiant and admin notification on buy/sell/donate!


Database Tables

*[itemshop_cat]-Itemshop Categories stored here
*[itemshop_items]-Items That go in the categories
*[itemshop_stock]-Items left to buy


Installation

1.BACK UP YOUR DATABASE.
2.Import included XML file in main folder
3.Upload all files as is
4.Name Money field in VBulletin Options
5.Link to ishop.php


Upgrade from Ultra Imageshop To IShop:
1. Back up as normal
2. Delete all files that came with Ultra Imageshop, and rename 'Itemshop' directory to 'ishop'
3. upload all new files
4. upload XML file opting to overwrite
5. RE-SET options in ISHOP OPTIONS.
6. Re-do below template edit, if done.

Upgrade from V1.0.1 to V1.1.0!
Reupload all files,
Reimport XML, Prompt to overwrite.
WARNING:
In the previous version there was a bug where it would not add stock back to the shop when an item was sold.
If your Stock and Sold do not add up to your original stock for that item, you may upload countupdate.php from your DO NOT UPLOAD folder to your forum root. MAKE SURE YOU BACK UP YOUR DATABASE. Run the php from your browser , then DELETE IT!
WARNING: This will reset ALL of your items stock to 50! and then subtract items sold from this number. if your items did not have a stock of 50, you may want to edit the file and change the number, or edit the numbers in your database via PHPMYADMIN.




CLICK INSTALL!
Thanks!


Too add this to your navbar
open navbar template
find:
PHP Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td
Add after:
PHP Code:
<td class="vbmenu_control"><a href="ishop.php$session[sessionurl_q]">iShop</a></td

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #782  
Old 08-21-2008, 09:27 PM
hippiesimz hippiesimz is offline
 
Join Date: Oct 2006
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji View Post
In Plugins

Find : Inventory in Memberinfo

Then Change the Hook Location To Member_profileblock_fetch_Unwrapped

Then add the :


Wherever you want it to show..... If you want it in a profile tab

you would have to create a plugin. Let me know if that's what you want
MissKalunji.... yes i want it in a profile tab. thanks...
ups one more thing,,, are you using icash to integrate with this one ? or using any other bank method ?

cheers
Reply With Quote
  #783  
Old 08-22-2008, 12:27 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hippiesimz View Post
MissKalunji.... yes i want it in a profile tab. thanks...
ups one more thing,,, are you using icash to integrate with this one ? or using any other bank method ?

cheers
Step 1. Create Plugin
Hook Location : member_build_block_start
Name : Ishop Richness Profile Tab
Execution Order : 5 (I left it as default)
Plugin PHP Code :
Code:
$blocklist = array_merge($blocklist, array(
	'ishopmod' => array(
		'class' => 'ishopmod',
		'title' => 'Items',
                'hook_location' => 'profile_left_last'
	)
));

class vB_ProfileBlock_ishopmod extends vB_ProfileBlock
{
	var $template_name = 'memberinfo_block_richness';

	function confirm_empty_wrap()
	{
		return false;
	}

	function confirm_display()
	{
		return ($this->block_data['ishopmod'] != '');
	}

	function prepare_output($id = '', $options = array())
	{
		$this->block_data['ishopmod'] = 'Content to show in the tab.';
	}
}
Plugin is Active : Yes

Save

Step 2.

Then Create a Template Name : memberinfo_block_richness

Code:
<div class="alt1 block_row">
	<ul class="list_no_decoration">
<br/>
<!-- show inventory -->
<fieldset><legend><a href="ishop.php?do=ViewMember&id=$userinfo[userid]" title="$userinfo[username]'s Inventory">$userinfo[username]'s </a></legend>
<br/>
<div>
$userinfo[invrow]
<br>
</div>
</fieldset>
<!-- /show inventory -->
<div class="smallfont">$post[giftsdisplay]</div>
</ul>
</div>
Then it should appear on the left after Contact

Screenshot

Attachment 85869

And i'm using Vb Credits as Bank
Reply With Quote
  #784  
Old 08-23-2008, 11:13 AM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you MissKalunji perfect.
Reply With Quote
  #785  
Old 08-29-2008, 12:43 AM
acast acast is offline
 
Join Date: Aug 2008
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #786  
Old 08-29-2008, 06:15 PM
Colin-Roberts Colin-Roberts is offline
 
Join Date: Jul 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error..
Quote:
Parse error: syntax error, unexpected ';' in /home/thomasb/public_html/forums/ishop.php(281) : eval()'d code on line 57
I haven't edited any of the files unless said so.
Reply With Quote
  #787  
Old 08-31-2008, 10:25 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on Vb 3.7.3 i even have 2 separate installs
Reply With Quote
  #788  
Old 09-02-2008, 07:03 AM
john102774 john102774 is offline
 
Join Date: Aug 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!!!

I don't quite understand the second step to adding it to your profile page. Please help.

Step 2.

Then Create a Template Name : memberinfo_block_richness

Where do I create this template(location)?

Thanks for your help!
Reply With Quote
  #789  
Old 09-02-2008, 08:31 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you add the template to whatever skins/themes you use
Reply With Quote
  #790  
Old 09-02-2008, 10:26 AM
john102774 john102774 is offline
 
Join Date: Aug 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedeemedWarrior View Post
you add the template to whatever skins/themes you use
Thanks for all the help guys!!!
Reply With Quote
  #791  
Old 09-02-2008, 11:01 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no worries
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05146 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete