2014-03-14 0:54 AM

Anti Spam in Forum

Author: Animorph

Posted: 2017-11-21

0 Comments

Paste After $BODY$

Code

  <script type="text/javascript">
  // Copyright uCause ~ http://uCause.ucoz.com/
  var bots_html = '<a href="http://ucause.ucoz.com/index/8-77" rel="nofollow" target="_blank"><font color="red">WarningSystem</font> </a> '; // HTML code
  var bots_num = 2; // Number of systems
  /* Then change nothing <img src="http://s23.ucoz.net/sm/1/wink.gif" border="0" align="absmiddle" alt="wink"> */
  var userdata = $('td.gTableBody1').find('a[class^="group"]:last');
  if(userdata.html()!=null){userdata.after(', '+bots_html);}else{$('div.statsRecord').after(bots_html);}
  $('td.gTableSubTop').each(function(){if($(this).html().indexOf('Visitors') != -1){
  var number = $(this).find('b:first').html();
  $(this).html($(this).html().replace(')', ', bots - <b>'+bots_num+'<\/b>)').replace(number, number * 1 + bots_num));}};
  </script>
  


Editing area

Code

  // Copyright uCause ~ http://uCause.ucoz.com/
  var bots_html = '<a href="http://ucause.ucoz.com/index/8-77" rel="nofollow" target="_blank"><font color="red">WarningSystem</font> </a> '; // HTML code
  var bots_num = 2; // Number of systems


Number of bots

Code

bots_num = 2;


The BOT

Code
<a href="http://ucause.ucoz.com/index/8-77" rel="nofollow" target="_blank"><font color="red">WarningSystem</font> </a>

30
Comments
Total comments: 0
"Making uCoz web designs simple and easy to use"
- uCause Developers