vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - IBank - Simple, Flexible, Integratible bankin system for any cash system! (https://vborg.vbsupport.ru/showthread.php?t=122729)

SkippySkippy 04-06-2007 06:52 PM

Out of curiosity, is this integratable with Nexia's Point System?

-Skip

Queball_Beast 04-15-2007 04:30 AM

Hi,
How do I make a dropdown menu on the Navbar so members can access the Bank, shop, inventory and so on? it may be alot easier than having everything separate:)

pollon 04-15-2007 07:55 AM

Quote:

Originally Posted by Queball_Beast (Post 1228038)
Hi,
How do I make a dropdown menu on the Navbar so members can access the Bank, shop, inventory and so on? it may be alot easier than having everything separate:)

I'ts easy. See here. :)

Queball_Beast 04-15-2007 02:54 PM

Thanks for the info :D

Queball_Beast 04-15-2007 03:11 PM

I took a look at the info you gave me which is greate info, but it shows how to add a link to the
Quote:

navbar , Quick Links menu and popup menu
but, what I want is add an additional menu just like the quick links menu like they had in vbplaza ( a new dropdown style menu so users can access Ishop,bank, inventory and so on ) I know how to do the others but I dont know how to add a dropdown menu even though it may be something simple i`m overlooking :D

thanks again

pollon 04-15-2007 03:19 PM

if you look at that page there are even the instructions to put a new dropdown menu.


Or to add an additional popup menu to the navbar...

Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Navigation / Breadcrumb Templates -> navbar

Find this code and add the red code:

Code:

<!-- nav buttons bar -->
<div align="center">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr align="center">
   
    <td class="vbmenu_control"><a href="URL">TEXT</a></td>
        <if condition="$show['member']">
            <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if condition="$show['registerbutton']">
            <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if condition="$show['popups']">       
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
            </if>
            <if condition="$show['member']">
                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>       
            </if>
            <td id="mypopupmenu" class="vbmenu_control"><a href="#mypopupmenu">MENU TITLE</a> <script type="text/javascript"> vbmenu_register("mypopupmenu"); </script></td>
        <else />       
            <if condition="$show['searchbuttons']">
                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">           
                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
            </if>           
        </if>
        <if condition="$show['member']">
            <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
        </if>
    </tr>
    </table>
</div>
<!-- / nav buttons bar -->

Change the MENU TITLE appropriately.

Then in that same template, scroll to the very bottom. Add the the red code:

Code:

<!-- PAGENAV POPUP -->

    <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
            <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
            </form>
            </td>
        </tr>
        </table>
    </div>

    <!-- mypopupmenu -->
    <div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
       
        <tr><td class="thead">MENU TITLE</td></tr>       
        <tr><td class="vbmenu_option"><a href="URL">LINKED TEXT</a></td></tr>
        </table>
    </div>
    <!-- / mypopupmenu -->


<!-- / PAGENAV POPUP -->

Change URL, LINKED TEXT and MENU TITLE appropriately.
The blue code is the link of the pop up menu. Add more blue codes (always inside the red one) to have more links on the dropdown menu.

Queball_Beast 04-15-2007 03:31 PM

Add Bank access to ishop

Go to Admin CP -> Styles & Templates -> Style Manager ->ishop template

Find Code:
Quote:

<a href="ishop.php?$session[sessionurl]do=ViewMember&id={$bbuserinfo[userid]}">View Inventory</a>

Add below:
Quote:

&nbsp;|&nbsp;

<a href="ibank.php?$session[sessionurl]">Bank Access</a>

Queball_Beast 04-15-2007 03:35 PM

Man how in the world did I miss that? :confused: lol I think it`s time for some zzzzz :up:
Thanks again "pollon"
Quote:

Originally Posted by pollon (Post 1228373)
if you look at that page there are even the instructions to put a new dropdown menu.



khmh06 04-15-2007 04:35 PM

Quote:

Originally Posted by Mys (Post 1221207)
Hello all,

Thank you for the update, Blaine.

Updated .xml with Christian's .php installed, then uploaded the new .php.

I still only get $1 of interest. Anyone have any clues?

Thx.

:o


Try my Update, it can fix all knowed issues ;)

Just download the attachement file then Replace your own ibank.php !

Mys 04-17-2007 10:45 PM

Quote:

Originally Posted by khmh06 (Post 1228422)
Try my Update, it can fix all knowed issues ;)

Just download the attachement file then Replace your own ibank.php !

Thank you very much, khmh06.

I downloaded and installed your .php and the interest is being calculated and added to to the bank account balance accurately.

For whatever reason, I need to set my interest rate two decimal places to the left of my intended rate in iBank options. So to give 1% interest per day, I set the rate to .01.

Thought you might want to be aware of this.

But I am getting interest on the account balances now, so this is a great improvement! Thanks, again, very much.

:D


All times are GMT. The time now is 09:47 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.01222 seconds
  • Memory Usage 1,768KB
  • 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_code_printable
  • (7)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