Lesson 6: Giving your users options

Adding settings for users from a plugin is the topic of this lesson.

Problem

You want to give your users control over different aspects of the site. Maybe they get to pick the background color of their profile page. Or how about letting them select how comments are sorted on their blog posts – newest or oldest at the top. You might also have a plugin that they need to configure before they can use it - something like a plugin that pulls in their latest Flickr photos and imports them into a photo gallery. How do you give users these types of settings?

Solution

Just as plugins can have administrative settings, they can also have user settings. These settings are adjusted on the Configure your tools page found in the ...

Get Elgg 1.8 Social Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.