Friday,

egSuperBusiness » Creating new custom Php page in members area

Search:
Creating new custom Php page in members area

To add new custom php page in members area, please follow these instructions:

1) Php files for members area should be located in "public_html/modules/", So you may create the php file then save to public_html/modules/members_new_page.php ,

2) Create html template file then save to public_html/themes/***tpl_name***/member/members_new_page.html ,

3) Open public_html/members.php then add the page query:  

case 'new_page':
            require_once (DOCSPATH . 'modules/members_new_page.php');
            break;

This will allow you to set the url to members.php?pa=new_page

4) Open members_new_page.php then write your php codes, Use function "display_member_page" to output.

Example:

display_member_page('members_new_page.html');

If you have php variables to output, you may arrange them in array then include to function display_member_page.

Example:

$show_array = array(
   'var1' => 'my var1 value',
   'var2' => 'my var2 value', 
   'var3' => 'my var3 value'
);

display_member_page('members_new_page.html', $show_array);

5)  Open http://yoursite.com/members.php?pa=new_page to see your  new page

 

Other tutorials in egSuperBusiness:

 

Popular Tutorials:


Testimonial

April 27, 2020
John Dierksmeier from Georgetown:
 After being involved in the industry for 20 years I should know how important it's to choose a good MLM software that is simple to administrate and most important reliable. EGN has many different options to fit your program so it's important you request their admin demo to help you choose the right script for your pay plan. Support is top natch, I wish I would have found them many years ago.  

Latest News

November 20, 2020:
We just released an update for egMatrix. The current version is 1.5, egMatrix is getting better with many changes and new features such as: Responsive Web Design for frontpage area and members area. Responsive Web Design makes your web page look good on all devices (desktops, tablets, and phones). PHP upgrade to version 7.1++ Upgrade Smarty Template Engine to version 3.1.34 Many improvement with feature Articles and Downloads Update of Instant messenger plugin, Now it working with WhatsApp, Skype, Viber, LINE, Telegram, WeChat, Hangouts, Facebook Messenger New payment plugins New withdrawal plugins New version of the HTML Editor New ticketing system/ Online support system New member verification system And many other new features and improvements, please visit demo website to see more...   Download your copy The update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.    Stay Safe and Healthy, EGN Software 
September 15, 2020:
Hello! We just released the new version of egBusiness, the current version is 3.9 and its come with many changes and new features such as: Responsive Web Design for frontpage area and members area. Responsive Web Design makes your web page look good on all devices (desktops, tablets, and phones). PHP upgrade to version 7.1 or higher Upgrade Smarty Template Engine to version 3.1.34 Many improvement with feature Articles and Downloads Update of Instant messenger plugin, Now it working with WhatsApp, Skype, Viber, LINE, Telegram, WeChat, Hangouts, Facebook Messenger New payment plugins New withdrawal plugins New version of the HTML Editor New ticketing system/ Online support system New member verification system And many other new features and improvements, please visit demo website to see more...   Download your copy The update is available to download in your account area and update instruction is available in product tutorials. Please log in to your account area to access them.    Stay Safe and Healthy, EGN Software 
September 3, 2020:
We are very happy to inform you that we just released a new software in a lineup of EGN's product. The new software is egShop - Online Shop + Network Marketing Business.egShop is a software you need to build Online Shop + Network Marketing Business. If your plan is to have an online shop and running a simple network marketing program to pay commissions to your members, then egShop is the right software to build your business!egShop allow you to build Online Shop that you can sell tangible or intangible products and also running a network marketing business with custom pay plans and compensation rule such as Unilevel plan, Revolving Matrix plan, Regular Matrix plan,  Ranking Bonus, Sponsor Bonus with sponsor Matching Bonus, and many others....egShop is also includes necessary features such as Online Shop with Shopping Cart  system, Multi Membership (Enrollment packages), E-wallet system, Distributors & Downline members, Reward system, MLM leads, Processing commissions & payouts,  Statistics, ePIN, eCopupon,  and many other features to support your onlines business.Product's details please click here...To visit demo site, please click here... In a limi... 
August 19, 2020:
egMLM version V1.7 has been released with fix and improvements: - Add new feature: logging member's activity such as:     a) Log orders and payment    b) Log account activation, subscription, payments, etc..    c) Log ePin order and use ePin    d) Log eCoupon order and use eCoupon     e) Log on login, Changing password, Reset password and Logout    f) Log changes by Admin such as Balance, Point, Profile, etc..    g) And log other important activities...- Add transaction PIN on changing withdrawal destination in members area.- Add transaction PIN on changing account password in members area.- Add transaction PIN on changing account profile in members area.- Improvement with coinpayments payment plugin- Improvement with IPv4 and IPv6 logging system   Download your copy The update is available to download in your account area and update instruction is available in product tutorials   Stay Safe and Healthy, EGN Software 
August 1, 2020:
egMLM + Advertisement version 1.2  has been released with fix and improvements: - Upgrade of Viral PDF (TCPDF)- Upgrade Smarty Template Engine to version 3.1.34- New function in members area: Apply ePin- Improvement with error & warning logging- Improvement with Captcha Code- Improvement with Sponsoring system- Improvement with feature Enrollment packages configuration- Improvement with time and fix problem with some timezone- Improvement with unilevel genealogy tree- Improvement with revolving matrix genealogy tree- Improvement with Ranks logging system- Improvement with multi language features- Improvement with coinpayments payment plugin- Correction on page pagination for payment logs- Fixing problem on deleting Admin logs on setting Automation- Fixing problem on reset Admin logs- Fixing problem on adding members to Rank- Fixing problem on deleting watermark image for classified ads   Download your copy The update is available to download in your account area and update instruction is available in product tutorials   Stay Safe and Healthy, EGN Software 

Accepted Payments