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)

Blaine0002 03-11-2006 04:37 PM

yes when you first install the plugin it will not have it because your navbar has not refreshed :P

and it should work with vbplaza, just change the row name or whatever to whatever it uses.

DragoZERO 03-12-2006 11:53 PM

Is anyone else having database issues? Could we possible get the database query in a seperate text and an xml w/o the sql stuff?

dai-kun 03-19-2006 07:33 PM

Templates are not cached:

Uncached templates: itemshop_invpostbit_begenning (3)
Uncached templates: itemshop_invpostbit_end (3)

had to add both to showthread.php, fine now.

also is there any way we can limit how much shows up in postbit?

BrentW 03-19-2006 10:01 PM

Quote:

Originally Posted by Blaine0002
all users automaticly DO have an itemshop inventory. i can also try adding an equip. Would the unequip items still show in their inventory and not their postbit?

Correct. ;)

CongTuDepTrai 03-20-2006 04:18 PM

it moved to below signature yet?

BrentW 03-20-2006 04:46 PM

Quote:

Originally Posted by CongTuDepTrai
it moved to below signature yet?

You can move it yourself. Simply post the code in the signature template instead of the postbit.

theorigin 03-21-2006 04:01 AM

Any word on the option being added where new items added will automatically be alphabetized within their respective categories?

GrendelKhan{TSU 03-29-2006 11:35 AM

sorry for the stupid n00b question but...

Quote:

Your users to buy images with their money for their postbit or to have their own inventory
what images?

ie: where are the images coming from?

(again, sorry...first time I'm seeing this).

baradaarab 03-29-2006 04:00 PM

Any way to make it so that the images show up in the profile rather than the postbit?

MGM out

inkdot 04-13-2006 06:48 PM

what's the default money field for vbplaza? nvm it's vbbux!

baradaarab 04-14-2006 05:41 PM

Quote:

Originally Posted by baradaarab
Any way to make it so that the images show up in the profile rather than the postbit?

MGM out

Any help on answering this question would be welcome... I'm trying to wait patiently but ... :p

MGM out

Nova99 04-18-2006 07:59 PM

Is it possible to get this one to show max X number of items in the postbit and to let the members arrange the order of the items themselves??

I would really like to see something like that on this great hack.. :)

BrentW 04-21-2006 07:22 AM

Quote:

Originally Posted by Nova99
Is it possible to get this one to show max X number of items in the postbit and to let the members arrange the order of the items themselves??

I would really like to see something like that on this great hack.. :)

Yeah...we need an equip feature like in RPG Inferno.
And a Jobs feature, just like in RPG Inferno. ;)

Once those features are working I will gladly send a $50 donation.

Blaine0002 04-22-2006 01:13 PM

equip and jobs? examples?

and i will be working more on this hack, once i get out of school!

BrentW 04-23-2006 12:26 AM

Quote:

Originally Posted by Blaine0002
equip and jobs? examples?
and i will be working more on this hack, once i get out of school!

Are you familiar with the Jobs mod and Equip features in RPG Inferno?

Download and install RPG Infero Lite to see. Equip lets you choose which items will be displayed in the postbit. In the profile view, there should be two columns: one for all items (ncluding equiped items), and one for equiped items only.

The jobs feature lets you choose a "job" based on how many posts you have. It pays you a "salary" each specified time period.

emtee 04-29-2006 01:14 AM

This hack seems to use a lot of queries for me when I move it down to above signature in postbit. It shows 3 uncached templates for EACH POST: itemshop_invpostbit_begenning, itemshop_invpostbit_end, itemshop_invpostbit_item. So when someboy view a thread with 25 posts, it would use 100+ queries just for that thread view alone!

Do you have any fix for this?

By the way, in a later release, can you change itemshop.php to imageshop.php because this hack is incompatible with the RPG Integration hack because both use the same itemshop.php filename.

Many thanks in advance.

dai-kun 04-29-2006 01:22 AM

Quote:

Originally Posted by emtee
This hack seems to use a lot of queries for me when I move it down to above signature in postbit. It shows 3 uncached templates for EACH POST: itemshop_invpostbit_begenning, itemshop_invpostbit_end, itemshop_invpostbit_item. So when someboy view a thread with 25 posts, it would use 100+ queries just for that thread view alone!

Do you have any fix for this?

By the way, in a later release, can you change itemshop.php to imageshop.php because this hack is incompatible with the RPG Integration hack because both use the same itemshop.php filename.

Many thanks in advance.


Do a file edit in showthread.php

Look for

Code:

        'editor_clientscript',
        'editor_jsoptions_font',
        'editor_jsoptions_size',
);

replace with

Code:

        'editor_clientscript',
        'editor_jsoptions_font',
        'editor_jsoptions_size',
        'itemshop_invpostbit_begenning',
        'itemshop_invpostbit_end',
        'itemshop_invpostbit_item',
);

you may also want to add it to showpost.php

emtee 04-29-2006 06:11 PM

So that is one of the way to cache templates? I'll try it. Thanks a lot dai-kun! :D

Edit: caching templates doesn't help getting rid of the queries. I had to uninstall this hack because of the 3 queries it add to every single post in a thread.

I might reinstall it later if the queries got cut drastically.

Blaine0002 05-03-2006 08:14 PM

hmm im not sure how to reduce queries like that, and i dont have much time to work on this hack with school and all, butonly 2 weeks left and i would be working on it again,

Carlos2 05-04-2006 11:51 PM

Request:

Hi, in a next version, can you put an item that give you money all months or something similar???

For example: You buy a Casino Item, or a Restaurant Item for 20.000 euros, and this item give you 1200 euros for month. ;)

Items that give you profits if you buy them, and you can choose the money profit that you want. Thanks :cool:

inkdot 05-07-2006 07:01 AM

is 'itemshop_invpostbit_begenning' a missing template? maybe a typo?
i only see itemshop_invpostbit_beginning

BrentW 05-17-2006 02:34 AM

Database error in vBulletin 3.5.2:

Invalid SQL:
INSERT INTO itemshop_cat (cid, cname, cdescr, csold, cprofit, citems) VALUES (1, 'Test Category', 'Get your items here!', 0, 0, 0);

MySQL Error : Table 'coc.itemshop_cat' doesn't exist
Error Number : 1146
Date : Tuesday, May 16th 2006 @ 08:36:23 PM

................

I get the above whenever I try adding the product

EDIT: I got it working by removing the " . TABLE_PREFIX . " from the script

northernstar 05-20-2006 08:54 PM

Quote:

Originally Posted by theorigin
is there anyway to limit the items that show up in the postbit/signature?

Would love to see this as well!

And I second the request to allow users to choose the order, or even just pick their top 5 or something. Great hack!

edit: And also when you're viewing someone's inventory, it'd be nice to have a column showing who gave them the item.

jacks0_0 05-31-2006 01:25 PM

how to put the limit of buying the items? ^ ^ Such as one person just can buy 5 or 10 items, because when the users buy a lot of items, it impact the template of the forum...

tienkhom 06-07-2006 10:27 AM

i can not import the xml file,
Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO itemshop_cat (cid, cname, cdescr, csold, cprofit, citems) VALUES (1, 'Test Category', 'Get your items here!', 0, 0, 0);

MySQL Error : Table 'mynameuser_forum.itemshop_cat' doesn't exist
Error Number : 1146
Date : Wednesday, June 7th 2006 @ 06:24:51 AM
Script : http://www.my domain.com/admincp/plugin.php
Referrer : http://www.my domain.com/admincp/plugin.php?do=productadd
IP Address : my ip
Username : my name
Classname : vB_Database

dashaka2 07-05-2006 03:48 PM

**clicks install**

Blaine0002 07-05-2006 07:06 PM

i will work on updating this once i finish with my 2 other hacks. :) just hold on a little longer.

dashaka2 07-05-2006 09:10 PM

Some things that I noticed where:

**When I tried adding an image that ended with .JPG it wouldn't work, I had to change it to lowercase .jpg

**Also it would be nice to have a feature that allowed u to add multiple items.

