The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
It should be in USERCP shell and search for attachment and you will find it looking something like this:
Code:
<if condition="$show['attachments']"> <tr><td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr> </if> The rest of the edits you need to do will be in that template. ________ FREE XXX MOVIES ONLINE |
#3
|
|||
|
|||
![]()
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> |
#4
|
||||
|
||||
![]()
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).
|
#5
|
|||
|
|||
![]()
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 ![]() |
#6
|
||||
|
||||
![]()
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.
|
#7
|
|||
|
|||
![]() Quote:
Code:
</table> </td></tr> <tr><td class="$navclass[deletedgms]" nowrap="nowrap"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="20"> <img border="0" src="$stylevar[imgdir_misc]/usercp_icons/report_add.gif" width="16" height="16"></td> <td><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&type=deleted">$vbphrase[social_group_messages]</a></td> </tr> </table> ![]() |
#8
|
||||
|
||||
![]()
That is from a modification, and questions regarding modifications should be asked in the modification thread.
|
#9
|
|||
|
|||
![]() Quote:
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|