IPBAccess
Digg this topic · Save to del.icio.us · Slashdot It · Post to Technorati · Post to Furl · Submit to Reddit · Share on Facebook · Fark It · Googlize This Post · Add to ma.gnolia · Tag to Wink · Add to MyWeb · Add to Netscape


 
Reply to this topicStart new topic
news bölümü
maydalin
mesaj 24.09.2007, 13:15:41
İleti #1
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


mjtürkiyedeki news (haberler bölümü) nasıl yapabiliriz bir fikri olan varmı acp den karıştırdım biraz ama beni aştı adamlar çok güzel yapmışlar haberler kayıyor ve içine reklam bile yerleştirmişler
Go to the top of the page
 
+Quote Post
Oscar
mesaj 24.09.2007, 13:30:55
İleti #2
IPB-Staff
Grup Simge
Grup: Grup: IPB-Staff
İleti: 6,300
Açtığı Konu Sayısı:805
Mod Upload: 219
Katılım: 16.09.2005
Nereden: Trabzon
Skin: IPBAccess v2.5 NJ2
Üye No: 1
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


QUOTE(maydalin @ 24.09.2007, 16:15:41) *
mjtürkiyedeki news (haberler bölümü) nasıl yapabiliriz bir fikri olan varmı acp den karıştırdım biraz ama beni aştı adamlar çok güzel yapmışlar haberler kayıyor ve içine reklam bile yerleştirmişler



Mod istek bölümüne bu tip konuları açmayın lütfen.
Bu genel bir webmaster sorusu.
Go to the top of the page
 
+Quote Post
maydalin
mesaj 24.09.2007, 13:37:57
İleti #3
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


QUOTE(Oscar @ 24.09.2007, 13:30:55) *
Mod istek bölümüne bu tip konuları açmayın lütfen.
Bu genel bir webmaster sorusu.

belki modla falan yapılıyordur diye bu başlık altına açtım
Go to the top of the page
 
+Quote Post
Oscar
mesaj 24.09.2007, 13:42:20
İleti #4
IPB-Staff
Grup Simge
Grup: Grup: IPB-Staff
İleti: 6,300
Açtığı Konu Sayısı:805
Mod Upload: 219
Katılım: 16.09.2005
Nereden: Trabzon
Skin: IPBAccess v2.5 NJ2
Üye No: 1
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


QUOTE(maydalin @ 24.09.2007, 16:37:57) *
belki modla falan yapılıyordur diye bu başlık altına açtım


O bölüm sadece mod istek bölümü (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/wink.gif)
Özel, olmayan veya daha önce yapılmamış mod istekleri için.
Go to the top of the page
 
+Quote Post
ARieS
mesaj 24.09.2007, 17:10:33
Son düzenleme tarihi : 25.09.2007 20:32 (ARieS)
İleti #5
Admin
Grup Simge
Grup: Grup: IPB-Support
İleti: 1,348
Açtığı Konu Sayısı:98
Mod Upload: 52
Katılım: 19.08.2006
Nereden: Trabzon(Mersin/Erdemli)
Skin: IPBAccess v2.5 NJ2
Üye No: 1,575
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


QUOTE(maydalin @ 24.09.2007, 16:15:41) *
mjtürkiyedeki news (haberler bölümü) nasıl yapabiliriz bir fikri olan varmı acp den karıştırdım biraz ama beni aştı adamlar çok güzel yapmışlar haberler kayıyor ve içine reklam bile yerleştirmişler


LOOK & FEEL >Temanız>Edit Board Header & Footer Wrapper
Bul:
CODE
<head>


Altına Ekle:
CODE
<style type="text/css">

/*Example CSS for the two demo scrollers*/

#pscroller2{
width: 225px;
height: 20px;
border: 0px solid black;
padding: 3px;
}

#pscroller2 a{
text-decoration: none;
}

.someclass{ //class to apply to your scroller(s) if desired
}

</style>

<script type="text/javascript">

/*Example message arrays for the two demo scrollers*/

var pausecontent2=new Array()
pausecontent2[0]='<a href="http://www.news.com">News.com: Technology and business reports</a>'
pausecontent2[1]='<a href="http://www.cnn.com">CNN: Headline and breaking news 24/7</a>'
pausecontent2[2]='<a href="http://news.bbc.co.uk">BBC News: UK and international news</a>'


</script>

<script type="text/javascript">

/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidt
-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseou
=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 75)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}

</script>


Save Wrapper

LOOK & FEEL>Temanız>Edit Template HTML>Board Index>newslink:
Bul:

CODE
<i><a href="{$this->ipsclass->base_url}showtopic=$tid">$title</a></i>

Değiştir:
CODE
</br><script type="text/javascript">

//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)

document.write("")
new pausescroller(pausecontent2, "pscroller2", "someclass", 2000)

</script>


Save Template Bit

QUOTE
var pausecontent2=new Array()
pausecontent2[0]='<a href="http://www.news.com">News.com: Technology and business reports</a>'
pausecontent2[1]='<a href="http://www.cnn.com">CNN: Headline and breaking news 24/7</a>'
pausecontent2[2]='<a href="http://news.bbc.co.uk">BBC News: UK and international news</a>'


