Firefox PHP

Module: Make Profiles Private

Posted by Ravenswood 
All files from this thread

File Name File Size   Posted by Date  
make_profiles_private-1.0.1.tar.gz 1.9 KB open | download Ravenswood 07/26/2009 Read message
make_profiles_private-1.0.1.zip 4.3 KB open | download Ravenswood 07/26/2009 Read message
french.php 257 bytes open | download Anonymous User 07/26/2009 Read message
Module: Make Profiles Private
July 26, 2009 12:34AM
Some Phorum admins may have private forums where users must register and be logged-in to view messages. For obvious reasons, these admins also want to limit who can view the profiles of users. I created this module to do that. When activated, this module allows only users who are logged-in to view profiles. Users who are not registered will receive an error notice.

Note, there are no settings on this module. When it is activated, all profiles are hidden from anonymous users. It is not possible for individual users to toggle their profile to public or private. That may be something I may add to the module in the future, but for now this module globally sets all profiles to registered-users only.

Changelog:
----------

2009-07-25 v1.0.1 by Maurice Makaay

   - Fixed a little bug that caused the login check to fail.

   - After logging in, the browser was sent back to the "you need to login"
     page. Now, the user that logged in will be redirected to the
     profile page that the user was originally visiting.

   - Implemented language support for the module.

   - Added a README and Changelog.

2009-07-25 v1.0.0 by Ravenswood

   - Initial release

-------------------------------------------------------------------
"When given a choice, always choose monkeys."



Edited 2 time(s). Last edit at 07/26/2009 03:12AM by Maurice Makaay.
Attachments:
open | download - make_profiles_private-1.0.1.tar.gz (1.9 KB)
open | download - make_profiles_private-1.0.1.zip (4.3 KB)
Re: Module: Make Profiles Private
July 26, 2009 03:11AM
I took the module and fixed a few issues. I also implemented language support and repackaged the module to version 1.0.1. See the changelog in the first message.

BTW: I noticed that your zip contained the module's files, but not the module's directory. Standard distribution contains the full directory that goes in the mods directory.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Make Profiles Private
July 26, 2009 05:11AM
Quote
Maurice Makaay
I took the module and fixed a few issues. I also implemented language support and repackaged the module to version 1.0.1. See the changelog in the first message.

Thank-you for catching these and taking the time to fix them.

Quote
Maurice Makaay
BTW: I noticed that your zip contained the module's files, but not the module's directory. Standard distribution contains the full directory that goes in the mods directory.

OK. I'll do that from now on. Thanks.

Thinking about it, that's how the mods I've downloaded have been, so I should have known this.

-------------------------------------------------------------------
"When given a choice, always choose monkeys."



Edited 1 time(s). Last edit at 07/26/2009 05:12AM by Ravenswood.
Anonymous User
Re: Module: Make Profiles Private
July 26, 2009 02:14PM
Thanks, it was what i was searching.

Here in attachment the french.php for the module.
Attachments:
open | download - french.php (257 bytes)
pat
Re: Module: Make Profiles Private
August 24, 2012 09:49PM
Can I use this to make the user map of the "Google Maps" Module accessible for registered user only, as well ?
Sorry, only registered users may post in this forum.

Click here to login