Welcome to the new directory. If you find a bug, please report it on our Issue Tracker.

Arrow up
Arrow down

Joomla! Extensions Directory

logo

Introduction

Extension Specific, JomSocial Extensions

JomSocial User Data in Articles

  • Get this

Include any Jom Social user field in artciles. Usage: jsuserfield FIELD_NAME UserID

If UserID is left out, will try to retrieve user data for current user.

Special fields:

AVATAR
NAME
AGE

Example:

jsuserfield fieldname userid

Where fieldname is a JomSocial/JomSocial custom field name.

Example:
FIELDCOUNTRY, FIELDMOBILE, etc, or one of predefined names.
Currently:
AVATAR, NAME, or AGE is calculated from FIELD_BIRTHDATE

Currently AVATAR outputs just the path to image, not a whole tag. It could do the whole image tag. Then I guess you would use CSS if you wanted to change sizes in different places or such. (maybe that's a setting to add - Default Avatar Width, Default Avatar Height.

Even set it up so that the userid is optional (useless for this particular case of course) so you could do something like:

Hello jsuserfield NAME

And, assuming the user was logged in, it would display the current user's name.

JSuserfields

Version:
1.0
Developer:
StrongCode.net Adoovo Inc. USA
Date added:
Nov 19 2014
License:
GPLv2 or later
Type:
Free download
Uses updater:
Includes:
Compatibility:
Download Demo SupportNot available Documentation
  • Overall
    Not rated
  • Functionality

    Not rated
  • Ease of use

    Not rated
  • Documentation

    Not rated
  • Support

    Not rated