Kırmızı olan linkleri kendinize göre ayarlayın. İsterseniz;
QUOTE
pausecontent2[3]='LİNK'
pausecontent2[4]='LİNK'


Şeklinde haber sayısını artırabilirsiniz.

Benim deneme şansım olmadı sadece kodları buldum ve anlatımını gerçekleştirdim. Düzenlemeden önce yedek alırsanız iyi olur!

Kolay Gelsin.. (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/wink.gif)
Go to the top of the page
 
+Quote Post
maydalin
mesaj 24.09.2007, 17:21:46
Son düzenleme tarihi : 24.09.2007 20:28 (maydalin)
İleti #6
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


Deneyelim bakalım

bu ne hız (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)
eline sağlık da

en alttaki editlemeyi nerede yapıcaz onu yazmayı unutmuşun
Diğer bağlantılar ve kaynak sayfalar :
http://www.ipbaccess.com/forum...s/default/biggrin.gif
Go to the top of the page
 
+Quote Post
Oscar
mesaj 24.09.2007, 17:36:02
İleti #7
IPB-Staff
Grup Simge
Grup: Grup: IPB-Staff
İleti: 6,300
Açtığı Konu Sayısı:805
Mod Upload: 219
Katılım: 16.09.2005
Nereden: Trabzon
Skin: IPBAccess v2.5 NJ2
Üye No: 1
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


3 tane linki oradan kaydıracağım diye bu kadar kod ile uğraşmaya değer mi? (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/tongue.gif)

Bundan sonra bende eklentileri otomatik yapmayacağım, editleyin durun bana ne (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)
Go to the top of the page
 
+Quote Post
maydalin
mesaj 24.09.2007, 17:39:35
İleti #8
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


tamam çözdüm mj deki gibi dönerse sorun yok
Go to the top of the page
 
+Quote Post
maydalin
mesaj 24.09.2007, 17:41:31
İleti #9
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


QUOTE(Oscar @ 24.09.2007, 17:36:02) *
3 tane linki oradan kaydıracağım diye bu kadar kod ile uğraşmaya değer mi? (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/tongue.gif)

Bundan sonra bende eklentileri otomatik yapmayacağım, editleyin durun bana ne (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)

o zaman mod bölümüne bir başlık açıyorum (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)
Diğer bağlantılar ve kaynak sayfalar :
http://www.ipbaccess.com/forum...s/default/biggrin.gif
Go to the top of the page
 
+Quote Post
ARieS
mesaj 24.09.2007, 17:54:36
İleti #10
Admin
Grup Simge
Grup: Grup: IPB-Support
İleti: 1,348
Açtığı Konu Sayısı:98
Mod Upload: 52
Katılım: 19.08.2006
Nereden: Trabzon(Mersin/Erdemli)
Skin: IPBAccess v2.5 NJ2
Üye No: 1,575
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


QUOTE(Oscar @ 24.09.2007, 20:36:02) *
3 tane linki oradan kaydıracağım diye bu kadar kod ile uğraşmaya değer mi? (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/tongue.gif)

Bundan sonra bende eklentileri otomatik yapmayacağım, editleyin durun bana ne (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)

Aman hocam! Otomatik kurulumlu modlar yapmana rağmen sorun yaşayanlar oluyor. HEr şeyi editlemeli verirsen işimiz var.. (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)
Diğer bağlantılar ve kaynak sayfalar :
http://www.ipbaccess.com/forum...s/default/biggrin.gif
Go to the top of the page
 
+Quote Post
Oscar
mesaj 24.09.2007, 17:58:29
İleti #11
IPB-Staff
Grup Simge
Grup: Grup: IPB-Staff
İleti: 6,300
Açtığı Konu Sayısı:805
Mod Upload: 219
Katılım: 16.09.2005
Nereden: Trabzon
Skin: IPBAccess v2.5 NJ2
Üye No: 1
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x
Ülke : tr


QUOTE(ARieS @ 24.09.2007, 20:54:36) *
Aman hocam! Otomatik kurulumlu modlar yapmana rağmen sorun yaşayanlar oluyor. HEr şeyi editlemeli verirsen işimiz var.. (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)


Yeni sistem geliştiriyorum, üye moda tıklayacak biz gidip kuracağız ancak öyle memnun olurlar. (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/tongue.gif)
Diğer bağlantılar ve kaynak sayfalar :
http://www.ipbaccess.com/forum...ns/default/tongue.gif
Go to the top of the page
 
+Quote Post
maydalin
mesaj 24.09.2007, 18:15:06
İleti #12
Aktif
**
Grup: Grup: Üye
İleti: 131
Açtığı Konu Sayısı:19
Mod Upload: 0
Katılım: 19.09.2007
Skin: IPBAccess v2.5 Clasic
Üye No: 5,276
Sunucu OS: Linux
IPB Sürüm: IPB 2.3.x


Geçin bakalım dalganızı (IMG:http://www.ipbaccess.com/forum/style_emoticons/default/biggrin.gif)

dönmüyor üstadlar hangi kısımdan kaynaklanabilir
Diğer bağlantılar ve kaynak sayfalar :
http://www.ipbaccess.com/forum...s/default/biggrin.gif
Go to the top of the page
 
+Quote Post
maydalin