<? /********************************************************************** ** Copyright Info - http://www.mxprojects.com ** ** No code or graphics can be re-sold or distributed under any ** ** circumstances. By not complying you are breaking the copyright ** ** of MX Projects which you agreed to upon purchase. ** ** ** ** Special thanks to Steve Webster and http://www.phpforflash.com ** **********************************************************************/ /****************************************************************** ** This is the only file in which you need to change any ** ** information and most of the time $dbHost does NOT need to be ** ** changed. ** ******************************************************************/
$dbHost = "localhost"; $dbUser = "{DBUSER}"; $dbPass = "{DBPASS}"; $dbName = "{DBNAME}"; //$boardTitle is used for reply e-mails when a user gets a reply $boardTitle = "{BOARDTITLE}"; //This is the address that the user will see when they get post replies $adminEmail = "$boardTitle Mailer<{ADMINEMAIL}>"; //Directory where message board is installed MUST HAVE TRAILING "/" $installDirectory = "{INSTALLDIRECTORY}"; //New user title $userTitle = "{NEWUSERTITLE}"; //Absolute path. No trailing slash. $abpath = "{ABSOLUTEPATH}"; //Admin recive e-mail if anything changes on a thread i.e. moving, sticky, delete $threadStatus = "{THREADSTATUS}"; //amount of threads to display on each page deafult is 14 $threadsPerPage = {THREADSPERPAGE}; //amount of posts to display on each page deafult is 10 $postsPerPage = {POSTSPERPAGE}; //avatar file size. default is 7500 bytes. $avatarSize = {AVATARSIZE}; //avatar width and height. default 80 pixels. $avatarWidth = {AVATARWIDTH}; $avatarHeight = {AVATARHEIGHT}; //file uploading size. default is 40000 bytes $uploadSize = {UPLOADSIZE}; //upload height and width. default is 675 x 510 pixels $uploadHeight = {UPLOADHEIGHT}; $uploadWidth = {UPLOADWIDTH};
/********************************************************* ** Function: dbconnect() ** ** Desc: Perform database server connection and ** ** database selection operations ** *********************************************************/ function dbConnect() { // Access global variables global $dbHost; global $dbUser; global $dbPass; global $dbName;
// Attempt to connect to database server $link = @mysql_connect($dbHost, $dbUser, $dbPass);
// If connection failed... if (!$link) { // Inform Flash of error and quit print "<b>Couldn't connect to database server</b> <br>"; fail("Couldn't connect to database server"); }
// Attempt to select our database. If failed... if (!@mysql_select_db($dbName)) { // Inform Flash of error and quit print "<b>Couldn't find database $dbName </b><br>"; fail("Couldn't find database $dbName"); }
<? /********************************************************************** ** Copyright Info - http://www.mxprojects.com ** ** No code or graphics can be re-sold or distributed under any ** ** circumstances. By not complying you are breaking the copyright ** ** of MX Projects which you agreed to upon purchase. ** ** ** ** Special thanks to Steve Webster and http://www.phpforflash.com ** **********************************************************************/ /****************************************************************** ** This is the only file in which you need to change any ** ** information and most of the time $dbHost does NOT need to be ** ** changed. ** ******************************************************************/
$dbHost = "localhost"; $dbUser = "{DBUSER}"; $dbPass = "{DBPASS}"; $dbName = "{DBNAME}"; //$boardTitle is used for reply e-mails when a user gets a reply $boardTitle = "{BOARDTITLE}"; //This is the address that the user will see when they get post replies $adminEmail = "$boardTitle Mailer<{ADMINEMAIL}>"; //Directory where message board is installed MUST HAVE TRAILING "/" $installDirectory = "{INSTALLDIRECTORY}"; //New user title $userTitle = "{NEWUSERTITLE}"; //Absolute path. No trailing slash. $abpath = "{ABSOLUTEPATH}"; //Admin recive e-mail if anything changes on a thread i.e. moving, sticky, delete $threadStatus = "{THREADSTATUS}"; //amount of threads to display on each page deafult is 14 $threadsPerPage = {THREADSPERPAGE}; //amount of posts to display on each page deafult is 10 $postsPerPage = {POSTSPERPAGE}; //avatar file size. default is 7500 bytes. $avatarSize = {AVATARSIZE}; //avatar width and height. default 80 pixels. $avatarWidth = {AVATARWIDTH}; $avatarHeight = {AVATARHEIGHT}; //file uploading size. default is 40000 bytes $uploadSize = {UPLOADSIZE}; //upload height and width. default is 675 x 510 pixels $uploadHeight = {UPLOADHEIGHT}; $uploadWidth = {UPLOADWIDTH};
/********************************************************* ** Function: dbconnect() ** ** Desc: Perform database server connection and ** ** database selection operations ** *********************************************************/ function dbConnect() { // Access global variables global $dbHost; global $dbUser; global $dbPass; global $dbName;
// Attempt to connect to database server $link = @mysql_connect($dbHost, $dbUser, $dbPass);
// If connection failed... if (!$link) { // Inform Flash of error and quit print "<b>Couldn't connect to database server</b> <br>"; fail("Couldn't connect to database server"); }
// Attempt to select our database. If failed... if (!@mysql_select_db($dbName)) { // Inform Flash of error and quit print "<b>Couldn't find database $dbName </b><br>"; fail("Couldn't find database $dbName"); }
yaw bunları dio setupdb de yani sadece db avatars and image in chmodlarınımı değiştircem
**** Before you start make sure that db.php, the avatars directory and img directory are CHMOD 777. If it's not you will get errors when you try to go to Step 2. ****
yaw kardeş 2 de bir ne msj yazıon gereksiz forumu kirletion,,,gel msn e konuşalım yapıyım...alla allahhh..
kırızı ile gösterdiğim yeri değiştirecen db.php den..sonra setupdb.php yi çalıştırıp kuracan bu kadar basit
Vahap sakin ol yardımcı ol arkadaşa kardeş msnde biraz yoğun vahap o yüzden sakin olun sabırlı olun hallolur herşey ya bide hep merak ediyorum bu kurulum çok basit yaw benm 1 dk mı bile sürmedi(ftp den hosta dosyaları atma hariç )
_____________________________
Doğumum anama hamallıktı, Yaşamam bana Ölümün bile hamallıktı Cenaze alayına..
yaw ibrahim bildiğin gibi değil ya millete yardım edelim dedim hiç bir çıkar gözetmeksizin...adam banner koyacak bana soruyo , rütbe ayarlıyacak bana soruyo ya daha neler neler...ve bu aralar eskisi gibi full time internette değilim bi msn açınca arkadaşlara mı cevap veriyim pc de işlerimi mi yapıyım felan filan...
neyse kardeş sen bana fp adresini şifreni kullanıcı adını felan bütün bilgilerini emaille yolla ben sana kurarım...ama sana şunu diyorum bu flash forum hiç ii değil ve kullanışlı değil...bilemiyorum yani...
benim sormak istediğim birşey var ben hazır forumlardan yapmak istyorum domain adresim var ama aldığım forumların adresi hep belli oluyor ben kendi siteme nasıl forum ekleyebilirim
yukarda resimlerle anlattıklarınızı anlamadım çünkü orda sevgiforum.com un adresi yazıyor ama o sitede forumlarla ilgili birşey bulamadım
yardımcı olursanız çok sevinirim
_____________________________
herkes aynıydi ben farklıydım şimdi herkes faklı olmaya çalışıyor ben yine aynıyım
şimdi eğer kurulu bir siten varsa ftp de forum diye bir dosya aç ve içine hangi hazır forum u seçersen onun dosyalarını yükle (benim tavsiyem smf forum) ve kurulumu resimdeki gibi yap
mesela bu sitede baya değiştirmişler ben yaptım bu forum u ama renk filan değiştiremek istiyom yardımm
< Bu mesaj bu kişi tarafından değiştirildi tugay289 -- 12 Aralık 2006; 23:38:52 >
_____________________________
AMD X2 DUAL CORE 3600+ 1.9@2.50 GHz + Asus M2N4-SLI + Dual 2x1GB; DDR2-677Mhz + Asus EAX1550/TD/256M/A@512M@%33_O/C + 250GB SEAGATE (16MB,SATA,NCQ) HDD -410AS + LG Super Multi DVD Rewriter LG GSA-H42N + CoolerMaster RC-690 460W Güç Kaynağı + A4-Tech Gamer X7-G800MU Gamer Klavye (Siyah) +