PDA

View Full Version : Show Thread Enhancements - Anonymous Forum (supports attachments and polls)


BirdOPrey5
06-14-2010, 10:00 PM
WARNING: DO NOT BOTHER WITH THIS MOD. IT HAS A MAJOR FLAW.
Although threads and posts show up as 'Anonymous" the thread listing does not so it shows which user posted last in a thread and who started a thread. Oh well. I can't delete this otherwise I would, maybe a mod can or move this to the graveyard. :(

There is an existing "Anonymous Posting" hack here:
https://vborg.vbsupport.ru/showthread.php?t=177694

There are pros and cons to using that one over this, please read both threads and decide which is best for your situation.
Some Pro's of my mod:

Attachments supported
Polls supported
Mods can't see user's IP address
No need to make an additional user

Some cons of my mod:

Lots of template edits
You must edit template for every style you have public
You should keep a non-user-selectable style for admin purposes
Quoting (and multi-quoting) disabled
I'm not guaranteeing there is no way for a user to find who is posting anonymously, I just know there is no easy/visible/obvious way.
.

That said if anyone finds a way to see who posted please let me know here and I will do my best to fix it.

Even if you go with the other mod you might still want to use my edits for removing the option of mods to see the IP address of anonymous posters.

If you use this please mark as installed.

You need to make a new forum that will be your anonymous posting forum. Get the forum ID number and keep it, you will need to edit the IF statements below to your forum id number.

User's won't be able to quote (or multi-quote) a post because that would reveal the original poster's name.
They can still use the "Reply" button or Quick-Reply if enabled...

WARNING- Due to the nature of the hack any threads that are moved out of your anonymous forum will become non-anonymous and any threads moved into it will become anonymous. The original posters info is still stored in the database, it is simply being 'hidden' by these template edits. Please be ethical and warn your users that people with admin access can in theory see who they are if necessary.

Template edits...

First replace the username with "Anonymous" if your in your anonymous forum... for me I used forumid = 51, set this to your forum id for all if statements below.

Find:

<div id="postmenu_$post[postid]">


Above this add:

<!-- START ANON IF -->
<if condition="$thread['forumid'] == 51">
<span class="bigusername">Anonymous<br /></span>
<else />



Find:

$post[yahooicon] $post[skypeicon]</div>
</div>

Below this add:

</if> <!-- END ANON IF -->


Now kill the infractions and IP address... if you want to keep these mods will be able to see who posted but other users won't.
Find:

$post[onlinestatus]

Above it add:

<if condition="$thread['forumid'] != 51"> <!-- START ANON IF -->


Find:

$post[iplogged]


Below it add

</if> <!-- END ANON IF -->


Now kill the signature in the Anonymous forum. If you've disabled sigs some other way you can skip this part.

Find:

<if condition="$post['signature']">


Replace With

<!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
<if condition="$post['signature'] AND $thread['forumid'] != 51">


Now we need to remove the quote and multi quote buttons in the anon forum else they can be used to identify the original poster.

Find:

<if condition="$post['replylink']">


Replace With

<!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
<if condition="$post['replylink'] AND $thread['forumid'] != 51">


Find:

<if condition="$show['multiquote_post']">


Replace With

<!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
<if condition="$show['multiquote_post'] AND $thread['forumid'] != 51">


Repeat the steps above for all your user selectable styles.

And that's it, you now have an Anonymous forum.
Of course an admin can see who posted what by viewing with an un-altered style, keep this style from' public' use of course.

I'm pretty sure I got every way for the users go see who posted, less confident about mods but I can't think of any way off hand besides moving athread to a different forum in which case all bets are off.

Please post here if you find ways around the mod and I will update as necessary.

BirdOPrey5
06-15-2010, 03:49 AM
Posted to report thread to mod. :(