Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [SC] Hows My Post v1; ZB Version | |
|---|---|
| Tweet Topic Started: Jul 10 2008, 05:16 PM (3,602 Views) | |
| HolySavior | Jul 10 2008, 05:16 PM Post #1 |
![]()
Modifying The World Around You
![]()
|
Alrighty i have had some requests for this one to be converted so here it is Hows My Post v1 for ZB! I have changed it up alittle bit Currently it works for: Add Reply New Topic Compose PM One Small Error is the Quick Message Compose. which will hopefully be fixed soon. Creator: HolySavior ( aka Dan T) Preview: http://s1.zetaboards.com/howsmypost/index/ Instructions: Add this to your CSS
Add this Above <-- Top Menu -->
Add this after <--board -->
Edited by Reid, Jun 15 2009, 08:12 PM.
|
![]() |
|
| ninjawolf71 | Jul 31 2008, 08:46 PM Post #2 |
![]()
|
wow thanks |
![]() |
|
| Kyaizen | Aug 6 2008, 09:02 PM Post #3 |
![]()
|
I like this one a lot, thank you. |
![]() |
|
| GreNade | Aug 19 2008, 07:01 AM Post #4 |
![]()
|
nice code ^^ |
![]() |
|
|
|
Dec 1 2008, 05:30 AM Post #5 |
|
freakn phenominal! thanks again- |
![]() |
|
| HolySavior | Dec 1 2008, 01:48 PM Post #6 |
![]()
Modifying The World Around You
![]()
|
thanks guys glad you enjoy it. |
![]() |
|
| djjordie | Dec 5 2008, 08:45 PM Post #7 |
![]()
Djjordie
![]()
|
OMG thanks sooo much Holy Saviour your a legend no wait a Holy Saviour !! In the second code you gave us it says can we edit how many post equals excellent, good and you can do better e.s.t, not the copyright of course? And if we are allowed would we change the blue text in the following code to do so? <script type='text/javascript'> /* Created by HolySavior of iFusion Hows My Post v1 ZB This may not be Edited at all! */ function word_count() { var post_words = document.forms['posting'].post.value.split(/ /g); var count = 0; for(i=0;i<post_words.length;i++) if(post_words.length > 2) count++; var iObj = document.getElementById('count'); iObj.innerHTML = "<table><tr><td><div id='status_bar_holder' class='postbar'><div id='status_bar' style='width: "+count + "%;' class='innerbar'></div></div></td><td>"+ count+" words over 3 letters</td></tr></table>"; if(count >= 40){ iObj.innerHTML += "<span class='howspost'>Hows My Post? </span><span style='color:#308014'> Excellent Post!</span>"; }else if (count >=10){ iObj.innerHTML += "<span class='howspost'>Hows My Post? </span><span style='color:#308014'> Good Post!</span>"; } else if(count < 10){ iObj.innerHTML += "<span class='howspost'>Hows My Post? </span>You can do better than that!"; } } function check_count(){ var post_words = document.forms['posting'].post.value.split(/ /g); var count = 0; for(i=0;i<post_words.length;i++) if(post_words.length > 2) count++; if(count < 6){ return confirm("Post Length Alert!!\r\n\r\nYour post has only " + count + " words with over three letters. Are you sure you want to add it?"); } } var hows_my_post = { init: function(){ if(location.href.match(/post/) || location.href.match("msg")){ document.getElementById("c_post").innerHTML += "<br/><div id='count'><span class='howspost'>Hows My Post? </span></div>"; } if(document.forms['posting']){ if(document.getElementById('count') ) document.forms['posting'].post.onkeyup = function(){ word_count(); } if(location.href.match("mode=")){ document.forms['posting'].post_submit.onclick = function(){ return check_count(); } } if(location.href.match("msg")) { document.forms['posting'].submit.onclick = function(){ return check_count(); } } } } }; </script> djjordie Edited by djjordie, Dec 5 2008, 08:53 PM.
|
DJJORDIE | |
![]() |
|
| HolySavior | Dec 5 2008, 10:56 PM Post #8 |
![]()
Modifying The World Around You
![]()
|
sure just leave my copyright in |
![]() |
|
| djjordie | Dec 6 2008, 12:16 AM Post #9 |
![]()
Djjordie
![]()
|
Cool Thx Holy Saviour This is gonna be awsome. And guess what????? This post is a "Hows My Post? Good Post!" Lol :wub: |
DJJORDIE | |
![]() |
|
| Keanu Stryker | Dec 6 2008, 09:49 PM Post #10 |
![]()
|
This code is very good. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Zetaboards Modifications · Next Topic » |
















7:49 PM Jul 10