vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   The Itemshop v5 (Original) (https://vborg.vbsupport.ru/showthread.php?t=38090)

Erwin 05-01-2002 07:02 AM

Your previous itemshop was quite simple and functional - I'm going to stick with it. :) Good job on this one, but I like the fact that I can use the stock custom userfields with the previous version - easy for me to build other hacks upon it. Keep up with the great hacks!

Kaelon 05-01-2002 08:11 AM

Great! Thanks, Vivi!

Just let me know once you've got the postbit included, fixes added and where I can nab it.

Again, excellent hack. I particularly love the flexibility to add categories (in effect, shops). Congratulations.

Kaelon

FFMania 05-01-2002 09:23 AM

I have problem here......

When I follow the instruction in editing both newreply.php and newthread.php.....the result is not really good.

Instead of what I have set (2 Points Per Reply and 5 points per new thread) it turns out to be 7 points per reply and 10 points per new thread.....I never modify anything....the itemshop script did it by itself? 0_o

And it also...stop the post counts from working.....for me at least...what should I do now?

And oh, I have the points hack, points addon, donate points and star hacks installed btw....so plz help me out...I am confused now ;) thx in advance :)

ceo_tfw 05-01-2002 12:13 PM

great hack, I have installed it and I had a few errors but with a little editing with my php3 files now it is up and running great,

I must say that it drives your members to post more,, yeehaaa

Vivi Ornitier 05-01-2002 12:17 PM

thanks Kaelon! :)

file updated.


FF Mania: you set the value in the admin cp.
the default value in the admin cp is 5.

you edited the file and added 2 and 5:
2+5=7
5+5=10

use the admin cp. ;)

AnkisethGallant 05-01-2002 07:23 PM

So, if we get the points hack (which one?), we'll be able to change stock.

What about personal shops? Is there any way to control it, where users can only resell items they bought?

Also, is it possible to change it where you can buy more than one item in a category?

Vivi Ornitier 05-01-2002 07:30 PM

Quote:

Originally posted by AnkisethGallant
So, if we get the points hack (which one?), we'll be able to change stock.

What about personal shops? Is there any way to control it, where users can only resell items they bought?

Also, is it possible to change it where you can buy more than one item in a category?

the itemshop basically works without the shinra points system.
It only needs a custom user field for the points.

stock is controllable through the admin cp.

in the personal shops, people create their own items. they can't resell items. and right now, it's impossible to buy more items in one category


bank screenshot attached

AnkisethGallant 05-01-2002 07:33 PM

Alright. If I knew how to hack, I'd work on that, adding the ability to resell.

How do I control stock in the CP, I don't see it anywhere.

Vivi Ornitier 05-01-2002 07:42 PM

Edit Options part :rambo:

ender 05-01-2002 07:45 PM

What's the bank screenshot? Is that something coming in a future version?

Also, in functions.php you use $bbuserinfo[userid], that will only check the user browsing the forum and consequently it will display all he owns on every post no matter what the user.

The correct function would be: $post[userid]


All times are GMT. The time now is 07:08 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.01281 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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