Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] User Notes
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] User Notes
PostPosted: 06/11/2007 4:26 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
My test board is babydreamz.net/test and I just installed the user notes mod but it doens't open in a new window or a pop up. I partly did it with Easymod but there were lots of things it couldn't find so I finished it manually.
 dontknow  flower


Last edited by Karen on 06/11/2007 5:36 PM; edited 2 times in total
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: User Notes
PostPosted: 06/11/2007 4:39 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
OK I thought the bits easymod could do were done but it appears they aren't so I'm just doing those  occasion9
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: [Solved] User Notes
PostPosted: 06/11/2007 4:43 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
Well I never knew that about easymod  Embarassed  Rolling Eyes
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: [Solved] User Notes
PostPosted: 06/11/2007 5:15 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:51 AM
Location: St Pete, FL
peace.gif
It's actually better to correct the MOD script than to ignore the Warning errors and complete the MOD install.  EM will install what it can, but it won't install code into files where there are known conflicts...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] User Notes
PostPosted: 06/11/2007 5:30 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
I've done really well tonight!  I used Em for all the mods installed so far, I feel much more confident with it all  blob8  headbang  occasion9
Just one question, I installed a report post mod and the only thing EM couldn't find was this bit of code

Code:
#
#-----[ OPEN ]-----------------------------------------
#
templates/Diddle/overall_header.tpl
#
#-----[ FIND ]-----------------------------------------
#
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; }
#
#-----[ AFTER, ADD ]-----------------------------------------
#

/* ReportSystem by Wicher */
.reason_error {font-size : {T_FONTSIZE2}px; color: {T_FONTCOLOR3}; text-decoration: none; }


I'm not sure where to put it, but the report mod is working fine without it  dontknow

And also this bit
Code:
#-----[ FIND ]-----------------------------------------
#
            </table></td>
         </tr>
      </table>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
               <!-BEGIN switch_admin_logged_in -->
               <tr>
                  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;{ADMIN_REPORT_LINK}&nbsp;</td>
               </tr>
               <!-END switch_admin_logged_in -->


Its for the button, its there is subSilver so its just for my Diddle template to sort out  flower
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: User Notes
PostPosted: 06/11/2007 6:02 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:51 AM
Location: St Pete, FL
peace.gif
Why does it try to open the Diddle overall_header.tpl file instead of the subSilver overall_header.tpl file.  EM will try to modify all template files whenever subSilver is listed in the OPEN command.  When you specify only the Diddle template, then subSilver will not be adjusted too.  It is best to keep the modifications throughout your templates consistent to avoid future MOD install problems...

The reason EM can't FIND the style code in the Diddle overall_header.tpl file is because the Diddle overall_header.tpl file doesn't contain any style information.  Instead, it uses the style settings in the Diddle.css file.  As long as the MOD added code to the css file, then it will work correctly on templates where style information is not included in the overall_header.tpl file...

Woops, I just realized that it is after 7 PM here.  I was supposed to be somewhere at 7, so I'm late.  I will ttyl and finish this reply...

Shocked
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] User Notes
PostPosted: 06/11/2007 11:15 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:51 AM
Location: St Pete, FL
peace.gif
Karen wrote:
I'm not sure where to put it, but the report mod is working fine without it  dontknow

And also this bit
Code:
#-----[ FIND ]-----------------------------------------
#
            </table></td>
         </tr>
      </table>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
               <!-BEGIN switch_admin_logged_in -->
               <tr>
                  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;{ADMIN_REPORT_LINK}&nbsp;</td>
               </tr>
               <!-END switch_admin_logged_in -->

Its for the button, its there is subSilver so its just for my Diddle template to sort out  flower

I would change the MOD script to this:

Code:
#
#-----[ FIND ]-----------------------------------------
#
{U_PROFILE}
#
#-----[ FIND ]-----------------------------------------
#
</tr>
#
#-----[ AFTER, ADD ]-----------------------------------------
#
               <!-BEGIN switch_admin_logged_in -->
               <tr>
                  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;{ADMIN_REPORT_LINK}&nbsp;</td>
               </tr>
               <!-END switch_admin_logged_in --

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: User Notes
PostPosted: 06/12/2007 4:11 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
Ooh hope you didn't get into trouble!

That's added now thanks NR  headbang

Do think its possible to edit it so that moderators can see the reports etc too?

