Friends

No friends yet.

Group membership

Activity

  • Ori replied on the discussion topic plugin for subgroups
    thank you and sorry view reply
  • Ori added a new discussion topic plugin for subgroups in the group Beginning Developers
    hi all. for my project i want to implement subgroups functionality i.e. group within a group can anyone recommend a plugin that does it successfully? everything i've seen was pretty outdated...
  • Ori added a new discussion topic plugin for subgroups in the group Beginning Developers
    hi all. for my project i want to implement subgroups functionality i.e. group within a group can anyone recommend a plugin that does it successfully? everything i've seen was pretty outdated...
  • Ori added a new discussion topic Hebrew chars turn to gibberish with elgg in the group Beginning Developers
    Hi all. In my project i'm giving the option to write messages and posts in Hebrew. The whole site remains in english so i don't want to change the site's language, just show those hebrew letters on the river and anywhere...
    • I have not really any experience with Hebrew (or more generally UTF8 encoding). I think the problem you have here is that you can't work with ASCII codes at all as Hebrew characters are not included in this standard. It's the UTF8 encoding you need to work with. What makes it much more complicated is that the characters can have different lengths in UTF8 encoding (up to 4 bytes) whereas PHP relies on 1 byte/character. The Hebrew characters seem to be of 2 byte length. Problem here is that PHP is likely to fail when you try to compare a single character out of a string that can contain multi-byte characters.

      I don't know if PHP 7 might fully support multi-byte characters / UTF8 out of the box. Then it might work to work with strings regardless of encoding. If not on PHP 7 (or maybe even then) you might have to use the functionality of the mbstring PHP extension. Unfortunately, I can't give you any advice here as I never worked with the functions of this extension. Maybe it helps to google to learn how to make use of the mbstring functionality.

      Another options could be to make use of the Extended Tinymce plugin (https://elgg.org/plugins/782028) and modify the default editor config used by it. Tinymce has a "directionality" plugin (https://www.tinymce.com/docs/plugins/directionality/) that adds toolbar options to switch between ltr and rtl input. It would be necessary to add this plugin to the list of plugins loaded in the config of the Extended Tinymce plugin and to add the corresponding toolbar options. I have to say though that I never tried this plugin, so I don't know how it works exactly. The CKEditor (that already comes bundled with Elgg) might have a similar functionality. But I have no experience with this editor.

  • Ori added a new discussion topic live-like dynamic behavior in elgg? in the group Beginning Developers
    Hi all. I just started working on my very first project in ELGG (that's an existing project package that i got and now I'm continuing development), also I'm pretty new to PHP so i hope my question isn't a dead end. I...
  • Ori added a new discussion topic Related Groups Plugin? in the group Plugin Development
    Hi all. I'm looking for a good (and more importantly - not outdated) related groups plugin. One that can suggest users of groups that are similar to the group they have arrived to. elgg 2 Thanks
  • Ori joined the group Hebrew
  • Ori replied on the discussion topic where are my debug logs??
    thanks! view reply