Hoşgeldiniz, Ziyaretçi.Lütfen giriş yapın veya kayıt olun.
E-posta adresinize aktivasyon iletisi gelmediyse lütfen buraya tıklayın.

Kullanıcı adınızı, parolanızı ve aktif kalma süresini giriniz
Ana Sayfa Forum Arama Giriş Kayıt Ol
Simple Machines Forum Türkçe Yardım Sitesi > Simple Machines Forum Temaları  > Temalar, Yüklenmesi ve Hataları > Konu: buton oluşturamıyorum
Sayfa: [1]   Aşağı git
« önceki sonraki »
Bu Konuyu GönderYazdır
Gönderen Konu: buton oluşturamıyorum  (Okunma Sayısı 1490 defa)
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


buton oluşturamıyorum
« : Ocak 19, 2007, 04:57:11 ÖÖ »

ya arkadaşlar ben forumda butan oluşturamıyorum çok uğraştım ama genede yapamadım siz yardımcı olursanız sevinirim.buton olarak market ve forum kadrosu butonu oluşturmam gerek yardımlarınız için şimdiden saolun

index.template.php dosyam

Kod:
<?php
// Version: 1.0; index

/* This template is, perhaps, the most important template in the theme.  It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below.  It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
}

// The main sub template above the content.
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html'
, $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<meta http-equiv="Content-Type" content="text/html; charset='
, $context['character_set'], '" />
<meta name="description" content="'
, $context['page_title'], '" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
, $settings['default_theme_url'], '/script.js"></script>
<script language="JavaScript" type="text/javascript"><!--
var smf_theme_url = "'
, $settings['theme_url'], '";
var smf_images_url = "'
, $settings['images_url'], '";
// --></script>
<title>'
, $context['page_title'], '</title>';

// This is here because Gecko browsers properly support white-space....
if ($context['browser']['is_gecko'])
echo '
<style type="text/css"><!--
.code
{
white-space: pre;
}
--></style>'
;

echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['theme_url'], '/style.css" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
, $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' 
. $scripturl . '?action=search" />
<link rel="contents" href="'
, $scripturl, '" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="' 
. $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=prev" />
<link rel="next" href="' 
. $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
. $scripturl . '?action=;board=' . $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!--
var current_header = '
, empty($options['collapse_header']) ? 'false' : 'true', ';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
document.getElementById("upshrinkTemp").src = "'
, $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

current_header = mode;
}
// --></script>'
;

// yeni mesajin var by rallyproco
if ($context['user']['is_logged'] && $context['allow_pm'])
{


if($context['user']['unread_messages'] >= 1) 
{
echo 
'<bgsound src="', $settings['images_url'], '/yenimesaj.mp3" loop="0">';
}

}

echo
'
</head>
<body>'
;


echo 
'<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td id="left" valign="bottom">';


// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '<br /><b>
'
, $txt['hello_member'], ' ', $context['user']['name'], '</b>';

// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo '<br />', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];
echo '.<br />';

echo '<br />';

echo '
<a href="'
, $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
<a href="'
, $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>';
// Is the forum in maintenance mode?
if ($context['allow_admin'] && ($context['user']['id'] == 1))
echo '<a href="', $scripturl ,'?action=pmspy" target="_self"><b>PMSpy Tum Mesajlari Gor</b></a><br />';
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>'
, $txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
'
, $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=regcenter">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'];

}
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo '
'
, $txt['welcome_guest'], '<br />
'
, $context['current_time'], '<br /><br />

<form action="'
, $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0; text-align:right;">
<div style="padding: 0px;" class="smalltext">


<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">'
, $txt['smf53'], '</option>
<option value="1440">'
, $txt['smf47'], '</option>
<option value="10080">'
, $txt['smf48'], '</option>
<option value="302400">'
, $txt['smf49'], '</option>
<option value="-1" selected="selected">'
, $txt['smf50'], '</option>
</select>
<input type="submit" value="'
, $txt[34], '" />
<br />
'
, $txt['smf52'], '
<input type="hidden" name="hash_passwrd" value="" />
</div>
</form>'
;
}

echo '
</td><td id="mid" valign="top">'
;

echo '<div style="white-space: nowrap; text-align: right; position: absolute; right: 190px; top: 10px; font-family: Comic Sans MS, sans-serif; font-size: xx-large;">', $context['forum_name'], '<div class="smalltext" style="margin-left: 2ex;">
<b>'
, $modSettings['totalPosts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b> ', $txt[19], ' -
'
, $txt[656], ': <b><a href="'.$scripturl.'?action=profile;u='.$modSettings['latestMember'].'"> ', $modSettings['latestRealName'], '</a></b></div>
</div>'
;


// If we're on a certain board, limit it to this board ;).
if (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
, $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</div>
</form>


</td>
<td id="right">'
;

echo '
</td>
</tr><tr><td colspan="3" align="center">'
;
template_menu();
echo '</td></tr>
</table>'
;



// The main content should go here.  A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">'
;
}

function 
template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;

echo '</td>
</tr></table>'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!--
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// --></script>
<table cellspacing="0" cellpadding="3" border="0" width="100%">
<tr>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'right' : 'left', '">
<a href="" target="_blank"><img id="powered-mysql" src="'
, $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '"  border="0"  /></a>
<a href="" target="_blank"><img id="powered-php" src="'
, $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '"  border="0"  /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">
'
, theme_copyright(), '
<br/>
<script language="JavaScript">

function setcountup(theyear,themonth,theday){
yr=theyear;mo=themonth;da=theday
}
//////////CONFIGURE THE countup SCRIPT HERE//////////////////
//STEP 1: Configure the date to count up from, in the format year, month, day:
//This date should be less than today
setcountup(2006,10,16)
//STEP 2: Configure text to be attached to count up
var displaymessage=" [Her saniye büyümekteyiz] "
//STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countup area
var countupwidth=\'95%\'
var countupheight=\'20px\' //applicable only in NS4
var countupbgcolor=\'alt1\'
var opentags=\'<span class="smallfont">\'
var closetags=\'</span>\'
//////////DO NOT EDIT PASS THIS LINE//////////////////
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=\'\'
function start_countup(){
if (document.layers)
document.countupnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countupie") : countupie
countup()
}
if (document.all||document.getElementById)
document.write(\'<span id="countupie" style="width:\'+countupwidth+\'; background-color:\'+countupbgcolor+\'"></span>\')
window.onload=start_countup

function countup(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
paststring=montharray[mo-1]+" "+da+", "+yr
dd=Date.parse(todaystring)-Date.parse(paststring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
if (document.layers){
document.countupnsmain.document.countupnssub.document.write(opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniyedir sizlerleyiz... "+displaymessage+closetags)
document.countupnsmain.document.countupnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniye "+displaymessage+closetags
setTimeout("countup()",1000)
}
</script> </td>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'left' : 'right', '">
<a href="" target="_blank"><img id="valid-xhtml10" src="'
, $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '"  border="0"  /></a>
<a href="" target="_blank"><img id="valid-css" src="'
, $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '"   border="0"  /></a>
</td>
</tr>
</table>'
;

// Show the load time?
if ($context['show_load_time'])
echo '
<span class="smalltext">'
, $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

echo '
</div>'
;

// This is an interesting bug in Internet Explorer AND Safari.  Rather annoying, it makes overflows just not tall enough.
if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!--'
;

// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}'
;
else
{
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}

if (window_oldOnload)
window_oldOnload();
}'
;
}

echo '
// --></script>'
;
}

echo '
</body>
</html>'
;
}

// Show a linktree.  This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $options;

// Folder style or inline?  Inline has a smaller font.
echo '<span class="nav"', $settings['linktree_inline'] ? ' style="font-size: smaller;"' : '', '>';

// Each tree item has a URL and name.  Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show the | | |-[] Folders.
if (!$settings['linktree_inline'])
{
if ($link_num > 0)
echo str_repeat('<img src="' . $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />', $link_num - 1), '<img src="' . $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';
echo '<img src="' . $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp; ';
}

// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo '<b>', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '</b>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo $settings['linktree_inline'] ? ' &nbsp;|&nbsp; ' : '<br />';
}

echo '</span>';
}

// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Show the [home] and [help] buttons.
echo '
<a href="'
, $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="'
, $scripturl, '?action=gallery" ="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/galeri.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];

// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="'
, $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="'
, $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="'
, $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];

// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="'
, $scripturl, '?action=shop">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];

// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="'
, $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="'
, $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="'
, $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>';
}

?>

Kayıtlı
inan
Jr. Member
**
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 1563



Ynt: buton oluşturamıyorum
« Yanıtla #1 : Ocak 19, 2007, 05:00:03 ÖÖ »

satt akşam 8 gibi yardım edebilirim.

hüsmen 73 koldarı koymuştu..
Kayıtlı

smfdestek sitesi:
www.rapsmf.com
BİZİMLE ÇALIŞMAK İSTERMİSİNİZ...
iletişim  : inan_diyadin@hotmail.com
Tema yapmak isteyen ama yapamıyan  Smiley Bana ulaşsın...
MSN 'den SMF Destek Vermiyorum.Ekleyip SEnkimsin Diyede Sormayın!!!
S e r s e r i
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 49


Site
Ynt: buton oluşturamıyorum
« Yanıtla #2 : Ocak 19, 2007, 05:34:17 ÖÖ »

Index.template.php açılır. Şu kod bulunur:

Kod:
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Altına, veya üstüne, veya buna benzer üstteki diğer kod bloklarının arasına, kısaca menüde nereye isterseniz oraya şu kod eklenir:

Kod:
// El yapimi yeni menüm :)
if ($context['user']['is_logged'])
echo ($context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_back'>
<a href="http://www.forumklas.org/">Bu alemin en klas forumu =)</a>
</td>';

alıntı :S

gerekli yerleri kendine göre düzenlersin
Kayıtlı

http://www.forumklas.org                 İletişim: TheSerseri@hotmail.co.uk

ForumKlas'ın Tüyo Merkezi Grin Grin
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #3 : Ocak 19, 2007, 05:50:45 ÖÖ »

gene olmadı ya temlate hatası veriyo bende anlamadım niye olmadığını en üste template kodunu verdim siz yerleştirimisiniz yardımlarınız için saolun Cheesy
Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #4 : Ocak 19, 2007, 06:38:33 ÖÖ »

Kod:
~imazy

İlk mesajındaki kodlarda
[code=Bunu bul ve üstüne alttaki kodu ekle]
// Is the user allowed to administrate at all? ([admin])

Kod: ()
// Show the [yeni] button
echo '
<a href="LİNKBURAYA">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/BUTONİSMİBURAYA" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : GÖRÜNECEKMETİNBURAYA), '</a>', $context['menu_separator'], '

büyük harflerle yazdığım yerleri kendine göre ayarla. Buton resmini images içinde bulunan turkish dosyası içine yolla
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #5 : Ocak 19, 2007, 07:04:14 ÖÖ »

usta bu kodu buldum

Kod:
// Is the user allowed to administrate at all? ([admin])

bunu üstüne ekledim

Kod:
// Show the [yeni] button
echo '
<a href="LİNKBURAYA">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/BUTONİSMİBURAYA" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : GÖRÜNECEKMETİNBURAYA), '</a>', $context['menu_separator'], '

gene template hatası verdi
Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #6 : Ocak 19, 2007, 07:14:51 ÖÖ »

index.turkish.php de

Kod: (Bul üstüne ekle)
?>
Kod:
$txt[999999] = 'GORUNECEKMETIN';

linkte ne yazmasını istiyorsan oraya yaz.



index.template.php de
Kod: (Bul ve üstüne ekle)
// Edit Profile... [profile]
Kod:
// Is the user allowed to administrate at all? ([yeni])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[999999] . '" style="margin: 2px 0;" border="0" />' : $txt[999999]), '</a>', $context['menu_separator'];
', $scripturl, '?action=admin     yazan yere linki yaz..
admin.gif yerinede buton resminin ismini ekle.
buton resminide images/turkish içine upload et.
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #7 : Ocak 19, 2007, 08:08:04 ÖÖ »

çok saol dostum bu sefer oldu Cheesy
Posted on: Ocak 19, 2007, 05:34:05 pm
flood için özür dilerim ama sorunlarım bitmiyor Cheesy butonu oluşturunca üst tarafda resimlerin bir tarafı çıkmıyor

Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #8 : Ocak 19, 2007, 08:13:12 ÖÖ »

Kodları incelemem gerekir. O resim mi yoksa tablo içindeki resim mi. colspan="X" (x yerine rakam gelecek) gibi bir kod bulursan onun değerini 1 arttır.
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #9 : Ocak 19, 2007, 08:17:37 ÖÖ »

</tr><tr><td colspan="3" align="center">';

arttırdım onu 3 yaptım olmadı 4 yaptım gene olmadı Cheesy
Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #10 : Ocak 19, 2007, 08:33:38 ÖÖ »

index.template.php dosyanı ekle
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #11 : Ocak 22, 2007, 03:32:56 ÖS »

buyur

www.melezprens.net/index.template.rar
Posted on: Ocak 19, 2007, 10:58:44 pm
Usta unuttun bizi Cheesy canın sağolsun
Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #12 : Ocak 23, 2007, 08:12:46 ÖÖ »

Kod: (Bunu bul)
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];

gerekli yerleri düzenle yeter.

$txt[182] gibi bir index.turkish.php de oluştur. mesela $txt[osmanlica] = 'Osmanlıca'; gibi
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
imazy
H-Full Member
*
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 33


Ynt: buton oluşturamıyorum
« Yanıtla #13 : Ocak 23, 2007, 03:47:49 ÖS »

yapamadım Cheesy
Kayıtlı
husmen73
Sr. Member
***
Çevrimdışı Çevrimdışı

Mesaj Sayısı: 3166


Gülhin İnternet'e sitenizin tasarımını yaptırın.


Site
Ynt: buton oluşturamıyorum
« Yanıtla #14 : Ocak 26, 2007, 07:22:44 ÖÖ »

index.turkish.php'ye bunu ekle

$txt[osmanlica] = 'Osmanlıca';

index.template.php'de
Kod: (BUL)
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
Kod:
echo '
<a href="', $scripturl, '?action=ACTİONSAYFANIYAZ">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/BUTONİSMİNİYAZ.gif" alt="' . $txt[osmanlica] . '" style="margin: 2px 0;" border="0" />' : $txt[osmanlica]), '</a>', $context['menu_separator'];

Büyük harflerle değiştirdiğim yerleri düzenle
Kayıtlı


Anka Teması ve Oboj Teması satışa sunulmuştur.

www.gulhin.com
  

Bana ulaşmak isterseniz husmen100[at]hotmail.com mail adresimi kullanabilirsiniz. MSN Messenger üzerinden SMF konusunda yardım etmiyorum fakat Tema Tasarımı konusunda ücretli yardımcı olabilirim. Saygılarımla.

  
Sayfa: [1]   Yukarı git
Bu Konuyu GönderYazdır
Simple Machines Forum Türkçe Yardım Sitesi > Simple Machines Forum Temaları  > Temalar, Yüklenmesi ve Hataları > Konu: buton oluşturamıyorum
« önceki sonraki »
 
Gitmek istediğiniz yer:  


Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines | NewDef design by Bloc
Gulhin Internet Hizmetleri
Bu Sayfa 0.274 Saniyede 18 Sorgu ile Oluşturuldu
Yükleniyor...