Jump to content

Primary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Secondary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Squares Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to PHPFox Camp
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

How to remove last login, member since, membership,profile views in the basic info of user's profile ?

profile basic info member

  • Please log in to reply
7 replies to this topic

#1
GEEK

GEEK

    Member

  • Banned
  • 678 posts
Posted Image


You need to edit file: module\profile\include\component\block\info.class.php

Remove Last Login:

Find & Delete

if ((int) $aUser['last_login'] > 0 && ((!$aUser['is_invisible']) || (Phpfox::getUserParam('user.can_view_if_a_user_is_invisible') && $aUser['is_invisible'])))
{
$aUserDetails[Phpfox::getPhrase('profile.last_login')] = Phpfox::getLib('date')->convertTime($aUser['last_login'], 'core.profile_time_stamps');
}

Remove Member Since:
Find & Delete

if ((int) $aUser['joined'] > 0)
{
$aUserDetails[Phpfox::getPhrase('profile.member_since')] = Phpfox::getLib('date')->convertTime($aUser['joined'], 'core.profile_time_stamps');
}

Remove Membership:

Find & Delete

if (Phpfox::getUserGroupParam($aUser['user_group_id'], 'profile.display_membership_info'))
{
$aUserDetails[Phpfox::getPhrase('profile.membership')] = (empty($aUser['icon_ext']) ? '' : '' . Phpfox::getLib('locale')->convert($aUser['title']) . ' ') . $aUser['prefix'] . Phpfox::getLib('locale')->convert($aUser['title']) . $aUser['suffix'];
}

Remove Profile Views:

Find & Delete

$aUserDetails[Phpfox::getPhrase('profile.profile_views')] = $aUser['total_view'];

Remove RSS Subscribers:

Find & Delete

if (Phpfox::isModule('rss') && Phpfox::getParam('rss.display_rss_count_on_profile') && Phpfox::getService('user.privacy')->hasAccess($aUser['user_id'], 'rss.display_on_profile'))
  {
   $aUserDetails[Phpfox::getPhrase('profile.rss_subscribers')] = $aUser['rss_count'];
  }


Thanks
Himanshu Jain

#2
Cheema

Cheema

    Business Developer

  • Fox Fan Club
  • 151 posts
  • LocationPakistan
ahan very nice tutorial keep it up

#3
GEEK

GEEK

    Member

  • Banned
  • 678 posts

View PostCheema, on 15 October 2011 - 04:07 AM, said:

ahan very nice tutorial keep it up

No problem bro but if you like something plz rep me to continue making tutorials.

Thanks
Himanshu Jain

#4
Cheema

Cheema

    Business Developer

  • Fox Fan Club
  • 151 posts
  • LocationPakistan
GEEK i want to delete recent logins pics from home page site home page and i have delete recent logins from users home page by DnD Mode and how can i add it again in users home page and how can i delete it from site home page?

#5
DarkGoth

DarkGoth

    Moderator

  • Moderators
  • 1,181 posts
  • LocationUnknown
try :

module/user/template/default/controller/register.html.php - look at line #160 just comment out the {*user.images module *} it should be ok.

CODE:
<!--{* module name='user.images' *}-->

Clear your site cache and browser cache.

#6
wole5029

wole5029

    Business Developer

  • Campers
  • 129 posts
hello, geek, thanks for your share, but i deleted the profile views and rss susscribe according to what you said but its still showing, am using the brillance theme, will the parameters be different?

#7
SignatureBoy

SignatureBoy

    BorN_AutHenTic

  • Fox Fan Club
  • 2,100 posts
  • Locationphpfoxcamp
He is banned from this forum

#8
wole5029

wole5029

    Business Developer

  • Campers
  • 129 posts
how sad, @ signature boy please can you help in removing profile views and rss subscribe... thanks





Also tagged with one or more of these keywords: profile, basic info, member

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users