Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Store Hack 2.2.4 Details »»
Store Hack 2.2.4
Version: , by \ \ - Speedy - / / \ \ - Speedy - / / is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-28-2002 Last Update: Never Installs: 0
 
No support by the author.

The hack is made for vB2.2.4 but I have vB2.2.8, will it work? And if it does, do I have to change anything to get it to work? I have seen it work for 2.2.7 before.

~Speedy~

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-28-2002, 04:49 PM
\ \ - Speedy - / /'s Avatar
\ \ - Speedy - / / \ \ - Speedy - / / is offline
 
Join Date: Nov 2001
Location: Speedy's World
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have this problem .. .



When you read the .txt file it says . . .





* * * * * * * * * * * * * * * * *
QUERY'S
* * * * * * * * * * * * * * * * *


**********************************
1st Query:
**********************************


CREATE TABLE store (
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
action varchar(255) NOT NULL,
title varchar(255) NOT NULL,
costs varchar(255) NOT NULL,
sold smallint(5) DEFAULT '0',
imgurl varchar(255) NOT NULL,
description varchar(255) NOT NULL,
ok char(1) NOT NULL default '',
quantity smallint(5) DEFAULT '0',
PRIMARY KEY (id)
);

**********************************
END 1st Query:
**********************************


**********************************
2nd Query:
**********************************

CREATE TABLE storeadmin (
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
storename varchar(255) NOT NULL,
pointname varchar(255) NOT NULL,
welcome varchar(255) NOT NULL,
welcomed varchar(255) NOT NULL,
showimg char(1) NOT NULL default '',
showrich char(1) NOT NULL default '',
showgoodie char(1) NOT NULL default '',
newthread int(10) DEFAULT '0',
newreply int(10) DEFAULT '0',
reply1 int(10) DEFAULT '0',
reply2 int(10) DEFAULT '0',
reply3 int(10) DEFAULT '0',
reply4 int(10) DEFAULT '0',
reply5 int(10) DEFAULT '0',
rpoint1 int(10) DEFAULT '0',
rpoint2 int(10) DEFAULT '0',
rpoint3 int(10) DEFAULT '0',
rpoint4 int(10) DEFAULT '0',
rpoint5 int(10) DEFAULT '0',
view1 int(10) DEFAULT '0',
view2 int(10) DEFAULT '0',
view3 int(10) DEFAULT '0',
view4 int(10) DEFAULT '0',
view5 int(10) DEFAULT '0',
vpoint1 int(10) DEFAULT '0',
vpoint2 int(10) DEFAULT '0',
vpoint3 int(10) DEFAULT '0',
vpoint4 int(10) DEFAULT '0',
vpoint5 int(10) DEFAULT '0',
PRIMARY KEY (id)
);

**********************************
END 2nd query
**********************************

**********************************
3th Query:
**********************************

ALTER TABLE user ADD storep smallint(5) DEFAULT '0'

**********************************
END 3th query
**********************************

**********************************
4th Query:
**********************************

INSERT INTO storeadmin VALUES (1,'Store', 'Points', 'Welcome on the store', 'Here you can buy different goodies for the forum', 'N', 'Y', 'Y',10,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5);

**********************************
END 4th Query
**********************************

**********************************
5th Query(u probably have to execute these query's apart):
**********************************

INSERT INTO store VALUES (1, 'username', 'Change Username', '500', '0', 'username.gif', 'With this action you can change your username', 'Y','0');
INSERT INTO store VALUES (2, 'customtitle', 'Change Custom Title', '300', '0', 'title.gif', 'With this action you can get a custom title and if you dont have one already then get one', 'Y','0');
INSERT INTO store VALUES (3, 'customavatar', 'Change Custom Avatar', '700', '0', 'avatar.gif', 'With this action you can get a custom avatar or if you already one you can change it...', 'Y','0');
INSERT INTO store VALUES (4, 'givetitle', 'Give an other user a custom title', '700', '0', 'givetitle.gif', 'With this action you can give an other user a custom title. The title that you give will be showed on every post of that user. <br><b>Tip:</b> Do it when that user dont have enough money to restore his custom title ', 'Y','0');
INSERT INTO store VALUES (5, 'donate', 'Donate money to an other user', '0', '0', 'donate.gif', 'With this "free" action you can donate money to other members.', 'Y','0');
INSERT INTO store VALUES (6, 'scrap', 'Scrap your yellow/red card', '700', '0', 'card.gif', 'With this action you can scrap your yellow/red card. Want to become a mod but have a yellow/red card? Do this action to begin with a new veb life ', 'Y','0');
INSERT INTO store VALUES (7, 'calendar', 'Add Calendar Event', '500', '0', 'calendar.gif', 'With this action you can add a public calendar event on the calendar', 'Y','0');
INSERT INTO store VALUES (8, 'glowusername', 'Add Glow To Username', '2000', '0', 'glow.gif', 'With this action you can add an attractive glowing color to your username wich you can define yourself. If you have already a glow then you can change it here aswell.', 'Y','0');

**********************************
END 5th Query
**********************************

**********************************
6th Query:
**********************************

CREATE TABLE storeaction (
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
postuserid int(20) NOT NULL,
postid int(20) NOT NULL,
postusername varchar(255) NOT NULL,
userid int(20) NOT NULL,
username varchar(255) NOT NULL,
what varchar(255) NOT NULL,
PRIMARY KEY (id)
);

**********************************
END 6th Query
**********************************

**********************************
7th Query:
**********************************

CREATE TABLE storeextra (
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
action varchar(255) NOT NULL,
userid varchar(255) NOT NULL,
color varchar(255) NOT NULL,
PRIMARY KEY (id)
);
**********************************
END 7th Query
**********************************




Well what the hell does all that mean? I have instsalled plenty of other hacks, and they never said anyhting ahout that weird stuff.



~Speedy~
Reply With Quote
  #3  
Old 09-28-2002, 05:07 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plenty of other hacks installed? Were they template hacks?

This tutorial made by Tubedogg will tell you more about installing query's:
http://www.vbulletin.com/forum/showt...threadid=18558
Reply With Quote
  #4  
Old 09-28-2002, 05:39 PM
\ \ - Speedy - / /'s Avatar
\ \ - Speedy - / / \ \ - Speedy - / / is offline
 
Join Date: Nov 2001
Location: Speedy's World
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When ever I click on something in phpmyadmin, it goes to a "black page"

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

If you typed the page address in the Address bar, make sure that it is spelled correctly.

To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
If your Network Administrator has enabled . . . .


I see all the "tables" or I think I do, it says

access
adminlog
adminutil
announcement
attachment
avatar
bbcode
calendar_events
customavatar
forum
forumpermission
icon
moderator
poll
pollvote
post
privatemessage
profilefield
replacement
replacementset
search
searchindex
session
setting
settinggroup
smilie
style
subscribeforum
subscribethread
template
templateset
thread
threadrate
user
useractivation
userfield
usergroup
usertitle
word


on the side but like when i click on on of them it shows the bigging message So what do I do, I realy want to install this hack


~Speedy~
Reply With Quote
  #5  
Old 09-28-2002, 07:04 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install the query hack:

https://vborg.vbsupport.ru/showthrea...=&pagenumber=1

- miSt
Reply With Quote
  #6  
Old 09-28-2002, 07:28 PM
\ \ - Speedy - / /'s Avatar
\ \ - Speedy - / / \ \ - Speedy - / / is offline
 
Join Date: Nov 2001
Location: Speedy's World
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I did that and I got all them query's done, now I get to the part where I think everything will be smooth as a ace (the hacking files part), and then . . .

Open register.php and find . . .

Code:
if (!$testreferrerid=$DB_site->query_first("SELECT userid FROM user WHERE username = '".addslashes($referrername)."'")) {
          eval("standarderror(\"".gettemplate("error_badreferrer")."\");");
          exit;
		  }
when I typed that in it didnt find it for some weird reason, so I put just the first line and it found it and found the real thing, so I ended up finding . .

Code:
        if (!$testreferrerid=$DB_site->query_first("SELECT userid FROM user WHERE username = '".addslashes($referrername)."'")) {
          eval("standarderror(\"".gettemplate("error_badreferrer")."\");");
          exit;
        }
     }
  }
So I used commen sence and made this . . .

Code:
  $testreferrerid['userid'] = 0;
  if ($usereferrer and $bbuserinfo['userid']==0) {
     if ($referrername) {
        if (!$testreferrerid=$DB_site->query_first("SELECT userid FROM user WHERE username = '".addslashes($referrername)."'")) {
          eval("standarderror(\"".gettemplate("error_badreferrer")."\");");
          exit;
        }
$lesane=$DB_site->query_first("SELECT * FROM user WHERE username = '".addslashes($referrername)."'");
	   $pmmessage="U brought us a new referrer: $username. We appreciate this and as return we reward you with $100. Your money is increased with $100. Thanks.";
$later = $DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title,message,dateline,messageread,folderid) VALUES (NULL,'$lesane[userid]','$lesane[userid]','1','New Referrer','".addslashes($pmmessage)."',".time().",0,0)");
$updatestore=$DB_site->query("UPDATE user SET storep=storep+100 WHERE username = '".addslashes($referrername)."'");
     }
  }
FIRST QUESION . . is this commen sence right?

then I close that file and upload it

Then I open register.php

did that step no probelm


Next File . . . Member.php, and when this bad boy came up I coudn't find anything remotry the same, I saw a coule thigns but then under it it didnt match, Can someone PLEASE update this hack to vb 2.2.8 standers?


~Speedy~
Reply With Quote
  #7  
Old 10-23-2002, 12:22 PM
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Location: UK
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what version of VB you running??? might be wrong.. just an idea
Reply With Quote
Reply

Thread Tools

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 05:45 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.04056 seconds
  • Memory Usage 2,269KB
  • Queries Executed 20 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete