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.

Old "About me" module

10 years 5 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

In JomSocial previous versions, the "About me" information was shown in a module on the sidebar, like this:



In the new version, the "About me" information is hidden and only shown if you click on the "About me" button next to the profile picture, like this:


How do I get a module to display the information like the older versions? I want to see that information in that way on every profile on my website.

10 years 5 months ago
Licenses:

Hi, David.

Old "About me" module was deprecated. So the only way will be to create new module like that.
If you have php skills you can create it on your own... or hire a developer to do it for you:

www.jomsocial.com/jomsocial-developers


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

I was spectating that answer, so I created a module to achieve that, on the view, I borrowed the code from the userinfo.php file:

<?php defined('_JEXEC') or die; ?>
<div><?php echo $about; ?></div>
<dl class="dl-horizontal">
    <dt><?php echo JText::_('COM_COMMUNITY_MEMBER_SINCE'); ?></dt>
    <dd><?php echo JHTML::_('date', $registerDate, JText::_('DATE_FORMAT_LC2')); ?></dd>
    <dt><?php echo JText::_('COM_COMMUNITY_LAST_LOGIN'); ?></dt>
    <dd><?php echo $lastLogin; ?></dd>
    <?php if ($multiprofile->name && $config->get('profile_multiprofile')) { ?>
        <dt><?php echo JText::_('COM_COMMUNITY_PROFILE_TYPE'); ?></dt>
        <dd><?php echo $multiprofile->name; ?></dd>
    <?php } ?>
</dl>

The issue is that only shows the registration time and the last time online. I think is may be because the $about variable is not filled correctly, Nevertheless, on userinfo.php is not filled, so where it's? What's the issue?

10 years 5 months ago
Licenses:

Hi, David.

Your solution will not work this way.
$about loads a lot of other variables that contain data from database.

So you may create a direct sql query to acquire those data.

There is a way to display any profile field value but in component content: www.jomsocial.com/forum/profile-universa...dd-some-field#109680

But still this will not work in module as module needs to load current profile info...

Let me think about it a while... now during holidays our support is limited... but after 7th January I'll provide you with solution for this.
I mark your thread as Pending Support so I could see it on my TODO list ;)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
Licenses:

Hi, David.

I'm back from holidays... but this will take a bit time so I ask your patience ;)
I'll update this thread when have a solution


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok, Michal, I'll be waiting! :)

10 years 5 months ago
Licenses:

HI, David.

Just a little question - you want similar features as "about me" module from which version?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

I don't know exactly the version. I just want to show the ABOUT ME information as a module like friends, group, etc.

10 years 5 months ago
Licenses:

Hi, David.

Ok, but "About me" contain or may contain a lot of fields 10 or even more. Should they be displayed all? Or just few of them (admin will set which one)? Or shows only few on beginning and the rest after click?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

It will be good if the admin tells what to show, but if can't be done, all fields are ok!

10 years 4 months ago
Licenses:

Hi, David.

OK, I've done some research. This box (it wasn't a module) was available in version < 2.6.
Then in next versions it was moved to link under profile cover.
The same code is called but along with whole header. And due changes in our API it can't be called again in profile.index.php

Also make a module for it have less sense as it will only display any content on profile pages (as it contain strictly profile related data [profile ID]).

It still could be done abut in rather "dirty" way - by fetching data directly from database and displayed in a box. So are you still interested in that? As we fetch data directly we could choose if all fields will be displayed or only selected ones. But there will be no sophisticated (or any) administration panel or settings for it). Just a box in profile view.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 4 months ago
  • David's Avatar
    Topic Author
  • David
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello, Michal! Thanks for the help!
As the solution you propose, I can code it by myself. But the site will be retrieving from the database the same information twice! Once for the link under profile cover and one more for my module. As JomSocial already is retrieving that data and store it on $about, there's no way to use that and save a query?

If that's the only solution and can't retrieve the data under $about, don't worry, I will code it by myself and mark the problem as fixed :)

10 years 4 months ago
Licenses:

Hi, David.

If you use $about then you'll get notice that variable is undefined. Our API was changed in this point so this doesn't work anymore.
So I'm afraid that only direct query is only possible solution at the moment.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
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