<?xml version="1.0" encoding="ISO-8859-9"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>IRCDefteri.Net - En İyi IRCForum Sayfasi - vB 3.x Genel</title>
		<link>https://ircforumda.net/</link>
		<description>vBulletin 3.x ile ilgili bilgilere bu başlık altından ulaşabilirsiniz.</description>
		<language>tr</language>
		<lastBuildDate>Thu, 30 Apr 2026 20:38:50 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>10</ttl>
		<image>
			<url>https://ircforumda.net/images/misc/rss.jpg</url>
			<title>IRCDefteri.Net - En İyi IRCForum Sayfasi - vB 3.x Genel</title>
			<link>https://ircforumda.net/</link>
		</image>
		<item>
			<title>Vbulletin 3.x - Sayfa Navigasyonu (Pagenav) Güncelleme</title>
			<link>https://ircforumda.net/vb-3x-genel/80837-vbulletin-3x-sayfa-navigasyonu-pagenav-guncelleme.html</link>
			<pubDate>Thu, 09 Apr 2026 11:25:31 GMT</pubDate>
			<description>*Sayfa Navigasyonu Altyapı Güncellemesi* 
 
Forumumuzun sayfa navigasyon sistemi yeniden yazıldı. Eski HTML tablo tabanlı yapı, sayfa sayısı arttıkça...</description>
			<content:encoded><![CDATA[<div><b>Sayfa Navigasyonu Altyapı Güncellemesi</b><br />
<br />
Forumumuzun sayfa navigasyon sistemi yeniden yazıldı. Eski HTML tablo tabanlı yapı, sayfa sayısı arttıkça ekrandan taşıyor ve mobil cihazlarda layout bozuluyordu. <br />
Tablo mimarisi tamamen kaldırılarak yerine CSS Flexbox ve JavaScript gruplama motoru getirildi.<br />
Artık kaç sayfa olursa olsun navigasyon çubuğu ekranda sabit ve düzgün kalıyor, mobilde de masaüstünde de sorunsuz çalışıyor.<br />
<br />
<b>Eski yapı</b> — <font color="Red">HTML</font> tablo tabanlı <font color="red">Sorunlu</font><br />
<br />
<a href="https://resimyolu.com/images/2026/04/09/7077bad4838cd72af8fb21505eaccfbe.png" rel="shadowbox[posts]"><img src="https://resimyolu.com/images/2026/04/09/7077bad4838cd72af8fb21505eaccfbe.png" border="0" alt="Click the image to open in full size." class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /></a><br />
<br />
<b>Yeni yapı</b> — <font color="red">CSS Flex + JS</font> gruplama <font color="red">Güncel</font><br />
<br />
<a href="https://resimyolu.com/images/2026/04/09/a648f00f6750f21adfd73f4a65f51064.png" rel="shadowbox[posts]"><img src="https://resimyolu.com/images/2026/04/09/a648f00f6750f21adfd73f4a65f51064.png" border="0" alt="Click the image to open in full size." class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /></a><br />
<br />
<b>Mobil görünüm karşılaştırması</b><br />
<br />
<a href="https://resimyolu.com/images/2026/04/09/b055d9662d363281331c851f14d168c7.png" rel="shadowbox[posts]"><img src="https://resimyolu.com/images/2026/04/09/b055d9662d363281331c851f14d168c7.png" border="0" alt="Click the image to open in full size." class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /></a><br />
<br />
<b>Nerede Yapılacak?</b><br />
<br />
<font color="red">İngilizce ;</font> AdminCP &#8594; Styles &amp; Templates &#8594; Search in Templates<br />
<br />
<font color="red">Türkçe ;</font> Admin Panel &#8594; Stiller &amp; Temalar &#8594; Temalarda Ara<br />
<br />
<b>1. pagenav</b><br />
<br />
<font color="red">Ne değişti:</font> Eski &lt;table&gt; yapısı kaldırıldı, yerine CSS Flexbox getirildi. Sayfa bilgisi (X/Y) ayrı satıra alındı. Taşma sorunu ortadan kalktı.<br />
<br />
Tüm içeriği sil, şununla değiştir:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Kod:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&lt;div class=&quot;pagenav&quot; style=&quot;width:100%;display:block;&quot;&gt;<br />
&nbsp; &nbsp; &lt;div style=&quot;display:flex;font-size:11px;color:#666;padding:3px 0;margin-bottom:3px;justify-content:flex-end;&quot;&gt;&lt;phrase 1=&quot;$pagenumber&quot; 2=&quot;$totalpages&quot;&gt;$vbphrase[page_x_of_y]&lt;/phrase&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &lt;div class=&quot;pnav_wrap&quot; style=&quot;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:2px;align-items:center;padding:2px;max-width:100%;overflow:hidden;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;if condition=&quot;$show['first']&quot;&gt;&lt;a rel=&quot;start&quot; class=&quot;smallfont&quot; style=&quot;padding:3px 7px;background:#4a7aba;color:#fff;border-radius:3px;text-decoration:none;font-size:11px;flex-shrink:0;&quot; href=&quot;$address$address2&lt;if condition=&quot;$anchor&quot;&gt;#$anchor&lt;/if&gt;&quot;&gt;&amp;laquo; $vbphrase[pagenav_first]&lt;/a&gt;&lt;/if&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;pnav_gbtn_prev smallfont&quot; style=&quot;padding:3px 7px;background:#4a7aba;color:#fff;border-radius:3px;font-size:11px;cursor:pointer;flex-shrink:0;display:none;&quot;&gt;&amp;lt;&lt;/a&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;pnav_pages&quot; style=&quot;display:flex;flex-wrap:nowrap;gap:2px;&quot;&gt;$pagenav&lt;/span&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;pnav_gbtn_next smallfont&quot; style=&quot;padding:3px 7px;background:#4a7aba;color:#fff;border-radius:3px;font-size:11px;cursor:pointer;flex-shrink:0;display:none;&quot;&gt;&amp;gt;&lt;/a&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;if condition=&quot;$show['last']&quot;&gt;&lt;a class=&quot;smallfont&quot; style=&quot;padding:3px 7px;background:#4a7aba;color:#fff;border-radius:3px;text-decoration:none;font-size:11px;flex-shrink:0;&quot; href=&quot;$address$address2&amp;amp;page=$totalpages&lt;if condition=&quot;$anchor&quot;&gt;#$anchor&lt;/if&gt;&quot;&gt;$vbphrase[pagenav_last] &amp;raquo;&lt;/a&gt;&lt;/if&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;if condition=&quot;$show['popups']&quot;&gt;&lt;span title=&quot;$address$address2&quot;&gt;&lt;a name=&quot;PageNav&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/if&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&lt;/div&gt;<br />
<br />
&lt;script&gt;<br />
(function(){<br />
&nbsp; &nbsp; var wraps = document.querySelectorAll('.pnav_wrap');<br />
&nbsp; &nbsp; wraps.forEach(function(wrap){<br />
&nbsp; &nbsp; &nbsp; &nbsp; var container = wrap.querySelector('.pnav_pages');<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!container) return;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var links = container.querySelectorAll('a, span');<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (links.length &lt;= 11) return;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; var groupSize = 11;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var currentGroup = 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var totalGroups = Math.ceil(links.length / groupSize);<br />
&nbsp; &nbsp; &nbsp; &nbsp; var btnPrev = wrap.querySelector('.pnav_gbtn_prev');<br />
&nbsp; &nbsp; &nbsp; &nbsp; var btnNext = wrap.querySelector('.pnav_gbtn_next');<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; links.forEach(function(el, i){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (el.tagName === 'SPAN') {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentGroup = Math.floor(i / groupSize);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; function showGroup(g){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentGroup = g;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; links.forEach(function(el, i){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; el.style.display = (Math.floor(i / groupSize) === g) ? '' : 'none';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btnPrev.style.display = g &gt; 0 ? '' : 'none';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btnNext.style.display = g &lt; totalGroups - 1 ? '' : 'none';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnPrev.onclick = function(){ showGroup(currentGroup - 1); };<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnNext.onclick = function(){ showGroup(currentGroup + 1); };<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; showGroup(currentGroup);<br />
&nbsp; &nbsp; });<br />
})();<br />
&lt;/script&gt;</code><hr />
</div><b>2. pagenav_curpage</b><br />
<br />
<font color="red">Ne değişti:</font> Aktif sayfa &lt;td&gt; hücresinden çıkarıldı, &lt;span&gt; ile inline-block yapıldı. Koyu mavi renk ve bold yazı ile aktif sayfa belirginleştirildi.<br />
<br />
Tüm içeriği sil, şununla değiştir:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Kod:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&lt;span class=&quot;smallfont&quot; style=&quot;padding:3px 7px; background:#2d5a9e; color:#fff; border-radius:3px; font-size:11px; display:inline-block; font-weight:bold;&quot; title=&quot;&lt;phrase 1=&quot;$numbers[first]&quot; 2=&quot;$numbers[last]&quot; 3=&quot;$total&quot;&gt;$vbphrase[showing_results_x_to_y_of_z]&lt;/phrase&gt;&quot;&gt;$curpage&lt;/span&gt;</code><hr />
</div><br />
<b>3. pagenav_pagelink</b><br />
<br />
<font color="red">Ne değişti:</font> Her sayfa numarasındaki &lt;td&gt; kaldırıldı, doğrudan &lt;a&gt; etiketi inline-block yapıldı. Açık gri arka plan eklendi.<br />
<br />
Tüm içeriği sil, şununla değiştir:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Kod:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&lt;a class=&quot;smallfont&quot; style=&quot;padding:3px 7px; background:#e8e8e8; color:#333; border-radius:3px; text-decoration:none; font-size:11px; display:inline-block;&quot; href=&quot;$address$address2&lt;if condition=&quot;$curpage != 1&quot;&gt;&amp;amp;page=$curpage&lt;/if&gt;&lt;if condition=&quot;$anchor&quot;&gt;#$anchor&lt;/if&gt;&quot; title=&quot;&lt;phrase 1=&quot;$pagenumbers[first]&quot; 2=&quot;$pagenumbers[last]&quot; 3=&quot;$total&quot;&gt;$vbphrase[show_results_x_to_y_of_z]&lt;/phrase&gt;&quot;&gt;$curpage&lt;/a&gt;</code><hr />
</div><b>4. pagenav_pagelinkrel</b><br />
<br />
<font color="red">Ne değişti:</font> pagenav_pagelink ile aynı yapıya getirildi, &lt;td&gt; kaldırıldı, inline-block &lt;a&gt; yapıldı.<br />
<br />
Tüm içeriği sil, şununla değiştir:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Kod:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&lt;a class=&quot;smallfont&quot; style=&quot;padding:3px 7px; background:#e8e8e8; color:#333; border-radius:3px; text-decoration:none; font-size:11px; display:inline-block;&quot; href=&quot;$address$address2&lt;if condition=&quot;$curpage != 1&quot;&gt;&amp;amp;page=$curpage&lt;/if&gt;&lt;if condition=&quot;$anchor&quot;&gt;#$anchor&lt;/if&gt;&quot; title=&quot;&lt;phrase 1=&quot;$pagenumbers[first]&quot; 2=&quot;$pagenumbers[last]&quot; 3=&quot;$total&quot;&gt;$vbphrase[show_results_x_to_y_of_z]&lt;/phrase&gt;&quot;&gt;&lt;!--$relpage--&gt;$curpage&lt;/a&gt;</code><hr />
</div><b><font color="red">Bilgilendirme ;</font></b><br />
<br />
Tüm değişiklikler yapıldıktan sonra tarayıcı önbelleğini temizleyerek (Ctrl+Shift+R) test ediniz.<br />
Üçüncü taraf yazılım veya çerez kullanıyorsanız ( Cloudflare ) vb cache geçmişini temizleyin.<br />
<br />
<b><font color="red">Not ;</font></b> Bu değişiklik sadece kategorilerdeki görünümler için değil tüm sayfalarda mesela üye listesi , özel mesaj ( pm ) gibi alanlardada geçerli olacaktır.<br />
css ve js de değişiklik yapabilir ve renkleri mevcut temanızın renklerine göre ayarlayabilir veya benim verdiğim renkleri kullanabilirsiniz.<br />
<br />
Bu tarz paylaşımların devamı için yorum yapmayı unutmayın...<br />
Bilgi paylaştıkça güzeldir :)<br />
Keyifli Forumlar..</div>

]]></content:encoded>
			<category domain="https://ircforumda.net/vb-3x-genel/">vB 3.x Genel</category>
			<dc:creator>aSpeNDos</dc:creator>
			<guid isPermaLink="true">https://ircforumda.net/vb-3x-genel/80837-vbulletin-3x-sayfa-navigasyonu-pagenav-guncelleme.html</guid>
		</item>
	</channel>
</rss>
