Jump to content

Community

Adriano Faria

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

Recommended Posts

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

Share this post


Link to post
Share on other sites

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>";

		}

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×