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)

GaleForce 06-13-2003 01:09 PM

Anyone know why a user can't have more than 32762 points?

Steve W. 06-16-2003 04:44 PM

Is there a way to use text instead of images? Cause it's hard to try and make a load of little 30x30 boxes with musical instruments shrunk down to that size... it just looks cheesy.

If you could use text that displays the item name instead of a picture, I could then put that in the users signatures so it showed up just beneath their siggys.

All I need to do presumably is find the template that displays the items, and instead of showing the iamg,e just show the item name. Can this be done?

Poison Fly 06-21-2003 05:03 AM

This is the first time that I have installed an item shop hack.

I have an interesting problem. During the installation steps I am told to:

7. Still in the admin cp, select 'itemshop' > 'edit options' from the side menu. Be sure the field here corresponds to the one you added above!

But that option in the side menu is not there. I do not see any item shop links in my user cp either. The donate link works, but I'm not redirected to a thread. I have all the templates there, though. I'm sure this is related with a query problem? (No, I'm not sure.)

@_@

Poison Fly 06-21-2003 05:25 AM

*bump* The seventh step was taken care of, but I can't see any link to any store anywhere, and that 'non-redirect' script when clicking on the donate button is weird.

kaotic 07-05-2003 09:31 PM

What query should I run in order to purchase an item? Does anybody know?

GaleForce 07-28-2003 01:24 AM

Quote:

06-13-03 at 03:09 PM GaleForce said this in Post #441
Anyone know why a user can't have more than 32762 points?

kino 08-02-2003 07:36 PM

There is an error, if you donate negative ammounts, you actual steal from them. Anyone know how to fix this? I did this, but it didn't work:

PHP Code:

if($ammount ) {
eval(
"dooutput(\"".gettemplate("itemshop_negative")."\");");
exit; 
after this
eval(
"dooutput(\"".gettemplate("itemshop_donate-error")."\");");
exit;
} else { 


could someone tell me what i did wrong in fixing this?


EDIT: here it is, i fixed it. Everyone add this:

PHP Code:

if($ammount < -) {
 eval(
"dooutput(\"".gettemplate("itemshop_negative")."\");");
exit;


After this:

PHP Code:

if (isset($iddonate)) {
    if(
$points >= $amount) { 

Create a new template called itemshop_negative. Put this in it:
PHP Code:

You cannot donate a negative ammount


Yuber 08-04-2003 02:20 AM

Will there be an itemshop hack for vB3?

Kaelon 08-04-2003 03:54 PM

Quote:

I feel it's best to warn people that this hack increased the number of queries on the showthread page from about 35 to 150.
I'm guessing that there's really no easy way to optimize this, is there?

Legendary Kid 08-04-2003 06:03 PM

Yes, the itemshop works with 2.3.0.

Quote:

Posted By: Kaelon

I'm guessing that there's really no easy way to optimize this, is there?
The store hack runs less query's.


All times are GMT. The time now is 09:00 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.01663 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_php_printable
  • (3)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