Joacim
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate Wordpress Auction Plugin] Great additionThis thing I don’t know if it would be a feature but it’s a cool idea.
Is there a simple way to transform the plugin to a “Risk Game” instead of an “Auction”?
With Risk Game i mean it would be cool to pay for example $100 and have a chance to get the product for a cheap price but someone else can pay $110 and then I will lose the
$100 and he get the product for $110. It’s a game not an auction. Is it possible to develop? I’m a lowed skill PHP-Developer ( only built simple if and then programs that connects to a database, low skill in WordPress development ) tough my JavaScript, CSS and HTML is pretty good.Forum: Plugins
In reply to: [Ultimate Wordpress Auction Plugin] Great additionHi Nitesh Singh!
Really nice plugin, it’s very straight forward and it works like a sharm.
Thank you π I have some ideas for features, will send them here soon π
Forum: Fixing WordPress
In reply to: My sites got hackedattack today at 5 sites again. Now i’m really going to fix this, i will follow your link jexley.
Forum: Fixing WordPress
In reply to: My sites got hacked@perezbox yet i have not found the backdoor but have removed the code a few times. Like i said, it has been a while now since the last attack.
Forum: Fixing WordPress
In reply to: My sites got hackedOkey, it’s no big deal and it doesn’t do anything i think. But it has been a while now since the last attack..
Thanx for the replay this is great πForum: Fixing WordPress
In reply to: My sites got hackedthanx esmi
Forum: Fixing WordPress
In reply to: My sites got hacked5 sites hacked echo
[ Do not post malware code here. ]
here is the code that is popping up all the time
Forum: Fixing WordPress
In reply to: My sites got hackedso u have the same problem?
Forum: Fixing WordPress
In reply to: My sites got hackedthis is what i get when the sites got hacked π
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /???/?/???????/index.php on line 5
Forum: Fixing WordPress
In reply to: My sites got hackedYes FileZilla
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Custom field validation codeI have found this. Could i implement it somehow?
It’s for Swedish use
Thanks
function personnummer(nr){ this.valid=false; if(!nr.match(/^(\d{2})(\d{2})(\d{2})\-(\d{4})$/)){ return false; } this.now=new Date(); this.nowFullYear=this.now.getFullYear()+""; this.nowCentury=this.nowFullYear.substring(0,2); this.nowShortYear=this.nowFullYear.substring(2,4); this.year=RegExp.$1; this.month=RegExp.$2; this.day=RegExp.$3; this.controldigits=RegExp.$4; this.fullYear=(this.year*1<=this.nowShortYear*1)?(this.nowCentury+this.year)*1:((this.nowCentury*1-1)+this.year)*1; var months = new Array(31,28,31,30,31,30,31,31,30,31,30,31); if(this.fullYear%400==0||this.fullYear%4==0&&this.fullYear%100!=0){ months[1]=29; } if(this.month*1<1||this.month*1>12||this.day*1<1||this.day*1>months[this.month*1-1]){ return false; } this.alldigits=this.year+this.month+this.day+this.controldigits; var nn=""; for(var n=0;n<this.alldigits.length;n++){ nn+=((((n+1)%2)+1)*this.alldigits.substring(n,n+1)); } this.checksum=0; for(var n=0;n<nn.length;n++){ this.checksum+=nn.substring(n,n+1)*1; } this.valid=(this.checksum%10==0)?true:false; this.sex=parseInt(this.controldigits.substring(2,3))%2; } </script> <form onsubmit="if(new personnummer(this.pnr.value).valid){ alert('A valid social security number'); } else { alert('No valid social security number'); }; return false;"> Personnummer: <input type="text" name="pnr"> <input type="submit" value="Check"> </form>Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Custom field validation codeCan someone give me a step-to-step guide for this? Or is it impossible to understand if you’re not a good programmer?
– Thanks