A program fault has been recorded in the log
Home arrow Forum

Remository Forum

 


cfeodorov@yahoo.com

Karma: 0  
A small hack to do - 2009/03/13 13:19 Hello,
In the file:
/com_remository/v-classes/remositoryFileInfoHTML.php

line 253:
Code:

 if ($file->submittedby''$this->fileOutputBox (_DOWN_SUB_BY$submitter->fullname().' ('.$submitter->name.')');



may be replaced with:
Code:

  /*Begin modified code*/         if ($file->submittedby'') {     if($submitter->fullname()"Administrator"){     $this->fileOutputBox (_DOWN_SUB_BY$submitter->fullname().' ('.$submitter->name.')');           }           else{           $this->fileOutputBox (_DOWN_SUB_BY$submitter->fullname());           }     };     /* End of modified code */


in order to prevent exposing Administrators user name.

Respectfully,

Post edited by: cfeodorov@yahoo.com, at: 2009/03/13 13:21

Post edited by: cfeodorov@yahoo.com, at: 2009/03/13 15:31

Post edited by: cfeodorov@yahoo.com, at: 2009/03/13 15:33
  | | Sorry, you do not currently have permission to write here.
cfeodorov@yahoo.com

Karma: 0  
Re:A small hack to do - 2009/03/13 15:38 Because the code was altered by the board code,
I have to resubmit the code as follow.
code :

/*Begin modified code*/
if ($file->submittedby'') {
if($submitter->fullname()"Administrator"){
$this->fileOutputBox (_DOWN_SUB_BY, $submitter->fullname().' ('.$submitter->name.')');
}
else{
$this->fileOutputBox (_DOWN_SUB_BY, $submitter->fullname());
}
};
/* End of modified code */
  | | Sorry, you do not currently have permission to write here.
jais.ashish

Karma: 0  
Re:A small hack to do - 2012/01/20 06:16 Hi,
I have one problem.
I am trying to add one new field(feedback) in file info section at front end.
I have added in v-classes/remositoryFileInfoHTML.php, line no: 257

$this->fileOutputBox(_DOWN_FEEDBACK, $file->feedback)

But field is not showing up in file info section.
Pls help!!


Thanks,
Ashish
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 112  
Re:A small hack to do - 2012/01/24 23:00 Are you sure it has a value in the database table? Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Who is Online

Remository welcomes guests and visitors

We have 1 guest online

Real Time Web Analytics