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.

all photos link on page

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
hi
is there a way to remove the "all photos" link locate in the photos page. The link which shows all the pictures in the website . I would like remove it from this page or at the,very least make sure no members can access or see it

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

11 years 5 months ago
Licenses:

Hi,

you must edit:
/components/com_community/views/photos/view.html.php at line 1368, comment out (put // at beginning of code ) this code

$this->view->addSubmenuItem('index.php?option=com_community&view=photos&task=display', JText::_('COM_COMMUNITY_PHOTOS_ALL_PHOTOS'), '' , false , '' , 'joms-right');

but this changes will be disappeared at upgrade process, you must re-apply it again

Regards

The following user(s) said Thank You: knowledge
11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

prntscr.com/72gwuf
what i am try to do is make sure that any user on the site cant see the uploaded photos of other members who did not make their photos private(friends only).and since the setting can be overridden in the frontend (privacy settings) its no use just relying on these setting ( prntscr.com/72gxso )
please take a look and tell me if i did the right thing ( prntscr.com/72gyqh ).i followed your instructions and did as you said but i am stilling seeing the "all photos" link and i am still able to see photos of a user who i am not friends.

11 years 5 months ago
Licenses:

Hi,

sorry, at your Jomsocial version, the correct line must 1362 and 1369.
please check it, I did it for you.

Regards

The following user(s) said Thank You: knowledge
11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

thank you Albertus ,it works well.it works as well as i wanted it to work so thank you very much friend.

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

like you said Albertus this is only a hack and after updating to 4.0.6 i realized that. so i was wondering if their was a fix that could stay even if an update is done, similar to this one
www.jomsocial.com/forum/photos-videos/26465-all-videos-link

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

prntscr.com/74q5yp
i added the // to comment it out but now the photos page wont even show up, i reset the browser and deleted all history, so how do i go about fixing it. ?

11 years 5 months ago
Licenses:

Hi,
please check it. I put at custom.css

.cVideos ul li.joms-right:first-child, .cPhotos ul li.joms-right:first-child {
	display: none;
}

Regards

The following user(s) said Thank You: knowledge
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