PDA

View Full Version : Anonymous posting for secret confessions


roxics
11-23-2002, 06:40 AM
A friend of mine has a board (not a VB) where he has a forum called "Secret Confessions". Basically any registered member can post in there. However their name, profile and the time they posted all get hidden so that no one knows who posted what. The replies act the same way with not name, time or profile. It's pretty interesting.

I was wondering if this was possible with a VB?

Logician
11-23-2002, 09:46 AM
if you enable guest posting for forum X and restrict member posting in that forum, everybody would be required to log out and post so it would be "Anonymous".

It's not easy to make a post related to a user from the vb view while relate it to a guest from other members view. There are many gaps to be closed like searching, user's last post in profile, user's post searchs, thread subscription notifications etc. So it's not just hiding the username in postbit..

Xenon
11-23-2002, 09:48 AM
hmm, i can think of a way:

open newreply.php
find: $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");

and replace it with:
if ($threadinfo['forumid']!=xx)
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");
else
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','','0','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");

that'll anonymise the poster.
it'll leave the time in it, because this is need for postorder

Logician
11-23-2002, 02:19 PM
You are right pal, but this does not keep relation of post to its author so is not different than posting as a guest. For example you can not edit your post later or Admins can not see who is the real poster etc. :knockedout:

I thought roxics had a system in his mind in which post-author relation is left intact but poster is anonymous to other regular board members/visitors. (which would be hard to implement)

roxics
11-24-2002, 12:29 AM
I thought roxics had a system in his mind in which post-author relation is left intact but poster is anonymous to other regular board members/visitors. (which would be hard to implement)

That is what I had in mind. The time would also need to be hidden. The thing was if a member was in that forum they wouldn't show up in the "who's Online" area. That way you can't say this poster must have posted this because they were online then or they just posted this other post at this time.

The forum i'm talking about it located at: http://forum.kungfudog.com/cgi/forum/forum_show.pl

okrogius
11-24-2002, 01:52 AM
Just change forumdisplay.php and showthread.php to show a different template with usernames removed when it's in teh right forum.

Xenon
11-24-2002, 01:45 PM
Yes, codename49 is right then, this would be the easiest way then, but you have a security gap then with search.php....

Logician
11-24-2002, 02:20 PM
I'd say it's much more complicated than that:
* User Profile Last Post of the User
* Thread subscribers notification mail
* Print Thread
* qoute post
* Who is online
* Latest thread in the main page.
etc.
:classic: