samedi 25 janvier 2014

City-Skyline template for DLE 10.1 English

City-Skyline template for DLE 10.1 English


Adaptive template is suitable for any subject site is very easy to edit to fit your needs, easy to install. No additional fields, without third-party libraries. Adaptive design means that the same pattern will be displayed correctly in all devices. This pattern, as well as other templates of this author is very good quality.
This is indicated as a structure pattern, and the graph (figuratively as the template by using the maximum CSS).

FullStory
Author : YURTA
Template Type : Original
Width : Adaptive
DLE Version : 10.1
Tested : IE9, Mozilla, Opera, Google Chrome, Safari
Options : tpl, css, img, js

Download City-Skyline template for DLE 10.1 English
Pass Unrar : dle-guides.blogspot.com

mercredi 22 janvier 2014

Style Template from Test-Templates for DLE 10.1 English

Style Template from Test-Templates for DLE 10.1 English
Style Template from Test-Templates for DLE 10.1 English

Introducing attention stylish template for news portals and sites from the design studio Test-Templates. Template feature is the ability to select one of four colors for the background pattern. Full adaptation to the latest version DLE 10.1.


Engine version : DLE 10.1
Template Type : Fixed, 1000px
Nesting : mixed
Options : PSD logo template design 4 options
Template works in Internet Explorer; Mozilla Firefox; Opera; Safari; Google Chrome

Download Templates Datalife Engine 10.1 English
Style Template  for DLE 10.1 English
Pass Unrar : dle-guides.blogspot.com

mardi 21 janvier 2014

Content protection from copying

Content protection from copying
Content protection from copying

Finished with the implementation of easy installation NoCopy - Content protection from copying, allows you to protect the text from attempts to copy its combination of buttons Ctrl + C , or release the mouse, thereby adding problems to people who stupidly tyryat news from your internet portal.


Installation:
1. Upload to my template file script nocopy.js in js folder
2. In the template file, add a line main.tpl tag:




Download: NoCopy.rar
Pass Unrar :dle-guides.blogspot.com

dimanche 19 janvier 2014

DLE hack to remove ID from the URL news publication

to remove ID from the URL news publication for DataLife Engine 10 's version of the engine, the hack will be useful for those who want to hide the ID news, pretend RLC familiar, and most importantly to strengthen the importance of SEO site. As you probably noticed when you add new material each publication is given an ID number that is automatically inserted into the URL of the news Dle. Since the engine settings no way to disable this feature, you can use a hack to insert ID no longer makes news. And the old address will be forwarded to the new address urlami. Works with all versions of the engine, starting with 8.5


This guide will let you know how to remove ID from URL news publication in DLE:

1. Open the file / engine / engine.php and look for the code:
// ################ news ################# 
if ($subaction != '' or $newsid) {
if (! $newsid) $sql_news = "SELECT id, autor, date, short_story, full_story, xfields, title, category, descr, keywords, alt_name, comm_num, allow_comm, allow_rate, fixed, rating, vote_num, news_read, approve, votes, access, flag, editdate, editor, reason, view_edit, tags, metatitle FROM " . PREFIX . "_post WHERE alt_name ='$news_name' AND date >= '{$year}-{$month}-{$day}' AND date < '{$year}-{$month}-{$day}' + INTERVAL 24 HOUR LIMIT 0,1";
else $sql_news = "SELECT id, autor, date, short_story, full_story, xfields, title, category, descr, keywords, alt_name, comm_num, allow_comm, allow_rate, fixed, rating, vote_num, news_read, approve, votes, access, flag, editdate, editor, reason, view_edit, tags, metatitle FROM " . PREFIX . "_post where id = '$newsid'";

if ($subaction == '') $subaction = "showfull";
}
}
is replaced by:
// ################ News entirely #################  
if ($subaction != '' or $_GET['newsid']) {
if (! $_GET['newsid']) $sql_news = "SELECT id, autor, date, short_story, full_story, xfields, title, category, descr, keywords, alt_name, comm_num, allow_comm, allow_rate, fixed, rating, vote_num, news_read, approve, votes, access, flag, editdate, editor, reason, view_edit, tags, metatitle FROM " . PREFIX . "_post WHERE alt_name ='$news_name' AND date >= '{$year}-{$month}-{$day}' AND date < '{$year}-{$month}-{$day}' + INTERVAL 24 HOUR LIMIT 0,1";
else $sql_news = "SELECT id, autor, date, short_story, full_story, xfields, title, category, descr, keywords, alt_name, comm_num, allow_comm, allow_rate, fixed, rating, vote_num, news_read, approve, votes, access, flag, editdate, editor, reason, view_edit, tags, metatitle FROM " . PREFIX . "_post where alt_name = '{$_GET['newsid']}'";

if ($subaction == '') $subaction = "showfull";
}
}
2. The files / engine / modules / show.short.php, show.custom.php, topnews.php looking for:
 if( $row['category'] and $config['seo_type'] == 2 ) {  

$full_link = $config['http_home_url'] . get_url( $row['category'] ) . "/" . $row['id'] . "-" . $row['alt_name'] . ".html";

} else {

$full_link = $config['http_home_url'] . $row['id'] . "-" . $row['alt_name'] . ".html";

}

} else {

$full_link = $config['http_home_url'] . date( 'Y/m/d/', $row['date'] ) . $row['alt_name'] . ".html";
}

} else {

$full_link = $config['http_home_url'] . "index.php?newsid=" . $row['id'];

}
and replace with:
 
if( $row['category'] and $config['seo_type'] == 2 ) {

$full_link = $config['http_home_url'] . get_url( $row['category'] ) . "/" . $row['alt_name'] . ".html";

} else {

$full_link = $config['http_home_url'] . $row['alt_name'] . ".html";

}

} else {

$full_link = $config['http_home_url'] . date( 'Y/m/d/', $row['date'] ) . $row['alt_name'] . ".html";
}

} else {

$full_link = $config['http_home_url'] . "index.php?newsid=" . $row['alt_name'];

}
3. Open the file /. Htaccess and are looking for:
 RewriteRule ^([^.]+)/([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2 [L]
is replaced by:
 RewriteRule ^([^.]+)/(.*).html(/?)+$ index.php?newsid=$2 [L]
looking for:
 RewriteRule ^([0-9]+)-(.*).html(/?)+$ index.php?newsid=$1 [L]
is replaced by:
 RewriteRule ^(.*).html(/?)+$ index.php?newsid=$1 [L]
cut and paste to the end of the file the following code:
# Himself post
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day= $3&news_page=$4&cstart=$5&news_name=$6 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day= $3&news_page=$4&news_name=$5 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html(/?)+$ engine/print.php?subaction=showfull&year=$1&month=$2&day= $3&news_page=$4&news_name=$5 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day= $3&news_name=$4 [L]

RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$4&news_page=$2&cstart=$3 [L]
RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$2 [L]
RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$2&newsid=$3 [L]
RewriteRule ^([^.]+)/(.*).html(/?)+$ index.php?newsid=$2 [L]

RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$1&cstart=$2 [L]
RewriteRule ^page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2&news_page=$1 [L]
RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$1&newsid=$2 [L]
RewriteRule ^(.*).html(/?)+$ index.php?newsid=$1 [L]
4. Whatever with the older types of links going to redirect links must open a new kind of file / engine / modules / show.full.php, find the code:
@header( "HTTP/1.0 404 Not Found" ); 
msgbox( $lang['all_err_1'], $lang['news_err_12'] );
}
and substituted:
preg_match("/([0-9]*)-(.+?).html$/i", $_SERVER["REQUEST_URI"], $res); 
if(intval($res[1]) > 0){
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.$config['home_url'].$res['2'].'.html');
exit;
}
find:
$news_found = TRUE;
add below:
 if($config['allow_alt_url'] == "yes"){
preg_match( '/'.$row['id'].'-(.*?).html/is' , $_SERVER["REQUEST_URI"] , $parse_alt_name );
if($row['alt_name'] != trim($parse_alt_name[1]) )$news_found = FALSE; if( !$news_found ) break;
}
WARNING! If you have a lot of old news, think twice before doing this installation. Many pages on the fly time from the index. For new data resources hack dle remove ID from the URL news publications fits perfectly. Download the archive with this setting

Download DLE-HAK-ID
Pass Unrar: dle-guides.blogspot.com

samedi 11 janvier 2014

Template WINZEOS For DLE 10.1 English

Template WINZEOS For DLE 10.1 English
Professional approach to visual style template for DLE 10.1 light and easy. Suitable for vegans so narrow product review.