Code:
#################################################################
## MOD Title: ReportSystem
## MOD Author: Wicher < N/A > (N/A) http://www.detecties.com/modforum
## MOD Description:  This mod adds an reportbutton at every posting.
##                   Reports are viewable by the admin in the ACP.
##                   This mod is a spinoff from PostOptions MOD.
##                  
## MOD Version: 1.0.6   
##
## Installation Level: easy
## Installation Time:  20 minutes
##
## Files To Edit:    viewtopic.php
##                   admin/admin_board.php
##                   admin/index.php
##                   includes/constants.php
##                   includes/page_header.php
##                  
##                   language/lang_english/lang_main.php
##                   templates/subSilver/overall_header.tpl
##                   templates/subSilver/subSilver.cfg
##                   templates/subSilver/subSilver.css
##                   templates/subSilver/viewtopic_body.tpl
##                   templates/subSilver/admin/board_config_body.tpl
##
## Included Files: report.php
##                 admin/admin_reports.php
##                 templates/subSilver/report_body.tpl
##                 templates/subSilver/admin/reports_body.tpl
##                 templates/subSilver/images/lang_english/icon_report.gif
##                 templates/subSilver/images/report.gif
##                 templates/subSilver/images/reportstatus_red.gif
##                 templates/subSilver/images/reportstatus_orange.gif
##                 templates/subSilver/images/reportstatus_blue.gif
##                 templates/subSilver/images/celpic1small.gif
##
## License:      http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:  
##         This mod has been tested on phpbb 2.0.22
##
##############################################################
## MOD History:
##
##   2007-06-05 Version 1.0.6
##    'New reports link'. in header did not go directly to the admin/reports page
##     when there was no admin session,
##    Fixed some security issues
##   2007-06-05 Version 1.0.5
##    New reports link in header now goes directly to the reports page in acp.
##   2007-05-30 Version 1.0.4
##    Few fixes in report.php
##   2007-05-29 Version 1.0.3
##    Few fixes
##   2007-05-28 Version 1.0.2
##    Added sid's in report.php
##   2007-05-25 Version 1.0.1
##    Added possibility to remove the message "reported post"
##    from the reported post without deleting the post..
##   2007-05-10 Version 1.0.0
##    Created this spinoff.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ SQL ]-----------------------------------------
#


CREATE TABLE `phpbb_post_reports` (
  `report_id` mediumint(8) NOT NULL auto_increment,
  `topic_id` mediumint(8)  NOT NULL DEFAULT 0,
  `post_id` mediumint(8)  NOT NULL DEFAULT 0,
  `user_id` mediumint(8)  NOT NULL DEFAULT 0,
  `report_time` int(11)  NOT NULL DEFAULT 0,
  `reporter_id` mediumint(8)  NOT NULL DEFAULT 0,
  `report_reason` varchar(255) NULL,
  `report_status` tinyint(1)  NOT NULL DEFAULT 0,
  `assigned_to` mediumint(8)  NOT NULL DEFAULT 0,
  PRIMARY KEY  (`report_id`),
  KEY `topic_id` (`topic_id`)
);

INSERT INTO phpbb_config(config_name, config_value) VALUES('ReportSystem', '1');
ALTER TABLE phpbb_posts ADD reported TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE phpbb_posts ADD reported_mess TINYINT(1) NOT NULL DEFAULT 0;

