Jump to content
  • 0

I want flux cp register only small page for register


Question

5 answers to this question

Recommended Posts

Posted

After install the Cp go to fluxcp/config/ application.php

 

Find at the end of the file:

// These are the main menu items that should be displayed by themes.
	// They route to modules and actions.  Whether they are displayed or
	// not at any given time depends on the user's account group level and/or
	// their login status.
	'MenuItems' => array(
		'Main Menu'   => array(
			'Home'          => array('module' => 'main'),
			//'Downloads' 	=> array('module' => 'http://127.0.0.1/5/themes/site/main/download.php'),
						
		),
		'Account'     => array(
			'Register'      => array('module' => 'account', 'action' => 'create'),
			'Login'         => array('module' => 'account', 'action' => 'login'),
			'Logout'        => array('module' => 'account', 'action' => 'logout'),
			'History'       => array('module' => 'history'),
			'My Account'    => array('module' => 'account', 'action' => 'view'),
		),
		'Donations'   => array(
			'Purchase'      => array('module' => 'purchase'),
			'Donate'        => array('module' => 'donate'),
		),
		'Information' => array(
			'Server Info.'  => array('module' => 'server', 'action' => 'info'),
			//'Server Status' => array('module' => 'server', 'action' => 'status'),
			'WoE Hours'     => array('module' => 'woe'),
			'Castles'       => array('module' => 'castle'),
			"Who's Online"  => array('module' => 'character', 'action' => 'online'),
			//'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'),
			'Ranking Info.' => array('module' => 'ranking', 'action' => 'character'),
		),
		'Database'    => array(
			'Item Database' => array('module' => 'item'),
			//'Mob Database'  => array('module' => 'monster'),
		),
		'Misc. Stuff' => array(
			'rA Logs'       => array('module' => 'logdata'),
			'CP Logs'       => array('module' => 'cplog'),
			'IP Ban List'   => array('module' => 'ipban'),
			'Accounts'      => array('module' => 'account'),
			'Characters'    => array('module' => 'character'),
			'Guilds'        => array('module' => 'guild'),
			'Send Mail'     => array('module' => 'mail'),
			'Re-Install'    => array('module' => 'install', 'action' => 'reinstall'),
			//'Auction'       => array('module' => 'auction'),
			//'Economy'       => array('module' => 'economy'),
		)
	),

Every menü item that wont be shown have to deactivate with a //

 

Example: 

Activ:
'Economy'       => array('module' => 'economy'),

Not Activ:
//'Economy'       => array('module' => 'economy'),
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...