JSuserfields

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 
JomSocial User Data in Articles

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:
FIELD_COUNTRY, FIELD_MOBILE, 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.

advertise with us

Boost your traffic and expand your pool of potential customers

8000 active members

Ready to join Now?

CMS Portal - The free marketplace for submitting Joomla, Drupal, Wordpress, Magento, phpBB, Prestashop, vBulletin, Opencart Templates and more.

FOLLOW US

Email Newsletters

Make sure you don't miss interesting happenings by joining our newsletter program.
konya escort eskisehir escort canakkale escort samsun escort balikesir escort aydin escort hatay escort kahramanmaras escort giresun escort tokat escort
Joomla Templates Free Joomla Templates Virtuemart Templates K2 Templates JoomShopping Templates HikaShop Templates SobiPro Templates OpenCart Themes
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes
bettilt
tempobet