[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4529: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4531: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4532: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4533: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Proton TM • View topic - "Обрезание" альтов - зачем?

Proton TM

Professional traffic trading scripts
It is currently Sun Sep 15, 2019 6:36 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: "Обрезание" альтов - зачем?
PostPosted: Sat Sep 22, 2007 7:47 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142
Сегодня обновился
и увидел что "альты" на тумбах "обрезаны"
зачем это сделали? :x
я в шоке!

П.С. Если я вернусь на предыдущую версию - полные альты появятся?


Last edited by MARTYN on Sat Sep 22, 2007 7:50 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 7:50 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142
кстати, некоторые не обрезались
в чем дело то?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 8:03 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142
сейчас попробовал добавить несколько тумб
одни обрезались
другие нет
как это победить?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 8:09 pm 
Offline
Main Programmer

Joined: Mon Oct 04, 2004 6:34 pm
Posts: 219
Изначально в структуре базы данных было ограничение на длину description - 140 символов, alt - 40 символов.
Исполнение этого ограничения было реализовано через админку (в совойствах тэга input макс. длина стоит 40).
Но не все браузеры учитывали это ограничение и позволяли вводить текст большей длины. В некоторых случаях (когда деск. и альт были большой длинны) это приводило к появлению битых записей в базе (эти записи полностью исключались из ротации).
В целях предотвращения таких ошибок контроль за длиной полей был продублирован в движке базы.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 8:23 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142
Все понятно
Мне эти длинные альты очень нравились...

И что теперь делать?
Я ввожу альт длиной согласно поля
а он обрезается на самом интересном месте...
Теперь буквы считать что ли? (((
Это ж с ума можно будет сойти


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 8:30 pm 
Offline
Main Programmer

Joined: Mon Oct 04, 2004 6:34 pm
Posts: 219


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 8:46 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 9:15 pm 
Offline
Модератор

Joined: Wed Apr 27, 2005 12:36 am
Posts: 930
Location: татары мы


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 9:43 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 25, 2007 6:53 pm 
Offline
Модератор

Joined: Sun Apr 03, 2005 1:50 pm
Posts: 708
тебе в редакторе темплейта.. где out прописывается.. нужно все одно слово поменять, на alt="%DESC%".. все!

З.Ы. Давно так пользую..

_________________
Есть инцест траф?! Регаемся , трейдимся ... и гребем бабки... небольшим совочком ;)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 25, 2007 7:28 pm 
Offline
Профи

Joined: Thu Jun 15, 2006 3:49 pm
Posts: 142
так и сделал на новом сидже
а вот на старых у меня все было в "альтах"
поэтому и сказал, что заново переписывать нереально
надеюсь, что поисковики не обидятся на обрезанные альты )))


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Search for:
Jump to:  
cron






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group