Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Haun tulos hakusanalle: file_hash

Tuloksien järjestys
#301
Français (French) / Re: nouvelle installation
elokuu 01, 2011, 02:47:45 IP tekijältä john013
...... , $attachment_id, $dir = null, $new = false, $file_hash = '') {  global $modSettings, $smcFunc;   // Just  ............    // Grab the file hash if it wasn't added.  if ($file_hash === '')  {  $request = $smcFunc['db_query']('', ' ............   SELECT file_hash  FROM {db_prefix}attachments  WHERE id_attach  ............ ']($request) === 0)  return false;   list ($file_hash) = $smcFunc['db_fetch_row']($request);  $smcFunc[ ............  the old system, do a legacy call.  if (empty($file_hash))  return getLegacyAttachmentFilename($filename,  ............ '];   return $path . '/' . $attachment_id . '_' . $file_hash; }  // Older attachments may still use this  ......
#302
...... .sql  Find Koodi [Valitse] Laajenna $file_hash = getAttachmentFilename($row['filename'], $ ......
#303
Install and Upgrade Help / Re: Upgrade database error
marraskuu 07, 2011, 01:48:21 IP tekijältä bkmaurer
......  logged in I get this error:    Unknown column 'a.file_hash' in 'field list' File: /home/bmaurer1/public_html/ ......
#304
Graphics and Templates / Re: Adding AD MOD to Dark4 theme
marraskuu 04, 2011, 05:02:18 IP tekijältä bburg5
...... .. -errors in database now... Fixed by deleting (a.file_hash,) in display.php -now ads below last post Going  ......
...... ] Laajenna list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $ ............ ] Laajenna list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $ ............ ] Laajenna list ($id_folder, $real_filename, $file_hash, $file_ext, $id_attach, $attachment_type, $ ......
#306
SMF 2.0.x Support / Re: Members List
elokuu 08, 2011, 04:08:46 IP tekijältä TheLookBook
...... . ALTER TABLE {$db_prefix}attachments ADD COLUMN file_hash varchar(40) NOT NULL default '';  ---# Altering  ......
#307
Converting to SMF / Re: [SMF Converter] Drupal 6.2
kesäkuu 18, 2010, 10:08:40 AP tekijältä Norv
...... --* {$to_prefix}attachments ---{ $no_add = true;  $file_hash = getAttachmentFilename(basename($row['filename']) ............ , true); $physical_filename = $id_attach . '_' . $file_hash;  if (strlen($physical_filename) > 255)  return;   ............ ),  'filename' => basename($row['filename']),  'file_hash' => $file_hash,  'id_msg' => $row['id_msg'],  ' ......
#308
Bridges and Integrations / Re: cometchat 2.04 + smf 2
heinäkuu 23, 2011, 07:39:40 IP tekijältä ProtoGT
...... , '^',COALESCE((SELECT concat (ID_ATTACH,'_', file_hash) from ".TABLE_PREFIX."attachments where ". ............ ,'^',COALESCE((SELECT concat (ID_ATTACH,'_', file_hash) from ".TABLE_PREFIX."attachments where ". ......
...... . ALTER TABLE {$db_prefix}attachments ADD COLUMN file_hash varchar(40) NOT NULL default ''; ---#  Will it be  ......
#310
Italiano (Italian) / Re: Problema upgrade 1.1.7 a 2.0
elokuu 14, 2011, 02:14:18 IP tekijältä andryonline
......  l'ho fatta!!!  E' "bastato" inserire 2 campi ("file_hash" e "approved") nella tabella "attachments", come  ......
...... . ALTER TABLE {$db_prefix}attachments ADD COLUMN file_hash varchar(40) NOT NULL default ''; ---#   Cut and  ......
#312
SMF 2.0.x Support / Re: Help Here
heinäkuu 20, 2011, 12:15:37 AP tekijältä alexobando
...... , $attachment_id, $dir = null, $new = false, $file_hash = '')<br />{<br /> global $modSettings, $smcFunc;< ............  Grab the file hash if it wasn't added.<br /> if ($file_hash === '')<br /> {<br /> $request = $smcFunc[' ............ ']('', '<br /> SELECT file_hash<br /> FROM {db_prefix}attachments<br /> WHERE  ............ ) === 0)<br /> return false;<br /><br /> list ($file_hash) = $smcFunc['db_fetch_row']($request);<br /> $ ............  old system, do a legacy call.<br /> if (empty($file_hash))<br /> return getLegacyAttachmentFilename($ ............  /> return $path . '/' . $attachment_id . '_' . $file_hash;<br />}<br /><br />// Older attachments may still  ......
#313
Converting to SMF / Re: [SMF Converter] bbPress 0.8.3
huhtikuu 16, 2011, 10:50:08 IP tekijältä dn3
...... ; $img_extension = array('png', 'gif', 'jpg');  $file_hash = getAttachmentFilename($row['filename'], $row[' ............ ); $physical_filename = $row['id_attach'] . '_' . $file_hash; $bb_filename = $row['id_attach'].'.'.  ............ ), 'filename' => $row['filename'], 'file_hash' => $file_hash, 'id_msg' => $row['id_msg'], ' ......
#314
Tutoriales / Re: migrar el smf+mkportal (o solo el smf)
syyskuu 23, 2009, 08:55:22 IP tekijältä dario_rey_musico
......  NULL DEFAULT '0', `filename` tinytext NOT NULL , `file_hash` varchar( 40 ) NOT NULL DEFAULT '', `size` int(  ......
#315
Install and Upgrade Help / Re: 1.1.6 to 2.0 G Upgrade issues
kesäkuu 17, 2011, 06:22:55 AP tekijältä Norv
...... ] Laajenna ALTER TABLE smf_attachments ADD COLUMN file_hash varchar(40) NOT NULL default ''; (where please  ......
#316
...... . ALTER TABLE {$db_prefix}attachments ADD COLUMN file_hash varchar(40) NOT NULL default ''; ---# Cut and  ......
......  for the replies. The problem was indeed with the file_hash field not being created by the upgrade script. I  ......
#318
SMF Coding Discussion / Re: How to merge two SMF Forums?
toukokuu 26, 2010, 03:48:39 AP tekijältä SoLoGHoST
......  to keep all attachments right? If so than a new file_hash will have to be created if their exists a  ......
#319
SMF 1.1.x Support / Re: BACKUP Problem!!!!
joulukuu 22, 2009, 07:51:56 AP tekijältä ukhalik2
...... `, `ID_MEMBER`, `attachmentType`, `filename`, `file_hash`, `size`, `downloads`, `width`, `height`) VALUES ( ......
#320
Converting to SMF / Re: Kunena to SMF
toukokuu 03, 2011, 09:47:14 AP tekijältä georgee
......  Converting avatars... Notice: Undefined variable: file_hash in /home/www/xxx.com/subdomains/game2/convert.php( ......
Advertisement: