Update My Profile -- Template Plugin
--------------------------------
This template plugin will allow a user to update their profile.
To plug this into a template the following PHP code will be required:
/** THIS BLOCK OF CODE WILL PLACE THE WORDING ON YOUR PAGE: Update My Profile **/
WelcomeID) && $_SESSION['logObj']->ID > 0){
print(" | Update My Profile");
}
else {
$loginNotSet = true;
}
?>
/**
* THIS BLOCK OF CODE DOES ALL THE PROCESSING.
* IT SHOULD BE PLACED AFTER THE {{Content}} BLOCK IN YOUR TEMPLATE
**/
".$MESSAGE."");
print("
");
}
/** END OPTIONAL CODE 1 **/
/**
* OPTIONAL CODE 2
* THIS PIECE OF CODE IS OPTIONAL
* USE THIS IF YOU PLAN ON PLACING YOUR "Update My Profile" ABOVE THE {{Content}} area
* IF YOU ARE NOT GOING TO DO THAT, REMOVE THIS PART OF THE CODE
**/
if(isset($loginNotSet) && $loginNotSet == true){
?>