Group membership

  • Beginning Developers

    Beginning Developers

    This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking


  • johann commented on the plugin izap videos 4.1.1b (09-09-2011)
    It works but i have this error register_entity_type() was deprecated by elgg_register_entity_type. And i use the last version. Any idea    
  • johann added a new discussion topic One user only create group and blog in the group Beginning Developers
    Hello ,   I need only one users for create group, blog   Is this possible ?   Best regards
    • You can (assuming you are on 1.8)

      1. create a hook for the blog / group create action and return it false if the logged in users guid doesn't match your users.
      2. Unregister the current action with your new action in which a check is made on the logged in user.
      3. Override the page handlers and remove the title button register() or create a check for the loggedin users previlage
      4. Use a view hook and selectively removes the particular html for the title button
      5. Use jQeury to hide the button if the loggedin user is not authorised to create it

      Proper way is 1/2 + 3/4/5 . Using 3/4/5 alone can still allow users to hit the URL directly and create contents if they know Elgg.

    • use "group tools " plugin. It allows the admin to restrict group creation only to admin

  • johann joined the group Beginning Developers


No friends yet.

Send private message

You must be logged in to send a private message.