Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 118
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(108756 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(121809 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13622 okuma, 6 yanıt)
 nukecode.com will close..
(11200 okuma, 5 yanıt)
 super youtube player a lo..
(6335 okuma, 1 yanıt)
 Need good PHP Haber port..
(5606 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35115 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(9941 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(10984 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(6979 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11418 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32381 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25232 okuma, 23 yanıt)
 PHP Nuke is out..
(15000 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5196 okuma, 0 yanıt)
 haberhit.com..
(5787 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(51947 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6685 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(173227 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12290 okuma, 8 yanıt)
 WM who ist shampions..
(5043 okuma, 1 yanıt)
 coppermine resim galerisi..
(5488 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9078 okuma, 7 yanıt)
 free wordpress themes..
(5575 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7648 okuma, 4 yanıt)
 need Iletisim module..
(11007 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(27654 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5829 okuma, 1 yanıt)
 world cup flash..
(5041 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(4940 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5162 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4773 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(7972 okuma, 5 yanıt)
 need help to news time..
(4543 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4831 okuma, 0 yanıt)
 how to save flash as imag..
(6044 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(5987 okuma, 2 yanıt)
 gazete ara..
(9787 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(14952 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14554 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14228 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12341 okuma, 9 yanıt)
 Hosting Modülü..
(14018 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5181 okuma, 1 yanıt)
 new plugin for nsn news v..
(4759 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(6921 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6132 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5755 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7057 okuma, 3 yanıt)
 sonhaberler flash block ..
(6621 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Alt Forum Eklentisi Sorun cikti
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Alt Forum Eklentisi Sorun cikti

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
kv23
Mesaj: 100+
Mesaj: 100+





Kayıt: Jun 02, 2008
Mesajlar: 106

MesajTarih: 2008-06-25, 10:35:40    Mesaj konusu: Alt Forum Eklentisi Sorun cikti Alıntıyla Cevap Gönder

merhaba arkadaslar, asagidaki kodu bulamiyorum ! Aradim aradim bulamadim
Su Normal Arayacagim satir Ara yazanin altinda aradim ama yok !
Alıntı:
#
#-----[ AÇINIZ ]------------------------------------------------
#
modules/Forums/index.php


#
#-----[ ARA ]------------------------------------------------
#
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM (( " . FORUMS_TABLE . " f
LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
ORDER BY f.cat_id, f.forum_order";





Bu Da Normal Benim Index.php Dosyam




Alıntı:
<?php
/***************************************************************************
* (admin) index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.40.2.5 2003/08/03 11:50:51 acydburn Exp $
*
*
***************************************************************************/
/***************************************************************************
* phpbb2 forums port version 2.0.5 (c) 2003 - Nuke Cops (http://nukecops.com)
*
* Ported by Nuke Cops to phpbb2 standalone 2.0.5 Test
* and debugging completed by the Elite Nukers and site members.
*
* You run this package at your sole risk. Nuke Cops and affiliates cannot
* be held liable if anything goes wrong. You are advised to test this
* package on a development system. Backup everything before implementing
* in a production environment. If something goes wrong, you can always
* backout and restore your backups.
*
* Installing and running this also means you agree to the terms of the AUP
* found at Nuke Cops.
*
* This is version 2.0.5 of the phpbb2 forum port for PHP-Nuke. Work is based
* on Tom Nitzschner's forum port version 2.0.6. Tom's 2.0.6 port was based
* on the phpbb2 standalone version 2.0.3. Our version 2.0.5 from Nuke Cops is
* now reflecting phpbb2 standalone 2.0.5 that fixes some bugs and the
* invalid_session error message.
***************************************************************************/
/***************************************************************************
* This file is part of the phpBB2 port to Nuke 6.0 (c) copyright 2002
* by Tom Nitzschner (tom@toms-home.com)
* http://bbtonuke.sourceforge.net (or http://www.toms-home.com)
*
* As always, make a backup before messing with anything. All code
* release by me is considered sample code only. It may be fully
* functual, but you use it at your own risk, if you break it,
* you get to fix it too. No waranty is given or implied.
*
* Please post all questions/request about this port on http://bbtonuke.sourceforge.net first,
* then on my site. All original header code and copyright messages will be maintained
* to give credit where credit is due. If you modify this, the only requirement is
* that you also maintain all original copyright messages. All my work is released
* under the GNU GENERAL PUBLIC LICENSE. Please see the README for more information.
*
***************************************************************************/
/***************************************************************************
*
* 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, or
* (at your option) any later version.
*
***************************************************************************/

define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require('./../extension.inc');
require('./pagestart.' . $phpEx);

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
for($i = 0; $i <sizeof>set_filenames(array(
"body" => "admin/index_navigate.tpl")
);

$template->assign_vars(array(
"U_FORUM_INDEX" => append_sid("index.$phpEx"),
"U_FORUM_PREINDEX" => append_sid("modules.$phpEx?name=Forums&file=index"),
"U_ADMIN_INDEX" => append_sid("index.$phpEx?pane=right"),

"L_FORUM_INDEX" => $lang['Main_index'],
"L_ADMIN_INDEX" => $lang['Admin_Index'],
"L_PREVIEW_FORUM" => $lang['Preview_forum'])
);

ksort($module);

while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);

$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
);

ksort($action_array);

$row_count = 0;
while( list($action, $file) = each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];

$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);

$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,

"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
}

$template->pparse("body");

include('./page_footer_admin.'.$phpEx);
}
elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' )
{

include('./page_header_admin.'.$phpEx);

$template->set_filenames(array(
"body" => "admin/index_body.tpl")
);

$template->assign_vars(array(
"L_WELCOME" => $lang['Welcome_phpBB'],
"L_ADMIN_INTRO" => $lang['Admin_intro'],
"L_FORUM_STATS" => $lang['Forum_stats'],
"L_WHO_IS_ONLINE" => $lang['Who_is_Online'],
"L_USERNAME" => $lang['Username'],
"L_LOCATION" => $lang['Location'],
"L_LAST_UPDATE" => $lang['Last_updated'],
"L_IP_ADDRESS" => $lang['IP_Address'],
"L_STATISTIC" => $lang['Statistic'],
"L_VALUE" => $lang['Value'],
"L_NUMBER_POSTS" => $lang['Number_posts'],
"L_POSTS_PER_DAY" => $lang['Posts_per_day'],
"L_NUMBER_TOPICS" => $lang['Number_topics'],
"L_TOPICS_PER_DAY" => $lang['Topics_per_day'],
"L_NUMBER_USERS" => $lang['Number_users'],
"L_USERS_PER_DAY" => $lang['Users_per_day'],
"L_BOARD_STARTED" => $lang['Board_started'],
"L_AVATAR_DIR_SIZE" => $lang['Avatar_dir_size'],
"L_DB_SIZE" => $lang['Database_size'],
"L_FORUM_LOCATION" => $lang['Forum_Location'],
"L_STARTED" => $lang['Login'],
"L_GZIP_COMPRESSION" => $lang['Gzip_compression'])
);

//
// Get forum statistics
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$total_topics = get_db_stat('topiccount');

$start_date = create_date($board_config['default_dateformat'], $board_config['board_startdate'], $board_config['board_timezone']);

$boarddays = ( time() - $board_config['board_startdate'] ) / 86400;

$posts_per_day = sprintf("%.2f", $total_posts / $boarddays);
$topics_per_day = sprintf("%.2f", $total_topics / $boarddays);
$users_per_day = sprintf("%.2f", $total_users / $boarddays);

$avatar_dir_size = 0;

if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);

//
// This bit of code translates the avatar directory size into human readable format
// Borrowed the code from the PHP.net annoted manual, origanally written by:
// Jesse (jesse@jess.on.ca)
//
if($avatar_dir_size >= 1048576)
{
$avatar_dir_size = round($avatar_dir_size / 1048576 * 100) / 100 . " MB";
}
else if($avatar_dir_size >= 1024)
{
$avatar_dir_size = round($avatar_dir_size / 1024 * 100) / 100 . " KB";
}
else
{
$avatar_dir_size = $avatar_dir_size . " Bytes";
}

}
else
{
// Couldn't open Avatar dir.
$avatar_dir_size = $lang['Not_available'];
}

if($posts_per_day > $total_posts)
{
$posts_per_day = $total_posts;
}

if($topics_per_day > $total_topics)
{
$topics_per_day = $total_topics;
}

if($users_per_day > $total_users)
{
$users_per_day = $total_users;
}

//
// DB size ... MySQL only
//
// This code is heavily influenced by a similar routine
// in phpMyAdmin 2.2.0
//
if( preg_match("/^mysql/", SQL_LAYER) )
{
$sql = "SELECT VERSION() AS mysql_version";
if($result = $db->sql_query($sql))
{
$row = $db->sql_fetchrow($result);
$version = $row['mysql_version'];

if( preg_match("/^(3\.23|4\.)/", $version) )
{
$db_name = ( preg_match("/^(3\.23\.[6-9])|(3\.23\.[1-9][1-9])|(4\.)/", $version) ) ? "`$dbname`" : $dbname;

$sql = "SHOW TABLE STATUS
FROM " . $db_name;
if($result = $db->sql_query($sql))
{
$tabledata_ary = $db->sql_fetchrowset($result);

$dbsize = 0;
for($i = 0; $i <count>= " . ( time() - 300 ) . "
ORDER BY session_time DESC";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Couldn't obtain guest user/online information.", "", __LINE__, __FILE__, $sql);
}
$onlinerow_guest = $db->sql_fetchrowset($result);

$sql = "SELECT forum_name, forum_id
FROM " . FORUMS_TABLE;
if($forums_result = $db->sql_query($sql))
{
while($forumsrow = $db->sql_fetchrow($forums_result))
{
$forum_data[$forumsrow['forum_id']] = $forumsrow['forum_name'];
}
}
else
{
message_die(GENERAL_ERROR, "Couldn't obtain user/online forums information.", "", __LINE__, __FILE__, $sql);
}

$reg_userid_ary = array();

if( count($onlinerow_reg) )
{
$registered_users = 0;

for($i = 0; $i < count($onlinerow_reg); $i++)
{
if( !inarray($onlinerow_reg[$i]['user_id'], $reg_userid_ary) )
{
$reg_userid_ary[] = $onlinerow_reg[$i]['user_id'];

$username = $onlinerow_reg[$i]['username'];

if( $onlinerow_reg[$i]['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$registered_users++;
$hidden = FALSE;
}
else
{
$hidden_users++;
$hidden = TRUE;
}

if( $onlinerow_reg[$i]['user_session_page'] <1>assign_block_vars("reg_user_row", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"USERNAME" => $username,
"STARTED" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['session_start'], $board_config['board_timezone']),
"LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['user_session_time'], $board_config['board_timezone']),
"FORUM_LOCATION" => $location,
"IP_ADDRESS" => $reg_ip,

"U_WHOIS_IP" => "http://www.geektools.com/cgi-bin/proxy.cgi?query=$reg_ip&targetnic=auto",
"U_USER_PROFILE" => append_sid("admin_users.$phpEx?mode=edit&amp;" . POST_USERS_URL . "=" . $onlinerow_reg[$i]['user_id']),
"U_FORUM_LOCATION" => append_sid($location_url))
);
}
}

}
else
{
$template->assign_vars(array(
"L_NO_REGISTERED_USERS_BROWSING" => $lang['No_users_browsing'])
);
}

//
// Guest users
//
if( count($onlinerow_guest) )
{
$guest_users = 0;

for($i = 0; $i < count($onlinerow_guest); $i++)
{
$guest_userip_ary[] = $onlinerow_guest[$i]['session_ip'];
$guest_users++;

if( $onlinerow_guest[$i]['session_page'] <1>assign_block_vars("guest_user_row", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"USERNAME" => $lang['Guest'],
"STARTED" => create_date($board_config['default_dateformat'], $onlinerow_guest[$i]['session_start'], $board_config['board_timezone']),
"LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_guest[$i]['session_time'], $board_config['board_timezone']),
"FORUM_LOCATION" => $location,
"IP_ADDRESS" => $guest_ip,

"U_WHOIS_IP" => "http://www.geektools.com/cgi-bin/proxy.cgi?query=$guest_ip&targetnic=auto",
"U_FORUM_LOCATION" => append_sid($location_url))
);
}

}
else
{
$template->assign_vars(array(
"L_NO_GUESTS_BROWSING" => $lang['No_users_browsing'])
);
}

$template->pparse("body");

include('./page_footer_admin.'.$phpEx);

}
else
{
//
// Generate frameset
//
$template->set_filenames(array(
"body" => "admin/index_frameset.tpl")
);

$template->assign_vars(array(
"S_FRAME_NAV" => append_sid("index.$phpEx?pane=left"),
"S_FRAME_MAIN" => append_sid("index.$phpEx?pane=right"))
);

header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

$template->pparse("body");

$db->sql_close();
exit;

}

?>


En son kv23 tarafından 2008-06-25, 13:43:27 tarihinde değiştirildi, toplam 1 kere değiştirildi
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-20, 05:18:39    Mesaj konusu: Forum Arası Reklamlar


Başa dön
abizer
Mesaj: 1+
Mesaj: 1+





Kayıt: Feb 04, 2005
Mesajlar: 49
Konum: Hell

MesajTarih: 2008-06-25, 11:23:37    Mesaj konusu: Alıntıyla Cevap Gönder

Kod:
#
#-----[ AÇINIZ ]------------------------------------------------
#
modules/Forums/index.php



bunu actığına eminmisin
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
kv23
Mesaj: 100+
Mesaj: 100+





Kayıt: Jun 02, 2008
Mesajlar: 106

MesajTarih: 2008-06-25, 13:42:13    Mesaj konusu: sorun cikti Alıntıyla Cevap Gönder

Buldum kodu yerlestirdim ama dedim siteme gidiyim nasil olmus su hatayi verdi

Parse error: syntax error, unexpected T_VARIABLE in /data/members/paid/k/v/kvpusu-fan.net/htdocs/www/modules/Forums/index.php on line 512

Site forumda sura

http://www.kvpusu-fan.net/modules.php?name=Forums
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok siir bölümünde ilginc bir sorun atakanxx Php Nuke Sorunlarınız 1 2010-07-14, 08:50:40 Son Mesajı Görüntüle
Yeni mesaj yok Tema sorun hakan10 Php Nuke Tema Paylaşımları 0 2010-07-12, 16:42:38 Son Mesajı Görüntüle
Yeni mesaj yok Forum Yedeği Yardım DursunKaptan Php Nuke Sorunlarınız 2 2010-07-10, 10:22:37 Son Mesajı Görüntüle
Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız Yeni Sitemiz Forum PC - Teknoloji ve ... muhammed71 Site Tanıtımları & Eleştiriler 2 2010-07-05, 02:23:29 Son Mesajı Görüntüle
Yeni mesaj yok Forum konusuna resim ekleme. avara1984 Php Nuke Sorunlarınız 1 2010-07-04, 23:46:10 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright