Welcome!
Log In
Create A New Profile
Home
>
Outdated forums
>
Phorum 5.1/5.0
>
5.1 Phorum Modules / Add-Ons
>
Topic
>
Page 3
An option for registered users to post anonymously?
Posted by hkbb
|
Re: An option for registered users to post anonymously? February 21, 2006 04:31PM |
Registered: 4 years ago Posts: 7 |
OK, so here it is.
Create a new user. Name it "Anonymous", make its password very hard to guess or random (it will never be logged in). Make all of its details anonymous as well (anonymous.user@yoursite.com is a good e-mail). If you have required e-mail address confirmation, you could use one of the many anonymous one-use e-mail address services out there.
Now is the slightly annoying part. You will need to go into your database structure. Go to the table phorum_users, find the Anonymous user, and edit that entry. Change its user_id to 0.
All you need to do now is install and activate this mod:
[filer.case.edu]
And finally, there is a small addition to the template posting_messageform.tpl.
After:
Add:
EDIT: Forgot the template change. Sorry :p
--bsiegel
Edited 2 time(s). Last edit at 03/05/2006 11:34PM by bsiegel.
Create a new user. Name it "Anonymous", make its password very hard to guess or random (it will never be logged in). Make all of its details anonymous as well (anonymous.user@yoursite.com is a good e-mail). If you have required e-mail address confirmation, you could use one of the many anonymous one-use e-mail address services out there.
Now is the slightly annoying part. You will need to go into your database structure. Go to the table phorum_users, find the Anonymous user, and edit that entry. Change its user_id to 0.
All you need to do now is install and activate this mod:
[filer.case.edu]
And finally, there is a small addition to the template posting_messageform.tpl.
After:
{! Show signature =========================================================== }
{IF POST->user_id}
<tr>
<td colspan="2">
<input type="checkbox" name="show_signature" value="1"
{IF POST->show_signature} checked="checked"{/IF} />
{LANG->AddSig}
</td>
</tr>
{/IF}
Add:
{! Anon Post Mod ============================================================= }
{IF mod_anon_post->enabled}
{IF POST->user_id}
<tr>
<td colspan="2">
<input type="checkbox" name="post_anonymously" value="1"
{IF POST->post_anonymously} checked="checked"{/IF} />
{LANG->mod_anon_post->PostAnon}
</td>
</tr>
{/IF}
{/IF}
EDIT: Forgot the template change. Sorry :p
--bsiegel
Edited 2 time(s). Last edit at 03/05/2006 11:34PM by bsiegel.
|
February 21, 2006 04:37PM |
Admin Registered: 5 years ago Posts: 7,398 |
I miss the part in the mod where an option is added to the post form where the user can specify that the posting should be done anonymously.
This can be done by changing the templates, but there are also some hooks in the posting editor templates that you can use to extend that form from the module.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
This can be done by changing the templates, but there are also some hooks in the posting editor templates that you can use to extend that form from the module.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: An option for registered users to post anonymously? February 21, 2006 05:32PM |
Registered: 4 years ago Posts: 7 |
Sorry, only registered users may post in this forum.
