Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=638)
This mod will display a member's Location and Age next to their posts.
(http://www.dansoftaustralia.net/images/screenshots/smfmods/AgeLocationOnPosts.png)
Based on a request at http://www.simplemachines.org/community/index.php?topic=136893.msg872589#msg872589
Changelog
Version 1.0
- Initial release
Great mod, as always with your mods :)
yes,perfect mod, thx alot man!!
NICE i love it been looking for this !!
Curious... Its displaying age/location twice in the profile next to post? anyone have a fix?
Quote from: jdvarner on January 24, 2007, 09:03:49 AM
Curious... Its displaying age/location twice in the profile next to post? anyone have a fix?
Try looking for the duplicate code in Display.template.php. If the code for age and location is there twice, remove one instance of it.
Thanks!
Easy install, great mod! Thanks :)
I'm having a problem with this mod, it's only show location!!! I can't see age of a member, I tray to enter this manually in Display.template.php and it still not working!!! I've have SMF 1.1.2, end when I tray to upload this mod, I allways get the same mistake. He's reporting that the file is corrupted or not for this version of forum!!!!
PLS help
Quote from: Vanz on March 02, 2007, 07:00:12 PM
I'm having a problem with this mod, it's only show location!!! I can't see age of a member, I tray to enter this manually in Display.template.php and it still not working!!! I've have SMF 1.1.2, end when I tray to upload this mod, I allways get the same mistake. He's reporting that the file is corrupted or not for this version of forum!!!!
PLS help
Please download the new package I just uploaded, it should work fine :)
Thanks!
How can i remove the age bit but retain the location?
// ===== 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 =====
QuoteHow can i remove the age bit but retain the location?
Remove this bit:
// Show the member's age
if (isset($message['member']['age']))
echo '
', $txt[420], ': ', $message['member']['age'], '<br />';
And leave the other bit
How do I access the above file? And which file is it?
Thanks!
You mean to remove the age segment? It's in Themes/default/Display.template.php :).
Thanks!
Slowly learning my way around this world. Appreciate the tip.
No problem... Glad to see it helped you :D
its not showing for me = /
Quote from: locomotion182 on May 26, 2007, 05:32:29 PM
its not showing for me = /
If you are using a custom theme you will have to manually apply the theme edits. The code you need to add is shown on the mod page (http://custom.simplemachines.org/mods/index.php?mod=638) for the mod.
great mod. thanks :)
Works absolutely perfectly in 1.1.5, and the change to remove the age was simple as pie!
Thank you!
Anna
I am using a custom them.
I applied the mod and can see that it added the code to my "defauly" display.template.php,
However, I do not know how to ass the code manually to my custom theme becasue there is NO "display.template.php" file in any folders for the theme I am using.
is there anothe PHP file I should insertt the code in since this theme doesnt have that file?
just installed! thanks :D
age doesn't show for 1.1.5, is there any plan on updating to cover this version?
Is is posssible to show like this ----->> in the Post?
Update for the beta?
anyone tried this on 1.1.8 yet?
I just installed it in 1.1.8 and it works great!
Is this working for SMF 2.0 RC2 and how to set it up ?
I also wonder about this ? Anyone that can update it?
This is a very basic mod and not to difficult to install manually.
Please see: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Very basic or not, i failed ! I tried to follow the parse manager, but no luck on that one :-[ I would really need someone to tell me what code to replace and where.
Greets
Kimmen
Any chance getting this updated for SMF 2 RC? :)