Everyone Friends v0.1

Release Notes

This mod is based on the "Be Tom" mod by Zac. I hope this is allowed, I have made it very clear and do not claim any copyrights, I'm just submitting this in the hope it will be useful to others.

I have never made a mod before so it probably does not conform to conventions e.t.c. Apologies if I've done anything incorrectly, feel free to change things further.

------------------

The mod works like "Be Tom" but it adds everyone as a friend instead of just one person. I have also added custom code to make it so that the new user also appears on everyone else's friends list.

There is a quick very basic script included which you should run once and then delete before enabling the mod. It removes all friends and then makes everyone a friend with everyone.

------------------

Note that before using this mod, you should disable "Be Tom" if you're currently using it. Instructions for setup are included in the zip file. Hope this is of use to someone!

CAUTION: The script that you run before installing the plugin will remove ALL friends, then make everyone a friend of everyone. As this is new and I'm the only person that has tested it, I'd recommend you make a database backup before proceeding.

  • After installing the plugin, I can no longer add a new user. 

    The following error shows up:

    Query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), (269,'friend',), (204,'friend',), (186,'friend',), (168,'friend',), (150,'fri' at line 1 please inform admin!

    Do you know where this would be happening? I've looked around in different parts of the code and can't find anything that would correspond with this error.

    The plugin worked fine otherwise.

  • Nice plugin for one of the networks I am making. Makes it easy for club or social groups already.

    And thank you for the step by step of looking at the phpAdmin for the MySQL it made it really easy for me to add the table prefix I did during the install.

  • Time for someone to update this as its a very handy plugin?

  • Hi guys sorry for the late re-entry I've just uploaded a minor update new version.

  • Dear tomrice,

    I am a beginner. In your setup instructions it says:

    3) Upload "everyonefriends.php" to your main Elgg installation folder.

    4) Run everyonefriends.php ONCE. It should say "Done". Everyone is now friends with everyone and you can now DELETE that file.

    I have 2 questions:

    A) What is my main Elgg installation folder? Is it the "/" folder or the "www" folder or the "public_html" folder?

    B) How do I "run" the everyonefriends.php ? I use Cyberduck as FTP client.

    Thanks for your help!

  • Hi calroo :)

    A) That would be the folder you uploaded all the Elgg files to, usually public_html

    B) Just visit this page in your browser: http://yourwebsite.com/everyonefriends.php then delete the file via FTP afterwards

Stats

  • Category: User admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2503
  • Recommendations: 5