link agaci

berq0703.01.2011 - 22:59
Bu sitedeki gibi mesajlarin üstünde link agaci  ve mesaj icinde konu ac butonu varmi mümkunmse manuel olursa super olur.  RC 4 Kullanıyorum.

Linkback: https://www.buyuknet.com/link-agaci-t32334.0.html

tarantula90103.01.2011 - 23:06
berq0703.01.2011 - 23:07
Sayın adminim ben paket yukleyemiyorum manuel yokmuydu RC 4 icin olursa super olur bi kac tane denedim olmadi da. Googleden burayi buldum

tarantula90103.01.2011 - 23:25
ılk once paketı pcnıze ındırın : http://custom.simplemachines.org/mods/index.php?mod=2559

/Themes/default/index.template.php


Bul:
Kod: [Seç]
?>
Değiştir
Kod: [Seç]
function anotherlinktree()
{
    global $context, $settings, $options, $txt, $scripturl;
// display the user info panel
echo '
<br />
<table width="100%" cellspacing="1" cellpadding="6" class="tborder" border="0" align="center">


<tr>';
echo '
<td align="left" valign="middle" class="windowbg2">';
// Folder style or inline?  Inline has a smaller font.
echo '<span class="nav-tree">';
echo '<img src="' . $settings['default_theme_url'] . '/images/folder_open.gif" alt=" " border="0" />&nbsp;';
// Each tree item has a URL and name.  Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
if (($link_num == count($context['linktree']) - 1) && count($context['linktree'])>1)
echo '<br />
<img src="' . $settings['default_theme_url'] . '/images/linktree_side.gif" alt="|-" border="0" />&nbsp;';

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


// 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']) - 2)
echo '&nbsp;&raquo;&nbsp;';
}
echo '</span>
</td>
<td align="left" valign="middle" width="250" class="windowbg2">';
// Show the total time logged in?
if ($context['user']['is_logged'])
{

echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<li class="notice">', $txt['maintain_mode_on'], '</li>';

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

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';

echo '
<li>', $context['current_time'], '</li>
</ul>';
}
else{
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="info">', $txt['login_or_register'], '</div>
<input type="text" name="user" size="10" class="input_text" />
<input type="password" name="passwrd" size="10" class="input_password" />
<select name="cookielength">
<option value="60">', $txt['one_hour'], '</option>
<option value="1440">', $txt['one_day'], '</option>
<option value="10080">', $txt['one_week'], '</option>
<option value="43200">', $txt['one_month'], '</option>
<option value="-1" selected="selected">', $txt['forever'], '</option>
</select>
<input type="submit" value="', $txt['login'], '" class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>';

if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

echo '
</td>
</tr>

</table>';


echo'

<br />';

}
?>

Bul
Kod: [Seç]
theme_linktree();
Değiştir
Kod: [Seç]
anotherlinktree();
Pakette bulunan "folder_open.gif" dosyasını "./Themes/default/images" dizinine kopyalayın.
Pakette bulunan "linktree_side.gif" dosyasını "./Themes/default/images" dizinine kopyalayın.



yedej alarak deneyınız

berq0703.01.2011 - 23:40
theme_linktree();


ben temanin dosyasinda bu kod yok

tarantula90103.01.2011 - 23:51
index.template.php ara

Kod: [Seç]
function template_body_below()
değiştir
Kod: [Seç]
// Custom banners and shoutboxes should be placed here, before the linktree.

// Show the navigation tree.
theme_linktree();

}

function template_body_below()

yedek alarak deneyın




berq0703.01.2011 - 23:52
hemen deniyim

berq0703.01.2011 - 23:56
Template Parse Error!
There was a problem loading the /Themes/FullDown_RC4/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected $end




böle bi hata verdi


tarantula90104.01.2011 - 01:33
FullDown_RC4 temasını kullanıyorsunuz  onun ıcın bu kodu aratın
ara

Kod: [Seç]
// The main content should go here.
sonrasına ekle
Kod: [Seç]
echo'
', theme_linktree(), '
';







berq0704.01.2011 - 01:47
pardon arkadasim ben hata yapmisim calisti tamamdir. saolasin dostum.

Etiket:

Bu bilgi size yardimci oldu mu?

EvetHayır
link agaci
link agaci
(Ortalama: 5 üzerinden 2.5 - 2 Oy)
2