Jump to content

Download: (SOS30) Members Age in Profiles v1.0.0


Adriano Faria

Recommended Posts

Posted

File Name: (SOS30) Members Age in Profiles v1.0.0
File Submitter: Adriano Faria
File Submitted: 13 Nov 2009
File Updated: 13 Nov 2009
File Category: Modifications

Shows each member's age below their avatar in their posts, calendar events and PMs. This age is based off of the user-entered birthday date. If they have not entered a birthday then "N/A" will show for their age.

Copyright Note:

  • This mod is an upgrade of mod (FSY22) Members Age in Topics v1.1 for IP.Board 2.2.X, by Michael McCune, from Coders Refuge. This upgrade was authorized by Michael McCune.

Affected Files:

  • admin/sources/base/core.php
  • admin/applications/forums/modules_public/forums/topics.php


Click here to download this file
Posted

Step 3: Skin Edits

Open Admin CP -> Look & Feel -> click on your skin -> Global Templates -> userInfoPane template and find:

<li> <span class='ft'>{$this->lang->words['m_group']}</span> 

<span class='fc'>{$author['_group_formatted']}</span> </li> 

If you do this then it goes offset and does not align up with the others. For that to work I had to do: Open Admin CP -> Look & Feel -> click on your skin -> Global Templates -> userInfoPane template and find:


<dd>{$author['_group_formatted']}</dd> 

Add below:


<dt><span class='ft'>{$this->lang->words['age']}</span></dt>

<dd><span class='fc'>{$author['age']}</span></dd>

  • 1 month later...
Posted

I'm getting this error for 3.0.5

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home2/lovingfr/public_html/forum/admin/applications/forums/modules_public/forums/topics.php on line 2168

  • 6 months later...
  • 1 year later...
  • 5 months later...
  • 11 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...