Вы находитесь на странице: 1из 2

- Открываем engine/modules/antibot.

php

Ищем:

$img2=imagecreatetruecolor($this->width, $this->height);

Заменить на:

$img2=imagecreatetruecolor( $this->width, $this->height + '12' );

Ищем:

imagefilledrectangle($img2, 0, $this->height, $this->width, $this->height+12,


$foreground);

Добавляем ниже:

imagestring( $img2, 2, $this->width / 2 - ImageFontWidth( 2 ) * 12 / 2,


$this->height - 2, "RipBy.RU", $background);

- Чтобы при рефреше размер картинки не уменьшался

Открываем index.php

Ищем:

$tpl->set('{headers}', $metatags);

Добавляем ниже:

$width = 120;
$height= 62;
$tpl->result['content'] = str_replace('border="0" width="120" height="62"',
'border="0" width="'.$width.'" height="'.$height.'"', $tpl->result['content']);

_____________________________________________________________________________
_____________________________________________________________________________

Emotik lahter suuremaks kui vaja

!
- Смайлов получилось относительно много (по сравнению со стандартными) и
вы можете красиво оформить вывод смайлов из BB панели (изменить ширину,
высоту окна):

в файлах:
/engine/modules/bbcode.php
/engine/inc/inserttag.php
/engine/ajax/bbcode.php
находим:
div id="dle_emo" style="visibility:hidden; display: none; position: absolute;
width:140px; height: 124px;

и меняем значения под свой сайт. width - это ширина, height - это высота
Я под себя сделал width:250px; height: 220px;

Вам также может понравиться