Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Zoints Anonymous Posting - Improved privacy for members Details »»
Zoints Anonymous Posting - Improved privacy for members
Version: 1.1, by Zoints Zoints is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.0 Rating:
Released: 04-30-2008 Last Update: Never Installs: 195
 
No support by the author.

Have you ever wanted to discuss something on a forum but never posted because you didn't want people to know it was you? To solve this problem, we created an anonymous posting hack.

Via the admin control panel, you can easily choose which forum(s) allows for anonymous posting.




For anonymous enabled forums, your members then get this handly little checkbox (unchecked by default) when making a new thread or post.




If they check the box, then their post is created under the account you setup and assign as the anonymous poster. I personally created an "anonymous" username, but you can create whatever you want.




As forum owners, we all know that a few members will choose to screw around with this feature. Therefore we created an easy means to identify who created an anonymous thread/post should the need arise. Please be ethical and tell your members you can see who posted anonymously should the need arise. You can check the log by going here:




And the log looks something like this:



Official support for this modification will take place at http://network.zoints.com in this forum.


Enjoy, click install, check out Zoints' other hacks, have a great day, and all that happy jive.

Download Now

File Type: zip zointsanony-1.1-3.7.x.zip (10.5 KB, 1228 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 03-10-2014, 11:03 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not seeing an option to make a post anonymous when posting, and I've selected the forums I've wanted.
Reply With Quote
  #183  
Old 03-11-2014, 01:40 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
I'm not seeing an option to make a post anonymous when posting, and I've selected the forums I've wanted.
Did you do the Template edits?
Reply With Quote
  #184  
Old 03-11-2014, 02:47 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
Did you do the Template edits?
Were there manual edits that you had to do?
Reply With Quote
  #185  
Old 04-04-2014, 04:57 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I looked and I can't find the following in newpost_usernamecode:

Code:
		<phrase 1="member.php?$session[sessionurl]u=$bbuserinfo[userid]" 2="$bbuserinfo[username]">$vbphrase[logged_in_as_x]</phrase>
Reply With Quote
  #186  
Old 04-04-2014, 05:47 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont know if this will help but I got it to work in newpost_username template by placing the code that Dragonbyte Tech mentioned here: https://vborg.vbsupport.ru/showthrea...11#post2161211 at the bottom of the template, it what worked for us.

Save your template first before editing so you can revert it if anything goes wrong.

newpost_username template:

PHP Code:
<vb:if condition="!$show['member']">
    <
div class="blockrow">
        <
label for="username">{vb:rawphrase your_username}:</label>
        <
input type="text" class="primary textbox" id="username" name="username" value="{vb:raw bbuserinfo.username}" tabindex="1" />
    
        <
vb:if condition="$_SERVER['REQUEST_METHOD'] != 'POST'">
            <
class="description"><a href="javascript://" onclick="return highlight_login_box();">{vb:rawphrase click_here_to_log_in}</a></p>
        </
vb:if>
<
vb:else />
<
vb:if condition="$show['anonymous']">
              {
vb:phrase anon_posting_as} {vb:raw bbuserinfo.musername} <br />
              <
label for="cb_anonymous"><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1"  <vb:if condition="$vbulletin->GPC['anonymous']">checked="checked"</vb:if>/>{vb:phrase zointsanony_anonymous_post}</label>
</
vb:if>
    </
div>
</
vb:if> 
Reply With Quote
  #187  
Old 04-04-2014, 08:10 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
So I looked and I can't find the following in newpost_usernamecode:

Code:
		<phrase 1="member.php?$session[sessionurl]u=$bbuserinfo[userid]" 2="$bbuserinfo[username]">$vbphrase[logged_in_as_x]</phrase>
Do yu have VB 3.7 or 3.8? This code won't exist in VB 4.x.
Reply With Quote
  #188  
Old 04-05-2014, 04:09 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Do yu have VB 3.7 or 3.8? This code won't exist in VB 4.x.
4.2.2
Reply With Quote
  #189  
Old 05-06-2014, 06:14 PM
Lon's Avatar
Lon Lon is offline
 
Join Date: May 2010
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
4.2.2
See the following:

Quote:
Originally Posted by DragonByte Tech View Post
I was going to rewrite this from scratch so I could add some usergroup permissions to it but can't find a way to make it work without doing pretty much the same thing. The original code is sound though, just need to make one change to get it to work on vB4

I wanted it to display in the additional options box though so instead of editing the newpost_usernamecode template I edited
newpost_disablesmiliesoption
After
Code:
<li><label for="cb_disablesmilies"><input type="checkbox" name="disablesmilies" value="1" id="cb_disablesmilies" {vb:raw checked.disablesmilies} tabindex="1" /> {vb:rawphrase disable_smilies_in_text}</label></li>
I added
Code:
<vb:if condition="$show['anonymous']"><div><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1" /> {vb:rawphrase zointsanony_anonymous_post}</div></vb:if>
That's it, should see a checkbox to post anonymously in the additional options of the editor under the option to disable smilies. The rest of the code worked fine for me on 4.0.8 and 4.1.1

Dylan
This works for 4.2.2 PL1 if you follow the instructions including the change to "ENGINE=MYISAM".

I may take over and re-code the whole modification from scratch as well as adding a few more options but we'll see. I'll have it create a masked name when the user posts or something different. I'll add hiding IP's as an option too.
Reply With Quote
Благодарность от:
KimK
  #190  
Old 09-20-2014, 11:32 AM
KimK KimK is offline
 
Join Date: Feb 2012
Location: Oregon
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

For anyone who wants to add/enable a check box for post anonymously at the Quick Reply box, Here's how:

Tested and working with vBulletin 4.2.2 Patch Level 1.

It just requires one template change and 1 plugin to be created. The plugin is what allows the if statement to work on the showthread page (where the quick reply is).

1. Go to your admincp
2. Navigate to Plugins & Products, and then into Add New Plugin
3. Enter the following:

Product: Zoints Anonymous Posting
Hook Location: showthread_start
Title: Enable Anonymous Posting (Quick Reply)
Execution Order: 5
Plugin PHP Code:

PHP Code:

$show
['anonymous'] = false;
if (
$vbulletin->options['zointsanony_enabled'] AND $vbulletin->options['zointsanony_userid'])
{
    
$anonyforums explode(',',$vbulletin->options['zointsanony_forums']);
    foreach (
$anonyforums AS $fid)
    {
        if (
$fid == $forumid)
        {
            
$show['anonymous'] = true;
        }
    }

4. Set plugin to Active.
5. Save
6. Go to your Style Manager and edit the following template SHOWTHREAD.

Find:

PHP Code:

<li><label for="cb_openclose">
                    <
input type="checkbox" name="openclose" id="cb_openclose" value="1" tabindex="1" />
                    <
vb:if condition="$show['closethread']">{vb:rawphrase close_this_thread}<vb:else />{vb:rawphrase reopen_this_thread}</vb:if>
                </
label></li

Below, Add:


PHP Code:

<vb:if condition="$show['anonymous']"><div><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1" checked="checked" /> {vb:rawphrase zointsanony_anonymous_post}</div></vb:if> 

7. Save

Now go to a thread in a forum where you have Anonymous posting enabled, and you should see the Quick Reply Anonymous option at Quick Reply box.

Thanks to vespillo and New Joe for the help. I collected the information above from their replies.
Reply With Quote
Благодарность от:
AURFSCAN
  #191  
Old 03-01-2015, 06:08 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a brain fart on how to get this to work on 4.2.2. :P

Also the only way to know who the poster is can only be done via the Admin CP?
Reply With Quote
Reply

Thread Tools

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 08:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08250 seconds
  • Memory Usage 2,363KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (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_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
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete