Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Allow Your Users to Post Anonymously Without Logging Out Details »
Allow Your Users to Post Anonymously Without Logging Out
Mod Version: 1.00, by amykhar (Member) amykhar is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 21
Released: 20 Mar 2005 Last Update: 24 Mar 2005 Downloads: 33
Not Supported Is in Beta Stage  

When I released my Post As Anonymous Mod Hack (now obsolete), many users wanted the ability to allow ANY user to post anonymously. This hack fulfils that request.

It is a VERY long and difficult hack to install. Therefore, I have written the instruction file radically different than any I have ever written before. This one is written in discrete steps. Rather than having you blindly edit files and hope everything works when it's done, I have you do the hack in steps and TEST each step.

IF YOU DO NOT KNOW HOW TO CODE, I SUGGEST YOU POST A SERVICE REQUEST AND ASK SOMEBODY TO INSTALL THIS FOR YOU.

Features:
A. Control anonymous posting at the board, forum, usergroup, and user level.

This means that you can use the anonymous posting in any combination that you can use features such as allowing users to reply to posts.

B. Users can post anonymously, but still subscribe to the thread.

C. You can set the anonymous username per usergroup. For example, Admins can post as Anonymous Admin, while regular users post as Anonymous Registered Member.

D. Mods and Admins can see who truly posted.

E. Users can see their name on their own anonymous post.

F. The "edited by" message does not show on anonymous posts.

G. Lastposter works properly.

H. Search will not pull up a user's anonymous posts under their name. But, you can search for all anonymous posts.

I. Anonymous posts are marked so that you don't forget the post is anonymous and "out" yourself.

J. Anonymous posts can be safely quoted.

I will not support this hack for any version of vbulletin other than 3.0.7.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	checkbox.gif
Views:	297
Size:	10.7 KB
ID:	24873   Click image for larger version

Name:	forumoptions.gif
Views:	288
Size:	16.0 KB
ID:	24874   Click image for larger version

Name:	forumperms.gif
Views:	236
Size:	15.1 KB
ID:	24875   Click image for larger version

Name:	usergroupname.gif
Views:	209
Size:	4.4 KB
ID:	24876  

Click image for larger version

Name:	userperms.gif
Views:	201
Size:	1.7 KB
ID:	24877   Click image for larger version

Name:	postbit.gif
Views:	271
Size:	17.3 KB
ID:	24951  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 25 Mar 2005, 00:03
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
The query at the end updates the permissions for all user groups. You're going to have to double check your permission settings at every level. There is no difference in the code between admins and any other user group. If it works for one, it works for all if you have your settings correct.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #62  
Old 25 Mar 2005, 11:36
Greebo Greebo is offline
 
Join Date: Dec 2004
I just want to thank you again for developing this hack!! This is working great so far!
Reply With Quote
  #63  
Old 28 Mar 2005, 17:49
Greebo Greebo is offline
 
Join Date: Dec 2004
Ok, the modification to editpost.php has a logic error in it.

You test two conditions in a nested double test:
Was post made anon?
- Yes
-- was it anon before?
---Yes set a bunch of vars incl $threadupdate
---No set a bunch of vars incl $threadupdate
- No
-- was it anon before?
---Yes set a bunch of vars incl $threadupdate
---No set a bunch of vars incl $threadupdate

Then you later have logic twice to update the thread
// if (!empty($threadupdate))

$threadupdate will never be empty in either case.

Net effect: When a thread is posted and someone replies to it and then edits their reply, thread.postusername and thread.postuserid are overwridden inappropriately and the 2nd threadupdate . Thread should only be updated with anon/real user names and IDs if the OP is edited.


This is the change I made to the entire code set of editpost.php following delete_post_index($postid);

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You will see, I wrapped all updates to $threadupdate in a conditional validating that the post edited is the first post in the thread.

I also removed "postuserid = $edit[userid]" in all spots in that code (it was in every update to $threadupdate).

Last edited by Greebo; 28 Mar 2005 at 18:19. Reason: Revising bad untested code.
Reply With Quote
  #64  
Old 31 Mar 2005, 14:32
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Ok, I've installed this hack, and it seems as though it's not functioning properly... can someone please assist me with this?

