ببینید شما محتویات فایل کنفبگ رو بزار اینجا بی زحمت
در ضمن برای اینکه یاد بگیری محتویات فایل کانفی رو یه سر اینجا رو مطالعه کن
کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
ببینید شما محتویات فایل کنفبگ رو بزار اینجا بی زحمت
در ضمن برای اینکه یاد بگیری محتویات فایل کانفی رو یه سر اینجا رو مطالعه کن
کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
اینم محتویات فایل کنفبگ که
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "cPEnq15ZPmejnuKtzZMUHFH1bee9KLT9i5FfZBmI";
$subscription_url = "";
$tipath = "images/topics/";
$admin_file = "admin";
رو تغییر دادم ولی درست نشد
?php
################################################## ####################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2006 by Francisco Burzi
##کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
################################################## ####################
if (stristr(htmlentities($_SERVER["PHP_SELF"]), "config.php")) {
Header("Location: index.php");
die();
}
################################################## ####################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, sqlite, postgres, mssql, oracle,
# msaccess, db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
# $gfx_chk: Set the graphic security code on every login screen,
# You need to have GD extension installed:
# 0: No check
# 1: Administrators login only
# 2: Users login only
# 3: New users registration only
# 4: Both, users login and new users registration only
# 5: Administrators and users login only
# 6: Administrators and new users registration only
# 7: Everywhere on all login options (Admins and Users)
# NOTE: If you aren't sure set this value to 0
# $subscription_url : If you manage subscriptions on your site, you
# must write here the url of the subscription
# information/renewal page. This will send by
# email if set.
# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
# new filename (without the extension .php)
# $tipath: Path to where the topic images are stored.
# $nuke_editorr: Turn On/Off the WYSIWYG text editor
# 0: Off, will use the default simple text editor
# 1: On, will use the full featured text editor
# $nuke_editorr: Debug control to see PHP generated errors.
# false: Do not show errors
# True See all errors ( No notices )t editor
################################################## ####################
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "cPEnq15ZPmejnuKtzZMUHFH1bee9KLT9i5FfZBmI";
$subscription_url = "";
$tipath = "images/topics/";
$admin_file = "admin";
/************************************************** *******************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to*/کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
/* (Change xxxxxx.xxx to your domain name, for example: phpnuke.org) */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/************************************************** *******************/
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING
$prefix = empty($user_prefix) ? $prefix : $user_prefix;
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","In sighful","Interesting","Informative","Funny","Over rated","Underrated");
$badreasons = 4;
$AllowableHTML = array("img"=>2,"tr"=>1,"td"=>2,"table"=>2,"div"=>2 ,"p"=>2,"hr"=>1,"b"=>1,"i"=>1,"strike"=>1,"u"=>1," font"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"block quote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1,"center" =>1);
$CensorList = array("----","cunt","fucker","fucking","pussy","cock","c0ck", "cum","twat","clit","bitch","fuk","fuking","mother fucker");
//************************************************** *************
// IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK:// COPYRIGHT NOTICES ARE GPL SECTION 2(c) COMPLIANT AND CAN'T BE REMOVED WITHOUT PHP-NUKE'S AUTHOR WRITTEN AUTHORIZATIONکد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
// THE USE OF COMMERCIAL LICENSE MODE FOR PHP-NUKE HAS BEEN APPROVED BY THE FSF (FREE SOFTWARE FOUNDATION)
// YOU CAN REQUEST INFORMATION ABOUT THIS TO GNU.ORG REPRESENTATIVE. THE EMAIL THREAD REFERENCE IS #213080
// YOU'RE NOT AUTHORIZED TO CHANGE THE FOLLOWING VARIABLE'S VALUE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE
// ()کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
//************************************************** *************
$commercial_license = 0;
?>
Last edited by mohsen_djd2; 13-06-2008 at 11:55.
کد:برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
اینا چرا خالیه؟
خوب نگاه کن ببین نام و یوزر دیتابیست چیه اینا رو پر کن دیگه + pass
سلام
1- آقا جواب این سوال برام خیلی اهمیت داره تازه می دونم باید توی دیتابیس دست ببرم فقط نمیدونم کجاش؟
وقتی می خواهم توی قسمت اخبار یک شاخه با نام فارسی درست کنم بیشتر از 11 کاراکتر قبول نمی کنه( یعنی قبول می کنه ولی نشون نمیده) توی قسمت نظر سنجی هم تعداد کاراکتر ها محدوده؟حالا باید چکار کنم؟؟؟؟؟؟
2- این تاریخ بعضی از قالب ها که لاتین هست رو چه جوری میشه شمسی کرد ؟
خيلي ممنونم
سلام.چطور میشه متا تگ هایی به غیر از کیوورد که در منوی نیوک 8.1 هست رو در قالب سایت اضافه کرد.باید به کجای فایل منیجر در هاست رفت ؟
مرسی
اینو از نوک نصب نشده آوردم
$dbpass = "123";
$dbname = "nuke";
ولی n! بار امتحان کردم اما نشد که نشد
file manager --> public_html --> theme --> mashhad team light blue --> theme.php
[QUOTE=mohsen_djd2;2518010]اینو از نوک نصب نشده آوردم
$dbpass = "123";
$dbname = "nuke";
ولی n! بار امتحان کردم اما نشد که نشد[/QUOTE
اینطوری نمیشه دیگه
مشخصات هاستت رو برام پ خ کن خودم درستش کنم
سلام
آقا اين مطلب هايي كه از قسمت «ارتباط با سايت»با موفقيت ارسال ميشن كجا ارسال ميشن كجا ميرن كجا ميشه ديدشون؟
در ضمن من از لوكال هاست استفاده نمي كنم
از تنظیمات سیستم اون میل رو که ست کردی به اون ارسال میشه
هم اکنون 1 کاربر در حال مشاهده این تاپیک میباشد. (0 کاربر عضو شده و 1 مهمان)