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)
-   -   Bank Addon for Lesane store hack (https://vborg.vbsupport.ru/showthread.php?t=39625)

Dean C 06-09-2002 05:55 PM

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???

Blue2000 06-09-2002 06:56 PM

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 :)

BigJohnson 06-10-2002 07:54 AM

Does your money grow with interest?

ZiRu$ 06-10-2002 02:17 PM

yah...does it grow with interest?

BigJohnson 06-10-2002 05:23 PM

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.

BigJohnson 06-10-2002 05:46 PM

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.

bandersen 06-10-2002 10:01 PM

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


Blue2000 06-11-2002 01:36 AM

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

Blue2000 06-11-2002 01:46 AM

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]

Blue2000 06-11-2002 01:52 AM

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?


All times are GMT. The time now is 12:59 AM.

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.01294 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_php_printable
  • (6)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