July 24, 2024, 07:56:42 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

[IF] Add Today's Top 10 Posters Link To Index

Pages: [1]   Go Down
Author Topic: [IF] Add Today's Top 10 Posters Link To Index  (Read 513 times)
Offline Offline

Gender: Male
Posts: 154

View Profile
Badges: (View All)
« on: November 03, 2008, 07:06:55 pm »

I went for another fairly simple code. This one does what the title says it does, it adds the "Today's top 10 posters" link next to the "Overall top 10 posters" link on the board index.

Admin CP - Footers

Preview: [url=http://z9.invisionfree.com/Vitcodetesting/index.php?act=idx]http://z9.invisionfree.com/Vitcodetesting/index.php?act=idx[/url]

<script type='text/javascript'>
//Code by Vitality of Phantom-Designs
var b = location.href.split("?")[0];
var a=document.getElementsByTagName('div')
if(a[i].innerHTML.match('Overall top 10 posters')){
a[i].innerHTML += "| <a href='"+b+"?&act=Stats'>Today's top 10 posters</a>"
Report Spam   Logged


Share on Facebook Share on Twitter

Pages: [1]   Go Up
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy