Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Posts today code
Topic Started: Sep 25 2009, 11:28 PM (138 Views)
Will
Member Avatar


This code has been moved here from our old support forum (as it will soon no longer exist at it's current location).
Please use the report button on this post to notify our staff of any problem with this modification.


Originally posted by: Zefer
Posts today code
 
Version 0.2 full of bugs. :/
Tested and works in Opera, i don't know about fx and ie.
Code:
 

<div id="store" style="display:none;"></div>
<script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6(o.n.9.t("/g/")!=-1){2 f=o.n.9.h("g/")[0]+"y/s/";2 3=u v();3.A("C",f,D);3.F();3.H=J(){6(3.L==4){2 b=3.z;7.q("r").5=b;2 c=7.q("r").8("p");k(2 a=0;a<=c.l;a++){6(c[a].5.j(/m M/i)){2 d=E(c[a].5.h(":")[1]);2 e=7.8("p");k(2 i=0;i<=e.l;i++){6(e[i].5.j(/m G x/i)){d=d==0?"I":d;e[i].8("B")[0].5+=" ("+d+" K)"}};w}}}}};',49,49,'||var|ajax||innerHTML|if|document|getElementsByTagName|href||||||url|index|split||match|for|length|Total|location|window|TD|getElementById|store|top_posters|indexOf|new|XMLHttpRequest|break|Posts|stats|responseText|open|STRONG|GET|true|parseInt|send|Forum|onreadystatechange|None|function|today|readyState|posts'.split('|'),0,{}))
</script>

Put that "below the board" :)

What this code does is puts the number of posts today by the total forum posts thing. :P
Offline Profile Quote Post Goto Top
 
tesser
Member
[ *  * ]
Works well in IE.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code & Modification Database · Next Topic »
Add Reply