<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>TheGames.3dn.Ru | Играй и побеждай с нами</title>
		<link>http://thegames.3dn.Ru/</link>
		<description>Форум</description>
		<lastBuildDate>Fri, 18 Feb 2011 11:01:33 GMT</lastBuildDate>
		<generator>uCoz Web-Service</generator>
		<atom:link href="https://thegames.3dn.ru/forum/rss" rel="self" type="application/rss+xml" />
		
		<item>
			<title>Добавляем название сайта к аттачментам Dle 8.2 - 8.3</title>
			<link>https://thegames.3dn.ru/forum/50-776-1</link>
			<pubDate>Fri, 18 Feb 2011 11:01:33 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;div align=&quot;center&quot;&gt;[img]ttp://dle.in.ua/uploads/posts/2010-03/1269004353_screen.jpg[/img]&lt;/div&gt; &lt;br /&gt; &lt;b&gt;Простенький хак, который добавляет к имени файла название Вашего сайта, &lt;br /&gt; если файл залит на сервер. &lt;br /&gt; Открываем /engine/classes/download.class &lt;/b&gt; &lt;p&gt; &lt;b&gt;Находим строку: &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;header( &apos;Content-Disposition: attachment; filename=&quot;&apos; . $this-&gt;properties&amp;#91;&apos;new_name&apos;] . &apos;&quot;;&apos; &amp;#41;; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;и заменяем на &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;header( &apos;Content-Disposition: attachment; filename=&quot;my-site.ru&apos; . $this-&gt;properties&amp;#91;&apos;new_name&apos;] . &apos;&quot;;&apos; &amp;#41;;&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-776-1</guid>
		</item>
		<item>
			<title>Баннеры через определенное кол-во новостей</title>
			<link>https://thegames.3dn.ru/forum/50-775-1</link>
			<pubDate>Fri, 18 Feb 2011 10:59:48 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;b&gt;Описание: Думаю многим довольно выгодно продавать у себя рекламу на сайте между новостями и многие сталкиваются с такой проблемой, когда в шаблон короткой новости сунешь баннер он будет отображаться после каждой новости что вызывает ... вообщем некрасиво получается. &lt;br /&gt; Описание: Думаю многим довольно выгодно продавать у себя рекламу на сайте между новостями и многие сталкиваются с такой проблемой, когда в шаблон короткой новости сунешь баннер он будет отображаться после каждой новости что вызывает ... вообщем некрасиво получается. &lt;p&gt; Открыть engine/modules/show.short.php и найти: &lt;br /&gt; while($row = $db-&gt;get_row($sql_result)){ &lt;br /&gt; &lt;/b&gt; &lt;br /&gt; &lt;b&gt;заменить на: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;//###################################&amp;nbsp;&amp;nbsp;&lt;br /&gt; // Баннеры между новостями by Hamer ( www.getdle.ru &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; // Copyright (c&amp;#41; 2008, Age-Web Media Group&amp;nbsp;&amp;nbsp;&lt;br /&gt; //###################################&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; $news_limit = 2; // через какое кол-во новостей показывать баннер ?&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; /*&amp;nbsp;&amp;nbsp;&lt;br /&gt; -= Подсказка =-&amp;nbsp;&amp;nbsp;&lt;br /&gt; -----------------------------------------------------------&amp;nbsp;&amp;nbsp;&lt;br /&gt; В массив который ниже вписывайте html коды баннеров&amp;nbsp;&amp;nbsp;&lt;br /&gt; Одинарные кавычки ( &apos; &amp;#41; экранизируйте слэшами ( &amp;#41; чтобы получилось так ( &apos; &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; * (&amp;#41; - лишнее&amp;nbsp;&amp;nbsp;&lt;br /&gt; ------------------------------------------------------------&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; | дальше нечего не трогайте!&amp;nbsp;&amp;nbsp;&lt;br /&gt; */&amp;nbsp;&amp;nbsp;&lt;br /&gt; $banners = array(&apos;Banner1&apos;,&apos;banner2&apos;&amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; /*&amp;nbsp;&amp;nbsp;&lt;br /&gt; -=Пример=-&amp;nbsp;&amp;nbsp;&lt;br /&gt; ----------------------------&amp;nbsp;&amp;nbsp;&lt;br /&gt; $banners = array(&apos;&apos;,&apos;&apos;&amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; ----------------------------&amp;nbsp;&amp;nbsp;&lt;br /&gt; */&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; //оригинальный код движка //&amp;nbsp;&amp;nbsp;&lt;br /&gt; while($row = $db-&gt;get_row($sql_result&amp;#41;&amp;#41;{&amp;nbsp;&amp;nbsp;&lt;br /&gt; //оригинальный код движка //&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; //опять мой код&amp;nbsp;&amp;nbsp;&lt;br /&gt; if ( $news_limit set(&apos;{banner}&apos;,$banners&amp;#91;mt_rand(0,count($banners&amp;#41;-1&amp;#41;]&amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; $banner_counter = 0;&amp;nbsp;&amp;nbsp;&lt;br /&gt; } else $tpl-&gt;set(&apos;{banner}&apos;,&quot;&quot;&amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; if ( $news_limit &gt; 2 &amp;#41; $banner_counter++;&amp;nbsp;&amp;nbsp;&lt;br /&gt; //конец моего кода&amp;nbsp;&amp;nbsp;&lt;br /&gt; //#################################### &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;Открыть templates/ваш_шаб/shortstory.tpl и в конец файла добавить &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;{banner}&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-775-1</guid>
		</item>
		<item>
			<title>Быстрая регистрация DLE</title>
			<link>https://thegames.3dn.ru/forum/50-774-1</link>
			<pubDate>Fri, 18 Feb 2011 10:56:14 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;b&gt;Быстрая Регистрация с меткой by SalaR. &lt;p&gt; Хак для создания у себя на сайте быстрой регистрации. &lt;p&gt; Установка: &lt;p&gt; 1.скачать приложите копии файла шаблона &lt;p&gt; Вы не можете скачивать файлы с нашего сервера &lt;p&gt; 2.Открыть index.php &lt;/b&gt; &lt;p&gt; &lt;b&gt;Найти: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt; &lt;br /&gt; require_once ROOT_DIR . &apos;/engine/init.php&apos;;&lt;!--code2--&gt; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;Добавить после : &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;include_once $tpl-&gt;dir . &apos;/qregister.tpl&apos;;&lt;!--code2--&gt; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;3.Открыть main.tpl &lt;p&gt; добавить: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;&amp;#91;group=5]&amp;nbsp;&amp;nbsp;&lt;br /&gt; {qregister}&amp;nbsp;&amp;nbsp;&lt;br /&gt; &amp;#91;/group]&lt;!--code2--&gt;&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-774-1</guid>
		</item>
		<item>
			<title>Обзор непрочитанного материала - хак</title>
			<link>https://thegames.3dn.ru/forum/50-773-1</link>
			<pubDate>Fri, 18 Feb 2011 10:55:11 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;b&gt;Очень удобное дополнение, чем-то схожее по аналогии с «обзор непрочитанного», только ко всему этому еще добавляется счетчик количества непросмотренного материала. &lt;/b&gt; &lt;p&gt; &lt;b&gt;Установка: &lt;p&gt; Открываем файл index.php, находим: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;$tpl-&gt;set ( &apos;{topnews}&apos;, $topnews &amp;#41;; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;ниже добавляем:&lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;if($is_logged&amp;#41; { $ti = dle_cache(&quot;last_time_news&quot;, $member_id&amp;#91;&apos;user_id&apos;]&amp;#41;; if($ti === FALSE&amp;#41; { $l = date( &quot;Y-m-d H:i:s&quot;, $_SESSION&amp;#91;&apos;member_lasttime&apos;] &amp;#41;; $th = date ( &quot;Y-m-d H:i:s&quot;, $_TIME &amp;#41;; $t = $db-&gt;super_query(&quot;SELECT COUNT(id&amp;#41; as count FROM &quot;.PREFIX.&quot;_post WHERE date between &apos;$l&apos; and &apos;$th&apos; AND approve = &apos;1&apos;&quot;&amp;#41;; $ti = $t&amp;#91;&apos;count&apos;]; create_cache(&quot;last_time_news&quot;, $ti, $member_id&amp;#91;&apos;user_id&apos;]&amp;#41;; } $tpl-&gt;set ( &apos;{last_time_news}&apos;, $ti &amp;#41;; } else { $tpl-&gt;set ( &apos;{last_time_news}&apos;, &apos;&apos; &amp;#41;; } &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;В вашем шаблоне, в файле main.tpl в любом удобном месте вставить: &lt;br /&gt; {last_time_news} — Новостей опубликовано пока вас не было &lt;/b&gt; &lt;p&gt; &lt;b&gt;Платформа: DLE (Datalife engine): 7.x, 8.x&lt;/b&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-773-1</guid>
		</item>
		<item>
			<title>Прячем регистрационные ссылки под чпу</title>
			<link>https://thegames.3dn.ru/forum/50-772-1</link>
			<pubDate>Fri, 18 Feb 2011 10:54:11 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;b&gt;Данный хак дает возможность спрятать ссылки регистрации под чпу, как всем известно стандартным функционалом движка ссылки для регистрации на сайте под ЧПУ не прячутся. &lt;br /&gt; Для чего это надо? В первую очередь конечно для защиты от спам ботов автоматической регистрации, ну и я думаю у многих найдутся другие причины поставить данный хак к себе на сайт. &lt;br /&gt; Итак начнем : &lt;br /&gt; 1. В файле .htaccess, после строчки: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;RewriteEngine On&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt; &lt;b&gt; &lt;br /&gt; Вставить: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;#register&amp;nbsp;&amp;nbsp;&lt;br /&gt; RewriteRule ^register(/?&amp;#41;+$ index.php?do=register &amp;#91;L]&amp;nbsp;&amp;nbsp;&lt;br /&gt; RewriteRule ^register/validating/(.*&amp;#41;(/?&amp;#41;+$ index.php?do=register&amp;doaction=validating&amp;id=$1 &amp;#91;L]&amp;nbsp;&amp;nbsp;&lt;br /&gt; RewriteRule ^register/validating/(.*&amp;#41;/nextstep(/?&amp;#41;+$ index.php?do=register&amp;doaction=validating&amp;step=2&amp;id=$1 &amp;#91;L] &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;2. В файле engine/modules/static.php, ищем строки: &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;} else {&amp;nbsp;&amp;nbsp;&lt;br /&gt; $tpl-&gt;set( &apos;{ACCEPT-DECLINE}&apos;, &quot;&lt;form method=&quot;post&quot; name=&quot;registration&quot; id=&quot;registration&quot; action=&quot;&quot; . $config&amp;#91;&apos;http_home_url&apos;] . &quot;index.php?do=register&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;bbcodes&quot; value=&quot;{$lang&amp;#91;&apos;rules_accept&apos;]}&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;input type=&quot;button&quot; class=&quot;bbcodes&quot; value=&quot;{$lang&amp;#91;&apos;rules_decline&apos;]}&quot; onclick=&quot;history.go(-1&amp;#41;; return false;&quot; /&gt;&lt;input name=&quot;dle_rules_accept&quot; type=&quot;hidden&quot; id=&quot;dle_rules_accept&quot; value=&quot;yes&quot; /&gt;&lt;/form&gt;&quot; &amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; } &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt; &lt;b&gt;Заменяем на: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;} else {&amp;nbsp;&amp;nbsp;&lt;br /&gt; //edit by FB&amp;nbsp;&amp;nbsp;&lt;br /&gt; if( $config&amp;#91;&apos;allow_alt_url&apos;] == &quot;yes&quot; &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;register/&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; else&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;index.php?do=register&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; $tpl-&gt;set( &apos;{ACCEPT-DECLINE}&apos;, &quot;&lt;form method=&quot;post&quot; name=&quot;registration&quot; id=&quot;registration&quot; action=&quot;{$url}&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;bbcodes&quot; value=&quot;{$lang&amp;#91;&apos;rules_accept&apos;]}&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;input type=&quot;button&quot; class=&quot;bbcodes&quot; value=&quot;{$lang&amp;#91;&apos;rules_decline&apos;]}&quot; onclick=&quot;history.go(-1&amp;#41;; return false;&quot; /&gt;&lt;input name=&quot;dle_rules_accept&quot; type=&quot;hidden&quot; id=&quot;dle_rules_accept&quot; value=&quot;yes&quot; /&gt;&lt;/form&gt;&quot; &amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; //&amp;nbsp;&amp;nbsp;&lt;br /&gt; }&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; 3. В файле engine/modules/register.php, ищем строчку:&amp;nbsp;&amp;nbsp;&lt;br /&gt; $row&amp;#91;&apos;template&apos;] = str_replace( &quot;{%validationlink%}&quot;, $config&amp;#91;&apos;http_home_url&apos;] . &quot;index.php?do=register&amp;doaction=validating&amp;id=&quot; . $idlink, $row&amp;#91;&apos;template&apos;] &amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; Заменяем на:&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; //edit by FB&amp;nbsp;&amp;nbsp;&lt;br /&gt; if( $config&amp;#91;&apos;allow_alt_url&apos;] == &quot;yes&quot; &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;register/validating/{$idlink}/&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; else&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;index.php?do=register&amp;doaction=validating&amp;id=&apos;.$idlink;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; $row&amp;#91;&apos;template&apos;] = str_replace( &quot;{%validationlink%}&quot;, $url, $row&amp;#91;&apos;template&apos;] &amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; //&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;ищем строки:&lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;$tpl-&gt;copy_template = &quot;&lt;form method=&quot;post&quot; name=&quot;registration&quot; onsubmit=&quot;if (!check_reg_daten(&amp;#41;&amp;#41; {return false;};&quot; id=&quot;registration&quot; action=&quot;&quot; . $config&amp;#91;&apos;http_home_url&apos;] . &quot;index.php?do=register&quot;&gt;n&quot; . $tpl-&gt;copy_template . &quot;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;input name=&quot;submit_reg&quot; type=&quot;hidden&quot; id=&quot;submit_reg&quot; value=&quot;submit_reg&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;/form&gt;&quot;; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt; &lt;b&gt;Заменяем это на: &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;//edit by FB&amp;nbsp;&amp;nbsp;&lt;br /&gt; if( $config&amp;#91;&apos;allow_alt_url&apos;] == &quot;yes&quot; &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;register/&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; else&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;index.php?do=register&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; $tpl-&gt;copy_template = &quot;&lt;form method=&quot;post&quot; name=&quot;registration&quot; onsubmit=&quot;if (!check_reg_daten(&amp;#41;&amp;#41; {return false;};&quot; id=&quot;registration&quot; action=&quot;{$url}&quot;&gt;n&quot; . $tpl-&gt;copy_template . &quot;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;input name=&quot;submit_reg&quot; type=&quot;hidden&quot; id=&quot;submit_reg&quot; value=&quot;submit_reg&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;/form&gt;&quot;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; // &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;Ну и на последок, ищем строку: &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;msgbox( $lang&amp;#91;&apos;all_info&apos;], $lang&amp;#91;&apos;confirm_ok&apos;] . &quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;&quot; . $config&amp;#91;&apos;http_home_url&apos;] . &quot;index.php?do=register&amp;doaction=validating&amp;step=2&amp;id=&quot; . rawurlencode( $_REQUEST&amp;#91;&apos;id&apos;] &amp;#41; . &quot;&quot;&gt;&quot; . $lang&amp;#91;&apos;reg_next&apos;] . &quot;&lt;/a&gt;&quot; &amp;#41;; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;Заменяем на: &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;//edit by FB&amp;nbsp;&amp;nbsp;&lt;br /&gt; if( $config&amp;#91;&apos;allow_alt_url&apos;] == &quot;yes&quot; &amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;register/validating/&apos;.rawurlencode($_REQUEST&amp;#91;&apos;id&apos;]&amp;#41;.&apos;/nextstep/&apos;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; else&amp;nbsp;&amp;nbsp;&lt;br /&gt; $url = $config&amp;#91;&apos;http_home_url&apos;].&apos;index.php?do=register&amp;doaction=validating&amp;step=2&amp;id=&apos;.rawurlencode($_REQUEST&amp;#91;&apos;id&apos;]&amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; msgbox( $lang&amp;#91;&apos;all_info&apos;], $lang&amp;#91;&apos;confirm_ok&apos;] . &quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;{$url}&quot;&gt;&quot; . $lang&amp;#91;&apos;reg_next&apos;] . &quot;&lt;/a&gt;&quot; &amp;#41;;&amp;nbsp;&amp;nbsp;&lt;br /&gt; //&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-772-1</guid>
		</item>
		<item>
			<title>Подсветка ника для DLE</title>
			<link>https://thegames.3dn.ru/forum/50-769-1</link>
			<pubDate>Fri, 18 Feb 2011 10:50:59 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;div align=&quot;center&quot;&gt;&lt;img src=&quot;http://dle8.info/uploads/posts/2010-05/thumbs/1274575295_1nik.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;/div&gt; &lt;br /&gt; &lt;b&gt;Данный хак, а скорее хак предназначен для подсветки ников команды сайта или определённых групп пользователей на вашем сайте. Хак совместим со всеми сторонними модулями, например DLE Forum, Мод Files и т.п. Для выделения ников не используется дополнительный запрос, который вызывался бы при каждом выводе ников в комментах, статьях и т.п. &lt;p&gt; Данный хак полезен сайтам, где имеется своя команда для пополнения и модерации сайта, чтобы пользователи смогли сразу отличать членов команды от обычных пользователей, т.к. цвет ника сразу &quot;бросается&quot; в глаза. Так же помимо окраски команды вы можете выделять пользователей, которые находятся в VIP группах или подобных. &lt;/b&gt; &lt;p&gt; &lt;b&gt;Так же вы можете не только окрашивать ники, но и добавлять определённым группам такие теги как &lt;/b&gt; &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;&lt;u /&gt;, &lt;i /&gt; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;p&gt; &lt;b&gt;Совместимость: Все версии &lt;br /&gt; Запросов к БД: 0 &lt;p&gt; Скачать хак - Подсветка ника для DLE, &lt;/b&gt; &lt;p&gt; &lt;a class=&quot;link&quot; target=&quot;_blank&quot; href=&quot;http://u.to/Ss22&quot; title=&quot;http://narod.ru/disk/4404815001/cs-gameportal.ru_podsvetka_nika.rar.html&quot; rel=&quot;nofollow&quot;&gt;http://narod.ru/disk....ar.html&lt;/a&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-769-1</guid>
		</item>
		<item>
			<title>Хак Георгиевская ленточка в верху сайта!</title>
			<link>https://thegames.3dn.ru/forum/50-768-1</link>
			<pubDate>Fri, 18 Feb 2011 10:49:49 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;div align=&quot;center&quot;&gt;&lt;img src=&quot;http://dle.in.ua/uploads/posts/2009-05/1241535329_1240549929_1209292064_lenta.gif&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;/div&gt; &lt;br /&gt; &lt;b&gt;Вот и в этом году стартовала акция! &lt;br /&gt; Мини хак, идея взята с булки! &lt;p&gt; И так делается все очень просто: &lt;p&gt; 1. В папку images своего шаблона заливаем картинку и переименовываем её в lenta.gif. &lt;br /&gt; Картинка выше &lt;p&gt; 2. Открываем шаблон main.tpl и находим {AJAX}, и после вставляем : &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;&lt;nolayer&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;div id=&quot;lenta&quot; style=&quot;position:absolute; top:0; left:0;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;/nolayer&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;a href=&quot;http&amp;#58;//www.9may.ru&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://thegames.3dn.ru/templates/Default/images/lenta.gif&quot; align=&quot;left&quot; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;nolayer&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;/div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;/nolayer&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt; &lt;br /&gt; &lt;b&gt;Вот и все!&lt;/b&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-768-1</guid>
		</item>
		<item>
			<title>Хак вывода даты</title>
			<link>https://thegames.3dn.ru/forum/50-766-1</link>
			<pubDate>Fri, 18 Feb 2011 10:48:22 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://thegames.3dn.ru/forum/50&quot;&gt;Фиксы&lt;/a&gt;&lt;br /&gt;Автор темы: ZyXEL&lt;br /&gt;Автор последнего сообщения: ZyXEL&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>&lt;div align=&quot;center&quot;&gt;&lt;img src=&quot;http://dle8.info/uploads/posts/2010-05/1274575362_1mos-darportal.jpeg&quot; border=&quot;0&quot; alt=&quot;&quot;&gt;&lt;/div&gt; &lt;br /&gt; &lt;b&gt;1. Открываем &quot;main.tpl&quot; где подойдет по дизайну &lt;/b&gt; &lt;br /&gt; &lt;b&gt;Вставить: &lt;/b&gt; &lt;p&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Code&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;Сегодня&amp;nbsp;&amp;nbsp;&lt;br /&gt; var mydate=new Date(&amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; var year=mydate.getYear(&amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; if (year &lt; 1000&amp;#41; year+=1900&amp;nbsp;&amp;nbsp;&lt;br /&gt; var day=mydate.getDay(&amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; var month=mydate.getMonth(&amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; var daym=mydate.getDate(&amp;#41;&amp;nbsp;&amp;nbsp;&lt;br /&gt; if (daym &lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Фиксы</category>
			<dc:creator>ZyXEL</dc:creator>
			<guid>https://thegames.3dn.ru/forum/50-766-1</guid>
		</item>
	</channel>
</rss>