DLE Version: 10.1
Package: tpl, CSS, JS, img
Template type: rip
Translated Rus-Eng By: Indieka Iris

Download Template WINZEOS For DLE 10.1 English
Pass Unrar: dle-guides.blogspot.com

Category menu with new counts

Category menu with new counts
Category menu with new counts


The module is pretty simple but yet powerful for those website that want to add categories automatically with the news and articles counted without modify any Datalife Engine files only require a few lines of CSS styles and include file into the theme.


Features:
- Automatically generate the category list from the category cache files and database
- Use cache to reduce the server loading and resources
- Automatically count all news in both main categories and sub-categories and make the total count in main categories
- Supports category icons (useful for those who use category icons like file hosts and different category icons)
- Very simple to install without modify any DLE files
- Easy to customize in CSS
- Can set cache to how often to update the article count and category list

This module only tested on 9.6 - 10.1

Modules Installation Guide

- Using your FTP client to upload folders /engine/ to root of your server

- Using your FTP client to upload folders {THEME}/images/cat.png to your theme images folder

Open main.tpl or side.tpl or whatever file you want category menu to display Add this code in any place you want category menu to display


{include file="/engine/modules/cat_starter.php?new_days=1"}

OR

{include file="/engine/modules/cat_starter.php?new_days=1&cache_time=43200"}

Attribute Information


  •  new_days=1 is for the number of day to starter the grab the category list the default is "1" which is the "day the category was created"
  • cache_time=43200 is for how often the cache to update the category list and counter this use second I set "43200" is to "update every 12 hours", you can set the number you want


Add this css style to one of your css files in your theme (possibly /css/ or /styles/ folder) CSS Code:

.catmenus {margin:-4px 0 0 0;padding:0; width:100%;display:block;position:relative}
.catmenus a {font-size:14px !important;font-family: 'Ubuntu Condensed', Helvetica, Arial, sans-serif !important;font-weight:normal;font-style:normal !important;
background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(255,255,255,1) 20%), to(rgba(255,255,255,0)));
background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0));
background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0));
background-image: -ms-linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0));
background-image: -o-linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0));
background-image: linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0));
-webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(0, 0, 0, .1),0 2px 0 0 rgba(0, 0, 0, .06);
-moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(0, 0, 0, .1),0 2px 0 0 rgba(0, 0, 0, .06);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(0, 0, 0, .1),0 2px 0 0 rgba(0, 0, 0, .06);
background-color: #E3E6E8;
color:#3c83b0;
text-shadow: 1px 1px 0px #ffffff;
margin:3px 0;
text-decoration:none;
display:block;
cursor:pointer;
position:relative
}
.catmenus a:hover{background:#fff;color:#f30871;text-shadow:0 1px 0 #ffffff,0 -1px 3px #bebebe;}
.catmenus a span.ficon{background:url(../images/cat.png) 5px 6px no-repeat;padding:4px 5px 4px 25px;display:block}
.catmenus a span.total {
color: #fff;
display: block;
position: absolute;
top: 5px;
right:5px;
text-align:center;
padding:0 8px;
font:normal 13px Helvetica, Arial, sans-serif !important;
font-style:normal !important;
background: #3c83b0;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
text-shadow:none !important;
}
.catmenus a:hover span.total {background: #f30871;}


You can customize the color and background color of your choices,

Download CategoryMenu-new-count.rar 
Pass Unrar : dle-guides.blogspot.com

jeudi 9 janvier 2014

Template File Template for DLE 10.1 English

Template File Template for DLE 10.1 English
Template File Template for DLE 10.1 English

Template File Template is perfect for any kind of warez portals or software, thanks to its large produmannyo structure and navigation. Design template from Eto'o is light Otenko and used as a background beautiful yellow color. File Template template has a fixed width, which is made in two columnar form.


If you want to change the background color:
As it is set in styles.css
body {
font:12px/18px Arial,Tahoma,Verdana,sans-serif;
width:100%;
background:#fbfbc9 url('../images/ldn.jpg') no-repeat top center;
Developer: Test-Templates
Layout: Mixed Version DLE: 10.1
Template Type: Original Width: fixed, 1000px Cross-browser: IE7, IE8, Mozilla, Opera, Google Chrome, Safari
Options: template, PSD logo and font, detailed instructions
Download a template Template File: File-Template-DLE-10.1.English.rar
Pass Unrar : dle-guides.blogspot.com