Page 1 of 1
"This post has already been reported."
Posted: Tue Jul 19, 2011 1:46 am
by VladSun
Can you make the button "disabled" in such case?
Re: "This post has already been reported."
Posted: Tue Jul 19, 2011 11:22 am
by beetree
Yes: <input type="submit" disabled>
Re: "This post has already been reported."
Posted: Tue Jul 19, 2011 4:56 pm
by Apollo
lol
btw, agree with VladSun.
Re: "This post has already been reported."
Posted: Tue Jul 19, 2011 10:28 pm
by Jonah Bron
+1. And disabled attribute ftw!

Re: "This post has already been reported."
Posted: Wed Jul 20, 2011 9:43 pm
by McInfo
All it would require is a small modification in
viewtopic.php (tested on phpBB v3.0.

.
From this:
Code: Select all
'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '',
To this:
Code: Select all
'U_REPORT' => (!$row['post_reported'] && $auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '',
However, I think the current policy is to not make such modifications.

Re: "This post has already been reported."
Posted: Wed Jul 20, 2011 10:33 pm
by beetree
Not sure if I interpret you guys correctly. But I read it as being somewhat unfriendly. I'm new here but, don't see the point in all this.
Re: "This post has already been reported."
Posted: Wed Jul 20, 2011 10:54 pm
by Jonah Bron
@beetree: didn't mean to offend, we're just having fun

Re: "This post has already been reported."
Posted: Thu Jul 21, 2011 1:48 am
by Benjamin
I'm going to be digging around in there. I'll modify that line shortly.
Re: "This post has already been reported."
Posted: Thu Jul 21, 2011 11:14 am
by beetree
Jonah Bron wrote:@beetree: didn't mean to offend, we're just having fun

Okay, cool. No problem. After I signed up I went around the forum and answered some questions to get a feel of the forum. I suppose that I stepped on some toes doing that. I'm happy to see that my answers were well received and proved helpful to those that actually posted well-intended questions at least
Talk to you trollers later!
/beetree
Re: "This post has already been reported."
Posted: Thu Jul 21, 2011 11:30 am
by Weirdan
beetree, this specific forum (PHPDN Suggestions) is intended to allow members to post suggestions to the moderators/admin team. So Vlad didn't mean to ask how to disable a button, but rather proposing changes to the forum software we use to disable the 'Report post' button under some circumstances.
Re: "This post has already been reported."
Posted: Thu Jul 21, 2011 11:46 am
by Jonah Bron
beetree wrote:After I signed up I went around the forum and answered some questions to get a feel of the forum. I suppose that I stepped on some toes doing that.
I did notice that. Good on ya, that's encouraged. As far as I know, everyone's toes are just fine.
Re: "This post has already been reported."
Posted: Thu Jul 21, 2011 12:33 pm
by beetree
Weirdan wrote:beetree, this specific forum (PHPDN Suggestions) is intended to allow members to post suggestions to the moderators/admin team. So Vlad didn't mean to ask how to disable a button, but rather proposing changes to the forum software we use to disable the 'Report post' button under some circumstances.
This explains so much. Thanks
My apologies...
Re: "This post has already been reported."
Posted: Mon Jul 25, 2011 3:55 am
by Benjamin
This has been implemented.