Страница 1 из 1

Картинка в сообщении

Добавлено: 24.03.2006 21:11
Soontir
Вопросик возник: почему при вставки картинки в сообщение (даже небольшой) в форуме появляется горизонтальня прокрутка и форум становится шире? Хотя всё и так должно вмещаться... Понятно ещё, когда картинки длинные и не вмещаются, но тут и при небольших форум растягивается.

Добавлено: 24.03.2006 23:21
Siava

Код: Выделить всё

############################################################## 
## MOD Title:          Abnormal posts widening fix
## MOD Author:         -=ET=- < space_et@tiscali.fr > (N/A) http://www.golfexpert.net/phpbb
## MOD Description:    This MOD correct the abnormal posts widening
##                     when a large image is included in a message
## MOD Version:        1.0.1
## Compatibility:      2.0.5->2.0.6 (prior release not tested)
##
## Installation Level: Easy
## Installation Time:  1 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:      1
##      templates/subSilver/viewtopic_body.tpl
##
## Included Files:     0
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes:
##
## 1. EasyMOD
## -----------
## This MOD is compatible and can be installed by EasyMOD
## of Nuttzy (but is not officially EasyMOD Compliant)!
## http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15
##
## 2. MOD compatibility
## -----------
## This MOD is compatible with the "Bottom-Aligned-Signature"
## MOD of John B. Abela ( http://www.phpbb.com/phpBB/viewtopic.php?t=11225 )
##
## 3 Official last version link
## -----------
## Meanwhile the phpBB group validation and as the MOD is not yet
## in the phpBB MOD database, check this official link for updates...
## http://www.golfexpert.net/phpBB
## 
############################################################## 
## MOD History: 
## 
##   2003-07-29 - Version 1.0.1
##      - Fix rewrite to be compatible with the "Bottom-Aligned-Signature"
##        MOD of John B. Abela ( http://www.phpbb.com/phpBB/viewtopic.php?t=11225 )
##      - How-to rewrite to be EasyMOD compatible
##
##   2003-07-10 - Version 1.0.0
##      - Initial final release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ OPEN ]----------------------------------------------------
# 
templates/subSilver/viewtopic_body.tpl

# 
#-----[ FIND ]----------------------------------------------------
# 
<td width="100%"><a href="{postrow.U_MINI_POST}">

# 
#-----[ IN-LINE FIND ]---------------------------------------------- 
#
<td width="100%">

# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------- 
#
<td>

# 
#-----[ FIND ]----------------------------------------------------
# 
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG}

# 
#-----[ IN-LINE FIND ]---------------------------------------------- 
#
<td

# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------------------- 
#
 style="width:auto" align="right"

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------ 
# 
# EoM 

Добавлено: 25.03.2006 12:46
Soontir
Siava
Спасибо!!!

Добавлено: 25.03.2006 16:52
ALER
Вот здесь: http://www.golfexpert.net/phpbb/ есть более свежая версия (1.03), совместимая в 2.0.19, а здесь: http://www.phpbb.com/phpBB/viewtopic.ph ... 932#846932 обсуждение (на английском).

Добавлено: 25.03.2006 18:26
Soontir
ALER
Спасибо!!! :D Это обновление пофиксило одну проблему!