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.

Profile Page

8 years 1 month ago
  • Brian's Avatar
    Topic Author
  • Brian
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hi,

I was wondering how to delete the activity stream from the profile page. I found an old post, which says to delete from profile.index.php, but can't find that page in the new version.

Thanks!

8 years 1 month ago
Licenses:

Hi, Brian.

Now it should be:

ROOT/components/com_community/templates/jomsocial/layouts/profile/base.php

Do override for it by copying to:

ROOT/templates/your-template/html/com_community/layouts/profile (if you don't have those folders - feel free to create them)

Bot it's inside a variable $content.


- 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
8 years 1 month ago
  • Brian's Avatar
    Topic Author
  • Brian
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hi Michal,

Sorry, but which part do I delete for the activity stream? That part has changed also. I need to make sure the other plugins will display that are
posted to the main body section. Also how do I stack them rather than tabs? Thanks so much!

Brian

8 years 1 month ago
  • Brian's Avatar
    Topic Author
  • Brian
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

The problem is, if I delete "<?php echo $content; ?>" then none of the plugin set in the "customize my page" don't show either. I just need to delete the update box and activity stream. Thanks!

8 years 1 month ago
Licenses:

Hi, Brian.

I'm sorry for misleading. I digged deeper into that and it seems it needs a core hack to remove stream in profile.
You need to edit that file:

ROOT/components/com_community/views/profile/view.html.php

Then you need to comment code from line 642 to 650 like this:

/*$info = new stdClass();
            $info->title = ucfirst(JText::_('COM_COMMUNITY_SINGULAR_STREAM'));
            $info->name = ucfirst(JText::_('COM_COMMUNITY_SINGULAR_STREAM'));
            $info->data = $this->_getNewsfeedHTML();
            $info->position = 'content';
            $info->id = 'feeds-special';
            $info->core = true;
            $info->hasConfig = '';
            $appsInPositions['content'][] = $info; */

And remember to set About me as default tab in Theme Designer in JomSocial configuration.

Also please, note:

Core hacks are not recommended nor supported as they may not working with future JomSocial releases and/or cause issues that will be not supported. Users with core files hack refuse to upgrade their installation to keep those hacks and they are stuck with outdated and unsupported versions. Also core hack will be overwritten during upgrade.

EDIT:

Plugins in main content are always in tabs ant there is no way to make them stackable... without core changes.


- 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