Oh, good point. I will look into this, shouldn't be too hardBecause avarage joe doesn't know why he got for post1 only 5 points and for the other 10 points.
If it would be separated, he would know that threads are worth more as posts.
Oh, good point. I will look into this, shouldn't be too hardBecause avarage joe doesn't know why he got for post1 only 5 points and for the other 10 points.
If it would be separated, he would know that threads are worth more as posts.
Great newsThere are plans to build a shop add-on which will work with this add-on and provide item-based selling. That's it for now.
$users[$userId] = array('user_id' => 0, 'username' => 'User #' . $userId); // handle deleted users
Using a phrase there may cause an additional sql query. Quite unnecessary. Also, it rarely run into that line of code because it only happen once a user is deleted from XenForo.Bank Model - Line 207pls use a phrase for "user"PHP:$users[$userId] = array('user_id' => 0, 'username' => 'User #' . $userId); // handle deleted users
edit: phrase user is already available within xenforo
Hmm, well, okie. This will be changed to use phrase in the next releaseYes, i know it's only for deleted users, but, we some boards delete there users..
and it's ugly & strange if i have everything in cyrilic and "User" is writen normal
You can change a line in code to target another field of xf_user table to achieve that. That option is designed to be changed (I just didn't display it). Is that what you want?
Yes, instead of it going into the "bdbank_money" database, I have a different one I would want it to go into. Where would this line be if I went to change it?
if ($option_id == 'field') return 'bdbank_money';
if ($option_id == 'field') return 'new_money_field';
You can edit the file xenforo-root/library/bdBank/Model/Bank.php
Line 301, original
PHP:if ($option_id == 'field') return 'bdbank_money';
Say you want to change it to use the field 'new_money_field' in table `xf_user`, you should replace the line with
PHP:if ($option_id == 'field') return 'new_money_field';
This will be available as an option in the next release. Sorry for the hassle now![]()
You can edit the file xenforo-root/library/bdBank/Model/Bank.php
Line 301, original
PHP:if ($option_id == 'field') return 'bdbank_money';
Say you want to change it to use the field 'new_money_field' in table `xf_user`, you should replace the line with
PHP:if ($option_id == 'field') return 'new_money_field';
This will be available as an option in the next release. Sorry for the hassle now![]()
Ah, stupid me. You gotta edit one more fileOk, I changed what was instructed. With it left at bdbank_money, after a post, I went from 97---->102. I changed the above, now, when I post, using sportsbook_cash, I stayed at 1171, and it didn't increase. I understand that it will pull from sportsbook_cash when I do a transaction, say, donating to another user. I just cannot figure out where it needs to be changed to have all the incoming (from new threads, posts, likes) go into sportsbook_cash, instead of bdbank_money.
Also, after changing it over to sportsbook_cash, I went into the database and checked, and bdbank_money had increased two more times, from my test posts. Do all occurrences of bdbank_money need changed to the new table name?
return 'bdbank_money';
return 'sportsbook_cash';
public static function field() {
return 'bdbank_money';
}
}
public static function field() {
return 'sportsbook_cash';
}
}
Shortcut for an Y!M emoticon. This http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gifwhat does [bd] stand for ?
Hope that you have satisfaction enough to done the shop add-on todayIt means "satification" to me, at least![]()
Oooooh. sounds interesting.Hope that you have satisfaction enough to done the shop add-on today![]()
Cool !Shortcut for an Y!M emoticon. This http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif
It means "satification" to me, at least![]()
Yes, yes and yes. But I figure it's quite off topic here? :dCool !![]()
xfrocks: have you ever coded any vBulletin addons ? or IPB ? or Wordpress ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.