Pascal

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Pascal replied on the discussion topic Button Sichtbarkeit ändern
    Hier der Code für das Files-Plugin: mod/file/start.php Zeile 60 eingefügt:     elgg_unregister_action('file/upload');    elgg_register_action('file/upload', elgg_get_plugins_path() .... view reply
  • Pascal replied on the discussion topic Button Sichtbarkeit ändern
    Ich wollte, dass der Default-User im Plugin-Thewire die Add & Replay Funktion nutzen kann....ABER :) ich habs gerade hinbekommen! Ich habe einfach den Code:     elgg_unregister_action('thewire/add');   ... view reply
  • Pascal added a new discussion topic How to disable some Buttons? With the Roles Plugin? in the group Elgg Technical Support
    Hi, can someone tell me how I can disable the "add" and "upload" buttons for the default user in the files and the thewire-plugin with the roles plugin? Here is my Code:           DEFAULT_ROLE =>...
    • Buttons are actions. You have to restrict actions.

      Rodolfo Hernandez

      Arvixe/Elgg Community Liaison

    • Nope @rjcalifornia: buttons are menu items, so you need to deny access to the corresponding menu items using the roles plugin framework.

      Sidenote: there are newer versions of the roles plugins available on the github account of Ark Interactive. I thinks its better to use these newer versions as they seems to contain some new functionality, too.

      Regarding the files plugin the hiding of the Add button should work similar to hiding for example the blogs Add button which had been explained (only in German but nevertheless) only recently.

      The Wire plugin has no Add button as far as I know but the Input form in inline on the wire pages. In this case you would need to hide the input form. This can't be done via the roles configuration but you would need to modify / override the corresponding view and/or form of the wire plugin. The corresponding part of the code would need to be encapsuled in an if-clause that checks the role of the logged-in user. The roles framework has a function to return the role of the logged-in user. Using this function you can easily include such a check.

  • Pascal replied on the discussion topic Button Sichtbarkeit ändern
    Jetzt bin ich dran ;) ich hab mir den Code von dir mal geklaut alpik und versuche ihn gerade zu erweitern :) nur leider klappt das ganze noch nicht so wie ich will,  ich möchte jetzt den Button Add/Schreiben/hinzufügen bei "thewire"... view reply
  • Pascal replied on the discussion topic Benutzergruppen erstellen und verwalten
    Hmm er meldet sich leider nicht :( ich habe jetzt das Roles Plugin installiert doch irgendwie blicke ich da nicht durch. Es gibt zwar jetzt 3 Berechtigkeitseinstellungen (Group Administrator, Moderator und Member) doch irgendwie kann man diese... view reply
  • Pascal replied on the discussion topic Benutzergruppen erstellen und verwalten
    Super danke iionly! Ich habs soweit zum laufen bekommen, jetzt muss ich gucken, wie ich die einzelnen Roles auch noch auf paar Plugins übertrage. Ich möchte z.B das der Event Calender nur von Moderatoren benutzt werden kann. Hast du... view reply
  • Pascal added a new discussion topic User Access - creating and management in the group Elgg Technical Support
    Hello everybody! Maybe someone can help me. So I´m looking for a plugin which can create user groups (viewer, presenter, guest...and many more). Then I would definitely the user groups. (Example: presenter may edit everything possible, but...
  • Pascal joined the group Elgg Technical Support