Plugins

We couldn't find any plugins, themes or language packs at the moment.

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • ase8038 replied on the discussion topic Page Handling for Core pages?
    I found the bug. It was the usual copy & paste error. ;-) I copied parts of the code from the original friends_page_handler() function in /engine/lib/users.php, but used in my plugin_friends_page_handler() function another name for the... view reply
  • ase8038 replied on the discussion topic Page Handling for Core pages?
    Ok, thanks to both of you. I did it exactly like you have suggested it. But my handler is routed to the home page. I suppose that something is wrong with the place I have stored the index.php. I put it to '/mod/myplugin/pages/friends/index.php'.... view reply
  • ase8038 added a new discussion topic Page Handling for Core pages? in the group Plugin Development
    I know that I can modify pages in other plugins with elgg_register_page_handler() in a new plugin. But is there such a feature for pages in the Elgg Core? For example I would like to change something in the file /pages/friends/index.php. How can I...
    • Example:

      elgg_unregister_page_handler('friends', 'friends_page_handler');
      elgg_unregister_page_handler('friendsof', 'friends_page_handler');

      elgg_register_page_handler('editors','theme_editors_page_handler');

       

      function theme_editors_page_handler($segments, $handler) {
          elgg_set_context('editors');
          
          if (isset($segments[0]) && $user = get_user_by_username($segments[0])) {
              elgg_set_page_owner_guid($user->getGUID());
          }
          if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid()) {
              collections_submenu_items();
          }

          switch ($handler) {
              case 'editors':
                  require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/index.php");
                  break;
              default:
                  return false;
          }
          return true;
      }

       

      Check it on http://weborganizm.com

    • Ok, thanks to both of you.

      I did it exactly like you have suggested it. But my handler is routed to the home page. I suppose that something is wrong with the place I have stored the index.php. I put it to '/mod/myplugin/pages/friends/index.php'. And no matter if I am writing:

      require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/index.php");

      or

      require_once(elgg_get_plugins_path() . "myplugin/pages/friends/index.php");

      It doesn't route to my index.php. Any hints?

       

    • I found the bug. It was the usual copy & paste error. ;-)

      I copied parts of the code from the original friends_page_handler() function in /engine/lib/users.php, but used in my plugin_friends_page_handler() function another name for the parameter $segments.

      Now it works fine.

      Thanks again for your help.

  • ase8038 added a new discussion topic costs per capita in the group General Discussion
    Hi there! For a commercial web site it's necessary to have a budget and there an estimation of the costs. One item on the costs side is the need of space on the database as for many hosting providers they bill you by this amount. I would like for...
    • It really depends what the users will be doing, but in my experience, database costs are minimal. If you're doing lots of file uploads, pictures, etc, that would end up taking more space really fast.

  • ase8038 joined the group General Discussion
  • ase8038 joined the group Plugin Development
  • ase8038 replied on the discussion topic Frage zu google auszug / meta description
    Google hat bislang nur das nofollow umgesetzt. Die restliche Anzeige ist noch nicht aktualisiert. Das wird wohl in den nächsten Tagen noch passieren. Coole Startseite übrigens ... besonders die Slider ... muss mir mal das HighSlide Modul... view reply
  • ase8038 replied on the discussion topic Frage zu google auszug / meta description
    Hier ein guter Link für die Lösung Deines Problems: http://suchmaschinenoptimierung.michaelsattler.de/meta-angaben.html Darin steht, dass Du folgende Zeile noch brauchst: <meta name="robots" content="index,nofollow"> Die Bilder... view reply
  • ase8038 replied on the discussion topic Frage zu google auszug / meta description
  • ase8038 replied on the discussion topic Frage zu google auszug / meta description
    Ich würde ein paar Zeilen weiter unten ansetzen. Da steht doch ein Block mit drei Zeilen Meta Tags und danach <title>. Zwischen <meta name="" ...> und <title> würde ich Deine Meta Tag Zeilen einbauen. Auch wenn dem... view reply
  • ase8038 replied on the discussion topic Frage zu google auszug / meta description
    In Deinem Theme oder Plugin kopierst Du aus dem Core - sofern nicht bereits vorhanden - die Datei: /views/default/page/elements/head.php Dort kannst du die HTML Meta Tags eintragen.   view reply
  • ase8038 replied on the discussion topic maximum number of Elgg objects
    A mathematician starts to count at 1 ... most computer systems are starting at 0. That's the difference! So, if you want to be precise you can say that the range goes from 0 to 18 446 744 073 709 551 615, but the amount of numbers is 18 446 744 073... view reply
  • ase8038 replied on the discussion topic maximum number of Elgg objects
    Not really helpful for answering the question but to be more precise concerning the above answers: 18 billion billion = 18 quintillion (US and scientific notation) or trillion (in other countries). As an exponential of 2 the number has to be... view reply
  • ase8038 commented on the plugin Image CAPTCHA
    @José: replace   'image_captcha:settings:icons' => ""Selecione os ícones que você gostaria de usar para o CAPTCHA, with   'image_captcha:settings:icons' => "Selecione os ícones que você gostaria...
  • ase8038 commented on the plugin Phloor Scroll To Top
    The display was a bit disturbing on the admin panel. As a workaround I have added a check for the context in the file /views/default/phloor_scroll_to_top(js/foot_extend.php: if (!elgg_in_context('admin') { ?> <script ......
  • ase8038 joined the group German Support Group
  • ase8038 joined the group Beginning Developers
  • ase8038 joined the group Elgg Technical Support
  • ase8038 joined the group Performance and Scalability
  • ase8038 joined the group Tidypics Photo Gallery Plugin