Jump to content

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


Adriano Faria

Recommended Posts

Posted

File Name: (SOS31) Members Age in Profiles v1.0.0
File Submitter: Adriano Faria
File Submitted: 10 Sep 2010
File Updated: 13 Sep 2010
File Category: Hooks and Plugins

Shows each members' 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.

Notes

  • This hook 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.
  • Compatibility: IP.Board 3.1.X
  • No file or template edit is required


Click here to download this file
Posted

Open hooks/sos31_membersage_***.php and find

		$print = "<li><span class='ft'>{$this->lang->words['age']}:</span><span class='fc'>{$age}</span></li>";

Change to:

		if ( $this->memberData['member_id'] )

		{

			$print = "<li><span class='ft'>{$this->lang->words['age']}:</span><span class='fc'>{$age}</span></li>";

		}

  • 2 months later...
  • 2 weeks later...
  • 1 year later...
  • 11 months later...
Posted

This Hook works on Version 3.4.1 without Problem.

But i have see the age will only displayed on the Profilpage.

I dont the the Age in Forum by the Posterinformation and also don't show by the Member-Popup.

What can i do, that the age also display by this both parths?

Posted

This Hook works on Version 3.4.1 without Problem. But i have see the age will only displayed on the Profilpage. I dont the the Age in Forum by the Posterinformation and also don't show by the Member-Popup. What can i do, that the age also display by this both parths?

  • 2 weeks 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...