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,605 Views) | |
| HolySavior | Mar 23 2009, 02:25 PM Post #31 |
![]()
Modifying The World Around You
![]()
|
i guess if you want to change the image that bad you can. but if you mess up the script doing it i might not help you... and no you can not use the images we use. |
![]() |
|
| high_sky | Mar 28 2009, 05:12 AM Post #32 |
|
doughnuts!
![]()
|
Okay, no prob, thanks v much for this code again |
![]() ZBtopsite| ZBthemezone| ZBcode | |
![]() |
|
| dave123 | Mar 29 2009, 02:13 PM Post #33 |
![]()
|
hi i cant find the Add this after <--board --> bit is it in the same css bit were the rest is and do i put the first code at the top of the css bit thanks if you no what i mean |
![]() |
|
| SlyCooperFan1 | Mar 29 2009, 06:40 PM Post #34 |
|
Master Raccoon
![]()
|
<!---BOARD---> is in the Theme Layout section. You know, where you found <!---TOPMENU--->? |
|
ZBCode is no longer active. Please visit these sites for codes: Outline - Zathyus Networks | |
![]() |
|
| dave123 | Mar 30 2009, 05:03 AM Post #35 |
![]()
|
right this is how i have done it can you tell me what i am doing wrong i have put the add this to css code on the bottom of the css bit in the Edit Theme Appearance and in the Theme Layout section i have done it like this <script type='text/javascript'>/* Created by HolySavior of iFusionHows My Post v1 ZBThis 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> <!-- TOPMENU --><!-- HEADER --><!-- SUBMENU --><div id="wrap"><!-- NAV --><!-- BOARD --> <script type='text/javascript'>hows_my_post.init();</script></div> |
![]() |
|
| samrav | Apr 15 2009, 11:03 AM Post #36 |
![]()
|
I have had problems installing this brilliant application: 1) On the CSS, does it matter where it goes? I simply slot it in at the bottom. 2) Everytime I copy/paste the code, the code `scrunches` up i.e. Instead of being: A B C It goes : ABC Does this matter? 3) On the Theme Layout section, does it go below the section, or next to them? I put them below. Thank you for reading
|
![]() |
|
| Vitality | Apr 15 2009, 04:31 PM Post #37 |
|
Tabula Rasa
![]()
|
1. It doesn't matter. 2. It doesn't matter. 3. It shouldn't matter.
|
![]() |
|
| God Like Oni | Apr 16 2009, 02:21 AM Post #38 |
![]()
|
Nice code , it works really well. |
![]()
| |
![]() |
|
| Addicted | Apr 20 2009, 10:49 PM Post #39 |
![]()
|
I luffed this code but I added a Post template code and had to chose one or the other cause the template wouldn't work *sobs* Sadness. |
![]() |
|
| triforceguy1 | May 20 2009, 04:37 PM Post #40 |
![]()
|
is it possible so that you can take out the submit button in the post length alert message, if so how? Thanks Leon |
![]() |
|
| 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