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

February 2, 2013
Zakaria Fathani from Casablanca , Morocco:
 My experience with script4profit was perfect, i receive a good support and a very good script quality. They are so professional and serious company ! I choose them for their fast support, it's necessary when you want to launch a big business as mine with a real company. We advice everyone who want a good script and run his own buisness to deal with script4profit, they are simply the best. 

Latest News

April 29, 2024:
egMember version 2.0 has been released. egMember v2.0 is a completely new software with so many new features and improvements such as: Php upgrade - Now PHP 8++ New 3 Mobile friendly templates/ Responsive Web Design Multi Membership Packages with unique configuration for each membership Powerful Bonus Options such as Unilevel bonus, Sponsor bonus, X-Up bonus, Reward point, Ranks and Pool rewards Now you can sell or offer Unlimited Articles & Downloads with multi categories and unique configurations 33 payment plugins, now supporting Bitcoin/Crypto payments, Banks, Credit cards, mobile wallet and many more Improvements with Membership Security such as IP Validation, Browser Agent Validation, Login PIN, Secure/ SSL Login, Transaction PIN Advanced mailing system: Mass email and Auto responder/ Auto follow up with configuration to send to specific users/ members or specific membership type Improvements with email and text notification. Now you can send text notification by SMS or Whatsapp directly to members mobile phone. Advanced Genealogy Tree to see downlines with easy way Improvements with ePin system for registration and member sponsoring Improvements with I... 
January 27, 2024:
An update of egMLM + Revenue Sharing is available (v1.1). egMLM + Revenue Sharing is getting better with improvement and new features such as: Improvement with Member Area security Improvement with new member Regular matrix placement Improvement with Templating system Improvement with Binary Genealogy Tree Improvement with Add downline on page Binary Genealogy Tree Fix problem with email validation on new member registration And other improvements and fixes, please visit demo of egMLM + Revenue Sharing to see more.   Download your copyThe 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.   Best regards, EGN Software 
June 16, 2023:
A new version of egMLM now available, The current version is 2.0 and egMLM is better with improvement and new features such as: New account functions: Add new options in Admin area on Downgrade members and Delete members, Admin can choose how the system manage the position in the network. New Network configuration: New member position in Binary Network, now Admin can configure the default option for new members position in the Binary tree: Automatic Outer Left or Right, Automatic Pair Left/Right, Position Left or Position  Right New withdrawal plugin: Metamaskwallet - Working with Binance Smart Chain and the custom tokens New template: Template4, New layout position and work with multi language features provided by gtranslate.io, so your website will work with many language translation. And other improvements and fixes, please visit demo website to see more...   Download your copyThe 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.   Best regards, EGN Software 
March 24, 2022:
We are pleased to release a new software in lineup of EGN's products: egMLM + Revenue Sharing egMLM + Revenue Sharing is a Multi Level Marketing Software that you use to build your Network Marketing Business/ MLM business and also provide Revenue Sharing or Investment Plans to your members on the same website. egMLM + Revenue Sharing allow you to configure custom networking pay plans and compensation rule such as Binary plan, Pairing bonus, Matching bonus, Unilevel matrix, Revolving matrix, Regular matrix, Pool bonus, Reward bonus, Pass-up bonus, Sponsor bonus, Reward point, etc. egMLM + Revenue Sharing is also  includes necessary features like Advanced Revenue Sharing Program with configurable and unlimited plan, Multi Membership/ Enrollment packages, E-wallet, managing distributors & downline members, Ranks, handling MLM leads, processing commissions & payouts, track sales volumes, statistics, ePIN, eCopupon, ecommerce/Online Shop/ Shopping cart and many more. Product's details please click here... To visit demo site, please click here...   Good luck for your business and Best regards, EGN Software  
March 12, 2022:
A new release of egMLM now available, The current version is 1.9 and egMLM is better with improvement and new features such as:   New design for Frontpage, Admin area and Members area - Now look better with Mobile/ Responsive template design 4 new free templates with new and unique design New template "Members Only" : to use egLM to manage members only and use wordpress or other CMS software as the frontpage Change the php version requirement to version 7.2 or higher Ready to work with Mobile App (In development progress) New payment plugin: Payex - Malaysia payment gateway ( https://www.payex.io ) New payment plugin: Paytm - India's largest mobile payments and commerce platform New payment plugin: Nowpayments - Receive online payments in crypto New payment plugin: Metamaskwallet - Working with Binance Smart Chain and the custom tokens New look of Genealogy Trees, look better and responsive design. Correction with Cron task timing Add more option to enable/run feature Revolving Matrix Update PHPMailer to the latest version available Update many functions to run more efficiently and upgrade security functions And many other improvements and fixes, please ... 

Accepted Payments