Jimmy ([info]scenejournal) wrote in [info]lj_dev,
@ 2008-05-05 19:05:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:server, server: config

Hiding Also Friend Of...
Is it possible to hide the 'Also Friend Of...' section, I know you can hide friends by configuring that in the ljconfig.pl but I would much like to hide also friend of because I give the option for new users to add me, news and the system account as friends, and I rarely if ever add them back but it still shows them as having me as a friend on my profile...and that's a lot of people.

I did try to use force empty friends for multiple people but it gave me an error I was using something like:

%FORCE_EMPTY_FRIENDS = (
'1' => 'system'
'2' => 'jimmy'
'12' => 'news'
);

What would the proper syntax be? I'm no pro or even beginner with Perl, but would I need commas at the end of those?

Thanks guys!



(Post a new comment)


[info]whitaker
2008-05-06 12:31 am UTC (link)
Syntax looks all good but you need commas at the end of the lines:


%FORCE_EMPTY_FRIENDS = (
'1' => 'system',
'2' => 'jimmy',
'12' => 'news',
);

(Reply to this) (Thread)


[info]keainanhai
2009-07-02 02:25 am UTC (link)
Hey [info]whitaker, I know this is super old, but I'd like to revisit it since the question was never fully answered.

I would like to hide Friend Of...not just my friends, because as explained in the post, when a user creates an account they're automatically "subscribed/become friends of me" and my system and new accounts. I would love the ability to be able to hide MY FRIENDS on my profile page. I am not sure if this is built-in or possible?

Any help would be greatly appreciated! Thanks!

(Reply to this) (Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…