[2.0.17] Anonymous Forums

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
5
83%
Very Good
0
No votes
Good
1
17%
Fair
0
No votes
Poor
0
No votes
 
Total votes: 6

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29233
Joined: Sat Aug 16, 2003 7:36 am

[2.0.17] Anonymous Forums

Post by Extensions Robot »

MOD Name: Anonymous Forums
Author: cYbercOsmOnauT
MOD Description: This mod lets you define forums where users can post anonymously. The postings appear to be posted by user that you set through your acp. You can also cloak the posters ip.

German translation included


MOD Version: 1.0.3

Download File: anonymous_postforum1.0.3.zip
mods overview page: View
File Size: 5049 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:29 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
TerraFrost
Former Team Member
Posts: 5957
Joined: Sun Dec 26, 2004 3:40 am
Location: Austin, TX

Post by TerraFrost »

MOD Validated/Released

Notes:
Allows registered users to post as guests (or another specific user) in select forums.
JohninLA
Registered User
Posts: 208
Joined: Thu Oct 10, 2002 1:14 pm
Location: Los Angeles, CA

Post by JohninLA »

Hi, I installed this mod, but wondering about activating it in my forum.

I have the option in my ACP to make a forum anonymous, but is there an easier way to determine the Forum ID where you wish to activate this option? I went into phpmyadmin and found it, but the forum id doesn't show anywhere in the ACP, or am I missing it?

Thanks, your mod was just what I needed, and it installed easily with EasyMod.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3542
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Post by bonelifer »

Yes take for instance we are currently in the "MOD Release Announcements & Support" forum. ie. http://www.phpbb.com/phpBB/viewforum.php?f=15 that means that the 15 after the "f" ie the "forum" is the forum number.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .
User avatar
cYbercOsmOnauT
Registered User
Posts: 362
Joined: Wed Jun 16, 2004 8:22 am
Location: Goettingen, Germany
Name: Tekin Birdüzen

Post by cYbercOsmOnauT »

It's inside the boardconfiguration on your acp. You have to set the forum which shall be anonymous and you can also set the user_id od the fakeuser which shall be shown instead of the real user.
phpBB-installation and reparation. Prof. PHP coding with function guarantee. Just contact me at: [email protected].
Ex-German Support Team Member | phpBB Development Environment
JohninLA
Registered User
Posts: 208
Joined: Thu Oct 10, 2002 1:14 pm
Location: Los Angeles, CA

Post by JohninLA »

Thank you for the replies. It would be nice if in the board configuration, or in the Forum Management area of ACP, the forum id were shown. But the work arounds aren't that difficult.

Thanks for the help, and for this mod!
Kookee
Registered User
Posts: 3
Joined: Thu Oct 06, 2005 8:05 pm

Can't see in ACP

Post by Kookee »

Hi
I'm fairly new to phpbb, but i have successfully installed mods before and this one is giving me a problem that I can't solve myself. I can't seem to find the option to make a forum anonymous anywhere. As i understand it, it should be under "pruning" in the Forum Admin column.... but I don't see it. I've attached the following code from the functions_post since i think that might have something to do with it since i was having trouble with a some instructions for this file ... the other files I'm sure i edited correctly since it was only tables and very straight foward stuff, etc... hopefully someone can help me out.

Instructions that confused me:
#
#-----[ FIND ]------------------------------------------
#
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title,

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$userdata['user_id']

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$anon_id

#
#-----[ FIND ]------------------------------------------
#
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id,

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$userdata['user_id']

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$anon_id


What I tried according to what I could figure out from the instructions:

Code: Select all

		$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['$anon_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
Also tried:

Code: Select all

		$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', "  '$anon_id' ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
Neither Work... now I'm not sure what to do... HElp me please! :cry:

Thanks!
Capmaster
Registered User
Posts: 69
Joined: Tue Jul 05, 2005 1:26 pm

Post by Capmaster »

I assume you're talking about functions_post.php. Here's what mine ended up looking like, and it works fine:
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $anon_id . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}

if ($mode == 'newtopic')


and
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $anon_id . ", '$post_username', $current_time, '$anon_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id";
if (!$db->sql_query($sql, BEGIN_TRANSACTION))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}

if ($mode != 'editpost')
Image
Some mornings, it's just not worth chewing through the leather straps
Kookee
Registered User
Posts: 3
Joined: Thu Oct 06, 2005 8:05 pm

Post by Kookee »

Capmaster wrote: I assume you're talking about functions_post.php. Here's what mine ended up looking like, and it works fine:
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $anon_id . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}

if ($mode == 'newtopic')


and
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $anon_id . ", '$post_username', $current_time, '$anon_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id";
if (!$db->sql_query($sql, BEGIN_TRANSACTION))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}

if ($mode != 'editpost')


Hi Thanks for replying. Actually I went back and did it the way you did it and i still can't seem to find the option to make a forum anonymous. Where is it on your ACP? Am I blind or is it just not working for me?
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3542
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Post by bonelifer »

Look in the ACP for Configuration under General Admin.

Here's a picture of the feature in the Configuration page:

Image
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .
jefnerf
Registered User
Posts: 44
Joined: Thu Jul 14, 2005 5:19 pm
Location: UK
Contact:

Post by jefnerf »

How does a user post anonymously :/
User avatar
cYbercOsmOnauT
Registered User
Posts: 362
Joined: Wed Jun 16, 2004 8:22 am
Location: Goettingen, Germany
Name: Tekin Birdüzen

Post by cYbercOsmOnauT »

He just needs to post in that forum that you set as anonymous on your acp.
phpBB-installation and reparation. Prof. PHP coding with function guarantee. Just contact me at: [email protected].
Ex-German Support Team Member | phpBB Development Environment
BlowChunks
Registered User
Posts: 7
Joined: Fri Oct 14, 2005 8:10 pm

Post by BlowChunks »

edited, found problem. Helps when you don't forget the <?php at the beginning. Doh!
Last edited by BlowChunks on Mon Oct 17, 2005 6:48 am, edited 2 times in total.
BlowChunks
Registered User
Posts: 7
Joined: Fri Oct 14, 2005 8:10 pm

Post by BlowChunks »

Since installing this mod, I get the following errors whenever you post a "New Topic" or "Post a Reply"

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/shawn/public_html/forum/includes/functions_post.php:884) in /usr/home/shawn/public_html/forum/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/shawn/public_html/forum/includes/functions_post.php:884) in /usr/home/shawn/public_html/forum/includes/page_header.php on line 477


Anyone with any ideas?
Warning: Cannot modify header information - headers already sent by (output started at /usr/home/shawn/public_html/forum/includes/functions_post.php:884) in /usr/home/shawn/public_html/forum/includes/page_header.php on line 478
User avatar
cYbercOsmOnauT
Registered User
Posts: 362
Joined: Wed Jun 16, 2004 8:22 am
Location: Goettingen, Germany
Name: Tekin Birdüzen

Post by cYbercOsmOnauT »

These errors sometimes occur when you didn't do the right steps at modifiying the files. Recheck the steps written in the MOD-File and if you really put the stuff at the right place.
phpBB-installation and reparation. Prof. PHP coding with function guarantee. Just contact me at: [email protected].
Ex-German Support Team Member | phpBB Development Environment
Post Reply

Return to “[2.0.x] MOD Database Releases”