Current time: 09-25-2008, 12:09 AM Hello There, Guest! (LoginRegister)


Pick Your Group For 1.4 has been released   -   Affiliates Manager for 1.4 has been released!   -   [MyCredits] Group Subscriptions for 1.4 has been released!   -   MyAds v2.0 for 1.4 is released!
 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Next Plugin] MyBank
Author Message
HolyPhoenix
Junior Member


Posts: 12
Joined: Sep 2008
Reputation: 0
Post: #21
RE: [Next Plugin] MyBank
Lol, the load idea actually interests me. Too bad it won't be in it. lol

Looks great though!
09-16-2008 04:47 AM


Nickman
Administrator



Posts: 416
Joined: May 2008
Reputation: 10
Post: #22
RE: [Next Plugin] MyBank
(09-15-2008 01:12 PM)DAMINK Wrote:  An update on my earlier post. I was able to install it on another forum i have. My question is. Could it be because of the database name why i get the errors? As i am not using default table names mybb_ ?

Yeah it's because of a line I forgot to change...Just do a find replace in inc/plugins/mybank.php for mybb_ and your actual table prefix. Will be fixed in the next update. As for the interest thing, can you give you reproduction instructions.
09-16-2008 12:23 PM
Dalton
Member


Posts: 143
Joined: Aug 2008
Reputation: 0
Post: #23
RE: [Next Plugin] MyBank
I get an "access denied" page when I click the link. (Which is just a 4.. 0.o)
Even though I'm root admin!

09-19-2008 09:25 AM
DAMINK
Member


Posts: 87
Joined: Aug 2008
Reputation: 0
Post: #24
RE: [Next Plugin] MyBank
(09-19-2008 09:25 AM)Dalton Wrote:  I get an "access denied" page when I click the link. (Which is just a 4.. 0.o)
Even though I'm root admin!

I got the same error when i installed went straight to http://www.yourdomain.com/bank.php but that was before i went into settings of forum and started the bank plugin. Not install. After install. Just edit bank in some way then try it. Should work then. If not sorry mate. It did work for me on a default install like that.
@Nickman. Yep that worked perfect. I edited line 138 and changed the insert into to my table prefix and now it works.
Cheers mate.

(This post was last modified: 09-19-2008 03:38 PM by DAMINK.)
09-19-2008 03:28 PM


Dalton
Member


Posts: 143
Joined: Aug 2008
Reputation: 0
Post: #25
RE: [Next Plugin] MyBank
Not working..
But after I deactivated, and activated again it made another 4!

09-19-2008 09:45 PM
Nickman
Administrator



Posts: 416
Joined: May 2008
Reputation: 10
Post: #26
RE: [Next Plugin] MyBank
Ok here's a new version. Let's see if it fixes some peoples bugs


If you wish to show the amount of credits in your users bank account on the postbit, do the following:

Open the postbit_author_user template, find

Code:
{$mybb->settings['credits_name']}:{$post['credits']}    <br/>

Below, place
Code:
In Bank: {$post['bank']}<br/>

And save!


Attached File(s)
  my_bank.zip (Size: 4.42 KB / Downloads: 4)
09-20-2008 06:52 AM
Dalton
Member


Posts: 143
Joined: Aug 2008
Reputation: 0
Post: #27
RE: [Next Plugin] MyBank
Not quite got all the bugs.

After deactivating, reactivating, deactivating, reactivating (don't ask.) i got this:
[Image: mybankproblem.png]

EDIT: By the way, that code for "In Bank" doesn't work. It messes with the template code.

(This post was last modified: 09-20-2008 08:37 AM by Dalton.)
09-20-2008 08:35 AM


Nickman
Administrator



Posts: 416
Joined: May 2008
Reputation: 10
Post: #28
RE: [Next Plugin] MyBank
(09-20-2008 08:35 AM)Dalton Wrote:  Not quite got all the bugs.

After deactivating, reactivating, deactivating, reactivating (don't ask.) i got this:
[Image: mybankproblem.png]

EDIT: By the way, that code for "In Bank" doesn't work. It messes with the template code.
Hmmmm..OK I gotta check that settings thing out.....However that In bank code SHOULD work....I think it's probably just your installation.
09-20-2008 11:58 AM
Dalton
Member


Posts: 143
Joined: Aug 2008
Reputation: 0
Post: #29
RE: [Next Plugin] MyBank
What it does is delete some of my code..
Like...
Code:
{$lang->postbit_posts} {$post['postnum']}<br />
{$mybb->settings['credits_name']} : {$post['credits']}    <br/>
    {$lang->postbit_joined} {$post['userregdate']}
    {$post['replink']}{$post['warninglevel']}

And when I put that code in it deletes it all except
Code:
{$lang->postbit_posts} {$post['postnum']}<br />
{$mybb->settings['credits_name']} : {$post['credits']}    <br/>

Meh. I guess I'll wait until you release the next version to try it again.

09-20-2008 10:18 PM
DAMINK
Member


Posts: 87
Joined: Aug 2008
Reputation: 0
Post: #30
RE: [Next Plugin] MyBank
Any way to stop the decimals problem. What i mean is when interest is calculated it comes up with 6 integers for example 1000.123456 in bank.

09-21-2008 04:03 PM


 

Bookmarks

Forum Jump: