Just:
if(!elgg_is_admin_logged_in()){
elgg_unregister_page_handler('activity');
}
Or download the dumbest Disable Activity plugin
Thank you RvR, it's exactly what I was looking for. And thank you to weborganizm.org for the plugin. What a great community, I'm new to Elgg and I think that's awsome. When I think that I was working with a Joomla to find a way to build the same kind of site...
Thanks for your feedback--weborganiZm is maked on Elgg--just a very deep customization :)
Hi aethiopicus,
There is already a plugin that allows you do this - look up profile manager in the plugins repository.
You can absolutely write your own plugins if you wish, take a look at the docs. Elgg is written in such a way that you don't need to worry about mysql - all of the queries are taken care of for you in the vast majority of cases, also, you don't need to create an new tables for anything.
It's a good model, takes a bit to wrap your head around but once you get it it's powerful.
Hi Matt, tks for the answer. I started using the profile manager plugin and it helped a lot, but I need a suggestion for the follow requirement:
One of the fields is Hobbies, and I want the new user to ranking (rating one to five, for exemple) which hobbies have more interest for him/her. Any ideia how to implement it?
For example:
Hobbies:
- basketball (4)
- baseball (3)
- football (5)
- soccer (2)
- hockey (1)
which mean that I'm more interested in football and basketball than in hockey and soccer.
Regards.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.