Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • olive added a new discussion topic How to add thumbnail to activity page for market plugin? in the group Beginning Developers
    Hi  in the market plugin, http://community.elgg.org/plugins/407901/1.8f/market-plugin When I upload an image I would like to have it show up in the River with a thumbnail of the picture. I use add this  code to the...
    • THis is how it's done in mod/market/views/default/river/object/market/create.php :

      <?php
      /**
      * Market river view.
      */

      $object = $vars['item']->getObjectEntity();
      $excerpt = strip_tags($object->excerpt);
      $excerpt = elgg_get_excerpt($excerpt);

      $img = elgg_view('output/img', array(
          'src' => "market/image/{$object->guid}/medium/{$object->time_updated}",
          'class' => 'elgg-photo',
      ));
      $image = elgg_view('output/url', array(
          'href' => "market/view/{$object->guid}/" . elgg_get_friendly_title($object->title),
          'text' => $img,
      ));

      echo elgg_view('river/item', array(
          'item' => $vars['item'],
          'message' => $excerpt,
          'attachments' => $image,
      ));

  • olive added a new discussion topic Images are not showing in the group Beginning Developers
    Hi I move my elgg ite to another server, but the images are not showing, I set the data folder in database, but the images of avatar, files and gallery are not showing , when I upload new image , the image is not showing too,only the very old...
  • olive added a new discussion topic Edit user validation email in the group Beginning Developers
    Hi In the language file of User validation email there is  three %s item that the first and third are the name of  site and the second is user validation link: // Please confirm your email address by clicking on the link...
    • The code that sends the validation email is in the file uservalidationbyemail/lib/functions.php. The line

      $body = elgg_echo('email:validate:body', array($user->name, $site->name, $link, $site->name, $site->url));

      creates the email body.

      If you want to change the order of the arguments or don't want to use any of them you would to have modify the array entries accordingly.

  • olive replied on the discussion topic How can I right to left email
    I solved my problem with this plugin: http://community.elgg.org/plugins/709492/2.3.1/html-email-handler view reply
  • olive replied on the discussion topic How can I right to left email
    Hi Does anyone know the answer? My language is right to left. And I want the Email that is sent be right to left. view reply
  • olive added a new discussion topic how to upgrade elgg? in the group Elgg Technical Support
    Hi elgg docs says that upload new version  and Overwrite your existing Elgg files, if I overwite my file my grafics folder and mod folder are losted! is it true? also when I overwite I get this error Cannot move a directory...
    • Folders won't get erased when overwriting the files. Overwriting the existing Elgg version with a newer version will only replace the files included in Elgg core within these folders, i.e. any 3rd party plugins in mod or any additional files in _graphics or elsewhere will stay untouched. Also, the files engine/settings.php and .htaccess won't be replaced as they are not included in the Elgg zip archive. So, your site should continue to work after overwriting the files and running upgrade.php. If you want to be sure that no obsolete files/folders remain when upgrading your site you could erase the old version (only Elgg core) before copying the new version on the server. That's what I do normally: I erase all files in Elgg's root folder except .htaccess. I erase all folders except engine and mod. Then I erase everything within the engine folder exept settings.php and all bundled plugin folders in mod. Now I can copy the new version into the Elgg folder being sure that now obsolete files remain. Last thing to do is to check any possible updates necessary in settings.php (compared with settings.example.php) and .htaccess (compared with htaccess_dist), then running upgrade.php. Done! Of course, this will only work easily if you haven't made any changes in any Elgg core files you would need to re-edit into the same files in the new Elgg version.

      If overwriting the files / directories fails for you, this might be caused by the tool you use for moving / copying the files. First, try to "copy" instead of "move" as it might only be a matter of file/directory access permissions. If this also fails to work you might need to use another tool for copying the files.

  • olive joined the group Elgg Technical Support
  • olive added a new discussion topic How to add select language in login form in the group Beginning Developers
    Hi my site is multilingual and I want the user select his language when he wants to login, Is there possible?
    • Hey. my site is multilingual also, every country is welcome. Would be very good to be able to have a geo script that detects their default language when the page is loaded automatically, but also a pull down menu to select language in the corner would be awesome with a small flag by the language.

      I am hoping someone can create a plugin one day with all kinds of language packs included and a way for the end-user to be able to select a desired one from a menu, this would be super.

    • possible? yes
      this topic is kinda several years old
      i had coded some language funkyness
      for purus' french learning elgg-site ~1 yr back
      and then promptly lost all the code ;o(
      no idea where that code hides @now but it did all
      yr language detect stuff and all ther cwapzrz too!

  • olive joined the group Tidypics Photo Gallery Plugin
  • olive added a new discussion topic How can I right to left email in the group Plugin Development
    Hi The email is sent to the user when he likes something or... , is left to right. how can I fix it?
  • olive replied on the discussion topic How can I right to left the "characters remaining"
    I found solution, this file is in thewire folder. view reply
  • olive added a new discussion topic How can I right to left the "characters remaining" in the group Plugin Development
    HiI use facebook Theme and I want to right to left the "characters remaining" in the wall section,I get the style with firebug:#thewire-characters-remaining {  color: #333333;  float: right;  font-weight: bold;  text-align:...
  • olive joined the group Plugin Development
  • olive added a new discussion topic add diffrent background color to homepage in the group Beginning Developers
    Hi I use Liang Lee Main Page for my homepage and I want to add diffrent background-color from other page. but all pages get the same style for backgroud. how can I do that?
  • olive joined the group Beginning Developers