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

Activity

  • Striver replied on the discussion topic Using Suggested Friends Extended with Profile Manage
    Thanks for taking the time to reply iionly. I'm using Elgg 2.3.10 so maybe Suggested Friends Extended is having problems! I really think that the only way I'm going to have success with my plan is to read my "Learning PHP, MySQL... view reply
  • Striver added a new discussion topic Using Suggested Friends Extended with Profile Manage in the group Beginning Developers
    Hi Everyone, Please can you experts give me some pointers to getting Suggested Friends Extended to work with Profile Manager? I've added e.g Politics (radio buttons Left,Right) as a Profile Field in Profile Manager and that seems to...
    • Firstly, which Elgg version are you using? The Suggested Friends Extended plugin has been released back in the days when Elgg 1.8 was the current version of Elgg. If you have no other more recent version of the plugin it might not fully work on Elgg 2.x without some code updates.

      As I see it in the code, the profile field names to be used for finding matching other users are hardcoded in the code of the Suggested Friends Extended plugin in several places starting in the plugin settings view and then also in the function where the DB queries are done to actually find suitable matches. If I'm not mistaken, it should be possible to use also profile fields added with the Profile Manager plugin when looking for suggestions. But you would have to customize the code of the Suggested Friends Extended plugin accordingly to also include the profile fields you have added in the search. To get it fully working I can only suggest to go over the whole code of the plugin. Firstly, to understand what the code even does, then maybe to make necessary changes for the plugin to work flawless on Elgg 2 and then to customize it for the profile fields you use.

      A possible other approach might be to look into the code of the Group Tools plugin. One feature of this plugin is to suggest groups for joining based on profile field information. Maybe you can extract the relevant code from this plugin to make a new plugin that adds a widget for suggesting other members for friending based on the same criteria instead of suggestion possible relevant groups. The code used might already take all profile fields into account without the need to customize it for the specific profile fields added with Profile Manager.

    • Thanks for taking the time to reply iionly.

      I'm using Elgg 2.3.10 so maybe Suggested Friends Extended is having problems!

      I really think that the only way I'm going to have success with my plan is to read my "Learning PHP, MySQL & Javascript"! In the past I've been quite successful in modifying code I don't fully understand, but feel now I have to go out of my depth to understand quite a complex sequence of interlinked files... and I can't do this without learning more.

      Basically I need to understand how these plugins work (the interaction of the files) then modify the relevant parts... but I need to have developed greater understanding of the languages.

      Anyway, thanks again,

      Striver

       

       

  • Striver replied on the discussion topic Weird.. Access without Login
    I have resolved these problems by reinstalling elgg and ticking the "Restrict pages to logged in users" box on the Admin>Configure>Settings> Advanced Settings page. Striver view reply
  • Striver added a new discussion topic Weird.. Access without Login in the group Beginning Developers
    Elgg 2.3.10 I've been trying to make my site https secure this evening... and (unsucessfuly) "playing" with my .htaccess file. The result of this has been the site isn't rendering correctly and although it's become https...
    • I have resolved these problems by reinstalling elgg and ticking the "Restrict pages to logged in users" box on the Admin>Configure>Settings> Advanced Settings page.

      Striver

    • By default, logged-out users can view a lot of pages. But it depends on the access level set for content what they can actually see on these pages. By default, the "public" access level is pre-selected when posting some content. You can change the default access level in the advanced site settings in the admin area (e.g. change to logged-in users). The users could still select a different access level then (but most won't do if they don't have some reason to do so - like selecting "friends-only"). Any content with an access level different than "public" will not be visible to users who are not logged in even if they can access for example the lists pages.

      The option "Restrict pages to logged in users" makes your site a so called walled garden site. This means that independently of the content-specific access level the access to the whole pages is restricted to logged-in users (with some exceptions like the registration, login, lostpassword and external site pages). Even if a content item would have a "public" access level the whole page where this content item would be displayed is then blocked from anonymous visitors.

  • Hi iionly, Once again, I followed your instructions. Now all is well on the verification front. Thanks hugely... again, Striver view reply
  • Hey iionly, You have cracked it! Thank you very much! As you suggested in your first and second paragraphs I changed the site email address (used when sending system emails) via Administration>Configure>Settings>Basic Settings and the... view reply
  • Hi All, Thanks everyone for your advice and suggestions. I have made a step forward! As suggested by RvR above(big thanks) I read the docs re. missing emails and tested things were set up OK by uploading this: <?php $address =... view reply
  • Thanks for your reply, RvR, I'll look into that. Striver view reply