Simple Machine Codes
November 23, 2009, 12:55:52 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Affiliates Code Index Staff List Calendar Members Login Register  

Freeze Post Count


Pages: [1]   Go Down
  Print  
Author Topic: Freeze Post Count  (Read 156 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,664



View Profile WWW
« on: October 24, 2007, 03:04:24 pm »

Footers
Code:
<script>
stop = "NUMBER"

c = document.getElementsByTagName("div");
for (a=0;a<c.length;a++){
//Created by Agent Moose (smcodes.smfforfree3.com)
if((c[a].className=="smalltext")&&(c[a].innerHTML.match(/Posts: (\d+)/))){
if(RegExp.$1 > stop){
c[a].innerHTML = c[a].innerHTML.replace(RegExp.$1,stop);
};};};
</script>
This will stop the post count when a user gets to a certain number.  Just change NUMBER to the number you want the post count to stop at Smiley
Report Spam   Logged



Pages: [1]   Go Up
  Print  
 
Jump to:  

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

Powered by SMF | SMF © 2006, Simple Machines LLC
ServerBeach Coupon