Jump to content

Orionsbelter

Members
  • Content Count

    493
  • Joined

  • Last visited

Everything posted by Orionsbelter

  1. If you were to use tabs, they wouldn't stack on mobile nor would they act like an accordion.
  2. Hi, I'm currently stuck as two how I can do this, I have a desktop and mobile design where on Desktop the design acts like tabs but on mobile it acts as an Accordion. But i'm not too sure how the best way to go about this is. Please see attached the designs. Any examples or advice on how to do this would be greatly appreciated.
  3. I'm trying to create an ajax call using jQuery jsonp. I'm fairly new jQuery and jsonp (trying out some examples to learn), however i'm very keen to learn how to build a javascript file to include into future project that will validate a license code. I'm come up with the following code: <script type="text/javascript" src="http://www.example.co.uk/javascript/jquery/jquery-1.7.1.min.js"></script> <script type="application/javascript"> (function($) { var licensing = function() { var domain = 'test.com'; var EID = 'EXT123'; var LC = '1234'; $.ajax({ type : "GET", dataType : "jsonp", jsonp:"callback", contentType: "application/json", jsonpCallback: "resp", url : "//example.com/license/index.php?domain="+ domain +"&licenseCode="+ LC +"&EID="+ EID +"", success: function(response) { alert(response) }, error: function() { alert('An error occurred during validation. Please try again. If the issue persists, contact support.'); } }); } licensing(null); })(jQuery) </script> However I'm struggling to find suitable examples for the next stage which would be the PHP file example.com/license/index.php which I would like to handle the parameters passed, check the database and create an array named response to hold all the information pulled from the database. I'm fine with connecting to the database, building the array etc but I'm not too sure where to start in regards to accepting the call, I'm tried this simple code for now: <?php $domain = $_GET['domain']; $licenseCode = $_GET['licenseCode']; $EID = $_GET['EID']; echo $domain . " " . $licenseCode . " " . $EID . " "; ?> But It's throwing the error as the AJAX has failed. Does anyone have any good examples of what would need to include the in PHP file to handle the request? Thanks.
  4. Here is an example image of a similar feature, unfortunately this is on a closed system.
  5. Hi Guys, I'm looking to create a module for a third party eCommerce system, that will allow the user to create rules or conditions for sending out emails to the customer. For example, the user will be able to select from dropdowns to create a rule, similar to email filtering: Example IF - Cart Value - Is Greater Than - 300 AND - Product Category - Is Equal To - Phones FYI - All the BOLD text represents multi-select dropdowns and ITALIC text represents input boxes I do not wish for someone to write this code for me, but would anyone know if anywhere I can learn this or does anyone of a open source script / system that I could look at. Thank you.
  6. This isn't always the possible though, imagine if you were a publisher of an extension on a open-source project such as Joomla, Opencart, Presta Shop etc. Then you would have to publish your code for people to pay, download and install on their website; Then someone could do the same and make changes to your extension's code and make it look different and upload to the marketplace to compete against your own product in which it was originally your own. I'm a big believer in this also, as long as it not going to be used against the original developer as mentioned above. There has been some extremely interesting points made in the forum and I would like to thank everyone who has posted.
  7. Exactly is someone provide you with some source code that they wrote to solve your problem, then I would consider this as a valid reason to credit that person somewhere in the program / software. This is a whole other subject in it's self haha, Awhile back I was researching who actually invented the computer and there isn't a simple answer as you will already know. I always believed Konrad Zuse invented the computer by using Leibniz's binary with telephone relays, however I soon learnt that there was a history of computers long before that! The lawyers who take these such cases on must be pretty well paid!
  8. Excellence reply, very informative! I totally agree with comments regarding Apple, they seem to steal many people ideas even the ones protected; then they just pay them off in court with the big stack of cash they're sitting on. I imagine algorithms are very hard to copy and pass off as your own work due to the nature of the mathematics; It would be like someone trying to say they came up with e =mc2 Going to give them links a read now, thanks for replying 0x00!
  9. Thank you for reply. I imagine it is very hard to prove, luckily I haven't had this happen to me. Fingers crossed that I never do; Just something I have always wondered and never really been able to hard much information on it. Like you said it's hard to prove and even harder to states what's copied and what is clearly just code wrote similar. You mean you could spend months working on a project not copying anyone else's work and coming up with the ideas and design all by yourself only to discover you have wrote something similar to something someone has patented?
  10. First let me start by saying I'm not looking to copy someone else's code but better understand where the line is drawn for people copying my own code. All developers at some point will have used others code in there own work. If you see something that inspires you, you may decided to use that code in your design. In some degree this maybe classed as fair use depending on the quantity of code you copy. Another developer may taken an entire php file, function, class, CSS sheet, HTML file and use this in there work / pass this off as there own work. This is blatant plagiarism. However what is stopping a developer from taking an entire piece of code and editing every aspect of the file to make it his own? For instance a designer my change the names of the styles and perhaps change the order of the properties and there values slightly; He may also move around parts of the html. In doing so causes the design to look different to your own but still the copying your work no the less. Another instance maybe that a PHP developer uses your entire code / software package and change the names of the variables, classes and methods; He may also change the order in which the methods appear and even change some similar functions to use alternatives such as loops. Again this causes the program to do exactly what your intends to do, however the source code will now look different to your own. How far can someone go back doing these actions? Is this legal? How best would you be able to prove it?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.