Friday, June 17, 2016

How to add iframe in DLE post


Adding iframe to Datalife Engine post is much easier than you may think.
You don't need any modules. By default DLE allows iframe from only few domains because of security purposes.
Let's say you want to embed a video or movie to your site using iframe from Openload.co
What you need to do is follow the step below.
Open the file engine/classes/parse.class.php
Find:
var $allowed_domains = array("vkontakte.ru", "ok.ru", "vk.com", "youtube.com", "maps.google.ru", "maps.google.com", "player.vimeo.com", "facebook.com", "mover.uz", "v.kiwi.kz", "dailymotion.com");
Add the iframe domain as below:
var $allowed_domains = array("openload.co", "vkontakte.ru", "ok.ru", "openload.co","vk.com", "youtube.com", "maps.google.ru", "maps.google.com", "player.vimeo.com", "facebook.com", "mover.uz", "v.kiwi.kz", "dailymotion.com");

After you do this you may add iframe from openload.co using Short description or xfields.

Thursday, June 16, 2016

Datalife Engine Noindex Hack


After 5 years I am back on using Datalife Engine CMS.
And one of the problem I faced when trying to rank well for SEO was no index for tags, xfields or other pages I didn't want to.
In wordpress it is simple, installing plugins making it easy to solve this problem but not for DLE, after searching found this great hack which gets the work done.

Download: https://www.mediafire.com/?wuwrag0k0mra2g5

Follow the steps below to install.
  1. Copy all the files from the folder Upload in the root of your webserver.
  2. Open main.tpl and after the tag 
{headers} 
Insert
{include file="/engine/modules/noindex.php?noindex=userinfo,register&index=showfull,main,cat&follow=cat_page,main_page"}
Available values :
main - Homepage
date - Page news for specific dates
cat - Category page
showfull - Full news page
xfsearch - Additional field page
search - Search results page
userinfo - The profile page
register - Registration page
stats - Statistics page
pm - Personal messages page
feedback - Feedback page
favorites - Favorites page
newposts - New posts page
addnews - Add news page
lastnews - Page with the latest news on the site
lastcomments - Page with last comments
lostpassword - Recover password page
static - Static page
catalog - Catalog page
alltags - Tag cloud page
tags - Page news from the tag cloud
allnews - Page with all the news on the site, or all the news of any user
cat_page - Category pages pagination
main_page - Homepage pagination
lastnews_page - Latest news page pagination
xfsearch_page - Additional fields pages pagination
lastcomments_page - Last comments page pagination
newposts_page - New posts page pagination
catalog_page - Catalog page pagination
allnews_page - All news page pagination
tags_page - Tags page pagination
showfull_page - Page pagination in full news
date_page - Pages pagination news for specific dates

noindex - Here add values for the pages you want noindex, nofollow tag.
index - Here add values for the pages you want index, follow tag.
follow - Here add values for the pages you want noindex, follow tag..

Thursday, February 24, 2011

Universal 2.2 Template for DLE 9.2

Universal 2.2 Template for DLE 9.2
Universal 2.2 Template for DLE 9.2
This is the second version of the quality of the universal pattern of Test-Templates, adapted for Datalife Engine 9.2. I want to say, quite an impressive job, about the design and layout template. 
Excellent slider is implemented in this work.

Sunday, February 6, 2011

Saturday, January 29, 2011

Friday, January 28, 2011

Module Referer 8.4 for DLE 9.0 and 9.2




Module Referer 8.4
Module Referer 8.4 for DLE 9.0 and 9.2
Referer 8.4 - a module which is a possibility of taking into people transitions to your website. With built-in power, you can show on home page: Searches request or just ten of the last transition. With built-in calculator you can see the citation index, Page Rang and statistics LiveInternet transition. The calculator is based on advanced technology AJAX, which in seconds will give you the result. And many other useful features.


Sunday, January 23, 2011

Template O2 Reborn for DLE 9.2

Template O2 Reborn for DLE 9.2
Template O2 Reborn for DLE 9.2

Beautiful and high-quality english  template O2 Reborn for DLE 9.2. This is the original template, in the kit is included the source code format. Psd (Photoshop). This template O2 Reborn quality adapted to the new version of the engine dle 9.2.

Tested in this browsers:
- Internet Explorer: 6, 7, 8
- Mozilla FireFox
- Opera
- Google Chrome
- Safari
Author: GZ Design 
Language: English