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.

Elly 08-19-2003 04:28 PM

Quote:

03-07-03 at 10:15 PM Jitway1 said this in Post #418
Ok for all those with the donate problem I changed <input type="hidden" name="iddonate" value="$user"> to <input type="hidden" name="iddonate" value="userid "> and it works great now. Go figure! :laugh:

I was having the problem with the donate as well ... I applyied this change here and now what happpens is it not only donates to the user I am donating to but to everyone on the forum ... and not only the amount I am donating the amoutn I have plus the amount donated so lets say I have 5000 and donate 500 everyone on the forum gets 5500 o.O any ideas on how to fix this?

Kid1412x 08-28-2003 02:40 AM

thanx for sharing

Lechuong 08-28-2003 04:23 AM

i am hacking RPG ,but myfile showthread.php in error
can U give me ? thz thz
my email: daoquoctruong@yahoo.com

tnguy3n 09-06-2003 06:38 AM

dang!! this hack sounds cool, but I got a database error when installed it.
Quote:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=1
mysql error: Unknown column 'field5' in 'field list'
and here's structure of my userfield table ...
Quote:

userid int(10) unsigned NOT NULL default '0',
field1 char(250) NOT NULL default '',
field2 char(250) NOT NULL default '',
field3 char(250) NOT NULL default '',
field4 char(250) NOT NULL default '',
What is field5 then?? I guess I could manually inject it to the userfield table if I knew what it is.
does anyone have this hack to work with vb 2.3.2??

[BA]Techie 10-04-2003 02:51 PM

For some reason my members' points will not rise correctly. Half of their points do but some of the other members have 0 and have posted like 20 times. Its supposed to give them 10 points per post but it's not doing it's job. Any suggestions?

brownafroduck 10-15-2003 08:42 AM

I searched the thread, but I didn't find any questions about this anywhere... :/

When you delete a post, it doesn't delete the points that you get for the post. How can I change this?

lasto 11-01-2003 06:35 AM

does this hack still use a lot of queries or has it been fixed ??

and last but not least does this mean i cant install this if i have the stroe hack installed ?????

VirtualHogwarts 11-29-2003 02:03 PM

There are a couple things I would like to add/remove with this hack, I have a BRAND NEW clean nothing edited in vB 2.3.3 and I want to install this hack for a Harry Potter Virtrual Hogwarts board.

Here are some changes I want ...

I don't want users to be able to sell their items.

I don't want users to be able to have personal stores.

I was wondering if there is a way to make a bank hack with this?

Virtual Hogwarts

DuffMan 12-01-2003 09:42 PM

VirtualHogwarts, an easy way to get rid of the sell items and personal stores areas is just to comment out or delete the links in the templates. It won't stop someone who knows how the hack works, but for general users it'll work fine.

I'm trying to find a way to send a PM to both an admin and the buyer when an item is sold with the name of the buyer, date + time of purchase, and the name and category name of the items (the actual text not the id numbers). Does anyone know how to do this? Thanks.

asianboi 05-04-2005 04:23 PM

does this hack work with v3.07?

danrak 06-06-2005 04:08 PM

Quote:

Originally Posted by Ruth
nice work Vivi,

may i suggest to you, to combine this with secure downloads script , so users can download files using their points, and upload files and get points.

cheers, :)


I would suggest staying away from that script. There is no support, the admin hasn't been online since mid March. Just a horrible "product".


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