Hi,
I want to insert the avatar picture of a user into a custom page. I analyzed a plugin from vbulletin.org and I mostly undestand how this is done. The avatar can be found in 2 places: on the file system if it is a "standard" avatar and in the database if it is a "custom" avatar.
The table "avatar" is used for storing the title and path of each standard avatar, while the table "customavatar" is used for storing custom avatars. In order to retrieve a "custom" avatar a php script is invoked: (this is just an example)
www.test.com/image.php?u=1&dateline=1184473496
I understand that the first parameter is used to identify the user to which the avatar belongs. My question is "what is the use for the second parameter ?". I called the script without the second parameter and it served the avatar as expected ! No issues. Is the second parameter really necessary ?
Another question: can anybody call this script without any restrictions ?
Regards,
Razvan M.