Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #192  
Old 03-31-2015, 05:02 PM
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Location: Woodland Hills, Ca
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it working on 4.2.3! Thanks for the help posted here by everyone!
Reply With Quote
  #193  
Old 04-13-2015, 07:40 PM
biftek biftek is offline
 
Join Date: Apr 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have tried everything , used to have it working before i applied the patch of (vBulletin 4.2.2 Patch Level 4)
Reply With Quote
  #194  
Old 04-19-2015, 11:09 AM
biftek biftek is offline
 
Join Date: Apr 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it working , turns out you need to put in the userid , i had it set at the wrong id default of 0 , which caused the plugin not to work , once i changed it to my userid i had set up when i first install the plugin a few months ago , it worked again
Reply With Quote
  #195  
Old 07-30-2015, 07:38 AM
akz645 akz645 is offline
 
Join Date: Jul 2015
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
PHP Warning: mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MYISAM' at line 9 in ..../includes/class_core.php on line 1394
Quote:
Database error in vBulletin 4.2.3:

Invalid SQL:

CREATE TABLE anonymous_log (
logid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
userid INT(10) UNSIGNED NOT NULL,
dateline INT(10) UNSIGNED NOT NULL,
postid INT(10) UNSIGNED NOT NULL,
threadid INT(10) UNSIGNED NOT NULL,
forumid SMALLINT(5) UNSIGNED NOT NULL,
PRIMARY KEY (logid)
) TYPE=MYISAM;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MYISAM' at line 9
Error Number : 1064
Request Date : Thursday, July 30th 2015 @ 05:36:17 AM
Error Date : Thursday, July 30th 2015 @ 05:36:17 AM
Script : [REMOVED]
Referrer : [REMOVED]
IP Address : [REMOVED]
Username : [REMOVED]
Classname : vB_Database_MySQLi
MySQL Version : 5.5.40-MariaDB-cll-lve
If you get that error when installing, it's because you need to change the XML file (I used notepad++ to change it).
Quote:
Originally Posted by mboyce84 View Post
Open the XML file and change on line 24 from:

TYPE=MyISAM

and replace with:

ENGINE=MyISAM
Alternatively, just download the XML file I uploaded. I did the change for you

& then do this:
Quote:
Originally Posted by DragonByte Tech View Post
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
Attached Files
File Type: xml product-zointsanony_3.7.xml (10.1 KB, 9 views)
Reply With Quote
  #196  
Old 07-30-2015, 08:22 AM
akz645 akz645 is offline
 
Join Date: Jul 2015
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KimK View Post
For anyone who wants to add/enable a check box for post anonymously at the Quick Reply box, Here's how:
Okay there is two issues with your second PHP:
1) Users who don't have permission to open/close the thread = the Anon checkbox doesn't appear for them.
2) The checkbox is ticked. I'd rather have it unticked.

Quote:
Originally Posted by KimK View Post
For anyone who wants to add/enable a check box for post anonymously at the Quick Reply box, Here's how:

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.
Quote:
Originally Posted by MarkFL View Post
Find:
HTML Code:
		<vb:if condition="$show['openclose']">
		<div class="openclose">
			<ul class="checkradio">
				<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>
			</ul>
		</div>
		</vb:if>
And below this, add:

HTML Code:
		<vb:if condition="$show['anonymous']">
			<div class="openclose">
				<ul class="checkradio">
					<li>
						<input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1" /> {vb:rawphrase zointsanony_anonymous_post}
					</li>
				</ul>
			</div>
		</vb:if>
Quote:
Originally Posted by KimK View Post
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.
Tested and working with vBulletin 4.2.3
Thanks to MarkFL for the additional help. Although I did actually manage to do it myself, it wasn't as clean as his solution.

I uploaded a screenshot of it being added, to help avoid confusion for where the code should be added.
Enjoy
Attached Images
File Type: jpg SHOWTHREAD Zoint Quickreply improved.jpg (52.9 KB, 0 views)
Reply With Quote
  #197  
Old 08-02-2015, 01:24 AM
akz645 akz645 is offline
 
Join Date: Jul 2015
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zoints View Post
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:
[Image no longer available]

And the log looks something like this:
[Image no longer available]
www.[YOURSITE]/admincp/anonylog.php?do=view

Bugs:
- The date is correct, but the post number is not. That was post #1 not post #10.
- Only threads created using the anon feature will appear, posts will not.

How to remove IP address from appearing under certain forum sections from moderators:
https://vborg.vbsupport.ru/showpost....&postcount=107
&
https://vborg.vbsupport.ru/showpost....&postcount=175

How to make this plugin, usergroup specific for those who can anon post:
https://vborg.vbsupport.ru/showpost....27&postcount=4
So step 6, you would add this instead:
Quote:
Originally Posted by MarkFL View Post
HTML Code:
		<vb:if condition="$show['anonymous'] and is_member_of($bbuserinfo, X,Y,...)">
			<div class="openclose">
				<ul class="checkradio">
					<li>
						<input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1" /> {vb:rawphrase zointsanony_anonymous_post}
					</li>
				</ul>
			</div>
		</vb:if>
Note: Just for the forums you highlight, ^those are the usergroups (X,Y....etc) that can see the anonymous checkbox.
So no, it won't allow you to have multiple forums, each having their own usergroup permissions.
Reply With Quote
  #198  
Old 09-24-2015, 01:42 PM
ndoktoruser ndoktoruser is offline
 
Join Date: Aug 2015
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello guys, I am currently trying to migrate the functionality to vBulletin 5.
Is anyone trying to do the same?

I am stuck trying to save that the post was anonymous, described in this post.
Reply With Quote
  #199  
Old 01-02-2016, 03:43 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be really awesome is to allow who can see the username of the actual poster in the postbit.
Reply With Quote
  #200  
Old 01-05-2016, 01:35 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #201  
Old 01-05-2016, 05:05 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
Bump.
I have attached an add-on to this product that will:
  • Display the "True Author" of anonymously made posts to selected usergroups in the postbit. You select these groups in the product settings.
  • Update the "anonymous_log" table for posts made using the "Quick Reply." This may only be an issue for vB 4.x users.
Attached Files
File Type: xml product-markflzointsaddon.xml (4.4 KB, 12 views)
Reply With Quote
Reply


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:36 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.06395 seconds
  • Memory Usage 2,372KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (3)bbcode_html
  • (1)bbcode_php
  • (11)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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_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
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete