[2.0.17] Report Posts

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!
50
62%
Very Good
16
20%
Good
7
9%
Fair
2
2%
Poor
6
7%
 
Total votes: 81

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos »

eviL<3 wrote:
chatasos wrote:You'd better not wait for 2.1.5...


Why not? Don't you have time to develop it?


The last year i'm too busy with my full-time job and i don't think this will change any time soon...

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos »

jporter wrote: I read earlier in this topic that this mod is easymod compatible. However, once step 1 is completed i get the following:
...

Further down it says that all commands processed correctly. Shall I carry on with Step2 of the install or will this 'destroy/nacker up' up the forum?

Help would be appreciated.

Thanks.


All the above errors refer to extra languages, so if you don't use them, there is no need to worry. Otherwise you'll have to make manually the changes.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)
jporter
Registered User
Posts: 26
Joined: Tue Oct 17, 2006 11:42 am
Location: England

Post by jporter »

chatasos wrote:
jporter wrote:I read earlier in this topic that this mod is easymod compatible. However, once step 1 is completed i get the following:
...

Further down it says that all commands processed correctly. Shall I carry on with Step2 of the install or will this 'destroy/nacker up' up the forum?

Help would be appreciated.

Thanks.


All the above errors refer to extra languages, so if you don't use them, there is no need to worry. Otherwise you'll have to make manually the changes.


Thanks :)

I only use english so I have no need to worry!:D
Thanks

James
angryhobbit
Registered User
Posts: 89
Joined: Fri Jul 07, 2006 4:20 am
Location: Missouri
Contact:

Post by angryhobbit »

Totalchic wrote: Is this Easy Mod compatible?


I have used this mod with the newest version of EasyMod, but I cannot get it to work.
Gephri
Registered User
Posts: 158
Joined: Wed Feb 23, 2005 4:17 pm

Report Posts Tabbed Display

Post by Gephri »

I would like to use the tabbed display boxes you have at the bottom of the Report Posts page - but am having an impossible time just getting empty boxes to show.

Any chance you have the stripped down version of the tab pages laying around?

Anybody...?
Last edited by Gephri on Wed Nov 15, 2006 4:10 pm, edited 1 time in total.
super-dave
Registered User
Posts: 74
Joined: Thu Oct 27, 2005 2:05 pm
Contact:

Post by super-dave »

hi ...

just wanted to say that this is a great mod.

i installed it successfully with easy mod. so both the report post mod and easy mod work.

i did have one small problem during installation, which is where easy mod didn't recognise a section of code it should have used to enter extra code. this was because of other mods being installed and changing the code slightly.

i opened the particular php page, found the line of code, edited report post mod's install.txt file slightly (changing the line of code it should look for) ... then i ran the install feature again and it worked perfectly.

so please be aware that when you complain about something, the problem is often small enough that you can fix it yourself. if you get an install error, look at the error and see if there's a way you can work around it slightly.

great mod ... thanks for the effort! :)
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Post by RedTrinity »

Hi,

I have just reinstalled this mod and am having problems getting it to work properly this time round, for some reason the system is only working for administrators?

Only admin are recieving the post report emails, and are getting the "there is X reported posts" menu link down the bottom (at the appropriate times), all of our moderators are instead just getting "there are no reported posts" all the time instead.

Help please :)

RT.
super-dave
Registered User
Posts: 74
Joined: Thu Oct 27, 2005 2:05 pm
Contact:

Post by super-dave »

quick question:

i don't like that this mod displays only open complaints by default.

how can i modify it to display all complaints (by default)?
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Okay this is the problem..

Post by Ultima-X97 »

When a user makes a report, only the admins can see it. The mods cant see it for some reason. They can access the panel but they can't see it!
djamesencore
Registered User
Posts: 6
Joined: Mon Oct 23, 2006 2:03 pm

User gets logged out

Post by djamesencore »

Hi All

Great MOD, love it and very useful.

Only one problem I'm getting. When a user submits a report on a post they get logged out of the forum.

Also, when clicking on report post icon in viewtopic and a report is already submited, again the user is redirected but gets logged out of the forum.

Anyone had this problem. I've looked and searched this mod section but cannot find a solution.

Edited 02/12/06: I don't know if it's something to do with the re-direct, cause happens when user is re-directed, but re-directs them to the login page.

I have checked mod throughly for mistakes on installation and can't see any I've made.

Cheers

David James
aboima
Registered User
Posts: 275
Joined: Sat Jul 29, 2006 3:01 am

Error in report.php

Post by aboima »

Hi i have tried to follow the thread of the coversation to see if i can resolve my issue with the report bad post MOD: 1.0.7 but dont know what i need to do. I have installed the MOD and i get the menu in the admin control panel and users can report posts apparently anyway as it goes thru the motions with no error but when i login as admin to click on the report link that appears at the top of the admin page i get the following error.

Error by getting reported posts.

DEBUG MODE

SQL Error : 1054 Unknown column 'p.poster_id' in 'on clause'

SELECT f.forum_name, f.forum_id, t.topic_title, t.topic_id, p.post_id, pt.post_subject, p.post_username, u.username, u.user_id, u2.username as reportername, u2.user_id as reporter_id FROM phpbb_forums f, phpbb_topics t, phpbb_posts p, phpbb_posts_text pt LEFT JOIN phpbb_users u ON u.user_id = p.poster_id LEFT JOIN phpbb_users u2 ON u2.user_id = p.reporter_id WHERE p.reporter_id <> 0 AND f.forum_id = p.forum_id AND t.topic_id = p.topic_id AND pt.post_id = p.post_id ORDER BY p.post_id ASC

Line : 253
File : report.php

Please Help! I have checked thru each file that needs to be edited but i cant see i made any errors and the report.php file exists
djamesencore
Registered User
Posts: 6
Joined: Mon Oct 23, 2006 2:03 pm

Re: User gets logged out

Post by djamesencore »

Sorry bumping this one cause I can't see that I've done anything wrong on install and am curious if I am the only one who experiences this.

I get no error messages with this mod except that it logs the user out of the forum.

Cheers

djamesencore wrote: Hi All

Great MOD, love it and very useful.

Only one problem I'm getting. When a user submits a report on a post they get logged out of the forum.

Also, when clicking on report post icon in viewtopic and a report is already submited, again the user is redirected but gets logged out of the forum.

Anyone had this problem. I've looked and searched this mod section but cannot find a solution.

Edited 02/12/06: I don't know if it's something to do with the re-direct, cause happens when user is re-directed, but re-directs them to the login page.

I have checked mod throughly for mistakes on installation and can't see any I've made.

Cheers

David James
aboima
Registered User
Posts: 275
Joined: Sat Jul 29, 2006 3:01 am

Post by aboima »

Please is there anyone out there that can help me with this. All indication points to something wrong with the inclusive report.php. as i do not believe i made any configuration errors. I have gone over it with a fine tooth comb and see nothing at all wrong. Actually not only can users click on the link to report bad posts, an email is sent to the admin notifying them of the bad post which he can then click on the link to be directly taken there. However the thing that fails is when i login as admin and i want to see the report list this is what produces the error. I can of course live with just getting the email notification of bad post but it will be nice to get the report link working.

thanks in advance


Andrew
djamesencore
Registered User
Posts: 6
Joined: Mon Oct 23, 2006 2:03 pm

Post by djamesencore »

Hi Aboima

Did you run the following SQL update on your database

Code: Select all

CREATE TABLE `phpbb_post_reports` (
  `report_id` mediumint(8) NOT NULL auto_increment,
  `post_id` mediumint(8) NOT NULL default '0',
  `reporter_id` mediumint(8) NOT NULL default '0',
  `report_status` tinyint(1) NOT NULL default '0',
  `report_time` int(11) NOT NULL default '0',
  `report_comments` text,
  `last_action_user_id` mediumint(8) default '0',
  `last_action_time` int(11) NOT NULL default '0',
  `last_action_comments` text,
  PRIMARY KEY  (`report_id`)
);

ALTER TABLE phpbb_users ADD user_report_optout TINYINT( 1 ) DEFAULT '0' NOT NULL ;

INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('report_email', '1');
Just checking..........
aboima
Registered User
Posts: 275
Joined: Sat Jul 29, 2006 3:01 am

Post by aboima »

Hi i am afraid i havent. But its not in the install.txt file below. I amended exisiting tables by running report_post_db_install.php and this does NOT create the table.where does it say to create a table. pls see below. it only talks about amending existing ones

Code: Select all

############################################################## 
## MOD Title: Report Bad Post 
## MOD Author: Saerdnaer < saerdnaer@web.de > (Andreas Hubel) N/A
## MOD Author, Secondary: BondGamer  < N/A > (N/A)  N/A
## MOD Description: This MOD allows users to report a post to
##		    admin and/or moderator (and also if installed to Super-
##		    moderator or junjor admin) by sending an email and by 
##		    a popup. You can config it in the admin panel.
## MOD Version: 1.0.7
## 
## Installation Level: Easy
## Installation Time: 2 Minutes 
## Files To Edit: posting.php 
## 		  viewtopic.php 
## 		  includes/functions.php 
## 		  includes/functions_post.php 
## 		  includes/page_header.php 
## 		  includes/usercp_register.php 
## 		  language/lang_german/lang_main.php 
## 		  language/lang_german/lang_admin.php 
## 		  language/lang_english/lang_main.php 
## 		  language/lang_english/lang_admin.php 
## 		  templates/subSilver/subSilver.cfg 
## 		  templates/subSilver/overall_header.tpl
## 		  templates/subSilver/profile_add_body.tpl
## 		  templates/subSilver/viewtopic_body.tpl
## Included Files: report.php
##                 report_post_db_install.php
## 		   admin/admin_report.php
## 		   includes/reportpost.php
## 		   language/lang_english/email/report_notify.tpl
## 		   language/lang_german/email/report_notify.tpl
## 		   templates/subSilver/admin/report_config_body.tpl
## 		   templates/subSilver/admin/report_auth_select_body.tpl
##		   templates/subSilver/admin/report_auth_body.tpl
## 		   templates/subSilver/images/icon_del_report.gif
##		   templates/subSilver/images/icon_mini_report_list.gif
##		   templates/subSilver/images/icon_report.gif
## 		   templates/subSilver/report_popup_body.tpl
## 		   templates/subSilver/report_list_body.tpl
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: You can either run the SQL below yourself in something like phpMyAdmin or
##               upload the report_post_db_install.php to your root phpBB directory and run it 
##		 (The file will self-delete once done).
## 
############################################################## 
## MOD History: 
## 
##   2004-XX-XX - Version 1.0.7 
##      - Made compliant with phpBB 2.0.10 and EasyMod 0.0.11a Compatiable
##      - Guest reporting turned off by default
##      - Added admin option to turn off email notification completely
##   2003-03-11 - Version 1.0.6 
##      - Last Version Put out by original author
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ SQL ]------------------------------------------ 
# 
ALTER TABLE phpbb_posts ADD reporter_id MEDIUMINT(8) DEFAULT '0' NOT NULL, ADD INDEX (reporter_id);
ALTER TABLE phpbb_users ADD no_report_mail TINYINT(1) DEFAULT '0' NOT NULL, ADD no_report_popup TINYINT(1) DEFAULT '0' NOT NULL, ADD refresh_report_popup TINYINT(1) DEFAULT '0' NOT NULL;
INSERT INTO phpbb_config (config_name, config_value) VALUES ('report_no_guestes', '0'), ('report_email_notify', '0'), 
			 ('report_no_auth_users', ''), ('report_no_auth_groups', ''), ('report_disabled_users', ''), 
			 ('report_disabled_groups', ''), ('report_only_admin', '0'), ('report_popup_height', '250'), 
			 ('report_popup_width', '700'), ('report_popup_links_target', '2'), 
		 	 ('report_post_hack_version', '1.0.7')";

# 
#-----[ COPY ]------------------------------------------ 
#
copy report.php to report.php
copy admin/admin_report.php to admin/admin_report.php
copy includes/reportpost.php to includes/reportpost.php
copy language/lang_english/email/report_notify.tpl to language/lang_english/email/report_notify.tpl
copy templates/subSilver/admin/report_config_body.tpl to templates/subSilver/admin/report_config_body.tpl
copy templates/subSilver/admin/report_auth_select_body.tpl to templates/subSilver/admin/report_auth_select_body.tpl
copy templates/subSilver/admin/report_auth_body.tpl to templates/subSilver/admin/report_auth_body.tpl
copy templates/subSilver/images/icon_del_report.gif to templates/subSilver/images/icon_del_report.gif
copy templates/subSilver/images/icon_mini_report_list.gif to templates/subSilver/images/icon_mini_report_list.gif
copy templates/subSilver/images/icon_report.gif to templates/subSilver/images/icon_report.gif
copy templates/subSilver/report_popup_body.tpl to templates/subSilver/report_popup_body.tpl
copy templates/subSilver/report_list_body.tpl to templates/subSilver/report_list_body.tpl

#
#-----[ OPEN ]------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------
#
		$where_sql = ( !$submit ) ? "AND pt.post_id = p.post_id AND u.user_id = p.poster_id" : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
		$select_sql .= ( $mode == 'delete' ) ? ', p.reporter_id' : '';  // ADDED BY Report post hack

#
#-----[ FIND ]------------------------------------------
#
			delete_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id);

#
#-----[ BEFORE, ADD ]------------------------------------------
#
			$post_data['report'] = !empty($post_info['reporter_id']); // ADDED BY Report post hack

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
	$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';

#
#-----[ BEFORE, ADD ]------------------------------------------
#
	// BEGIN Report post hack
	if ( $i == 0 && !isset($rp) )
	{
		include($phpbb_root_path . 'includes/reportpost.'.$phpEx);
	}
	if ( empty($postrow[$i]['reporter_id']) && ( !$userdata['session_logged_in'] || $postrow[$i]['poster_id'] != $userdata['user_id'] ) && !$rp->report_disabled2($postrow[$i]['poster_id']) && $rp->report_auth($userdata['user_id']) )
	{
		$temp_url = append_sid("report.$phpEx?mode=report&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
		$report_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_report'] . '" alt="' . $lang['Report_post'] . '" title="' . $lang['Report_post'] . '" border="0" /></a>';
		$report = '<a href="' . $temp_url . '">' . $lang['Report_post'] . '</a>';
	}
	else if ( !empty($postrow[$i]['reporter_id']) && ( ( $userdata['session_logged_in'] && $postrow[$i]['reporter_id'] == $userdata['user_id'] ) || ( $is_auth['auth_mod'] && $rp->check_access() ) ) )
	{
		$temp_url = append_sid("report.$phpEx?mode=del_report&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
		$report_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_del_report'] . '" alt="' . $lang['Report_del'] . '" title="' . $lang['Report_del'] . '" border="0" /></a>';
		$report = '<a href="' . $temp_url . '">' . $lang['Report_del'] . '</a>';
	}
	else
	{
		$report_img = '';
		$report = '';
	}
	// END Report post hack

#
#-----[ FIND ]------------------------------------------
#
		'DELETE' => $delpost,

#
#-----[ AFTER, ADD ]------------------------------------------
#
		// BEGIN Report post hack
		'REPORT_IMG' => $report_img,
		'REPORT' => $report,
		// END Report post hack

#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
#
	global $starttime;

#
#-----[ AFTER, ADD ]------------------------------------------
#
	global $rp; // ADDED BY Report post hack

#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php

#
#-----[ FIND ]------------------------------------------
#
		$sql = "DELETE FROM " . POSTS_TEXT_TABLE . " 
			WHERE post_id = $post_id";
		if (!$db->sql_query($sql))
		{
			message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
		}

#
#-----[ AFTER, ADD ]------------------------------------------
#
		// BEGIN Report post hack
		if ( !empty($post_data['report']) )
		{
			global $rp;
			if ( !isset($rp) )
			{
				include('reportpost.'.$phpEx);
			}
			$rp->update_refresh_report_popup($forum_id);
		}
		// END Report post hack

#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]------------------------------------------
#
		$template->assign_block_vars('switch_enable_pm_popup', array());
	}

#
#-----[ AFTER, ADD ]------------------------------------------
#
	// BEGIN Report post hack
	if ( ( $board_config['report_only_admin'] ? $userdata['user_level'] == ADMIN : $userdata['user_level'] > USER ) )
	{
		$template->assign_block_vars("switch_report_list", array(
			'U_REPORT_LIST' => append_sid('report.'.$phpEx),
			'L_REPORT_LIST' => $lang['Report_list'])
		);
		if ( !isset($no_report_popup) && !$userdata['no_report_popup'] && $userdata['refresh_report_popup'] )
		{
			if ( $userdata['refresh_report_popup'] != 2 && !isset($rp) )
			{
				include($phpbb_root_path . 'includes/reportpost.'.$phpEx);
			}
			if ( $userdata['refresh_report_popup'] == 2 || $rp->check_report_popup($userdata) )
			{
				$template->assign_block_vars("switch_report_popup", array(
					'U_REPORT_POPUP' => append_sid('report.'.$phpEx.'?mode=popup'),
					'S_WIDTH' => $board_config['report_popup_width'],
					'S_HEIGHT' => $board_config['report_popup_height'])
				);
			}
		}
	}
	// END Report post hack
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
				$user_actkey = '';
			}

#
#-----[ AFTER, ADD ]------------------------------------------
#
			// BEGIN Report post hack
			if ( $userdata['user_level'] > USER )
			{
				$avatar_sql .= ( isset($HTTP_POST_VARS['no_report_popup']) ) ? ( ', no_report_popup = ' . ( ($HTTP_POST_VARS['no_report_popup']) ? 1 : 0 ) ) : '';
				$avatar_sql .= ( isset($HTTP_POST_VARS['no_report_mail']) ) ? ( ', no_report_mail = ' . ( ($HTTP_POST_VARS['no_report_mail']) ? 1 : 0 ) ) : '';
			}
			// END Report post hack
#
#-----[ FIND ]------------------------------------------
#
		$template->assign_block_vars('switch_edit_profile', array());

#
#-----[ AFTER, ADD ]------------------------------------------
#
		// BEGIN Report post hack
		if ( ( $userdata['user_level'] > USER && !$board_config['report_only_admin'] ) || $userdata['user_level'] == ADMIN )
		{
			$template->assign_block_vars('switch_report', array(
				'L_NO_REPORT_POPUP' => $lang['Report_no_popup'],
				'NO_REPORT_POPUP_YES' => ( !$userdata['no_report_popup'] ) ? 'checked="checked"' : '',
				'NO_REPORT_POPUP_NO' => ( $userdata['no_report_popup'] ) ? 'checked="checked"' : '',

				'L_NO_REPORT_MAIL' => $lang['Report_no_mail'],
				'NO_REPORT_MAIL_YES' => ( !$userdata['no_report_mail'] ) ? 'checked="checked"' : '',
				'NO_REPORT_MAIL_NO' => ( $userdata['no_report_mail'] ) ? 'checked="checked"' : '')
			);
		}
		// END Report post hack

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Report post hack
$lang['Report_no_access'] = "You haven't the permission to use this function of the report post hack!";
$lang['Report_disabled'] = "Posts of this user can't be reported.";
$lang['Report_post_already_reported'] = "This post is already reported";
$lang['Report_post_self'] = "You can't report your own post.";
$lang['Report_already_removed'] = "This report is already removed.";
$lang['Report_no_posts'] = "No (additional) reported posts!";
$lang['Report_no_title'] = "No title";
$lang['Reporter'] = "Reporter";
$lang['Report_posts'] = "Reported posts";
$lang['Report_popup_text'] = "Follow posts has been reported:";
$lang['Report_deleted'] = "Report removed.";
$lang['Report_post_reported'] = "Report submitted. Thank you.";
$lang['Report_post'] = "Report this post to Moderator/Admin.";
$lang['Report_del'] = "Remove report.";
$lang['Report_no_popup'] = "Open report popup on new reports";
$lang['Report_no_mail'] = "Notify per email if someone report a post";
$lang['Report_reload_window'] = "Reload window";
$lang['Report_no_auth'] = "You can't report posts because you aren't logged in or this function is locked for you.";
$lang['Report_open_popup'] = "Open report popup";
$lang['Report_list'] = "Report list";

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Report post hack
$lang['Report_post'] = "Report post";
$lang['Report_config_updated'] = "The settings of the report post hack are updated successfully.";
$lang['Click_return_report_config'] = "Click %sHere%s to return to the report post hack configuration.";
$lang['Click_return_report_auth'] = "Click %sHere%s to return to the report post hack permissions.";
$lang['Click_return_report_auth_select'] = "Click %shere%s to return to the report post hack permissions select.";

$lang['Report_config'] = "Report post hack - Configuration";
$lang['Report_config_explain'] = "Here you can customize all settings.";
$lang['Report_settings'] = "General settings";
$lang['Report_popup_size'] = "Popup size";
$lang['Report_popup_size_explain'] = "Here you can edit the height and width the size of report popup ( in pixel )";
$lang['Report_popup_links_target'] = "Popup target";
$lang['Report_popup_links_target_explain'] = "Here you can customize in witch window the links in the report popup should be shown";
$lang['Report_only_admin'] = "Only for admins";
$lang['Report_only_admin_explain'] = "If you activate this option, only admin receive the reports";
$lang['Report_no_guests'] = "Allow no Guests";
$lang['Report_no_guests_explain'] = "If you activate this option, only registered users can report posts";
$lang['Report_email_notify'] = "Email Administrators";
$lang['Report_email_notify_explain'] = "If you activate this option, Administrators will recieve emails of notifications";

$lang['Report_popup_links_target_0'] = "Open in one new window";
$lang['Report_popup_links_target_1'] = "Open each in a new window";
$lang['Report_popup_links_target_2'] = "Open in a already opened window";

$lang['No_group_specified'] = "No group(s) specified";
$lang['Report_already_auth'] = "This users / group can't be added because he / it is already added.";
$lang['Report_auth_updated'] = "The permissons of the report post hack was updated sucessfully.";

$lang['Report_auth_field_explain'] = "You can spectify multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser";
$lang['Report_permissions'] = "Report post hack - Permissions";
$lang['Report_permissions_explain'] = "Here you can lock the report function for special users or disable the reporting of post from special users.";
$lang['Report_manage_user'] = "Manage users";
$lang['Report_manage_group'] = "Manage groups";
$lang['Report_no_auth'] = "Forbid users to report";
$lang['Report_no_auth_explain'] = "Here you can lock the report function for special users."; 
$lang['Report_disable'] = "Disable the reporting of post from special users";
$lang['Report_disable_explain'] = "Here you can disable the reporting of post from special users.";
$lang['Report_no_users'] = "Until now no user selected";
$lang['Report_no_groups'] = "Until now no group selected";
$lang['Back'] = "Back";

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg

#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// ADDED BY Report post hack
$images['icon_report'] = "$current_template_images/icon_report.gif";
$images['icon_del_report'] = "$current_template_images/icon_del_report.gif";

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_enable_pm_popup -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_report_popup -->
<script language="Javascript" type="text/javascript">
<!--    
	report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=yes,WIDTH={switch_report_popup.S_WIDTH}');;
	report.focus();
//-->
</script>
<!-- END switch_report_popup -->

#
#-----[ FIND ]------------------------------------------
#
						<!-- END switch_user_logged_out -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
						<!-- BEGIN switch_report_list -->
						&nbsp;<a href="{switch_report_list.U_REPORT_LIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_report_list.gif" width="12" height="13" border="0" alt="{switch_report_list.L_REPORT_LIST}" hspace="3" />{switch_report_list.L_REPORT_LIST}</a></span>&nbsp;
						<!-- END switch_report_list -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
	<tr> 
	  <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE}:</span></td>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
	<!-- BEGIN switch_report -->
	<tr> 
	  <td class="row1"><span class="gen">{switch_report.L_NO_REPORT_POPUP}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="no_report_popup" value="0" {switch_report.NO_REPORT_POPUP_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="no_report_popup" value="1" {switch_report.NO_REPORT_POPUP_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{switch_report.L_NO_REPORT_MAIL}:</span></td>
	  <td class="row2"> 
		<input type="radio" name="no_report_mail" value="0" {switch_report.NO_REPORT_MAIL_YES} />
		<span class="gen">{L_YES}</span>&nbsp;&nbsp; 
		<input type="radio" name="no_report_mail" value="1" {switch_report.NO_REPORT_MAIL_NO} />
		<span class="gen">{L_NO}</span></td>
	</tr>
	<!-- END switch_report -->

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
{postrow.DELETE_IMG}

#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.DELETE_IMG}

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 {postrow.REPORT_IMG}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# EoM
Post Reply

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