editing user profiles, excluding features

Permalink 1 user found helpful
Hi I have been searching through the concrete files trying to figure out where the $innerContent comes from, I found /concrete/singlepages/profile and the friends, avatar etc files.

I want to take away the friends and search members parts. I have searched the forum, but I have been stuck on this all week. Any ideas?

Thanks

Gary

 
garynobles replied on at Permalink Reply
Forgot to say, I know the view.php holds the £innerContent, I want to know where the code for the innerContent is so I can stop it displaying the friends and search members page, would be great to have these options on the Dashboard as tick boxes!
cannonf700 replied on at Permalink Reply
cannonf700
Look in here:
root > concrete > single_pages > profiles > view.php. You'll also find the friends.php and other associated files in here.
garynobles replied on at Permalink Reply
Thanks cannon but I have already looked, I want to comment out what I guess will be an include to the friends.php file, but I can't find any reference to it!
Mnkras replied on at Permalink Best Answer Reply
Mnkras
go to the sitemap, and remove the page friends, simple as that,
garynobles replied on at Permalink Reply
thanks, that was too easy! But what about the search members bit?
cannonf700 replied on at Permalink Reply
cannonf700
try editing the member.php file in the single_pages folder. I found this line of code in there. maybe if you remove it the search feature will also disappear.
<form method="get" action="<?php echo DIR_REL?>/<?php echo DISPATCHER_FILENAME?>">
Search
<input type="hidden" name="cID" value="<?php echo $c->getCollectionID()?>" />
<input name="keywords" type="text" value="<?php echo $keywords?>" size="20" />
<input name="submit" type="submit" value="<?php echo t('Search')?>" />

</form>
cannonf700 replied on at Permalink Reply
cannonf700
Found It:
root/concrete/elements/profile/sidebar.php
garynobles replied on at Permalink Reply
Perfect thanks for your help!