**Please have a button to Alphabetize the items or better yet pick the order inwhich u want them in as well as the categories

**Is there a way to allow people to purchase more than 1 of the same item?
(Might be cool to have a switch to turn this on and off)

**Allow users to choose maybe top 5 or so pics to show in sig or postbit, My users will have a few hundred items, the only way I know of to keep this clean would be to turn off pics in postbit.. But I would like it to show a few. Maybe a couple then the .... to show that there is more.

**also if possible to see a thumbnail of the pic in the postbit, but when we go to their inventory you can see the full image.


looking forward to the update :)

Blaine0002 07-06-2006 01:44 AM

Quote:

Originally Posted by dashaka2
Some things that I noticed where:

**When I tried adding an image that ended with .JPG it wouldn't work, I had to change it to lowercase .jpg

**Also it would be nice to have a feature that allowed u to add multiple items.

**Please have a button to Alphabetize the items or better yet pick the order inwhich u want them in as well as the categories

**Is there a way to allow people to purchase more than 1 of the same item?
(Might be cool to have a switch to turn this on and off)

**Allow users to choose maybe top 5 or so pics to show in sig or postbit, My users will have a few hundred items, the only way I know of to keep this clean would be to turn off pics in postbit.. But I would like it to show a few. Maybe a couple then the .... to show that there is more.

**also if possible to see a thumbnail of the pic in the postbit, but when we go to their inventory you can see the full image.


looking forward to the update :)


More great ideas :) i will take a break from my auction script and work on this and hopefully get many of these problems fixed :)

dashaka2 07-06-2006 03:24 AM

cool an auction script :)
do u have a beta version yet?
I am in need of an auction script or a virtual store :up:

Blaine0002 07-06-2006 11:13 AM

heh no, still working on backend. will release an early beta in about a week or so.

Blaine0002 07-07-2006 02:24 AM

wow, i just looked through this code, and im seriously suprised it works at ALL

(lol)

this is what i will be working on tomorrow, expect a release soon.

Vi3t4Lov3 07-07-2006 06:46 PM

Thanks for the mod. It is quite fun.

Suggestion:
- Now, to sell back the value is hard set at 33%. Can this value be made as a variable to be set in ACP? Thanks,
- Can it be worked with a percentage discount for different usergroup? (like Ebux/Vbplaza). Like right now, in ebux, I have it set that admin has 50%, s-mod has 40%, mod has 25% discount on all items.

Thanks,
I truly enjoy this mod.

Blaine0002 07-11-2006 11:45 PM

Updated, Fully works. No new features added, but users should upgrade anyway.

chkdgate 07-12-2006 06:10 AM

Blaine, as you already know, this is something that I've been waiting for a long time. I followed all the directions and the postbit edit on post #1 but this is not showing up for me. I have the version you've updated yesterday. Any thoughts? Btw, step #5 is not quite clear to me. Thanks for your help.

**clicks install**

edeline 07-12-2006 09:27 AM

what happen if i use it in postbit_legacy ??

Blaine0002 07-12-2006 01:00 PM

Quote:

Originally Posted by chkdgate
Blaine, as you already know, this is something that I've been waiting for a long time. I followed all the directions and the postbit edit on post #1 but this is not showing up for me. I have the version you've updated yesterday. Any thoughts? Btw, step #5 is not quite clear to me. Thanks for your help.

**clicks install**

This is probably what you are missing, What external cash mod are you using?

You need to go into the IShop general options and make sure your money row is correct.

If not are you sure you edited the correct postbit template?

@edeline
it should work just fine. I am using it on my forums :)

chkdgate 07-12-2006 04:11 PM

I'm using your ICash of course! Let me go ahead and install it from scratch.

chkdgate 07-12-2006 05:00 PM

Okay, I installed it again from scratch and once again I'm not getting this hack to work. Also, when I go to ishop's settings I get the following error shown below.

Blaine0002 07-12-2006 05:15 PM

whoops i guess i forgot to upload new version. hold on.


All times are GMT. The time now is 10:01 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.01908 seconds
  • Memory Usage 1,831KB
  • 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
  • (2)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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