Unclassified NewsBoard Code Reference

unb_lib/cp.inc.php contents

Control Panel and User Profile

Functions

CPForm Display user control panel
EMailForm Show form to send an e-mail to a user
ShowProfile Show User Profile for userid
UnbAgeFromBirthday Calculate a User's age from his birthday [for use in ShowProfile]
UnbGetProfileExtraDBCols How many extra columns are present in the users table
UnbGetProfileExtraName Return name of extra user profile field
UnbIsValidAvatarName Check if an avatar file has correct filetype
UnbIsValidAvatarSize Check if an avatar file has correct filesize
UnbIsValidPhotoName Check if a user photo file has correct filetype
UnbIsValidPhotoSize Check if a user photo file has correct filesize
UnbMyCheckDate See if a date (day, month, year) is valid, taking care of leap years
Valid years are from 1000 to 9999
UnbRescaleAvatar Rescale an avatar file to smaller dimensions
UnbRescaleImage Rescale an arbitrary image file to smaller dimensions
UnbRescalePhoto Rescale a user photo file to smaller dimensions
UnbSetProfileExtraDBCols Set count of extra columns in the users table
This may cause data loss!
UnbUnfilterForums Unfilter many forums
UnbUnfilterThreads Unfilter many threads
UnbUnwatchForums Unwatch many forums
UnbUnwatchThreads Unwatch many threads

Classes

No classes in this file.

Constants

No constants in this file.

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.