Tarih: 2005-07-09, 13:24:40 Mesaj konusu: arkadaşlar sorun çok,acemilik de çok.....?
Arkadaşlar,forum yönetimde iken "forum önizlemeye" tıklayınca:
Fatal error: Call to undefined function: opentable() in /home/divrigli/public_html/mainfile.php on line 236
böyle çıkıyor.Bu satır numarası nasıl bulunuyor,gerçi bulsam nasıl düzeltecem bilmiyorum.
Kent Rehberi yükledim önce her şey normaldi.sonra editör ekliyeyim dedim kent rehberi için editör eklemeye çalıştığımda baktımki rehber yönetici düzenlenin içinde yok.Kent rehberinden sonra şiir modülü yükledim ondanmı acaba böyle oldu yönetici düzenlede şiir yönetimi var rehber yok.
başaka bir sorun,moderator ekledim,data center bloğunda mod admin gözüküyor.
Radyo dinlenin içinden memleketimin radyosunu pop-up pencere içinde göstereyim dedim,olmuyor. java sorunu var galiba.java nasıl siteye ekleniyor,pop-up pencere nasıl yapılıyor.Gerçi bir kaç sitede hazır kod yazma yeri var orada yapıyorum atıyorum bloğa sanki o bloğu hiç yüklememiş gibi oluyor.
Siteye yeni üye olanlarda foruma yazı yazanlarda yıldız otamatik gelmiyor,forum yönetiminden hepsine yeni üye olanlara ben kendim atıyorum.burada forum yönetiminde üye,aktif....falan bunlar nasıl ayarlanıyor mesaj sayısı girip özel rütbe olarak ata dediğim zaman otomatik yıldızlar gelirmi.?
Birde dönüşümlü reklam nasıl oluyor.Mesala elimde üç tane reklam var üstte veya yan bloklarda o üçünüde veya ikisini de 20 şer saniye ara ile nasıl gösteririm.java script olmadığı için reklam swf olursa gösterilemez mi hatamı verir ? dönüşümlü reklam nasıl ayarlanır ?
Her zaman, aynı zamanda hostumun sahibide olan, netopsiyon forumlarını dolaşıyorum,tam anlayacağım şekilde sorunlarıma cevap alamıyorum.Bazen tam buldum derken forum yöneticisi bu konuda başlık açılmıştı mesajı yazıyor ,dolaşıyorum bulamıyorum.
Şöyle bir fikrim var forumlar için arama kutusu konabilirmi? belki de var ben bilmiyorum.?
Yani anlayacağınız sorun çok,bende ariflik yok.
Lütfen arkadaşlar,bana yardımcı olun.
İlgilenecek arkadaşlar asiteye bakabilirler.Kolay gelsin.
www.memleketimdivrigi.com
En son ARCAN tarafından 2005-07-09, 13:31:16 tarihinde değiştirildi, toplam 2 kere değiştirildi
arkadaşlar,sorunlarım hakkında herhangi bir fikri olan yokmu ?
Hadi bu acemi,uzun zamandır takip ediyorum forumları o kadar usta abiler var ki,bari onlar bir el atsalar...............
Tarih: 2005-07-11, 18:31:48 Mesaj konusu: Re: arkadaşlar sorun çok,acemilik de çok.....?
arcan hemşerim bak o satırı bulmak için o hata veren dosyayı dreamweaver da açarsan direk yanda yazar satır satır hangisinde oluğun. yok ben onu yükleyemem bulamam edemem dersen notepadde açar tek tek sayarsın. her sıra bi sayı eğer o satırı verirsen daha iyi olur gibi. sence de öyle değilmi. hadi hemşerim kolay gelsin
Tarih: 2005-07-12, 01:11:53 Mesaj konusu: Re: arkadaşlar sorun çok,acemilik de çok.....?
Norpedde Satırı bulmak için öncelikle (Xp) Kullanıyorsan Ctrl+G ye tıkla ve satır numarasını yaz o satıra kendısı gider ..
(öncelikle Notpedde açtıgında bak yazılar 10 15 satırlık ise kapat Wordpad de ac ve en basına ... koy kaydet kapat bu sefer Notped te ac ve eklediğin noktalari ... sil ve dediğim sekilde Ctrl + G ile satır numaraısnı arat bulursun...
2 nci sorun
Rütbe olayı
öncelikle Forum admın yönetiminden Rütbeler kısmına gelip kendıne Bir kaç rütbe belirt ( Yeni Üye , Üye , Aktif Üye ) ve yalnız bunlari yaratırken orda sana sorulan mesaj sayılarınıda yazmayı unutma
Örnek : Yeni Üye
Buna 25 dedin diyelim bu üye 25 mesaj yazmayana kadar o rütbeyi alamaz
Şimdi yıldızlara gelince modules/Forums/images/ranks/1star.gif vs gibi resimler vardır bunlari yaratacagın rütbeler uygun sekilde dağit
simdilik anca bu kadar yazabildim
yapamazsan tekrar yaz tekrara cevap veririm
netopsiyon.com dan,kaynağı görüntüle yaparak şu kodları aldım.Bunları benim siteye eklersem,sadece tema adını değiştirirsem olur mu?
Bir de bunları nereye eklerim.........
arkadaşlar kodu ekleyemedim.
script type="text"java........diye başlayan ve retun true..../script diye biten bölümü,
sitenin kaynağı görüntülendiğinde başlarında yer alan kodları.
Kodu kopyalayıp yapıştımadığım için böyle yazmak zorunda kaldım.
özürdilerim.Anlatamadım galiba.
yılmaz abi buyur,bir bak sana zahmet,versiyon 6,5 nuke
<?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* 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. */
/************************************************************************/
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if (extension_loaded('zlib')) {
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
//header('Content-Encoding: gzip');
}
}
}
if (!ini_get("register_globals")) {
import_request_variables('GPC');
}
foreach ($_GET as $secvalue) {
if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*i f r a m e*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*m e t a*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*img*\"?[^>]*>", $secvalue)) ||
(eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
(eregi("\"", $secvalue))) {
die ("I don't like you...");
}
}
foreach ($_POST as $secvalue) {
if (eregi("<[^>]*script*\"?[^>]*>", $secvalue)) {
Header("Location: index.php");
die();
}
}
if (eregi("mainfile.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
if ($forum_admin == 1) {
require_once("../../../config.php");
require_once("../../../db/db.php");
} elseif (inside_mod == 1) {
require_once("../../config.php");
require_once("../../db/db.php");
} else {
require_once("config.php");
require_once("db/db.php");
/* FOLLOWING TWO LINES ARE DEPRECATED BUT ARE HERE FOR OLD MODULES COMPATIBILITY */
/* PLEASE START USING THE NEW SQL ABSTRACTION LAYER. SEE MODULES DOC FOR DETAILS */
require_once("includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
}
function delQuotes($string){
/* no recursive function to add quote to an HTML tag if needed */
/* and delete duplicate spaces between attribs. */
$tmp=""; # string buffer
$result=""; # result string
$i=0;
$attrib=-1; # Are us in an HTML attrib ? -1: no attrib 0: name of the attrib 1: value of the atrib
$quote=0; # Is a string quote delimited opened ? 0=no, 1=yes
$len = strlen($string);
while ($i<$len) {
switch($string[$i]) { # What car is it in the buffer ?
case "\"": #" # a quote.
if ($quote==0) {
$quote=1;
} else {
$quote=0;
if (($attrib>0) && ($tmp != "")) { $result .= "=\"$tmp\""; }
$tmp="";
$attrib=-1;
}
break;
case "=": # an equal - attrib delimiter
if ($quote==0) { # Is it found in a string ?
$attrib=1;
if ($tmp!="") $result.=" $tmp";
$tmp="";
} else $tmp .= '=';
break;
case " ": # a blank ?
if ($attrib>0) { # add it to the string, if one opened.
$tmp .= $string[$i];
}
break;
default: # Other
if ($attrib<0) # If we weren't in an attrib, set attrib to 0
$attrib=0;
$tmp .= $string[$i];
break;
}
$i++;
}
if (($quote!=0) && ($tmp != "")) {
if ($attrib==1) $result .= "=";
/* If it is the value of an atrib, add the '=' */
$result .= "\"$tmp\""; /* Add quote if needed (the reason of the function ;-) */
}
return $result;
}
function check_html ($str, $strip="") {
/* The core of this code has been lifted from phpslash */
/* which is licenced under the GPL. */
include("config.php");
if ($strip == "nohtml")
$AllowableHTML=array('');
$str = stripslashes($str);
$str = eregi_replace("<[[:space:]]*([^>]*)[[:space:]]*>",
'<\\1>', $str);
// Delete all spaces from html tags .
$str = eregi_replace("<a[^>]*href[[:space:]]*=[[:space:]]*\"?[[:space:]]*([^\" >]*)[[:space:]]*\"?[^>]*>",
'<a href="\\1">', $str); # "
// Delete all attribs from Anchor, except an href, double quoted.
$str = eregi_replace("<[[:space:]]* img[[:space:]]*([^>]*)[[:space:]]*>", '', $str);
// Delete all img tags
$tmp = "";
while (ereg("<(/?[[:alpha:]]*)[[:space:]]*([^>]*)>",$str,$reg)) {
$i = strpos($str,$reg[0]);
$l = strlen($reg[0]);
if ($reg[1][0] == "/") $tag = strtolower(substr($reg[1],1));
else $tag = strtolower($reg[1]);
if ($a = $AllowableHTML[$tag])
if ($reg[1][0] == "/") $tag = "</$tag>";
elseif (($a == 1) || ($reg[2] == "")) $tag = "<$tag>";
else {
# Place here the double quote fix function.
$attrb_list=delQuotes($reg[2]);
// A VER
$attrb_list = ereg_replace("&","&",$attrb_list);
$tag = "<$tag" . $attrb_list . ">";
} # Attribs in tag allowed
else $tag = "";
$tmp .= substr($str,0,$i) . $tag;
$str = substr($str,$i+$l);
}
$str = $tmp . $str;
return $str;
exit;
/* Squash PHP tags unconditionally */
$str = ereg_replace("<\?","",$str);
return $str;
}
function filter_text($Message, $strip="") {
global $EditedMessage;
check_words($Message);
$EditedMessage=check_html($EditedMessage, $strip);
return ($EditedMessage);
}
function removecrlf($str) {
// Function for Security Fix by Ulf Harnhammar, VSU Security 2002
// Looks like I don't have so bad track record of security reports as Ulf believes
// He decided to not contact me, but I'm always here, digging on the net
return strtr($str, "\015\012", ' ');
}
Fatal error: Call to undefined function: opentable() in /home/divrigli/public_html/includes/page_header.php on line 80
yılmaz abi bu seferde includes içindeki header.php hatası veriyor,
şaşırdım kaldım.
Kod:
<?php
/***************************************************************************
* page_header.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_header.php,v 1.106.2.11 2002/12/19 17:17:39 psotfx Exp $
*
*
***************************************************************************/
/***************************************************************************
* phpbb2 forums port version 2.1 (c) 2003 - Nuke Cops (http://nukecops.com)
*
* Ported by Paul Laudanski (Zhen-Xjell) to phpbb2 standalone 2.0.4. Test
* and debugging completed by the Elite Nukers at Nuke Cops: ArtificialIntel,
* Chatserv, MikeM, sixonetonoffun, Zhen-Xjell. Thanks to some heavy debug
* work by AI in Nuke 6.5.
*
* 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.1 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.1 from Nuke Cops is
* now reflecting phpbb2 standalone 2.0.4 that fixes some major SQL
* injection exploits.
***************************************************************************/
/***************************************************************************
* 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.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
if ( extension_loaded('zlib') )
{
ob_start('ob_gzhandler');
}
}
else if ( $phpver > '4.0' )
{
if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
header('Content-Encoding: gzip');
}
}
}
}
//
// Parse and show the overall header.
//
// It'll supress the forum header for the PM and Member List.
// It's turned off for now, but you can turn it on if needed.
// if you do turn it on, also enable part 2 at the end of this file.
//
//
// Obtain number of new private messages
// if user is logged in
//
if ( $userdata['session_logged_in'] )
{
if ( $userdata['user_new_privmsg'] )
{
$l_message_new = ( $userdata['user_new_privmsg'] == 1 ) ? $lang['New_pm'] : $lang['New_pms'];
$l_privmsgs_text = sprintf($l_message_new, $userdata['user_new_privmsg']);
if ( $userdata['user_last_privmsg'] > $userdata['user_lastvisit'] )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
}
if ( !empty($userdata['user_popup_pm']) )
{
$template->assign_block_vars('switch_enable_pm_popup', array());
}
}
//
// Part 2 of header switching is below.
//
// if ($show_header AND (is_active("Forums"))) {
// $template->pparse('forum_header');
// } else {
$template->pparse('overall_header');
// }
var windows......falanla başlayan bir okd var o kod nasıl bir şey ve hangi dosyanın içine atılıyor.
yani divrigifm sitesinden aldığım kodu,kaynağı görüntüle olarak aldım
Kod:
}
function radyoyuAc(){
var radyo = window.open("http://www.radyodinle.com/player.php?rd=19","radyo","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=1,width=420,height=216");
}
Kayıt: Mar 18, 2005 Mesajlar: 2176 Konum: istanbul-tokat
Tarih: 2005-07-17, 16:41:30 Mesaj konusu: Re: arkadaşlar sorun çok,acemilik de çok.....?
arnıza girdim ama :d
Kod:
function radyoyuAc() {
var radyo = window.open("http://www.radyodinle.com/player.php?rd=19","radyo","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=1,width=420,height=216");
}
bu satırı mainfale.php ye ekle en alta ekle mesala
sonra header.php yi aç
<?php den sonra
Tarih: 2005-07-17, 17:31:37 Mesaj konusu: Re: arkadaşlar sorun çok,acemilik de çok.....?
Kod:
<?php
if (eregi("block-RadyoDivrig.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<script Language=\"JavaScript\">";
$content .= "function Radyoac(url){";
$content .= "self.name=\"mainpage\";";
$content .= "window.open(url, \"Terimler\",\"resizable=no,scrollbars=no,toolbar=no,width=420, height=150, top=0, left=0\");";
$content .= "}";
$content .= "</script>";
$content .= "<a href=\"j a v a s c r i p t:void(0);\" Onclick=\"j a v a s c r i p t:Radyoac('http://www.radyodinle.com/player.php?rd=19');\">Divrigi Fm</a>";
?>
Yukradaki kodeleri block-RadyoDivrig.php ismi altinda kaydet servere gönde blok admin alanidan aktif et
Divrigi Fm yazan link ismine grafik kulanabilirsin yapman gerekm img komutu ile uygun bir resim eklemendir.
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