#
#-----[ COPY ]-----------------------------------------
#
copy report.php to report.php
copy admin/admin_reports.php to admin/admin_reports.php
copy templates/subSilver/report_body.tpl to templates/subSilver/report_body.tpl
copy templates/subSilver/admin/reports_body.tpl to templates/subSilver/admin/reports_body.tpl
copy templates/subSilver/images/lang_english/icon_report.gif to templates/subSilver/images/lang_english/icon_report.gif
copy templates/subSilver/images/*.* to templates/subSilver/images/*.*
#
#-----[ OPEN ]-----------------------------------------
#
viewtopic.php
#
#-----[ FIND ]-----------------------------------------
#
         $delpost_img = '';
         $delpost = '';
      }
   }
#
#-----[ AFTER, ADD ]-----------------------------------------
#

   // BEGIN ReportSystem by Wicher
   if ($board_config['ReportSystem'] && $userdata['session_logged_in'])
   {
      $temp_url = 'report.'.$phpEx.'?regreport=true&amp;user='.$poster_id.'&amp;'.POST_F ORUM_URL.'=' . $forum_id . '&amp;'.POST_TOPIC_URL.'='.$topic_id.'&amp;'.POST_POST_URL.'='.$postro w[$i]['post_id'].'&amp;sid=' . $userdata['session_id'];
      $report_img = '<img src="' . $images['icon_report'] . '" alt="' . $lang['Report_this'] . '" title="' . $lang['Report_this'] . '" border="0" />';
      $report = '<a href="' . $temp_url . '">' . $report_img . '</a>';
   }
   else
   {
      $report_img = '';
      $report = '';
   }
   // END ReportSystem by Wicher
#
#-----[ FIND ]-----------------------------------------
#
      'DELETE' => $delpost,
#
#-----[ AFTER, ADD ]-----------------------------------------
#
      // BEGIN ReportSystem by Wicher
      'REPORT_IMG' => $report_img,
      'REPORT' => $report,
      'REPORTED' => ($postrow[$i]['reported'] && $postrow[$i]['reported_mess']) ? '<table width="100%" cellpadding="1"><tr><td height="12"></td><td height="12" width="10" style="border: 1px solid red" align="center"><span class="gensmall">'.$lang['Post_reported'].'</span></td></tr></table>' : '',
      // END ReportSystem by Wicher

#
#-----[ OPEN ]-----------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]-----------------------------------------
#
$prune_no = ( !$new['prune_enable'] ) ? "checked=\"checked\"" : "";
#
#-----[ AFTER, ADD ]-----------------------------------------
#

// BEGIN ReportSystem by Wicher
$use_report_yes = ( $new['ReportSystem'] ) ? "checked=\"checked\"" : "";
$use_report_no = ( !$new['ReportSystem'] ) ? "checked=\"checked\"" : "";
// END ReportSystem by Wicher
#
#-----[ FIND ]-----------------------------------------
#
   "L_ALLOW_NAME_CHANGE" => $lang['Allow_name_change'],
#
#-----[ AFTER, ADD ]-----------------------------------------
#
   // ReportSystem by Wicher
   "L_USE_REPORT_SYSTEM" => $lang['ReportSystem'],
   "I_WICHERMOD" => $images['folder_hot'],
   "U_LWF" => 'http://www.detecties.com/modforum',
   "L_WICHERMOD" => $lang['mymod'],
   // End ReportSystem by Wicher
#
#-----[ FIND ]------------------------------------------------
#
   "POSTS_PER_PAGE" => $new['posts_per_page'],
#
#-----[ AFTER, ADD ]-----------------------------------------
#
   // BEGIN ReportSystem by Wicher
   "L_ReportSystem_SETTINGS" => $lang['ReportSystem_settings'],
   // END ReportSystem by Wicher
#
#-----[ FIND ]-----------------------------------------
#
   "PRUNE_NO" => $prune_no,
#
#-----[ AFTER, ADD ]-----------------------------------------
#
   // BEGIN ReportSystem by Wicher
   "REPORTSYSTEM_YES" => $use_report_yes,
   "REPORTSYSTEM_NO" => $use_report_no,
   // END ReportSystem by Wicher
#
#-----[ OPEN ]-----------------------------------------
#
admin/index.php
#
#-----[ FIND ]-----------------------------------------
#
      "body" => "admin/index_frameset.tpl")
   );
#
#-----[ AFTER, ADD ]-----------------------------------------
#

   if (isset($HTTP_GET_VARS['reports']))
   {
      $u_mainframe = append_sid("admin_reports.$phpEx?pane=right");
   }
   else
   {
      $u_mainframe = append_sid("index.$phpEx?pane=right");
   }
#
#-----[ FIND ]-----------------------------------------
#
      "S_FRAME_MAIN" => append_sid("index.$phpEx?pane=right"))
#
#-----[ IN-LINE FIND ]-----------------------------------------
#
append_sid("index.$phpEx?pane=right")
#
#-----[ IN-LINE REPLACE WITH ]-----------------------------------------
#
$u_mainframe
#
#-----[ OPEN ]-----------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// BEGIN ReportSystem by Wicher
define('REPORTS_TABLE', $table_prefix.'post_reports');
// END ReportSystem by Wicher
#
#-----[ OPEN ]-----------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------------
#
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
#
#-----[ BEFORE, ADD ]------------------------------------------------
#
// BEGIN ReportSystem by Wicher
if ( $userdata['user_level'] == ADMIN )
{
   $sql = "SELECT report_status
         FROM " . REPORTS_TABLE;
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, "Couldn't obtain reports information", "", __LINE__, __FILE__, $sql);
   }

   $reports = $db->sql_fetchrowset($result);
   $db->sql_freeresult($result);

   $total_reports = count($reports);
   if ($total_reports != 0)
   {
      for($i = 0; $i < $total_reports; $i++)
      {
         if ($reports[$i]['report_status'] == 1)
         {
            $num_reports++;
         }
      }
   }
   if ($num_reports)
   {
      if ($num_reports == 1)
      {
         $l_total_reports = $lang['One_new_report'];
      }
      else
      {
         $l_total_reports = str_replace('%s', $num_reports, $lang['More_new_reports']);
      }
   }
   else
   {
      $l_total_reports = $lang['No_new_reports'];
   }
   if ($board_config['ReportSystem'])
   {
      $reports_admin_link = '<a href="admin/index.' . $phpEx . '?reports=go&sid=' . $userdata['session_id'] . '">' . $l_total_reports . '</a>';
      $template->assign_block_vars('switch_admin_logged_in', array());
   }
}

#
#-----[ FIND ]------------------------------------------------
#
   'L_USERNAME' => $lang['Username'],
#
#-----[ AFTER, ADD ]------------------------------------------------
#
   // BEGIN ReportSystem by Wicher
   'ADMIN_REPORT_LINK' => $reports_admin_link,
   // END ReportSystem by Wicher

#
#-----[ OPEN ]-----------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]-----------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// BEGIN ReportSystem by Wicher
$lang['ReportSystem_settings'] = 'ReportSystem Settings';
$lang['ReportSystem'] = 'Use ReportSysteem?';
$lang['Reports'] = 'ReportSystem Reports';
$lang['report_user'] = 'To report username';
$lang['Reports_Explanation'] = 'When clicking the Submit button you are reporting the post and the posts poster.<br /><br />You have to give a reason why you are reporting this post and it\'s poster.<br /><br />If you give no reason, no report will be send.';
$lang['reason_here'] = 'State the reason for this report here';
$lang['reason_needed'] = 'You need to give a reason for this report or click Cancel';
$lang['Report_send'] = 'Your report has been send to the Administrators and will be examined as soon as possible,<br />if necessary one of them will contact you.';
$lang['Report_already_send'] = 'This post was already reported, thanks anyway.';
$lang['One_new_report'] = 'There is 1 new report';
$lang['More_new_reports'] = 'There are %s new reports'; // %s is replaced by the number of new reports
$lang['No_new_reports'] = 'No new reports';
$lang['Report_admin_title'] = 'Reports';
$lang['Report_admin_title_explain'] = 'Here you can view postreports made by Moderators on your board<br />If you set the reportstatus as orange, you will be automatic assigned to the report and thus responsable for dealing with it.<br />If you cannot solve the report yourself, set it back to red and then another admin can take up the challange.';
$lang['Edit_this_profile'] = 'Edit Profile';
$lang['View_this_profile'] = 'View Profile';
$lang['Send_pm'] = 'Send PM';
$lang['no_reports'] = 'There are no postreports';
$lang['post_id'] = 'Post ID';
$lang['Delete_this_report'] = 'Delete this Report';
$lang['Delete_all_reports'] = 'Delete All Reports';
$lang['GoToPost'] = 'Go to Post';
$lang['Overall_info'] = 'Overall Information';
$lang['Report_reason'] = 'Report Reason';
$lang['Reportstatus'] = 'Reportstatus';
$lang['assigned_to'] = 'Assigned to:';
$lang['Report_ID'] = 'Report ID';
$lang['ReportTime'] = 'Report-time';
$lang['Reporter'] = 'Reporter';
$lang['PostPostername'] = 'Post postername';
$lang['SetAs'] = 'Set reportstatus as';
$lang['NewReport'] = 'New Report';
$lang['UnderExamination'] = 'Under Examination';
$lang['Closed'] = 'Report Closed';
$lang['set_mess'] = 'Set message';
$lang['postmessyes_no'] = 'Turn \'Reported&nbsp;post\' message off or on in the reported post.';
$lang['Post_reported'] = 'Reported&nbsp;post'; // write &nbsp; instead of a space if want all text on one line
$lang['Click_return_post'] = 'Click %sHere%s to return to the post'; // %s's here are for uris, do not remove!
// END ReportSystem by Wicher

#
#-----[ OPEN ]-----------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]-----------------------------------------
#
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; }
#
#-----[ AFTER, ADD ]-----------------------------------------
#

/* ReportSystem by Wicher */
.reason_error {font-size : {T_FONTSIZE2}px; color: {T_FONTCOLOR3}; text-decoration: none; }
#
#-----[ FIND ]-----------------------------------------
#
            </table></td>
         </tr>
      </table>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
               <!-BEGIN switch_admin_logged_in -->
               <tr>
                  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;{ADMIN_REPORT_LINK}&nbsp;</td>
               </tr>
               <!-END switch_admin_logged_in -->
#
#-----[ OPEN ]-----------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]-----------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// BEGIN ReportSystem by Wicher
$images['icon_report'] = "$current_template_images/{LANG}/icon_report.gif";
$images['report_body'] = "$current_template_images/report.gif";
$images['report_red'] = "$current_template_images/reportstatus_red.gif";
$images['report_orange'] = "$current_template_images/reportstatus_orange.gif";
$images['report_blue'] = "$current_template_images/reportstatus_blue.gif";
$images['reported_mess_yes'] = "$current_template_images/mess_yes.gif";
$images['reported_mess_no'] = "$current_template_images/mess_no.gif";
// END ReportSystem by Wicher
#
#-----[ OPEN ]-----------------------------------------
#
templates/subSilver/subSilver.css
#
#-----[ FIND ]-----------------------------------------
#
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: #DD6900; text-decoration: underline; }
#
#-----[ AFTER, ADD ]-----------------------------------------
#

/* ReportSystem by Wicher */
.reason_error {font-size : 11px; color: #FFA34F; text-decoration: none; }
#
#-----[ OPEN ]-----------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]-----------------------------------------
#
            <td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
#
#-----[ IN-LINE FIND ]-----------------------------------------
#
{postrow.IP_IMG}
#         
#-----[ IN-LINE AFTER, ADD ]-----------------------------------------
#
 {postrow.REPORT}
#
#-----[ FIND ]-----------------------------------------
#
            <td colspan="2"><span class="postbody">
#
#-----[ IN-LINE FIND ]-----------------------------------------
#
<span class="postbody">
#
#-----[ IN-LINE BEFORE, ADD ]-----------------------------------------
#
{postrow.REPORTED}
#
#-----[ OPEN ]-----------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]-----------------------------------------
#
      <td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
   </tr>
#
#-----[ AFTER, ADD ]-----------------------------------------
#
   <!-- ReportSystem by Wicher -->
   <tr>
      <th class="thHead" colspan="2">{L_ReportSystem_SETTINGS}</th>
   </tr>
   <tr>
      <td class="row1">{L_USE_REPORT_SYSTEM}</td>
      <td class="row2"><input type="radio" name="ReportSystem" value="1" {REPORTSYSTEM_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="ReportSystem" value="0" {REPORTSYSTEM_NO} /> {L_NO}</td>
   </tr>
   <tr>
      <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="{L_RESET}" class="liteoption" />
      </td>
   </tr>
   <!-- ReportSystem by Wicher -->
#   
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------------
#
# EoM
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: User Notes
PostPosted: 06/12/2007 4:23 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:51 AM
Location: St Pete, FL
peace.gif
Yes, you should be able to Restore the EM Backups, then adjust the MOD script like this:

OPEN
ReportSystem.txt

FIND
Code:
#
#-----[ BEFORE, ADD ]------------------------------------------------
#
// BEGIN ReportSystem by Wicher
if ( $userdata['user_level'] == ADMIN )

REPLACE WITH
Code:
#
#-----[ BEFORE, ADD ]------------------------------------------------
#
// BEGIN ReportSystem by Wicher
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )

Save, upload, and try again using EM...

Or if you want to manually adjust the code in the page_header.php file, you could do this:

OPEN
includes/page_header.php

FIND
Code:
// BEGIN ReportSystem by Wicher
if ( $userdata['user_level'] == ADMIN )

REPLACE WITH
Code:
// BEGIN ReportSystem by Wicher
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: User Notes
PostPosted: 06/12/2007 4:51 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 3:51 PM
greatbrE.gif
Wow that was easy, I thought it might be quite hard  headbang

There's one other thing to adjust, is when a mod clicks on the report button, it says they aren't authorized to view.
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3, 4  Next
Page 1 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1352s (PHP: 76% - SQL: 24%) - SQL queries: 58 - GZIP disabled - Debug on