Attachment Mod

Discuţii legate de instalarea şi funcţionarea unor MODificări vechi sau noi ale forumului phpBB 2.0.x.
Închis
Avatar utilizator
BuGsY
Fost coleg
Mesaje: 1193
Membru din: 19-Iun-2003, 15:24:49
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Constanţa
Contact:

Mesaj de BuGsY »

Am observat ca pe serverele as.ro acest MOD da o eroare:

Directory 'files' is not writeable. You'll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files.
If you have only plain ftp-access change the 'Attribute' of the directory to rwxrwxrwx.

Daca putetia jutatima.. oricum este tarziu shi nu mai am dispozitia necesara sa verific. :lol: :lol:
Avatar utilizator
BuGsY
Fost coleg
Mesaje: 1193
Membru din: 19-Iun-2003, 15:24:49
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Constanţa
Contact:

Mesaj de BuGsY »

Inainte de a incepe sa instalezi acest MOD este bine sa iti faci un backup, pentru siguranta forumului tau.

Copiaza urmatoarele fisiere in directorul radacina al forumului.

Cod: Selectaţi tot

  download.php
  uacp.php
  admin/*
  attach_mod/*
  files/*
  images/*
  install/*
  language/*  (va trebui sa creezi un director "lan_romana" unde vei copia fisierele din /lang_english/ poti sa si traduci )
  templates/*


#-----[ DESCHIDE ]--------------------------------------------- 
# 
common.php

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 171
	$board_config[$row['config_name']] = $row['config_value'];
}

# 
#-----[ DUPA ACEST COD, ADAUGA ]-------------------------------------- 
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
faq.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 59
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx);

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# 
attach_faq_include($lang_file);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
modcp.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 321
				remove_search_post($post_id_sql);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
				delete_attachment(explode(', ', $post_id_sql));

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 1148
				'TOPIC_ID' => $topic_id,

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
				'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($row['topic_attachment']),

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
posting.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 407
$attach_sig = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['attach_sig']) ) ? TRUE : 0 ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? 0 : $userdata['user_attachsig'] );

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# 
execute_posting_attachment_handling();

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 568
			user_notification($mode, $post_data, $post_info['topic_title'], $forum_id, $topic_id, $post_id, $notify_user);
		}

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# linia trebuie introdusa DUPA paranteza inchisa
		$attachment_mod['posting']->insert_attachment($post_id);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 697
			'preview' => 'posting_preview.tpl')
		);

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# linia trebuie introdusa DUPA ');'
		$attachment_mod['posting']->preview_attachments();

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
privmsg.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 139
// ----------
// Start main

# 
#-----[ INAINTE ADAUGA ]-------------------------------------- 
# 
execute_privmsgs_attachment_handling($mode);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 358
	//
	// Pick a folder, any folder, so long as it's one below ...

# 
#-----[ INAINTE ADAUGA ]-------------------------------------- 
# 
	$attachment_mod['pm']->duplicate_attachment_pm($privmsg['privmsgs_attachment'], $privmsg['privmsgs_id'], $privmsg_sent_id);

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 498
	$user_id_to = $privmsg['user_id_2'];

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# 
	init_display_pm_attachments($privmsg['privmsgs_attachment']);

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 750
			unset($delete_type);
		}

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# linia trebuie introdusa DUPA paranteza inchisa
		$attachment_mod['pm']->delete_all_pm_attachments($mark_list);

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 1292
		if ( $mode != 'edit' )
		{
			//
			// Add to the users new pm counter
			//

# 
#-----[ INAINTE ADAUGA ]--------------------------------------- 
# The Line have to be added BEFORE 'if ( $mode != 'edit' )'
		$attachment_mod['pm']->insert_attachment_pm($privmsg_id);

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 1593
			"preview" => 'privmsgs_preview.tpl')
		);

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# linia trebuie introdusa DUPA ');'
		$attachment_mod['pm']->preview_attachments();

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 2133
			'DATE' => $msg_date,

# 
#-----[ DUPA ACEST COD, ADAUGA ]--------------------------------------- 
# 
			'PRIVMSG_ATTACHMENTS_IMG' => privmsgs_attachment_image($privmsg_id),

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
viewforum.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 370
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
attach_build_auth_levels($is_auth, $s_auth_can);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 648
			'NEWEST_POST_IMG' => $newest_post_img, 

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
			'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($topic_rowset[$i]['topic_attachment']),

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
viewtopic.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 146
		AND f.forum_id = t.forum_id
		$order_sql";

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
attach_setup_viewtopic_auth($order_sql, $sql);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 580
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
attach_build_auth_levels($is_auth, $s_auth_can);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 810
//
// Update the topic view counter

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
init_display_post_attachments($forum_topic_data['topic_attachment']);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 1205
		'U_POST_ID' => $postrow[$i]['post_id'])
	);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# linia trebuie introdusa DUPA ');'
	display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
admin/admin_forumauth.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 72
$forum_auth_const = array(AUTH_ALL, AUTH_REG, AUTH_ACL, AUTH_MOD, AUTH_ADMIN);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
attach_setup_forum_auth($simple_auth_ary, $forum_auth_fields, $field_names);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
admin/admin_forums.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 52
//
// Mode setting

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
$forum_auth_ary['auth_attachments'] = AUTH_REG;
$forum_auth_ary['auth_download'] = AUTH_REG;

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
admin/admin_groups.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 58
if ( isset($HTTP_POST_VARS['edit']) || isset($HTTP_POST_VARS['new']) )

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
attachment_quota_settings('group', $HTTP_POST_VARS['group_update'], $mode);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
admin/admin_ug_auth.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 89
// ---------------
// Start Functions

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
attach_setup_usergroup_auth($forum_auth_fields, $auth_field_match, $field_names);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
admin/admin_users.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 62
	//
	// Ok, the profile has been modified and submitted, let's update

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
	attachment_quota_settings('user', $HTTP_POST_VARS['submit'], $mode);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
includes/auth.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 105
		case AUTH_ATTACH:
			break;

		default:
			break;
	}

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# linia trebuie introdusa DUPA paranteza inchisa
	attach_setup_basic_auth($type, $auth_fields, $a_sql);

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

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 254
	//
	// Set up style
	//

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
	include_attach_lang();

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
includes/functions_admin.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 146
					message_die(GENERAL_ERROR, 'Could not update topic', '', __LINE__, __FILE__, $sql);
				}
			}

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# Dupa paranteza inchisa, inainte de break;
			attachment_sync_topic($id);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
includes/prune.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 113
			remove_search_post($sql_post);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
			prune_attachments($sql_post);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
includes/topic_review.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 43
			WHERE t.topic_id = $topic_id
				AND f.forum_id = t.forum_id";

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
		$tmp = '';
		attach_setup_viewtopic_auth($tmp, $sql);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 119
	//
	// Okay, let's do the loop, yeah come on baby let's do the loop
	// and it goes like this ...

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
	init_display_review_attachments($is_auth);

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 202
				'L_MINI_POST_ALT' => $mini_post_alt)
			);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# linia trebuie introdusa DUPA ');'
			display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
includes/usercp_viewprofile.php

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 169
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
display_upload_attach_box_limits($profiledata['user_id']);

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/modcp_body.tpl

#
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 27 
	  <td class="row1">&<span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span></td>


#-----[ IN-LINE FIND ]---------------------------------------------
# aproximativ linia 27 (directly in that line)
{topicrow.TOPIC_TYPE}

# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
{topicrow.TOPIC_ATTACHMENT_IMG}

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/posting_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 258
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

# 
#-----[ REPLACE WITH ]---------------------------------------
# 
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 462
	{POLLBOX} 

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
	{ATTACHBOX}

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/posting_preview.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 13
					<span class="postbody">{MESSAGE}</span>

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
					<!-- BEGIN postrow -->
					{ATTACHMENTS}
					<!-- END postrow -->

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/posting_topic_review.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 26
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>

# 
#-----[ IN-LINE FIND ]---------------------------------------------
# aproximativ linia 26 (directly in that line)
{postrow.MESSAGE}</span>

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

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/privmsgs_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 15
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
  <tr> 

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
	<td align="right"> 
	  <!-- BEGIN switch_box_size_notice -->
	  <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
		<tr> 
		  <td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
		</tr>
		<tr> 
		  <td colspan="3" width="175" class="row2">
			<table cellspacing="0" cellpadding="1" border="0">
			  <tr> 
				<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
			  </tr>
			</table>
		  </td>
		</tr>
		<tr> 
		  <td width="33%" class="row1"><span class="gensmall">0%</span></td>
		  <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
		  <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
		</tr>
	  </table>
	  <!-- END switch_box_size_notice -->
	</td>

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 106
	  <td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle">&<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

# 
#-----[ IN-LINE FIND ]---------------------------------------------
# aproximativ linia 106 (directly in that line)
<span class="topictitle">&<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}

# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
{listrow.PRIVMSG_ATTACHMENTS_IMG}

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/privmsgs_preview.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 23
	<td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span></td>

# 
#-----[ REPLACE WITH ]---------------------------------------
# 
	<td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span>
	<!-- BEGIN postrow -->
	{ATTACHMENTS}
	<!-- END postrow -->
	</td>

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/privmsgs_read_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 47
	  <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>

# 
#-----[ REPLACE WITH ]---------------------------------------
# 
	  <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
	{ATTACHMENTS}
<!-- END postrow -->
	  </td>

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 74
		<input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" />

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
<!-- BEGIN switch_attachments -->
		& 
		<input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/profile_view_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 41
		  <td> <b><span class="gen">{INTERESTS}</span></b></td>
		</tr>

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
<!-- BEGIN switch_upload_limits -->
		<tr> 
			<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
			<td> 
				<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
				<tr> 
					<td colspan="3" width="100%" class="row2">
						<table cellspacing="0" cellpadding="1" border="0">
						<tr> 
							<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
						</tr>
						</table>
					</td>
				</tr>
				<tr> 
					<td width="33%" class="row1"><span class="gensmall">0%</span></td>
					<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
					<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
				</tr>
				</table>
				<b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
				<span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
			</td>
		</tr>
<!-- END switch_upload_limits -->

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/viewforum_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 26
	  <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />

# 
#-----[ IN-LINE FIND ]---------------------------------------------
# aproximativ linia 26 (direct in aceasta linie)
{topicrow.NEWEST_POST_IMG}

# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
# 
{topicrow.TOPIC_ATTACHMENT_IMG}

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

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 39
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>

# 
#-----[ IN-LINE FIND ]---------------------------------------------
# aproximativ linia 39 (direct in aceasta linie)
{postrow.SIGNATURE}

# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
</span>{postrow.ATTACHMENTS}<span class="postbody">

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/admin/group_edit_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 48
	<!-- END group_edit -->

# 
#-----[ INAINTE ADAUGA ]---------------------------------------
# 
	<tr> 
	  <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_PM_QUOTA}</td>
	</tr>

# 
#-----[ DESCHIDE ]---------------------------------------------
# 
templates/subSilver/admin/user_edit_body.tpl

# 
#-----[ CAUTA ]---------------------------------------------
# aproximativ linia 267
	  <td class="row1" colspan="2"><span class="gensmall">{L_SPECIAL_EXPLAIN}</span></td>
	</tr>

# 
#-----[ DUPA ACEST COD, ADAUGA ]---------------------------------------
# 
	<tr> 
	  <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_PM_QUOTA}</td>
	</tr>

# 
#-----[ INCHIDE/SALVEA TOT ]------------------------------------------ 
Avatar utilizator
mihaitza
Fost coleg
Mesaje: 1873
Membru din: 13-Ian-2003, 22:22:10
Versiune: 3.0.5
Ext: Nu
Server: Windows
Nivel phpBB: Experimentat
Localitate: Cluj-Napoca, România
Contact:

Mesaj de mihaitza »

Mersi... parcă acum mă pot apuca....
Avatar utilizator
danielt
AdministratorAdministrator
Mesaje: 1176
Membru din: 18-Oct-2002, 13:02:29
Versiune: 3.0.5
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Timişoara
Contact:

Mesaj de danielt »

BuGsY scrie:Am observat ca pe serverele as.ro acest MOD da o eroare:

Directory 'files' is not writeable. You'll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files.
If you have only plain ftp-access change the 'Attribute' of the directory to rwxrwxrwx.
In acest mesaj de informare este si raspunsul pentru problema ta :-)

Cu ajutorul unui client FTP selecteaza directorul in cauza si schimbai proprietatile. In general un director proaspat creat are proprietatile: drwxr-s--- ceea ce inseamna ca proprietarul contului de ftp "owner" poate citi, scrie si executa fisiere in director, iar grupul din care face parte plus vizitatorii pot doar citi fisierele. Daca schimbi proprietatile (chmod) in rwxrwxrwx vor putea scrie in director si membrii grupului - din care face parte si utilizatorul/vizitatorul ce foloseste protocolul HTTP pentru a scrie ceva in director - desigur explicatii mai tehnice, daca te intereseaza, poti gasi pe internet :-)
Avatar utilizator
BuGsY
Fost coleg
Mesaje: 1193
Membru din: 19-Iun-2003, 15:24:49
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Constanţa
Contact:

Mesaj de BuGsY »

Mi`a reusit.. aveam clientul ftp Total Commander 5.5 si nu am reusit dar mi`am instalat SmartFTP v 1.0 - http://www.smartftp.com si totul este OK.
Avatar utilizator
mihaitza
Fost coleg
Mesaje: 1873
Membru din: 13-Ian-2003, 22:22:10
Versiune: 3.0.5
Ext: Nu
Server: Windows
Nivel phpBB: Experimentat
Localitate: Cluj-Napoca, România
Contact:

Mesaj de mihaitza »

Oare ar fi interesant un forum curat + limba romana + acest mod ?

Dacă da, o să încerc să fac -
ovisopa
Utilizator înregistrat
Mesaje: 76
Membru din: 29-Ian-2004, 08:49:44
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Sibiu, Romania
Contact:

Mesaj de ovisopa »

Salutare lume,

am instalat acest MOD si deocamdata totul este aproape ok :lol: ..

Dupa ce m-am jucat unpik pe localhost am ajuns la partea de limitare a marimii pozei (pixeli nu K) , si normal ca nu am vrut sa-i las pe oameni sa-mi bage poze de 1024 sau nici macar atat pt ca strica aspectul forumului, si am setat in manage special categ :

Cod: Selectaţi tot

[b]Maximum Image Dimensions [/b]
Here you can define the maximum allowed Image Dimension to be attached (Width x Height in pixels).
If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.
500x500 si display inline .. la urmatoarea optiune am lasat 0x0 , Imagick nu am instalat pe local .... am nevoie de imagik pt a folosii aceste optiuni ??? .. care-i faza MOD'u verifica dimensiunile imaginii si o respinge daca e mai mare sau o miceste cu ajutorul lui imagik pana la dimensiunile date in config ???
Avatar utilizator
BuGsY
Fost coleg
Mesaje: 1193
Membru din: 19-Iun-2003, 15:24:49
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Constanţa
Contact:

Mesaj de BuGsY »

Dacă vei seta limitare la imagini (width x height ), atunci DA, MOD Atasament prin configurările făcute nu va mai permite ataşarea de imagini care vor depaşi mărimea respectivă.
ovisopa
Utilizator înregistrat
Mesaje: 76
Membru din: 29-Ian-2004, 08:49:44
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Sibiu, Romania
Contact:

Mesaj de ovisopa »

BuGsY scrie:Dacă vei seta limitare la imagini (width x height ), atunci DA, MOD Atasament prin configurările făcute nu va mai permite ataşarea de imagini care vor depaşi mărimea respectivă.
tu ai zis ca nu va permite atasarea de imagini mai mari de ce am scris io in config (500x500) ... bun da tot nu mi-ai raspuns la intrebare :lol: de ce crezi ca nu imi merge ??? eu am setat 500x500 si nu face nika ..nu da eroare da nici nu-mi zice ca imaginea e prea mare .. si daca ma uit in post o sa o vad cat de mare e ... si e naspa asa :( .. any Ideea ??.

Totul a pornit de acum cateva zile cand un prieten mi-a aratat un joc super misto in flash .. si am zis hai sa facem un topic in care lumea sa-si bage scoru ca atasament ..o poza acolo ..am cautat am gasit MODU si am vazut ca e super misto si folositor ...
Avatar utilizator
dorin
Fost coleg
Mesaje: 4620
Membru din: 24-Iun-2003, 23:23:29
Versiune: 3.1.10
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Puţin experimentat
Contact:

Mesaj de dorin »

Primesti mesaje de eroare :?:
Închis

Înapoi la “2.0.x Suport pentru MODificări”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator