Additional Info
Type
Package ID
daniel15:AgeLocationOnPosts
First Created
January 23, 2007, 03:48:51 AM
Last Updated
August 06, 2007, 02:47:37 AM

Display Age and Location next to posts v1.0

Display a member's Location and Age next to their posts.
Compatible With 1.1.1, 1.1.2, 1.1.3
Latest version v1.0
Downloads 38,481
Reviews 0
Rating 0/5
Subscribers 15
License (View License)
Author(s)
This mod will display a member's Location and Age next to their posts, based on a request at http://www.simplemachines.org/community/index.php?topic=136893


This mod affects the default theme, and all themes using its Display.template.php file.

Theme edits (for custom theme)
Themes/[theme name]/Display.template.php, find:

echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';


Add after:

// ===== Begin modification - Display Age and Location next to posts =====
// Show the member's age
if (isset($message['member']['age']))
echo '
', $txt[420], ': ', $message['member']['age'], '<br />';

// Show the member's location
if ($message['member']['location'] != '')
echo '
', $txt[227], ': ', $message['member']['location'], '<br />';
// ===== End modification =====


Changelog
Version 1.0
- Initial release
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: