A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to disable friendlist & show permissions
Jan 9, 2009
3:59 pm
Member
Forum Posts: 90
Member Since:
Mar 16, 2008
Offline

It´s me again ;-). Simple question: There are 2 buttons at the bottom of the profile page "manage buddy list" and "view permissions". How i can disable these to buttons so that they are not visible on the profile page? I dont want my users to manage buddy lists and i also dont want them to know what they maybe could do or not…

Regards

Michael

There are only 10 types of people in the world: those who understand binary and those who don't.
Jan 9, 2009
5:10 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

no way to do so without modifying core code.

Also, keep in mind that buddy list members are added in the popup profile page (the profile icon in the top row of each post). If you remove the manage buddy list, they only will be able to add, not delete. you would want to remove the popup profile stuff too. and the buddy list area would still appear in PMs, so you might get a bunch of questions.

If you still want to remove them, look in the sf-form-profile.php file.

Jan 10, 2009
2:45 am
Member
Forum Posts: 90
Member Since:
Mar 16, 2008
Offline

Okay, thanks. PMs are disabled in my forum… I changed the php file and it works. Thanks Mr Papa!

There are only 10 types of people in the world: those who understand binary and those who don't.
Jan 10, 2009
3:00 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

I've raised a ticket…

Yellow Swordfish
Jan 10, 2009
7:25 am

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

the ticket wont show the buddy list if pms are turned off…

Mar 12, 2010
12:40 pm
Member
Forum Posts: 48
Member Since:
Feb 6, 2010
Offline

Where did you guys disable the option that users can look at their permissions by clicking "Your Permissions" next to their name (key image).

I want to disable this also!

Mar 12, 2010
12:51 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

you have to edit the core code… currently, not an option to disable from the UI though we have opened a ticket for this…

Mar 13, 2010
9:56 am
Member
Forum Posts: 48
Member Since:
Feb 6, 2010
Offline

To remove the "View Permissions icon" Just change the string of the $out variable to empty:

In sf-page-components.php on line 1680:

 

$site = SFSITEURL."index.php?sf_ahah=permissions&forum=".$sfvars['forumid']."&forumname=".$sfvars['forumname']."&user=".$current_user->ID."&displayname=".$current_user->display_name;
    $out = ' ';
    return $out;

Notice the empty $out = ' ';

 

Mar 13, 2010
10:34 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

That will become am admin-selectable option in 4.3…

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online:
55 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79131

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23587)