
~Rob0t
Members-
Posts
118 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by ~Rob0t
-
If you want, I can do this tonight for 100$usd. Hit me up if you're interested.
-
What does the error log say? What debugging steps have you taken?
-
Go play cupid! I'll gift you $1,500USD if you get George Clooney a "nice ending christmas holiday" ( ͡° ͜ʖ ͡°)
-
This makes no sense. Broaden your scope with sprints and you're good. Learn a new framework, a new algorithm. You're implying language x has a infinite amount of algorithms that can't be implemented into PHP. Also, PHP 7 has been released, which has a major changelog, so it's not "the same". Calm down JCVenom
-
Pretty simple concept. My version supports multiple timers on a single page, also. Probably not the nicest way, as it's writing to the DOM in 2 places (to update the data attribute and to display the time left), but hey. Free code is free code. Grab the timestamp Format the data attributes (the date difference as a string) Create the div Javascript calculations <?php $intCurrentTime = time(); $arrTimes = array( 1449652661, //45 seconds ago 1449652106, //10 minutes ago 1449649106 //1 hour ago ); $objCurrentTime = new \DateTime(null, new \DateTimeZone("Europe/London")); $objCurrentTime->setTimestamp($intCurrentTime); foreach($arrTimes as $intTimestamp) { $objOldTime = new \DateTime(null, new \DateTimeZone("Europe/London")); $objOldTime->setTimestamp($intTimestamp); $objDifference = $objCurrentTime->diff($objOldTime); echo "<div class=\"time_diff\" data-timestamp=\"". $intTimestamp ."\" data-time_str=\"". $objDifference->format("%yy %mm %dd %hh %im %ss") . "\"></div> <br />"; } ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready( function() { setInterval( function() { $(".time_diff").each( function() { var strTime = $(this).data('time_str'); var intTimestamp = $(this).data('timestamp'); var arrLabel = []; var arrDateDiff = strTime.match(/^(\d{1,2})\w\s(\d{1,2})\w\s(\d{1,2})\w\s(\d{1,2})\w\s(\d{1,2})\w\s(\d{1,2})\w$/); var intYear = arrDateDiff[1]; var intMonth = arrDateDiff[2]; var intDays = arrDateDiff[3]; var intHours = arrDateDiff[4] var intMinutes = arrDateDiff[5]; var intSeconds = arrDateDiff[6]; intSeconds = intSeconds - 1; if( intSeconds <= 0 ) { intSeconds = 0; if( intMinutes > 0) { intSeconds = 60; --intMinutes; } } if( intMinutes <= 0 ) { intMinutes = 0; if( intHours > 0 ) { intMinutes = 59; --intHours; } } if( intHours <= 0 ) { intHours = 0; if( intDays > 0 ) { intHours = 60; --intDays; } } if( intDays <= 0 ) { intDays = 0; if( intMonth > 0 ) { intDays = 30; //roughly. shhhh --intMonth; } } if( intMonth <= 0 ) { intMonth = 0; if( intYear > 0 ) { intYear = 1; } } if( intSeconds > 0 ) { arrLabel.push(intSeconds + " seconds "); } if( intMinutes > 0 ) { arrLabel.push(intMinutes + " minutes"); } if( intHours > 0 ) { arrLabel.push(intHours + " hours"); } if( intDays > 0 ) { arrLabel.push(intDays + " days"); } if( intMonth > 0 ) { arrLabel.push(intMonth + " months"); } if( intYear > 0 ) { arrLabel.push(intYear + " years"); } arrLabel.reverse(); $(this).html(arrLabel.join(" ")); $(this).data("time_str", intYear + 'y ' + intMonth + 'm ' + intDays + 'd ' + intHours + 'h ' + intMinutes + 'm ' + intSeconds + 's'); }) }, 1000); }); </script>
-
Re-explain the problems/issues you're having in detail. What do you need? What have you done? What doesn't work?
-
I was watching [MENTION=69823]jcvenom[/MENTION] try to debug some of his ****ty code today. FTFY
-
PHP thinks you're boring.
-
Have fun.
-
FREE Real-time chat using Pusher - author: [MENTION=65371]sniko[/MENTION] BlueImp chat - author: [MENTION=53425]Magictallguy[/MENTION] and [MENTION=69001]Zettieee[/MENTION] Ps: Look into server-push rather than polling for the chat.
-
A couple iPhone apps accompanied by web apps - it's pretty fun, tiring, profitable, and stressful. The infamous mix of a web developer. What about yourself [MENTION=64687]Dominion[/MENTION]?
-
Interesting stuff. Still hard to comprehend your posts though, [MENTION=70101]_donnie_[/MENTION]
-
Heh. Great deflection bro, but seriously, scrub up on the way you type. A wall of text with grammar and punctuation carelessness makes you seem immature, kid.
-
I have this. I'll upload later. Currently away from my old laptop.
-
Probably with a few accidental signups and spam/ddos from the game owners for piggy-backing off their advertisements A good way to find out if a game already exists is to search for it. I.e: "allintext: turf wars rpg" You may find some more help on; http://law.stackexchange.com/ https://www.reddit.com/r/TRADEMARK/ A lawyer
-
You cannot copyright a word (so the word "mafia" is free reign), though you can trademark a word. You can search to see if the word(s) are trademarked on various sites, for example; https://www.ipo.gov.uk/tmtext.htm p.s. not a lawyer, probably chatting shit
-
You're pretty much incomprehensible. Sort your posts out, thanks #TextWallOfDeath
-
Nice! I can give you my time for $100USD (paid via PayPal or BTC). If interested, PM me.
-
Do you have the design completed and sliced and you just need the HTML/CSS, or do you need a design doing as well? If the former, I can do this for 100$usd.
-
PHP Notice: Undefined variable: br (8) Line executed: /home/nation/public_html/userimages.php:61 Step 1 - Look at the error Undefined adjective not clear or defined. Step 2 - Look at the line $br++; Step 3 - See what's happening Incrementing a value on a variable that hasn't been given a value before Step 4 - Put in a fix Put $br = 0; above the while() Step 5 - Issue payment Send cash for not reading the fucking error message. BTC: Donate to Wikimedia Thanks. http://stackoverflow.com/a/4261200
-
I'm assuming you have a time constraint, so webview + mobile stylesheet (w/ a responsive design) will help you get a product out of the door quickly. You don't need to recode it at all, just sent HTTP requests (create a REST API to interact with your current logic). If you have a nice budget, I can do this for you (nice >$2,500)
-
This script is grim. No code comments Calling functions to echo output (strong believer of functions should only return) The use of global. Mixing PHP and Javascript Multiple jQuery selectors instead of method chaining Inline styling [MENTION=70283]Samurai Legend[/MENTION] - look at your PHP error log and debug.
-
Absolutely! HMU on the Slack chat later :D
-
We've a joker in the house :cool: :p [MENTION=69670]Script47[/MENTION] and [MENTION=68711]KyleMassacre[/MENTION] have suggested some great things. I can't throw in any more input as I do iOS, except from https://www.kinetise.com/.