- Disable the "Manage friends" module in the ACP.
- View a regular member's profile - the "Add friend" link is still visible. The link should not display at all... if we were to disable the "Manage foes" module, the Add foe link would display, but this time it would give us "Module not accessible."
- Clicking on Add friend ends up adding the user to your foes list.
Bug tracker
Friends & Foes give unexpected behavior (fix completed in vcs)
Comments / History
viewtopic.php?f=46&t=1434975&hilit=foe
viewtopic.php?f=46&t=1543195&hilit=foe
Maybe you can get them to clean up the templates completely when a specific module is disabled, I got shot down every time. I believe Rich (McGirr) has also tried to get that behavior changed without success, but as far as 3.0.5 you are correct that when the friends module is disabled instead of taking you to the fugly "module not accessible" error page it actually adds the user to your foes list.
Posted by A_O_C on Aug 30th 2009, 05:02
Hmmm, weird. If you disable the "friends and foes" module altogether, the links don't display (correct behavior in my opinion). Maybe another switch is needed to check and see if the individual modules are disabled?
Like I said, been brought up more than once and it was dismissed ...
me wrote:"Post by narqelion ยป Tue Mar 24, 2009 5:40 pm
In your scenario of just wanting to disable the "Foes" feature, disabling it in the ACP does not remove the link in the memberlist template view. The switch in the template is all or nothing, meaning you have to disable both "Friends" & "Foes" for the links to be hidden. The display switch should be re-written to account for one or the other being disabled so you don't have to go in and make a manual edit."