![]() |
Remove Edit Profile link from the User CP
Hi. I'm using version 3.6.7 PL1 and would like to remove the link called Edit Profile in the UserCP. In the General Permissions for the Registered Users usergroup I have set Can Edit Own Profile to No but this does not remove the Edit Profile link and if a user should click on that he/she will be met with a non-permission message. I would prefer to avoid this approach. Is there code that needs deleting to remove this link?
Also, under Miscellaneous in the UserCP I would like to remove the link to Event Reminders and Attachments. Can someone help with this? |
It should be in USERCP shell and search for attachment and you will find it looking something like this:
Code:
<if condition="$show['attachments']"> The rest of the edits you need to do will be in that template. ________ FREE XXX MOVIES ONLINE |
Hi Sweeks
I see the code you have exampled is an if condition. (I know nothing of PHP). In looking through the USERCP shell I see reference to Edit Profile as below surrounded by <tr> tags. There doesn't appear to be an 'if condition' relating to the Edit Profile link. <tr> <td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td> </tr> <tr> |
You can try removing that row (from <tr> to </tr>). However, if they know vbulletin, they can figure out the link to get to edit their profile (add do=editprofile to the end of the profile.php url).
|
would like to do this for the 'social group messages' as i do not want to use them
removed the line of code in USERCP_SHELL but the link is still there... what else do i need to do to remove this link from the UCP? thanks for any help :) |
If the link is still there, then you either didn't remove the correct line in the template, or you removed the line in the wrong style.
|
Quote:
Code:
</table> |
That is from a modification, and questions regarding modifications should be asked in the modification thread.
|
Quote:
|
All times are GMT. The time now is 12:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|