Send private message

You must be logged in to send a private message.

Friends

No friends yet.

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
  • Elgg Technical Support

    Elgg Technical Support

    Get support from other Elgg users
  • Professional Services

    Professional Services

    Get / offer professional help on Elgg; like customization, design, development, setup, hosting... Illegal trades are not allowed.

Activity

  • habhab joined the group Professional Services
  • habhab replied on the discussion topic Add Group reference to Blog posts
    @Stevan - great ! this is exactly what I was looking for. thank you ! may I please ask if you know if there is a way to tweak the code to allow a user to assign blog to a group, even though that user is not a group member?   Thanks view reply
  • habhab has a new avatar
    habhab
  • habhab added a new discussion topic Add Group reference to Blog posts in the group Beginning Developers
    Hi there,    I am looking to add a feature such that whenever a user posts a blog, they can choose which existing Site Group to assiciate their blog with. Whenever any other user viewes that group, they can see all the blogs that were...
  • habhab joined the group Beginning Developers
  • habhab replied on the discussion topic elgg install in subdomain with nginx
    went around the problem by just skipping the rewrite test page (use install.php?step=database in URL) and the following rewrite rules: #your http and server block above try_files /index.html $uri $uri/ @rewrite; location @rewrite { # Fallback to... view reply
  • habhab added a new discussion topic elgg install in subdomain with nginx in the group Elgg Technical Support
    I have one Elgg codebase 1.8 installed to /wwwroot/example.com and it is working fine. I now wish to install another Elgg codebase to /wwwroot/subdomain.example.com and have it accessible as subdomain.example.com. new DB for subdomain created and...
    • went around the problem by just skipping the rewrite test page (use install.php?step=database in URL) and the following rewrite rules:

      #your http and server block above

      try_files /index.html $uri $uri/ @rewrite;

      location @rewrite {

      # Fallback to the new router
      rewrite ^(.*)$ /index.php?__elgg_uri=$uri&$args last;
      }


      rewrite ^/rewrite.php$ /install.php last;
      # Routes to specific handlers
      rewrite ^/action/([\/A-Za-z0-9_-]+)$ /engine/handlers/action_handler.php?action=$1 last;
      rewrite ^/cache(.*)$ /engine/handlers/cache_handler.php?request=$1 last;
      rewrite ^/export/([A-Za-z]+)/([0-9]+)/?$ /engine/handlers/export_handlers.php?view=$1&guid=$2 last;
      rewrite ^/services/api/([A-Z-a-z0-9_-]+)/(.*)$ /engine/handlers/service_handler.php?handler=$1&request=$2 last;

      if (!-d $request_filename){
      set $rule_11 1$rule_11;
      }
      if (!-f $request_filename){
      set $rule_11 2$rule_11;
      }
      if ($rule_11 = "21"){
      rewrite ^/([A-Za-z0-9\_\-]+)$ /engine/handlers/page_handler.php?handler=$1;
      }
      if (!-d $request_filename){
      set $rule_12 1$rule_12;
      }
      if (!-f $request_filename){
      set $rule_12 2$rule_12;
      }
      if ($rule_12 = "21"){
      rewrite ^/([A-Za-z0-9\_\-]+)\/(.*)$ /engine/handlers/page_handler.php?handler=$1&page=$2;
      }

      location ~* \.php$ {
      fastcgi_index index.php;
      include fastcgi_params;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

      fastcgi_pass 127.0.0.1:9000;
      }

    • I've made recently config for Elgg 1.8 as well. Have a look at it here: https://gist.github.com/Srokap/0c10cab5595d8d84a788

  • habhab replied on the discussion topic site crashes once in a while
    Thanks Pawel. by the way I am also Pavel, with a v though :) i know what the IPTables issue is - this particular VPS image is the base build from a project i had couple of years ago which eventually succumbed to spammers from china. I had used... view reply