Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
Prev Previous Post   Next Post Next
  #7  
Old 06-14-2010, 08:31 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm actually going to make an anonymous forum for my site as well, will let you know how it goes.

--------------- Added [DATE]1276552318[/DATE] at [TIME]1276552318[/TIME] ---------------

Note- had a bug in the code, updated the IF statement to: <if condition="$thread['forumid'] == 51">

--------------- Added [DATE]1276552695[/DATE] at [TIME]1276552695[/TIME] ---------------

OK That code is working to remote the username, but I can't get it to work to remove anything else... will work on it.

--------------- Added [DATE]1276557392[/DATE] at [TIME]1276557392[/TIME] ---------------

OK, after starting this became a bigger project then I thought- I kept having to remove different ways of identifying the poster, now I'm pretty sure I got it.

Instructions below:

OK there are quite a few edits to make, but if you do this right it works.
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...

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:
Code:
<div id="postmenu_$post[postid]">
ABOVE this add:
Code:
<!-- START ANON IF -->
<if condition="$thread['forumid'] == 51">
<span class="bigusername">Anonymous<br /></span>
<else />

Find:
Code:
$post[yahooicon] $post[skypeicon]</div>
			</div>
Below this add:
Code:
</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:
Code:
$post[onlinestatus]
ABOVE it add:
Code:
<if condition="$thread['forumid'] != 51"> <!-- START ANON IF -->
Find:
Code:
$post[iplogged]
Below it add
Code:
</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:
Code:
<if condition="$post['signature']">
Replace With
Code:
    <!-- 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:
Code:
   		<if condition="$post['replylink']">
Replace With
Code:
    <!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
		<if condition="$post['replylink'] AND $thread['forumid'] != 51">
Find:
Code:
<if condition="$show['multiquote_post']">
Replace With
Code:
<!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
<if condition="$show['multiquote_post'] AND $thread['forumid'] != 51">
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.
On the flip side any threads moved into this forum will become fully anonymous.

--------------- Added [DATE]1276563519[/DATE] at [TIME]1276563519[/TIME] ---------------

after all that I see there is a anonymous posting mod here:
https://vborg.vbsupport.ru/showthread.php?t=177694

It's probably better to use that though you still might want to use my edits to kill the ip address from being viewable to moderators...also my implementation allows for attachments and polls, the mod doesn't.

--------------- Added [DATE]1276579592[/DATE] at [TIME]1276579592[/TIME] ---------------

Don't bother with the above edits...
I forgot this does nothing for the other pages that display the threads, you can still see who started the thread and the last person to post in it... There would be too many edits IMO to try and fix this so your best bet is the mod I linked to.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05243 seconds
  • Memory Usage 2,468KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (16)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete