Version: 1.1, by Zoints
Developer Last Online: Apr 2009
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:
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
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
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
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
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
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
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:
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
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]
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.
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.