Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - iCarly - 16-08-2012
Herkese Merhaba
Toplamda 3 Sorunum Var. Yardımcı Olursanız Çok Sevinirim. Temam "ctv2"
1-) Konu başlığıyla mesajı bir çizgiyle ayırmak.
2-) Yukarıya eklediğim giriş-kayıt butonlarını sadece ziyaretçilere göstermek. (header_welcome_guest sağ üstteki yeşil kutucuğa etki ediyor.)
3-) Konunun altındaki arama kutucuğunu açılır kapanır olarak konu üstüne taşımak. (2. resimdeki "1"i 2 gibi yapıp üste taşımak.)
Hepsini bu iki resimde anlattım.
Edit:
showtread'ım
Kod:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
var fitonpage_location = "showthread";
-->
</script>
</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newreply}
</div>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<div style="float: right;">
<span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
</div>
<div>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<div id="posts">
{$posts}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<tr>
<td colspan="2" class="tfoot">
{$search_thread}
<div>
<strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<table class="tborder" style="clear: both;" border="0" cellpadding="4" cellspacing="1">
<tr>
<td class="thead" colspan="2"><div><strong>{$thread['threadprefix']}{$thread['subject']} konusu</strong></div></td>
</tr>
<tbody>
<tr><td class="trow1" width="130"><img src="images/mycolor/tag-icon.png" alt="{$thread['subject']} Konusunun Etiketleri" border="0" style="vertical-align: middle;"> <b>Etiketler</b></td>
<td class="trow1"><span style="color: rgb(30, 144, 255);"></span>{$eti}{$tags}</td>
</tr><tr>
<td class="trow2" width="130"><img src="images/mycolor/link-icon.png" alt="{$thread['subject']} Konusunun Linki " border="0" style="vertical-align: middle;"><b> Direk Link</b></td>
<td class="trow2"><input class="textbox" name="url" title="{$thread['subject']}: Konusuna Ait Konu Linki." value="{$mybb->settings['bburl']}/{$navbits[4]['url']}" onclick="this.select();" size="99" type="text"></td>
</tr>
<tr>
<td class="trow1" width="130"><img src="images/mycolor/html-icon.png" alt="{$thread['subject']} Konusunun HTML Kodu " border="0" style="vertical-align: middle;"><b> HTML Link</b></td>
<td class="trow1"><input class="textbox" name="html" title="{$thread['subject']}: Konusunu Bloğunuzda Paylaşmak İçin Kodu Kopyalayınız." value="<a href="{$mybb->settings['bburl']}/{$navbits[4]['url']}">{$thread['subject']}</a>" onclick="this.select();" size="99" type="text"></td>
</tr>
<tr>
<td class="trow2" width="130"><img src="images/mycolor/mykod-icon.png" alt="{$thread['subject']} Konusu BBCode Linki" border="0" style="vertical-align: middle;"><b> BBCode Link</b></td>
<td class="trow2"><input class="textbox" name="bbcode" title="{$thread['subject']}: Konusunu Forumunuzda Paylaşmak İçin Kodu Kopyalayınız." value="[url={$mybb->settings['bburl']}/{$navbits[4]['url']}]{$thread['subject']}[/url]" onclick="this.select();" size="99" type="text"></td>
</tr>
<tr>
<td class="trow1" width="130"><img src="images/mycolor/paylas-icon.png" alt="{$thread['subject']} Konusunu Paylaş" border="0" style="vertical-align: middle;"> <b> Sosyal Paylaş</b></td>
<td class="trow1">
<div class="sosyal-paylasDiv"><ul class="sosyal-paylas">
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://net.sabah.com.tr/net?shareUrl='+encodeURIComponent(location.href)); return false;" class="netSabah" title="Sabah net"><span>Sabah net</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.google.com/bookmarks/mark?op=edit&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&source=Fotomac', 'google','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="google" title="google"><span>google</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href), 'facebook','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="facebook" title="facebook"><span>facebook</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'digg','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="digg" title="digg"><span>digg</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://twitter.com/?status='+encodeURIComponent(location.href), 'twitter','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="twiter" title="twiter"><span>twiter</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&u='+encodeURIComponent(location.href), 'yahoo','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="yahoo" title="yahoo"><span>yahoo</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.mixx.com/submit/story?title='+encodeURIComponent(document.title)+'&page_url='+encodeURIComponent(location.href), 'mixx','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="mixx" title="mixx"><span>mixx</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'stumbleupon','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="stumbleupon" title="stumbleupon"><span>stumbleupon</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://del.icio.us/post?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="delicious" title="delicious"><span>delicious</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'reddit','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="reddit" title="reddit"><span>reddit</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.myspace.com/index.cfm?fuseaction=postto&u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title), 'MySpace','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="myspace" title="myspace"><span>myspace</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://friendfeed.com/share/bookmarklet/frame#url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'friendfeed','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;" class="friendfeed" title="friendfeed"><span>friendfeed</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.google.com/reader/link?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'buzz','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600');return false;" class="buzz" title="google buzz"><span>google buzz</span></a></li>
<li><a rel="nofollow" href="javascript:;" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&summary='+encodeURIComponent(document.title),'linkedin','toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600');return false;" class="linkedin" title="linkedin"><span>linkedin</span></a></li>
</ul></div></td>
</tr>
</tbody></table>
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</ul>
</div>
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>
Bu üç sorunu nasıl tek başlıkta toplarım dedim ama başlığın anlatıcı olması açısından üçünü birden yazdım. Gerekiyorsa düzenleyebilirim. Şimdiden yardım edecek herkese teşekkürler
Site:
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - xpserkan - 17-08-2012
İlk sorunuzdan başlayalım, Şimdi ilk soru ve ilk resimdeki alan birbirine uymuyor neden,
kullandığınız tema başka resimdeki tema başka..
Kod:
http://laklakforum.net/showthread.php?tid=8
dediğiniz kısma bakıyorum resimdeki gibi değil olmayıncada çözüm üretemiyorum, resimdeki tema ayrı bir tema mı ?
Şuanki temanızda o kısım normal duruyor..
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - iCarly - 17-08-2012
Serkan abi yeni temada da gösterdim şimdi. Çizgilerle gösterdiğim yere dediğim o yukarıdan sonuna kadar. Dikdörtgen içi değil sadece yani
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - xpserkan - 17-08-2012
Şimdi anlaşıldı hocam ,
aşağıdaki kodu showtread şablonunda bulun:
Kod:
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
Hemen altına şu kodu ekleyin:
Kod:
<hr size="1" width="25%" align="left">
width="25%" değerinden çizgi uzunluğunu kendinize göre ayarlayabilirsiniz..
Eğer farklı yani noktalı çizgi eklemek isterseniz şunuda deneyebilirsiniz o kısım için:
Kod:
<div style="border-bottom: 1px dotted rgb(102, 102, 102); margin: 5px 0pt;"></div>
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - iCarly - 17-08-2012
Serkan Hocam dediğinizi yaptım ama yanlış yere ekledi
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - xpserkan - 17-08-2012
Şu kodun altına ekleyin bakalım olacak mı hocam ?
tema biraz karmaşık ve hatalı kodlanmış yerleri farklı kodların..
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - iCarly - 17-08-2012
Serkan hocam yine yanlış yere ekledi. Dediğiniz gibi tema hatalı ve yapımcıları çok ilgisizler.
Butonları Sadece Ziyaretçilere Göstermek,Konuyla Mesajı Ayırmak,Aramayı Değiştirmek - xpserkan - 17-08-2012
Birde şu kodların üstüne ekleyin bakalım olacak mı ?
Kod:
<div id="posts">
{$posts}
</div>
Şu şekilde olacak:
Kod:
<hr size="1" width="25%" align="left">
<div id="posts">
{$posts}
</div>
|