Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Email on sign up available in About Me?

11 years 11 months ago
  • Tiberiu's Avatar
    Topic Author
  • Tiberiu
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi, I was just wondering if there was a setting/way to display the email that is collected during the sign up process to be displayed in the users' profile in the About Me section? When I create an email field in the custom profile it doesn't update the email address from sign up.

Please confirm. Thanks!

11 years 11 months ago
Licenses:

Hi Tiberiu,

you must make override for profile.about.php
documentation.jomsocial.com/wiki/Customizing_Template

and must use Joomla library:
docs.joomla.org/JFactory/getUser

$user = JFactory::getUser();
 
if (!$user->guest) {
  echo $user->email;
}

if you cant do it. please provide me FTP access detail by editing your first post at this topic. put it under site info form.
and tell me where exactly position do you can put user email at about me section.

Regards,
Albert

The following user(s) said Thank You: Tiberiu
11 years 11 months ago
  • Tiberiu's Avatar
    Topic Author
  • Tiberiu
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Licenses:
JomSocial Expired

Thanks Albertus, I added the FTP info. The community is in a subdirectory collidehub.com/launchyu

Thanks again

11 years 11 months ago
Licenses:

Hi Tiberiu,

here the changes:
1. override profile.about.php, by copying /components/com_community/templates/default/ to /templates/yoo_moreno/html/com_community
2. at line 18 I added

$email = true;
3. at line 32 I added
<?php if ($email == true) { ?>
    <li>
        <h3 class="cField-Name cResetH">E-mail</h3>
        <div class="cField-Content"><?php echo($profile['email']);?></div>
    </li>
<?php } $email = false;?>

so the email will appear under Basic Information.

Regards,
Albert

The following user(s) said Thank You: Tiberiu
11 years 7 months ago
  • Tiberiu's Avatar
    Topic Author
  • Tiberiu
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi -- looks like the "email" used at login is still not showing for some members, but it does show for others... any ideas what's causing this? We'd like to have the Email field appear for everyone.

Also a 2nd question -- how can we also show "Profile Type" under about me?

Thanks!

Attachments:
11 years 7 months ago
Licenses:

Hi Tiberiu

that because not all users put basic information. you must move the code to other lines.
about profile type. by default jomsocial already provide it at about me



here the code
<?php if( $multiprofile->name && $config->get('profile_multiprofile') ){ ?>
<dt><?php echo JText::_('COM_COMMUNITY_PROFILE_TYPE'); ?></dt>
<dd><?php echo $multiprofile->name;?></dd>
<?php } ?>

Regards

Attachments:
11 years 7 months ago
  • Tiberiu's Avatar
    Topic Author
  • Tiberiu
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Licenses:
JomSocial Expired

Sorry, not following. The email is captured when they register -- that's the one that I want to make visible on all profile types.

Can you explain again what's missing / steps to have it shown on all profiles in the "about me" section by default.

11 years 7 months ago
Licenses:

Hi Tiberiu,

please provide me FTP access detail. edit your first post at this topic. and update the site info form.
I will do it for you.

Regards

11 years 7 months ago
  • Tiberiu's Avatar
    Topic Author
  • Tiberiu
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Licenses:
JomSocial Expired

Great, PM'd you the info

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW