المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : هاك product تحويل النيوك من php الى html بطريقة Mod Rewrite



romaissa
11-01-2013, بتوقيت غرينيتش 06:47 AM
السلام عليكم ورحمه الله وبركاته

اليوم جايب لكم هاك product عجيب


اسم الهاك product : Googletap
عمل الهاك product : اختصار روابط موقعك
متوافق مع النسخة الجديده 8.3.3
مطور الهاك product :سوفت ار

الهاك product مستخدم في اكبر المواقع الداعمه لنيوك
http://www.nukeresources.com
http://www.nukefixes.com
http://nukecops.com

ماذا يعمل الهاك product
يقوم بتغيير روابط المجله من
modules.php?name=Downloads
الى
downloads.html


ماذا يعمل الهاك product
يقوم بتغيير روابط المجله من
modules.php?name=Downloads
الى
downloads.html

مثال توضيحي اكثر
رابط الموضوع

http://www.xxxx.com/modules.php?name...=article&sid=1 (http://www.xxxx.com/modules.php?name=News&file=article&sid=1)

بعد تفعيل الهاك product يصبح الرابط بهذا الشكل

http://www.xxxx.com/article1.html

مما يحسن علاقة روابط موقعك في محركات البحث

ايضا يمكنك تعطيل وتفعيل الهاك product من ملف الكونفق ولايحتاج ارجاع الملفات الى السابق


الملفات المطلوب التعديل عليها

mainfile.php
footer.php
header.php
config.php

قبل كل شي قم باخذ نسخ للملفات من باب الاحتياط

طريقة التركيب install :

1. افتح ملف mainfile.php

وابحث عن :
رمز PHP:

<code style="white-space:nowrap"> <code> @require_once(INCLUDE_PATH."includes/ipban.php");
if (file_exists(INCLUDE_PATH."includes/custom_files/custom_mainfile.php")) {
@include_once(INCLUDE_PATH."includes/custom_files/custom_mainfile.php");
}
</code> </code>

اضف بعده :
رمز PHP:

<code style="white-space:nowrap"> <code> if (isset($tnsl_bUseShortLinks) && $tnsl_bUseShortLinks && file_exists(INCLUDE_PATH.'includes/tegonuke/shortlinks/shortlinks.php')) {
define('TNSL_USE_SHORTLINKS', TRUE);
@include_once(INCLUDE_PATH.'includes/tegonuke/shortlinks/shortlinks.php');



}
</code> </code>

وفي نفس الملف
وابحث عن:

رمز PHP:

<code style="white-space:nowrap"> <code> function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
if(!defined('BLOCK_FILE')) {
define('BLOCK_FILE', true);
}
if (empty($url)) {
if (empty($blockfile)) {
if ($side == "c") {
themecenterbox($title, $content);
} elseif ($side == "d") {
themecenterbox($title, $content);
} else {
themesidebox($title, $content);
}
} else {
if ($side == "c") {
blockfileinc($title, $blockfile, 1);
} elseif ($side == "d") {
blockfileinc($title, $blockfile, 1);
} else {
blockfileinc($title, $blockfile);
}
}
} else {
if ($side == "c" OR $side == "d") {
headlines($bid,1);
} else {
headlines($bid);
}
}
}
</code> </code>


استبدله بهذا:

رمز PHP:

<code style="white-space:nowrap"> <code> function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
if(!defined('BLOCK_FILE')) {
define('BLOCK_FILE', true);
}
if (empty($url)) {
if (empty($blockfile)) {
// GT-NExtGEn 0.5 by Bill Murrin (Audioslaved) http://gt.audioslaved.com (c) 2004
//Modified by montego from http://montegoscripts.com for TegoNuke(tm) ShortLinks
global $tnsl_bAutoTapBlocks;
if (defined('TNSL_USE_SHORTLINKS') && isset($tnsl_bAutoTapBlocks) && $tnsl_bAutoTapBlocks) {
$content = tnsl_fShortenBlockURLs('', $content);
}
//End of GT-NExtGEn / ShortLinks
if ($side == 'c') {
themecenterbox($title, $content);
} elseif ($side == 'd') {
themecenterbox($title, $content);
} else {
themesidebox($title, $content);
}
} else {
if ($side == 'c') {
blockfileinc($title, $blockfile, 1);
} elseif ($side == 'd') {
blockfileinc($title, $blockfile, 1);
} else {
blockfileinc($title, $blockfile);
}
}
} else {
if ($side == 'c' OR $side == 'd') {
headlines($bid,1);
} else {
headlines($bid);
}
}
}
</code> </code>


وفي نفس الملف
وابحث عن :

رمز PHP:

<code style="white-space:nowrap"> <code> function blockfileinc($title, $blockfile, $side=0) {
$blockfiletitle = $title;
$file = file_exists("blocks/".$blockfile."");
if (!$file) {
$content = _BLOCKPROBLEM;
} else {
include("blocks/".$blockfile."");
}
if (empty($content)) {
$content = _BLOCKPROBLEM2;
}
if ($side == 1) {
themecenterbox($blockfiletitle, $content);
} elseif ($side == 2) {
themecenterbox($blockfiletitle, $content);
} else {
themesidebox($blockfiletitle, $content);
}
}
</code> </code>


استبدله بهذا:

رمز PHP:

<code style="white-space:nowrap"> <code> function blockfileinc($title, $blockfile, $side=0) {
$blockfiletitle = $title;
$file = file_exists('blocks/'.$blockfile.'');
if (!$file) {
$content = _BLOCKPROBLEM;
} else {
include('blocks/'.$blockfile.'');
}
if (empty($content)) {
$content = _BLOCKPROBLEM2;
} else { //Added by montego from http://montegoscripts.com for TegoNuke(tm) ShortLinks
global $tnsl_bAutoTapBlocks;
if (defined('TNSL_USE_SHORTLINKS') && isset($tnsl_bAutoTapBlocks) && $tnsl_bAutoTapBlocks) {
$content = tnsl_fShortenBlockURLs($blockfile, $content);
}
}
//End of TegoNuke(tm) ShortLinks

if ($side == 1) {
themecenterbox($blockfiletitle, $content);
} elseif ($side == 2) {
themecenterbox($blockfiletitle, $content);
} else {
themesidebox($blockfiletitle, $content);
}
}
</code> </code>


وافتح ملف footer.php
وابحث عن :

رمز PHP:

<code style="white-space:nowrap"> <code> foot();
</code> </code>


فوقه اضف :

رمز PHP:

<code style="white-space:nowrap"> <code> // GT-NExtGEn 0.4/0.5 by Bill Murrin (Audioslaved) http://gt.audioslaved.com (c) 2004
//Modified by montego from http://montegoscripts.com for RavenNUke76
if (defined('TNSL_USE_SHORTLINKS')) {
tnsl_fPageTapFinish();
}
</code> </code>


وافتح ملف header.php
وابحث عن :

رمز PHP:

<code style="white-space:nowrap"> <code> define('NUKE_HEADER', true);
require_once("mainfile.php");
</code> </code>


اضف بعده :

رمز PHP:

<code style="white-space:nowrap"> <code> //GT-NExtGEn 0.4/0.5 by Bill Murrin (Audioslaved) http://gt.audioslaved.com (c) 2004
//Modified by montego from http://montegoscripts.com for TegoNuke(tm) ShortLinks
global $tnsl_bUseShortLinks, $tnsl_bAutoTapBlocks, $tnsl_bDebugShortLinks, $tnsl_sGTFilePath;
if (defined('TNSL_USE_SHORTLINKS')) {
$GLOBALS&#91;'tnsl_asGTFilePath'&#93; = tnsl_fPageTapStart();
}
</code> </code>


وافتح ملف config.php
وابحث عن :

رمز PHP:

<code style="white-space:nowrap"> <code> ?>
</code> </code>


فوقه اضف :
رمز PHP:

<code style="white-space:nowrap"> <code> $tnsl_bUseShortLinks = TRUE; // FALSE تعطيل TRUE Googletap تنشيط
$tnsl_bAutoTapBlocks = TRUE; // FALSE تعطيل TRUE Googletap تنشيط البلوكات
$tnsl_bDebugShortLinks = FALSE;
</code> </code>


احفظ الملفات وارفعهم الى موقعك
ارفع الملفات الموجودة داخل مجلد html الى موقعك

ومبروك عليك المود رايتر


المصدر
سوفت ار (http://www.soft-ar.com/)


الملفات المرفقة
http://www.traidnt.net/vb/images/attach/zip.gif GoogleTap.zip (http://www.traidnt.net/vb/attachments/217788d1202956349-googletap.zip) (43.2 كيلوبايت, عدد مرات المشاهدة 54 مرة)


https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى