DLE Forum v2.2 Full English | Full English By Arash.N (SyarashTools.com)
1- Download This File & Upload To Determinate Folders !
http://dlefarsi.com/dle/DLE-Forum-2.2-Full-English-By-Arash.N-SyarashTools.com.zip
2- Change Permission
/engine/forum/cache/ Folder & Sub Folders To 777 !
3- Change Permisson
/uploads/forum/ Folder To 777 !
4- Open
/engine/engine.php And Find:
case "comments" :<br />
include ENGINE_DIR.'/modules/comments.php';<br />
break;
Add After:
case "forum" :<br />
include ENGINE_DIR.'/forum/main.php';<br />
break;
5- Open
Admin.php And Find:
'addnews' => 'user',
Add After:
'forum' => 'admin',
6- Open
/engine/inc/options.php And Find:
array(<br />
'name' => $lang['opt_rssinform'],<br />
'url' => "$PHP_SELF?mod=rssinform",<br />
'descr' => $lang['opt_rssinformc'],<br />
'image' => "rss.gif",<br />
'access' => "1",<br />
),
Add After:
array(<br />
'name' => "DLE Forum",<br />
'url' => "$PHP_SELF?mod=forum",<br />
'descr' => "Forum Administration",<br />
'image' => "dle_forum.png",<br />
'access' => "1",<br />
),
7- Open
.htaccess And Find:
RewriteRule ^page/(.*)$ index.php?cstart=$1 [L]
Add After:
# DLE Forum<br />
RewriteRule ^forum(/?)+$ /?do=forum [L]<br />
RewriteRule ^forum/category_([0-9]+)(/?)+$ index.php?do=forum&category=$1 [L]<br />
RewriteRule ^forum/forum_([0-9]+)(/?)+$ index.php?do=forum&showforum=$1 [L]<br />
RewriteRule ^forum/forum_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showforum=$1&cstart=$2 [L]<br />
RewriteRule ^forum/topic_([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1 [L]<br />
RewriteRule ^forum/topic_([0-9]+)/([0-9]+)(/?)+$ index.php?do=forum&showtopic=$1&cstart=$2 [L]<br />
RewriteRule ^forum/topic_([0-9]+)/reply(/?)+$ index.php?do=forum&act=_topic&code=reply&tid=$1 [L]<br />
RewriteRule ^forum/forum_([0-9]+)/add(/?)+$ index.php?do=forum&act=add_topic&forum_id=$1 [L]<br />
RewriteRule ^forum/search(/?)+$ index.php?do=forum&act=search [L]<br />
RewriteRule ^forum/search/([^/]+)/([0-9]+)(/?)+$ index.php?do=forum&act=search&search_text=$1&cstart=$2 [L]<br />
RewriteRule ^forum/subscription(/?)+$ index.php?do=forum&act=subscription [L]<br />
RewriteRule ^forum/getnew(/?)+$ index.php?do=forum&act=getnew [L]<br />
RewriteRule ^forum/getnew/([0-9]+)(/?)+$ index.php?do=forum&act=getnew&cstart=$1 [L]<br />
RewriteRule ^forum/warn/([^/]*)(/?)+$ index.php?do=forum&act=warn&user=$1 [L]<br />
RewriteRule ^forum/warn/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&act=warn&user=$1&cstart=$2 [L]<br />
RewriteRule ^forum/reputation/([^/]*)(/?)+$ index.php?do=forum&act=reputation&user=$1 [L]<br />
RewriteRule ^forum/reputation/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&act=reputation&user=$1&cstart=$2 [L]
8- Open
index.php And Find:
require_once ROOT_DIR.'/engine/init.php';
Add After:
require_once ROOT_DIR.'/engine/forum/sources/modules/show.last.php';
9- In
index.php , Find:
$tpl->set('{speedbar}', $tpl->result['speedbar']);
Add After:
$tpl->set('{forum}', $tpl->result['forum_table']);
Note:
If you want english template, please go to forum homepage and wait for a few minutes until your page load..
Now go to folder
/templates/English-Template and move all files to
/Temlates/Default/ !
10- Done & Enjoy !!!