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
  #12  
Old 06-09-2002, 11:46 AM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!
I have installed.

Can you tell me what code to enter where to get the navigation string showing, like here you have:

vBulletin.org Forum > Code Hacks > Full Releases > Bank Addon for Lesane store hack
Reply With Quote
  #13  
Old 06-09-2002, 11:53 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addon Blue2000, well done. I'm going to install this one later, thanks.
Reply With Quote
  #14  
Old 06-09-2002, 11:57 AM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's some feedback:
"top 10 richest people" do not include money in the bank. Hence, I show up broke even I am not....
Is there a way to include money in the bank in the count?

"the bank option" on the Store does not show any Sold# when I put money in the bank... it just stays zero.
Reply With Quote
  #15  
Old 06-09-2002, 12:41 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just found another bug

it wouldnt allow you to take out more than 10000

find in bank.php


PHP Code:
if ($bank>$usermoney || $bank>10000
replace with

PHP Code:
if ($bank>$usermoney
Reply With Quote
  #16  
Old 06-09-2002, 12:45 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bandersen
Here's some feedback:
"top 10 richest people" do not include money in the bank. Hence, I show up broke even I am not....
Is there a way to include money in the bank in the count?

"the bank option" on the Store does not show any Sold# when I put money in the bank... it just stays zero.
yeah i was going to play with that later.

oh and about the bank option that was just a way of putting a link in the shop when you press the link your not buying anything so its not wrong to only display 0.
Reply With Quote
  #17  
Old 06-09-2002, 01:08 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bandersen
Here's some feedback:
"top 10 richest people" do not include money in the bank. Hence, I show up broke even I am not....
Is there a way to include money in the bank in the count?

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="{firstaltcolor}";
                
$bgclass="alt1";
            } else {
                
$backcolor "{secondaltcolor}";
                
$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="{firstaltcolor}";
                
$bgclass="alt1";
            } else {
                
$backcolor "{secondaltcolor}";
                
$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
  #18  
Old 06-09-2002, 01:23 PM
ceo_tfw's Avatar
ceo_tfw ceo_tfw is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Blue2000



run this


ALTER TABLE user CHANGE bank bank INT(234) UNSIGNED DEFAULT '0' NOT NULL

thanks for that, it works well now,, cool job
Reply With Quote
  #19  
Old 06-09-2002, 01:30 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bandersen
Great!
I have installed.

Can you tell me what code to enter where to get the navigation string showing, like here you have:

vBulletin.org Forum > Code Hacks > Full Releases > Bank Addon for Lesane store hack
in

bankbit template

find

PHP Code:
$bankform 
and ABOVE add

PHP Code:
<br>
<
img src="{imagesfolder}/off.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
<
normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gtBANK</b></normalfont
Reply With Quote
  #20  
Old 06-09-2002, 03:07 PM
ceo_tfw's Avatar
ceo_tfw ceo_tfw is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to show the amount of interest you have earned whilst moneys been in the bank
Reply With Quote
  #21  
Old 06-09-2002, 03:33 PM
Blue2000 Blue2000 is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not at this time
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:28 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.06055 seconds
  • Memory Usage 2,332KB
  • 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
  • (6)bbcode_php
  • (4)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
  • (3)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