Here's what's happening...
I can post as anon via New Thread, Reply & Quick Reply.
Anon shows up as the username, however, the avatars still show, even when logged out. Also, the "location" shows up, and for some reason, the Anon avatar doesn't work, and the anon user title doesn't either. The other issue is that when you click on the Anonymous username, and view profile, it shows the REAL poster's profile.

I've tested this as Admin / Mod & User. Even Not Logged In users can see the Anon's REAL avatar / location etc...


Did I miss a step somewhere around the Postbit or showthread? I'm using the Postbit Legacy, on vb3.07.
Reply With Quote
  #65  
Old 31 Mar 2005, 18:29
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Well, if you have followed the directions, you have not completely installed the hack because this problem would have shown up during testing. What step are you on? That makes it easier to diagnose what could be going on. Also, I need a link to a thread that is having the problem.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #66  
Old 01 Apr 2005, 08:51
Tsukasa2k5 Tsukasa2k5 is offline
 
Join Date: Jan 2005
Hi,

Excellent work, but I've a question:
If more users than one can answer anonymous a thread it will be usefull, that the users know, who had answerd. Maybe with a random number after the "Anonymous Registered User" username.

For example:

1. Post:
Anonymous Registered User [777]
Hi there

2. Post:
Anonymous Registered User [888]
What are you doing ?

3. Post:
Anonymous Registered User [777]
Nothing


So the other users know that the 1. and 3. post was posted by the same user.

I hope you understand what i mean :nervous:
Reply With Quote
  #67  
Old 01 Apr 2005, 14:16
spence2 spence2 is offline
 
Join Date: Jun 2002
I understand what you mean...and it sounds like a useful mod to the hack. Less confusion in the thread regarding who's replying to whom.
Reply With Quote
  #68  
Old 01 Apr 2005, 16:08
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Feel free to do it as an addon, but this hack is already massively complicated. I'm not sure users could take any more changes; so I won't be implementing that at this juncture.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #69  
Old 01 Apr 2005, 19:30
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
I just found this hack today and *funny* I am working on the same for some months now and will be going to finish it soon.

But it is less complicated, I just took a look on your instructions and how you did it *wow*

My "Anonymity-Hack" will bring that requested feature along with it and even some more, while it also does not need any additional table in the database and less queries.



I just started beta-testing my hack ...



Anyway - nice work, when mine is finished we should compare them
Reply With Quote
  #70  
Old 01 Apr 2005, 23:23
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Originally Posted by amykhar
Well, if you have followed the directions, you have not completely installed the hack because this problem would have shown up during testing. What step are you on? That makes it easier to diagnose what could be going on. Also, I need a link to a thread that is having the problem.
I went top to bottom of your instructions, but it may be possible that something got missed, as it was around 4:00AM when I installed it, and I was starting to get tired. Let me ask you this... DOES your hack change the AVATAR for the Anon posters to the one being used in the Anon profile, as well as change the user title? If so, could you point me to which step in your instructions these functions are located?

Thanks
Reply With Quote
  #71  
Old 01 Apr 2005, 23:24
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
The only things that don't seem to be working are profile related.
Reply With Quote
  #72  
Old 02 Apr 2005, 00:17
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Originally Posted by ThePimp
I went top to bottom of your instructions, but it may be possible that something got missed, as it was around 4:00AM when I installed it, and I was starting to get tired. Let me ask you this... DOES your hack change the AVATAR for the Anon posters to the one being used in the Anon profile, as well as change the user title? If so, could you point me to which step in your instructions these functions are located?

Thanks
It changes the whole userid. When installed properly, normal users and logged out people see the profile of the Anonymous user that you created. Admins and mods see the profile of the true user.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #73  
Old 02 Apr 2005, 00:41
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I do have a small problem. Although permissions are set, new users are not allowed
Reply With Quote
  #74  
Old 02 Apr 2005, 00:49
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I am able to fix when I go to user in admincp. I see that permissions are there. But he is not allowed. I save, then it's ok. Problem is I can't do that every time :-)
Reply With Quote
  #75  
Old 02 Apr 2005, 00:54
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Perhaps the profilefield is not updating? As admin I can see private field. I noticed all new users had nothing for anonymous permissions until I manually update user in control panel. Just click save without doing anything else, then I can see it in profile.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:43.

Layout Options | Width: Wide Color: