Webmaster Forumu - Webmaster Zone

Geri git   Webmaster Forumu - Webmaster Zone > Webmaster Zone > Hazır Sistemler > Wordpress
Şifrenizimi Unuttunuz? Bize Katılın!

Cevapla
Görüntüleme: 715 - Cevaplar: 12  
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 13-01-2007, 19:47:10
dmrL dmrL isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: Bursa
Yaş: 22
Mesajlar: 324
iTrader: (1)
Tecrübe Puanı: 54
Puanları: 230
dmrL will become famous soon enoughdmrL will become famous soon enough
Question Kod Alanı.

wpde konu içinde verdiğim kodların işlenmeyerek ve renklendirilmesini nsl sağlarım.

örnek : Wordpress üstündeki son yazıları html sayfanızda gösterin - Günlük Haftalık Aylık

PLAIN TEXT yazan yer gibi yapmak istiyorum.

tşk.
__________________
$
Alıntı ile Cevapla
  #2 (permalink)  
Alt 14-01-2007, 00:04:02
dmrL dmrL isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: Bursa
Yaş: 22
Mesajlar: 324
iTrader: (1)
Tecrübe Puanı: 54
Puanları: 230
dmrL will become famous soon enoughdmrL will become famous soon enough
Standart

bilen yokmu hiç
__________________
$
Alıntı ile Cevapla
  #3 (permalink)  
Alt 14-01-2007, 00:05:29
zeynelkoc - ait Kullanıcı Resmi (Avatar)
zeynelkoc zeynelkoc isimli üyemiz çevrimdışıdır. (Offline)
Admin
dipteyim sondayım..
 
Üyelik tarihi: 31/12/2006
Nerden: Ankara
Mesajlar: 4.724
iTrader: (23)
Tecrübe Puanı: 320
Puanları: 11319
zeynelkoc has a brilliant future
zeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant future
Standart

varsa güzel olur kodların saçma sapan çıkmasından bıktım bende

bi kod ekliyorum tüm tasarım kayıyor
__________________
>> zeynelkoc.com
Alıntı ile Cevapla
  #4 (permalink)  
Alt 14-01-2007, 00:05:30
ConRad ConRad isimli üyemiz çevrimdışıdır. (Offline)
Yeni Üye
No Status
 
Üyelik tarihi: 31/1/2007
Yaş: 23
Mesajlar: 19
iTrader: (0)
Tecrübe Puanı: 0
Puanları: 19
ConRad üyemiz henüz acemi
Standart

bende yarım saattir uraşıyom bulamadım bilen varsa bekliyoruz
__________________
karmakarışıklaşmaktayım
Alıntı ile Cevapla
  #5 (permalink)  
Alt 14-01-2007, 00:12:09
dmrL dmrL isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: Bursa
Yaş: 22
Mesajlar: 324
iTrader: (1)
Tecrübe Puanı: 54
Puanları: 230
dmrL will become famous soon enoughdmrL will become famous soon enough
Standart

ben kodu buldum ama çalıştıramadım :A

Kod:
<?php
/*
Plugin Name: Plaintext
Plugin URI: http://www.thunderguy.com/semicolon/wordpress/plaintext-wordpress-plugin/
Description: Allow visitors to view any file (even PHP or HTML files) as plain text simply by placing the file inside a "plaintext" directory. After activating or deactivating, go to the <a href="options-permalink.php">Permalinks</a> page to complete the process.
Version: 1.4
Author: Bennett McElwee
Author URI: http://www.thunderguy.com/semicolon/

$Revision$

INSTRUCTIONS

1. Copy this file into your plugins directory.
2. Log in to WordPress administration. Go to the Plugins page and Activate this plugin.
3. In WordPress administration, go to Options and click Permalinks.
4. Create a directory called "plaintext" in your wp-contents directory.

Place files within the plaintext directory. These files will be accessible in a virtual plaintext directory in your blog. For example, if you have a PHP file in /blog/example.php, then anybody who views it will see the output from the PHP script. However, if you put the file in /blog/wp-content/plaintext/example.php, then anybody who views the file through the URL /blog/plaintext/example.php will see the source code for the PHP script.

Use this plugin for distributing your source soce to an admiring world.


Copyright (C) 2005 Bennett McElwee (bennett at thunderguy dotcom)

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.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
The license is also available at http://www.gnu.org/copyleft/gpl.html
*/



//	Configuration

$tguy_pt_base = 'plaintext';



//	If this file is called directly, display the requested file

if (!defined('ABSPATH')) {
	// WordPress is not loaded.
	// This file is probably being called to display a file as plain text.
	error_reporting(E_ALL ^ E_NOTICE);
	if ($_GET['plaintextpath'] != '') {
		// We're required to serve a file. If the file exists and is
		// within the plaintext directory and exists, then serve it as
		// plain text.
		$plaintext_root = dirname(dirname(__FILE__)) . "/$tguy_pt_base/";
		$file_path = $plaintext_root . $_GET['plaintextpath'];
		$plaintext_root = realpath(strtr($plaintext_root, '\\', '/'));
		$file_path      = realpath(strtr($file_path, '\\', '/'));
		if (file_exists($file_path)
		&&  0 == strncmp($file_path, $plaintext_root, strlen($plaintext_root))) {
			header('Content-type: text/plain');
			readfile($file_path);
		} else {
			// Either the file does not exist, or it's not in the plaintext
			// directory. This should never happen unless somebody accesses
			// this script directly, in which case they deserve nothing more
			// than this minimal message.
			header("HTTP/1.0 404 Not Found");
			header('Content-type: text/plain');
			echo 'The file does not exist.';
		}
		exit;
	}
}


//	Internal machinery

function &tguy_pt_rewrite_rules(&$rules_string) {
/*	Add a new rule to the given string so as to enable plaintext URLs.
	This rule must come before the default WordPress "catch-all" rule.
	If a request is for a file in blog-home/plaintext, and if the
	corresponding file exists in blog-root/wp-content/plaintext, then
	the request is mapped internally to a request for plaintext.php
	(this file), with the path of the original file as a query argument.
*/
	global $tguy_pt_base;

	$site_root = parse_url(get_settings('siteurl'));
	$site_root = trailingslashit($site_root['path']);

	// Rewrite "/blog/plaintext/source/file.php"
	// as "/blog/wp-content/plugins/plaintext.php?plaintextpath=source/file.php"
	$rules_string =
"# Begin Plaintext WordPress plugin
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase {$site_root}
RewriteCond %{DOCUMENT_ROOT}{$site_root}wp-content/{$tguy_pt_base}/$1 -f
RewriteRule ^$tguy_pt_base/(.+)$ {$site_root}wp-content/plugins/plaintext.php?plaintextpath=\$1 [L]
</IfModule>
# End Plaintext WordPress plugin
" . $rules_string;
	return $rules_string;
}

// Enable plaintext URLs
if (function_exists('add_filter')) {
	add_filter('mod_rewrite_rules', 'tguy_pt_rewrite_rules');
}

?>
__________________
$
Alıntı ile Cevapla
  #6 (permalink)  
Alt 14-01-2007, 00:18:37
Alone - ait Kullanıcı Resmi (Avatar)
Alone Alone isimli üyemiz çevrimdışıdır. (Offline)
Zonekolik
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: İstanbul
Mesajlar: 1.308
iTrader: (11)
Tecrübe Puanı: 79
Puanları: 953
Alone is just really niceAlone is just really niceAlone is just really niceAlone is just really niceAlone is just really nice
Standart

<code>..</code> veya <pre>..</pre> kodları arasında yazmayı deneyin..

Belki olur
Alıntı ile Cevapla
  #7 (permalink)  
Alt 14-01-2007, 12:44:58
dmrL dmrL isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: Bursa
Yaş: 22
Mesajlar: 324
iTrader: (1)
Tecrübe Puanı: 54
Puanları: 230
dmrL will become famous soon enoughdmrL will become famous soon enough
Standart

Alıntı:
Alone´isimli üyeden Alıntı Mesajı göster
<code>..</code> veya <pre>..</pre> kodları arasında yazmayı deneyin..

Belki olur
<pre>..</pre> kod olarak işlettirmiyor ancak renklendirmiyorda
__________________
$
Alıntı ile Cevapla
  #8 (permalink)  
Alt 14-01-2007, 14:03:54
echo echo isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/12/2006
Mesajlar: 142
iTrader: (0)
Tecrübe Puanı: 50
Puanları: 143
echo Helal emin adımlarla ilerliyorsun
Standart

WordPress:CodeHighlighterPlugin - IdeA thinKING


buldum repimi isterim
Alıntı ile Cevapla
  #9 (permalink)  
Alt 14-01-2007, 14:22:02
dmrL dmrL isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: Bursa
Yaş: 22
Mesajlar: 324
iTrader: (1)
Tecrübe Puanı: 54
Puanları: 230
dmrL will become famous soon enoughdmrL will become famous soon enough
Standart

deniyom hemen rep sana kurban olsun :A:A
__________________
$
Alıntı ile Cevapla
  #10 (permalink)  
Alt 14-01-2007, 14:30:40
zeynelkoc - ait Kullanıcı Resmi (Avatar)
zeynelkoc zeynelkoc isimli üyemiz çevrimdışıdır. (Offline)
Admin
dipteyim sondayım..
 
Üyelik tarihi: 31/12/2006
Nerden: Ankara
Mesajlar: 4.724
iTrader: (23)
Tecrübe Puanı: 320
Puanları: 11319
zeynelkoc has a brilliant future
zeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant futurezeynelkoc has a brilliant future
Standart

repgöz insanlar ya
__________________
>> zeynelkoc.com
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
3 lü Banner Reklam Alanı oyuncul MyBB 0 13-09-2007 22:37:21
Pop-up alanı boş olanlar ..... Bakınız .... Pembekedi Reklam Alım Satım 2 25-06-2007 13:07:04
New Profil alanı & İmza :) Metallica SMF 3 28-05-2007 18:32:28


oyun , kontör , türkçe dizin

Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 13:59:13 .


Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Zone Org | 2006-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125