Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #692  
Old 01-22-2008, 11:25 AM
Collussus Collussus is offline
 
Join Date: Oct 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed this on 3.7.x with minor problems.. Found the bugs pretty quickly..

All you have to do is find this in the ishop_cat_row template :

Code:
<tr>
<td class='alt2' align='center'><b><a href='?showshop={$cat['cid']}'>{$cat['cname']}</a></b></td>
<td class='alt2' align='center'>{$cat['citems']}</td>
</tr>
and replace it with :

Code:
<tr>
<td class='alt2' align='center'><b><a href='ishop.php?showshop={$cat['cid']}'>{$cat['cname']}</a></b></td>
<td class='alt2' align='center'>{$cat['citems']}</td>
</tr>
Then you go into the ishop.php file and find this:

Code:
$items['BuyLink'] = "<a href='?$session[sessionurl]do=BuyItem&id={$items['id']}'>Buy</a>";
and change it to this:

Code:
$items['BuyLink'] = "<a href='ishop.php?$session[sessionurl]do=BuyItem&id={$items['id']}'>Buy</a>";
Reply With Quote
  #693  
Old 01-22-2008, 07:55 PM
mp34play mp34play is offline
 
Join Date: Feb 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Collussus View Post
installed this on 3.7.x with minor problems.. Found the bugs pretty quickly..
Thank you kindly.
Reply With Quote
  #694  
Old 01-22-2008, 10:08 PM
heeroyun heeroyun is offline
 
Join Date: Jan 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deezelpope View Post
LOL! Forgive me for laughing, but I've over 1,000 items in my shop! Adding items isn't the hard part, you can do that right from the left side (see screenshot), it's the scrolling to the bottom of the list of items that's tough. I wish we could have the category item lists collapsible.

I know what to do to add the item , but 1000 images to scrool and choose take quiet awhile :|
Reply With Quote
  #695  
Old 01-22-2008, 10:15 PM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by heeroyun View Post
I know what to do to add the item , but 1000 images to scrool and choose take quiet awhile :|
I didn't add them all at once...just a few at a time. I guess it comes down to what you're willing to deal with.
Reply With Quote
  #696  
Old 01-22-2008, 10:54 PM
heeroyun heeroyun is offline
 
Join Date: Jan 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Collussus View Post
installed this on 3.7.x with minor problems.. Found the bugs pretty quickly..

All you have to do is find this in the ishop_cat_row template :

Code:
<tr>
<td class='alt2' align='center'><b><a href='?showshop={$cat['cid']}'>{$cat['cname']}</a></b></td>
<td class='alt2' align='center'>{$cat['citems']}</td>
</tr>
and replace it with :

Code:
<tr>
<td class='alt2' align='center'><b><a href='ishop.php?showshop={$cat['cid']}'>{$cat['cname']}</a></b></td>
<td class='alt2' align='center'>{$cat['citems']}</td>
</tr>
Then you go into the ishop.php file and find this:

Code:
$items['BuyLink'] = "<a href='?$session[sessionurl]do=BuyItem&id={$items['id']}'>Buy</a>";
and change it to this:

Code:
$items['BuyLink'] = "<a href='ishop.php?$session[sessionurl]do=BuyItem&id={$items['id']}'>Buy</a>";
What bug is this anyway :-?

@deezelpope : lolz me too , but It would be good to make it more easier , like the uploading smiles option of VBB ^^
Reply With Quote
  #697  
Old 01-23-2008, 06:31 AM
Collussus Collussus is offline
 
Join Date: Oct 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by heeroyun View Post
What bug is this anyway :-?

@deezelpope : lolz me too , but It would be good to make it more easier , like the uploading smiles option of VBB ^^
These are all bugs that when you click a certain link that you go back to forumhome instead of eg. buying something..

hence changing the link from "?do=buy" to "ishop.php?do=buy"
Reply With Quote
  #698  
Old 01-23-2008, 10:20 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error trying to view ishop.php:

Quote:
Unable to add cookies, header already sent.
File: /home/xxx/public_html/forum/ishop.php
Line: 49
I have vb 3.7 beta4 installed.

I dunno why that is happening, but when I remove

Quote:
<script>
<? sajax_show_javascript(); ?>
</script>
<script src="./includes/tableDnD.js" type="text/javascript"></script>
The page loads but I cannot rearrange the items since ajax is not there to run it.

The item rearranging doesn't work anyways right?
Reply With Quote
  #699  
Old 01-23-2008, 10:58 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It currently does not. im not sure why sajax would be adding any cookies. probably some javascript stuff. im not very good at it
Reply With Quote
  #700  
Old 01-23-2008, 11:00 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible then to use the old method of rearranging the items, using the order numbering system?
Reply With Quote
  #701  
Old 01-27-2008, 05:25 PM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
Reply


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:02 AM.


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.06113 seconds
  • Memory Usage 2,324KB
  • 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
  • (8)bbcode_code
  • (2)bbcode_php
  • (7)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
  • (3)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