vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Lock Topic's To Buttom Of Thread List - View Topic
Topic Rating: *****
Printable View
This topic was locked 29th Apr 08 at 5:04pm by Michael
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
[F] Lock Topic's To Buttom Of Thread List (29th Apr 08 at 3:42am UTC)
I see there is a code to "Hide Lock Topic's" .

But i don't want to hide them , i'll like an code if possible that would once you lock it it would be moved to the buttom of the thread list please. {Smile}

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Lock Topic's To Buttom Of Thread List (29th Apr 08 at 6:45am UTC)
O.o No... there isn't... I'll get one made! {Tongue Out}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Lock Topic's To Buttom Of Thread List (29th Apr 08 at 12:00pm UTC)
Ok thanks Wrighty {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Lock Topic's To Buttom Of Thread List (29th Apr 08 at 4:09pm UTC)
try this:

<script>
/*Move Locked Threads To Bottom
Created By Wrighty
Do Not: Rip, Repost or Claim*/

if(location.href.match(/board\/(\w)(\/page\/(\d)|\/action\/move_topic)?(\/|$)?/)){
    var d = get('tr','tag');
    var y = d.length;
    while(y--){
        if(d[y].cells[0].colSpan == '5' && d[y].cells[0].className == 'title1'){
            var a = d.length;
            while(a--){
                if(d[a].cells[0].innerHTML.match(/\[L\]/) && d[a].cells[0].className == 'window1' && d[a].cells[1].innerHTML.match(/started by/i)){
                    d[y].parentNode.insertBefore(d[a], d[y])
                }
            }
            break;
        }
    }
}
</script>


Global Footer
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Lock Topic's To Buttom Of Thread List (29th Apr 08 at 4:50pm UTC)
Thank you Wrighty my friend , its working fine {Grin} . Nice coding job .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Lock Topic's To Buttom Of Thread List (29th Apr 08 at 5:04pm UTC)
Thank you! {Smile}
 Printable View

All times are GMT+0 :: The current time is 3:33am
Page generated in 0.1519 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums