Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
походу так оно и есть...
незнаю даже что делать
грабли с 1-ого поста
сделал как написонопопробуй как сдесь Для просмотра ссылки Войдиили Зарегистрируйся сделать и оставь все как уже сделал
function decode_newthumb ( $txt )
{
$align = false;
$alt = false;
$extra = "";
$txt = stripslashes($txt);
$url = str_replace ("<a href=\"", "", $txt);
$url = explode("\"", $url);
$url = reset($url);
if (strpos($txt, "align=\"") !== false) {
$align = preg_replace( "#(.+?)align=\"(.+?)\"(.*)#is", "\\2", $txt );
}
if (strpos($txt, "alt=\"") !== false) {
$alt = preg_replace( "#(.+?)alt=\"(.+?)\"(.*)#is", "\\2", $txt );
}
if ($align != "left" AND $align != "right") $align = false;
if (!$align AND !$alt) return "[thumb]".$url."[/thumb]";
if ($align) $extra = $align;
if ($alt) $extra .= "|".$alt;
return "[thumb=".$extra."]".$url."[/thumb]";
function decode_newthumb ( $txt )
{
$align = false;
$alt = false;
$extra = "";
$txt = stripslashes($txt);
$url = str_replace ("<a href=\"", "", $txt);
$url = explode("\"", $url);
$url = reset($url);
if (strpos($txt, "align=\"") !== false) {
$align = preg_replace( "#(.+?)align=\"(.+?)\"(.*)#is", "\\2", $txt );
}
if (strpos($txt, "alt=\"") !== false) {
$alt = preg_replace( "#(.+?)alt=\"(.+?)\"(.*)#is", "\\2", $txt );
}
if ($align != "left" AND $align != "right") $align = false;
if (!$align AND !$alt) return "[img]".$url."[/img]";
if ($align) $extra = $align;
if ($alt) $extra .= "|".$alt;
return "[img=".$extra."]".$url."[/img]";
ALTER TABLE `dle_rss` CHANGE `url` `url` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `title` `title` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `descr` `descr` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `date` `date` VARCHAR( 60 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `start_template` `start_template` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `finish_template` `finish_template` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `cookies` `cookies` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `proxy` `proxy` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
CHANGE `keywords` `keywords` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL
Как можно настроить чтоб граббер одни и теже новости сто раз подряд не граббил?
Добавляет то он только новые, но с RSS канала тянет все новости которые есть.
Not Supported File! Thumbnails can only be made from .jpg, gif and .png images!
Not Supported File! Thumbnails can only be made from .jpg, gif and .png images!
return '[thumb]http://' . $host . $url . '[/thumb]';
}
return '[thumb]' . $url . '[/thumb]';
return '[img]http://' . $host . $url . '[/img]';
}
return '[img]' . $url . '[/img]';
Такое решение пробывал?
в rss.functions.php меняешь
наКод:return '[thumb]http://' . $host . $url . '[/thumb]'; } return '[thumb]' . $url . '[/thumb]';
Код:return '[img]http://' . $host . $url . '[/img]'; } return '[img]' . $url . '[/img]';
return '[thumb]http://' . $host . $url . '[/thumb]';
}
return '[thumb]' . $url . '[/thumb]';
return '[img]http://' . $host . $url . '[/img]';
}
return '[img]' . $url . '[/img]';
$sql_query = 'INSERT INTO ' . PREFIX . ('_post (xfields, autor, date, short_story, full_story,
title, category, alt_name, comm_num, allow_comm, allow_main, allow_rate,
approve, fixed, rating, allow_br, vote_num, news_read)
VALUES (
\'' . $xfields . '\', \'' . $author . '\', \'' . $added_time . '\', \'' . $short_story . '\', \'' . $full_story . '\', \'' . $title . '\',
\'' . $category . '\', \'' . $alt_name . '\', \'0\', \'' . $allow_comm . '\', \'' . $allow_main . '\', \'' . $allow_rate . '\',
\'' . $allow_main . '\', \'0\', \'0\', \'1\', \'0\', \'0\')');
$sql_query = 'INSERT INTO ' . PREFIX . ('_post (xfields, autor, date, short_story, full_story,
title, category, alt_name, comm_num, allow_comm, allow_main, allow_rate,
approve, fixed, rating, allow_br, vote_num, news_read, flag)
VALUES (
\'' . $xfields . '\', \'' . $author . '\', \'' . $added_time . '\', \'' . $short_story . '\', \'' . $full_story . '\', \'' . $title . '\',
\'' . $category . '\', \'' . $alt_name . '\', \'0\', \'' . $allow_comm . '\', \'' . $allow_main . '\', \'' . $allow_rate . '\',
\'' . $allow_main . '\', \'0\', \'0\', \'1\', \'0\', \'0\',\''.$config['seo_type'].'\')');