Help with the Mod Installation!

Ermöglicht es dem Benutzer ein Bild in sein Profil einzufügen.

Help with the Mod Installation!

Beitragvon mariocaz » 17. Apr 2006 19:44

My friend I am trying to install the Mod in my forum, but in this part I have a little question.

In the admin/admin_users.php:

Code: Alles auswählen
#
#----------[ I din't FIND this ]-------------------------------------
#

   $form_enctype = ( @$ini_val('file_uploads') == '0' || strtolower(@$ini_val('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';


#
#----------[ But I FIND this]-------------------------------------
#

$form_enctype = ( !@$ini_val('file_uploads') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';



#
#----------[ REPLACE WITH ]-----------------------------
#

//<!-- BEGIN Userpic -->
// Removed for Userpic-Upload:  || !$board_config['allow_avatar_upload']
//   $form_enctype = ( @$ini_val('file_uploads') == '0' || strtolower(@$ini_val('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
   $form_enctype = ( @$ini_val('file_uploads') == '0' || strtolower(@$ini_val('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
//<!-- END Userpic -->



So what I have to do ?? Do I replace the part that I find with the Replace Part or what ? :?
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 18. Apr 2006 10:17

Replace it with this:
Code: Alles auswählen
$form_enctype = ( !@$ini_val('file_uploads') || phpversion() == '4.0.4pl1' || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 18. Apr 2006 19:45

thanx my friend let me try that. :wink:

Only with that ?
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 18. Apr 2006 20:30

Only with that ?
Yes
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW


Zurück zu Userpic in Profile



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 6 Gäste

cron