يه سوال درباره ي ناك ايران پرتالز

1-اين ناك با فايل ديتا بيس ناك انگليسي كار ميكنه يا نه اگه نميكنه از كجا بايد اين فايل رو گرفت.

2-چرا وقتي من نصبش ميكنم و كانفيگو درست اديت ميكنم بازم چراغ فايل كانفيگ قرمز هست <يعني درست ادي نشده>

اينم فايل
کد:
 <?php
######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2002 by Francisco Burzi ([email protected])
# http://phpnuke.org
#
# This module is to configure the main options for your site
#
# 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.
######################################################################
######################################################################
# 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, 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.
######################################################################
# Modification of Admin_Secure, Fortress, Google-Tap, and this PHP-Nuke
# Package has been packed and tested by nobleclem of hackerassassins.com
# 
# If you have any problems please contact us at: 
# http://hackerassassins.com
# 
# Make sure you complete the ENTIRE Configuration Section Before 
# Installation of this PHP-Nuke Package
######################################################################
/*For this group Read instructions in the comments above*/
$dbhost = "localhost";
$dbuname = "admin";
$dbpass = "pass";
$dbname = "nuke";
$prefix = "persia";
$user_prefix = "persia";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9"; // THIS MUST BE CHANGED
$gfx_chk = 7;
$subscription_url = "modules.php?name=Subscription";
$yahooid = "iranscripts";
$metakeywords = "kerman, Kerman, persia, persian, persia servers, persiaservers, persia server , persia servers, iran,Iran,IRAN,Iranportals,Iran Portals,iranportals,iranportal,iran portals,farsi,Farsi,Hosting,hosting,domain,domain registration, Domain Registration, News, news, New, new, Technology, technology, Headlines, headlines, Nuke, nuke, PHP-Nuke, phpnuke, php-nuke, Geek, geek, Geeks, geeks, Hacker, hacker, Hackers, hackers, Linux, linux, Windows, windows, Software, software, Download, download, Downloads, downloads, Free, FREE, free, Community, community, MP3, mp3, Forum, forum, Forums, forums, Bulletin, bulletin, Board, board, Boards, boards, PHP, php, Survey, survey, Kernel, kernel, Comment, comment, Comments, comments, Portal, portal, ODP, odp, Open, open, Open Source, OpenSource, Opensource, opensource, open source, Free Software, FreeSoftware, Freesoftware, free software, GNU, gnu, GPL, gpl, License, license, Unix, UNIX, *nix, unix, MySQL, mysql, SQL, sql, Database, DataBase, Blogs, blogs, Blog, blog, database, Mandrake, mandrake, Red Hat, RedHat, red hat, Slackware, slackware, SUSE, SuSE, suse, Debian, debian, Gnome, GNOME, gnome, Kde, KDE, kde, Enlightenment, enlightenment, Interactive, interactive, Programming, programming, Extreme, extreme, Game, game, Games, games, Web Site, web site, Weblog, WebLog, weblog, Guru, GURU, guru, Oracle, oracle, db2, DB2, odbc, ODBC, plugin, plugins, Plugin, Plugins";
$asec_dbconfig = "persia_asconf"; // This must be different from asec_dbtable
$asec_dbtable  = "persia_asmain";  // Thus must be different from asec_dbconfig
$asec_rand1    = "d8h4dkodhnl98doiwjo7e9ifwp0r06wkn0jkdc8w8jsk3jdchs3gd7he3";  // Just a Random Key
$asec_rand2    = "pnf7gss09dhf6ted3ndolss5sm398o6qkdlsdsd66kd7k3ldspq92mkkw";  // Just a Random Key
$nextGenOb = 0;                   //<-- NExtGEn On or Off, 1=On, 0=Off
$nextGenDebug = 0;                //<-- Turn Debugging On or Off 1=On, 0=Off (Admin View Only)
$nextGenMainPath = "GoogleTap";   //<-- Name of Directory to GoogleTap Files. Should be located in root path with mainfile.php.
$nextGenBlock = 0;                //<-- Enable Auto-Convert on Blocks 1=On, 0=Off (!Warning! May slow down the tap)
/*ERROR DOCS CONFIGURATIONS - ONLY MODIFY IF YOU ARE HAVING PROBLEMS*/
$errordocs_url = "http://127.0.0.1/nuke"; // Change $domain with 'http://yourdomain.com'
$errordocs_email = "webmaster@".str_replace('http://','',$errordocs_url).""; // E-mail addy to be displayed on error_docs pages
/*********************************************************************/
/* 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 http://yourdomain.com/admin.php       */
/*                                                                   */
/* 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
$reasons = array("As Is",
		    "Offtopic",
		    "Flamebait",
		    "Troll",
		    "Redundant",
		    "Insighful",
		    "Interesting",
		    "Informative",
		    "Funny",
		    "Overrated",
		    "Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
		    "i"=>1,
		    "a"=>2,
		    "em"=>1,
		    "br"=>1,
		    "strong"=>1,
		    "blockquote"=>1,
                    "tt"=>1,
                    "li"=>1,
                    "ol"=>1,
                    "ul"=>1);
$CensorList = array("fuck",
		    "cunt",
		    "fucker",
		    "fucking",
		    "pussy",
		    "cock",
		    "c0ck",
		    "cum",
		    "twat",
		    "clit",
		    "bitch",
		    "fuk",
		    "fuking",
		    "motherfucker");
$tipath = "images/topics/";
if (eregi("config.php", $_SERVER['SCRIPT_NAME'])) {
    header("Location: index.php");
    die();
}
?>
 

omidmtl

Member
پارسا جان در مورد ديتا بيس اطلاعاتي ندارم ولي در مورد فايل config اين قسمتها رو كه عوض كني درست ميشه
کد:
$asec_rand1
$asec_rand2
$sitekey
 

maisam84

Member
با سلام

آقا پارسا به اين آدرس يه سري بزن

http://www.iranportals.com/modules.php?name=Forums&file=viewtopic&t=2
شايد درست شد .
البته بعد اين كارها هم يه مشكلاتي براي نصبش تو لوكال پيش مياد كه بايد آقا منصور جواب بدن ...

در كل نمي دونم چرا اين ناك ورژن جديد ايران پورتالز با
اين همه تشريفات نصب ميشه در صورتي كه ورژن جديد هر برنامه اي بايد در كل كار آمد تر و قويتر و در عين حال راحت تر از ورژن قبليش باشه .

بازم بايد آقا منصور جواب بدن ...



در ضمن در مورد طراحي لوگو و بنر اين كارو انجام ميدم
بزودي برات ميفرستم
چند روزي مشغول يه كار چاپي بودم


تا بعد
 

جدیدترین ارسال ها

بالا