Additional Settings For Custom Profile Fields [1.2]
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #163
RE: Additional Settings For Custom Profile Fields
Adding code like this will display the fields (Display Format/Blank Replacement Value) globally:

PHP Code:
$plugins->add_hook('global_start','xt_proffields_gs');
function xt_proffields_gs(){
	xt_proffields_load($GLOBALS['mybb']->user);
}


Changing the hooks in your xt_ucp_main.php file will display the inputs (Custom Input) on a page (depends on what hooks you use), including the other non custom profile fields (depends on whatever fields loaded/processed in that file).


05-03-2013 02:46 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Additional Settings For Custom Profile Fields - RateU - 05-03-2013 02:46 AM

 Standard Tools
Forum Jump: