Sadra Borzouei

About me: Sadra (mohammad Borzouei) : Network Engineer , Web & application Developer , Programer of (php,elgg,java,json,android &...) ,Training of Network (http://telegram.me/sadraborzouei tel:+989199189500 Work in SadraICT)
Location:
Email: borzouei1977@gmail.com

Elgg Sites

  • Cvlink

    Cvlink

    Cvlink is a dynamic Community with the aim of entrepreneurship and business management . Create and share Your CVs, Introduce yourself and  Activities for ever (This is Free). Cvlink is the place to Introduce capabilities or a history of...

Activity

  • Sadra Borzouei has a new avatar
    Sadra Borzouei
  • people like and use APPs in Mobile .We must have a proffessional APP for devloping.
    • adc

      I don't see engap (or any mobile app built only to display elgg on a smaller screen) bringing anything useful to the table -other than an excuse to make money providing a service which has zero need/value at this time. Until voice assistants can be used engap and other apps are great excercises in futility.

    • I have not seen any viable solution yet. I tried engap test app but cannot even login to my own site. It is phonegap based but I could not get it working. 

      If anyone is interested in mobile app development for elgg, I am willing to contribute my time. Seriously this needs to be added to elgg. I am deliberating switching to buddypress because of lack of mobile support in elgg.

    • I am the developer of enGap, and you can see many have downloaded and successfully integrated too. so obviously. it works :). moreover in near future I am planning to port more and more platforms like wordpress, too on enGAP.

  • I Need it to export cv as Pdf.
  • Sadra Borzouei uploaded a new plugin: hypeWall-Addon
  • Hi thanks dear friends @Juho I change some codes in css (element folder) then used this codes in start.php and elgg.php start.php(in theme) : $lan_id = get_current_language(); if ($lan_id == 'fa'){ elgg_extend_view('css/elgg',... view reply
  • thanks dear susan ,yes you are right. I've turned off simple cache too, in socilive.com.:( view reply
  • Hi there I use the English and Persian language. I can easily change the template css from right to left or left to right. but I have a problem with the web cache. How do I change the format immediately(online) from right to left and The...
    • @Juho in elgg 1.8.19 I'm using a custom version of Aalborg theme, have added a css directory inside the theme called aalborg_theme_rtl and call it from Aalborg start.php using some lines from an elgg 1.7.1 plugin (if users chosen language is English the ltr is called, otherwise the rtl is called

      //elgg_extend_view('css/elgg', 'aalborg_theme/css');

      if (function_exists('elgg_extend_view') || function_exists('extend_view')){
                  // As we see form the elgglib.php file in the elgg_extend_view() function, the views are saved in this array
                  // Having our plugin run last means we can reset the array and then just use our own CSS file to extend the view
                  if (isset($CONFIG->views->extensions['css'])){
                      // Clearing the actual array of views
                      $CONFIG->views->extensions['css'] = array();
                  }    
          // Adding our CSS file. Add all your CSS to the {ELGG_ROOT}/mod/x/views/default/x/css.php file
                  if (function_exists('elgg_extend_view') && $current_lang_id != 'en'){
                      //elgg_extend_view('css', 'x/css');
                      elgg_extend_view('css', 'aalborg_theme_rtl/css');
                  } else if (function_exists('elgg_extend_view')) {
                       elgg_extend_view('css', 'aalborg_theme/css');
                  }
      }

    • Hi thanks dear friends
      @Juho I change some codes in css (element folder) then used this codes in start.php and elgg.php

      start.php(in theme) :

      $lan_id = get_current_language();

      if ($lan_id == 'fa'){
      elgg_extend_view('css/elgg', 'themename/css_RIGHT');

      }elseif($Lan_id == 'en'){

      elgg_extend_view('css/elgg', 'themename/css');
      }

      in elgg.php :

      $lan_id = get_current_language();
      if ($lan_id == 'fa'){

      echo elgg_view('css/elements/layout_RIGHT', $vars);
      echo elgg_view('css/elements/typography_RIGHT', $vars);
      echo elgg_view('css/elements/navigation_RIGHT', $vars);
      echo elgg_view('css/elements/modules_RIGHT', $vars);
      ...

      }elseif($lan_id == 'en'){

      echo elgg_view('css/elements/layout', $vars);
      echo elgg_view('css/elements/typography', $vars);
      echo elgg_view('css/elements/forms', $vars);
      echo elgg_view('css/elements/navigation', $vars);
      ...

      }
      thanks .i used in socilive.com

    • Currently you're overriding the default CSS so the cache has either RTL of LTR version, but never both.

      Instead of overriding the CSS, you could use elgg_register_css() to register the RTL CSS and then call it with elgg_load_css() in case the logged in user is using a RTL language. That way the the default CSS gets loaded on every page and RTL CSS if user's language requires it.

      (We should really get better RTL support to core...)

  • Telgram is open source .can we use it? see this link. https://core.telegram.org/api
    • it appears to be an app for phones, since when i installed it on my desktop i could not do anything unless i entered a cellphone number.

    • That's the main problem: It has to be attached to a cellphone number.

      Not only that, it can only be attached to ONE device. So if User X uses his cellphone to authenticate with elgg using the Telegram API, his cellphone will no longer be able to use Telegram. User X has to authenticate again on his phone to use Telegram again.

      Not very useful.

Group membership