bfm

change profit and bonus payout day from 1 next day to 3 next day
1) application/controllers/secure/Flamingo_bonus_settings.php
2) application/controllers/secure/Flamingo_profit_settings.php
3) application/client.bfm.expert/application/models/Member_model.php

To get mutured date function
view/inc_flamingo_statistic
Member_model->get_flamingo_order_approve_date($this->session->userdata('WDW_MEMBER_LOGIN_ID'));
              if ($flamingo_order_approved_date != "0 Package"){
                    echo date('d/m/Y',strtotime('+21 days',strtotime(str_replace('/', '-', $flamingo_order_approved_date)))) . PHP_EOL;
              }else{
                    echo "0";
              }

-----------------------------------------------
To get flamingo package purchase step 1 to 3
javascript is at application/views/member/Flamingo_product.php
php is at application/controllers/member/Flamingo_product.php
html is at application/views/member/inc_flamingo_step1.php
application/libraries/Common.php

-----------------------------------------------
To echo $total_invested on dashboard
file 1 : application/views/member/dashboard.php : $this->load->view("member/inc_statistics");
file 2 : application/views/member/inc_statistics.php : $total_invested;
file 3 : application/libraries/Common.php : function getTotalInvested($user_id=0){}
file 4 : application/controllers/member/Dashboard.php : $data['total_invested'] = $this->common->getTotalInvested();

-----------------------------------------------
To edit show flamingo % from 9 to 11pm
application/controllers/member/Dashboard.php

-----------------------------------------------
Possible bugs :
1) time : flamingo package purchase after 18 feb 2020 only need check after 3 days show profit % and get profit.
2) monday tues wed thurs friday difference profit % (if else statement might have bug)
3) not show downline if upline account is inactive (mysql miss out display upline)
4) user who purchase flamingo package but not bfm package, rank = 0

--------------------------------------------
Flamingo Profit % ON/OFF status at admin site affect :
1) calculate profit on admin site
2) show % jumping at time on admin site
3) show % on member's dashboard
4) payout to ewallet function

-----------------------------------------------
javascript function change_status(id, url) is save at
application/views/secure/inc_footer.php

------------------------------------------------
sample code to get multiple row records from database for each multilevel downline :
views/flamingo_mygroup_newsale.php
controls/flamingo_mygroup_newsale.php

-----------------------------------------------
ctrl + F search keyword "diff"
update the following page :
1) application/controllers/secure/View_flamingo_bonus.php
2) application/controllers/secure/Flamingo_bonus_settings.php
3) application/controllers/secure/Flamingo_profit_settings.php
4) application/libraries/Common.php
5) application/controllers/member/Flamingo_mygroup_newsale.php
Note : becareful o.created_on, p.created_on, created_on

---------------------------------------------
Css file path at asset/admin/css/wcss_member.css


Posted by Zac1987 on 12 February, 2020
| | edit post
Share On Facebook ! Share On Google Buzz ! Add To Del.icio.us ! Share On Digg ! Share On Reddit ! Share On LinkedIn ! Post To Blogger ! Share On StumbleUpon !
Share On Friend Feed ! Share On MySpace ! Share On Yahoo Buzz ! Share On Google Reader ! Google Bookmark ! Send An Email ! Blog Feed !

0 comments






Enter your email address:

Subscribe in a reader

Follow zac1987 on Twitter

Donation

If you feel my website is informative and it is useful for you, please donate some money to support me or buy me a drink. I will continues this good works. Thank you.