Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Bank Addon for Lesane store hack Details »»
Bank Addon for Lesane store hack
Version: 1.00, by Blue2000 Blue2000 is offline
Developer Last Online: Jul 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-07-2002 Last Update: Never Installs: 48
 
No support by the author.

This was requested on my site. and also lots of times here.

The problem was that they was a bank hack out but not one that works with the store hack.

So i have reconfiged the root, mem and jessie ( https://vborg.vbsupport.ru/showthrea...threadid=38118 ) bank hack to work with Lesane's Store hack (https://vborg.vbsupport.ru/showthrea...highlight=bank )

I hope that they dont mind but i think it will be used more now anyway due the the fact that in lesanes store they is a way to make money.

Big thanks out goes to the above people for making the 2 hacks

I cant help but keep adding things to this hack Lesane great job you did with it

Another good point is becourse of the fact that once you put money in the bank it then cant be robed from other members of your board (well if you have rob addon installed)


information on how to install and DB changes r in the zip below.

BRING ON THE CASIO :P

Show Your Support

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

Comments
  #22  
Old 06-09-2002, 05:55 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a great addon.. ill have a go at installing it later.... are all the updates that you have done in the original zip file???
Reply With Quote
  #23  
Old 06-09-2002, 06:56 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
this is a great addon.. ill have a go at installing it later.... are all the updates that you have done in the original zip file???
yes they should be
Reply With Quote
  #24  
Old 06-10-2002, 07:54 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does your money grow with interest?
Reply With Quote
  #25  
Old 06-10-2002, 02:17 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yah...does it grow with interest?
Reply With Quote
  #26  
Old 06-10-2002, 05:23 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK When you go to the store is says how much is needed for this item if you want to buy it and it tells you how much money you need also to buy it. KNow in order to have the bank you need 100 bucks. Now no where in the main page of the store does it say you need 100 bucks till you actually click the bank button then it says you need 100 bucks. Please tell me how to add something pon like this thanks.
Reply With Quote
  #27  
Old 06-10-2002, 05:46 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am creating new template for this hack because the ones now are a little reaky looking. When i am done i will create a new template look and release them here in this thread. They should be done tongiht. I am trying to figure out why this php code is not working for the avatar

$avatarimage

It works on the forum home but not in the bank. but $avatarimage directs to ITEM.gif in your images dir for some odd reason. I will change this also unless someone wants to post it now. I am going to look at it now and post back.
Reply With Quote
  #28  
Old 06-10-2002, 10:01 PM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I replaced the code but I still show up broke....in 10 richest. No change. Any clue...

ps. looking forward to that new template release...

Quote:
Originally posted by Blue2000


here you go fella

find

PHP Code:

if ($action=="top10") {

$topresult $DB_site->query("SELECT * FROM user ORDER BY storep+bank DESC LIMIT 25");
while (
$top mysql_fetch_array($topresult)) {
    if ((
$counter++ % 2) != 0) {
                
$backcolor="#13486D";
                
$bgclass="alt1";
            } else {
                
$backcolor "#1C5780";
                
$bgclass="alt2";
            }
eval(
"\$top10rich .= \"".gettemplate("store_top10_bit")."\";");
}
eval(
"dooutput(\"".gettemplate("store_top10_main")."\");");


replace with

PHP Code:
if ($action=="top10") {

$topresult $DB_site->query("SELECT * FROM user ORDER BY storep+bank DESC LIMIT 25");
while (
$top mysql_fetch_array($topresult)) {
    if ((
$counter++ % 2) != 0) {
                
$backcolor="#13486D";
                
$bgclass="alt1";
            } else {
                
$backcolor "#1C5780";
                
$bgclass="alt2";
            }
$allmoney $top[bank]+$top[storep];
eval(
"\$top10rich .= \"".gettemplate("store_top10_bit")."\";");
}
eval(
"dooutput(\"".gettemplate("store_top10_main")."\");");


text file updated
Reply With Quote
  #29  
Old 06-11-2002, 01:36 AM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BigJohnson
Does your money grow with interest?
you get interest per day like it says in my first post

and it gives you an eg to set the interest to what you want
Reply With Quote
  #30  
Old 06-11-2002, 01:46 AM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BigJohnson
OK When you go to the store is says how much is needed for this item if you want to buy it and it tells you how much money you need also to buy it. KNow in order to have the bank you need 100 bucks. Now no where in the main page of the store does it say you need 100 bucks till you actually click the bank button then it says you need 100 bucks. Please tell me how to add something pon like this thanks.

Ok first off

this link was just made for a easyer way to add the bank to the store so you didnt need antoher button in your header.

It cant you show how many its sold becoz ITS NOT SELLING U ANYTHING

als o if that was added then it would also be a lie coz you dont get changed to transfer and stuff link this

They is however 3 ways arond this problem

1. One i can probley edited the DB so them numbers would only show as NA

2. set the bank link not to display in your forum and then add a button yourself. (personaly i liked the link in the store so thats why i added that bit)

3. U can leave it the way it is and in your admin cp edit the option for bank and add in the Description the costs for things

[high]* Blue2000 likes option 3 coz its easyest :P[/high]
Reply With Quote
  #31  
Old 06-11-2002, 01:52 AM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BigJohnson
I am creating new template for this hack because the ones now are a little reaky looking. When i am done i will create a new template look and release them here in this thread. They should be done tongiht.




ok they r not that bad looking but i agree they do need a little tooking in

one of my admins is making a new set now.

But if you ask me the more sets of templates the better fella. so bring them on


Quote:
I am trying to figure out why this php code is not working for the avatar

$avatarimage

It works on the forum home but not in the bank. but $avatarimage directs to ITEM.gif in your images dir for some odd reason. I will change this also unless someone wants to post it now. I am going to look at it now and post back.

i dont have this problem at all

and your the first to report such a thing.

does anyone else have thing problem?
Reply With Quote
Reply


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 07:14 PM.


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.05391 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete