Data dodania Pytanie
2018-02-15 05:02 add or remove payment gateways based on cart total amount in Woocommerce »
I have a plugin that adds a fee when authorize.net is used as the payment gateway. However, when I use a gift card that covers the entire purchase a...
(1) odpowiedzi
2018-02-15 05:02 OneSignal not working with Chrome on PC »
I try to use OneSignal for notification to user from my website, It's notification correctly with Firefox(PC), Chrome(Mobile). But Chrome on PC Not ...
(1) odpowiedzi
2018-02-15 02:02 PHP system call function does not properly export variables »
I'm using task-spooler to queue up some video encoding tasks (See: http://manpages.ubuntu.com/manpages/artful/en/man1/tsp.1.html and http://vicerveza....
(1) odpowiedzi
2018-02-15 01:02 Add the discounted percentage to variable product price range in Woocommerce »
Using Woocommerce, I have successively removed sale badges and prices from product archives pages with the following code: // Remove Sales Flash add_...
(1) odpowiedzi
2018-02-14 23:02 How to access values in an object? »
I've restated my question. Hopefully it will be easier to understand. Sorry for the confusion. I have the following object returned as a response to ...
(1) odpowiedzi
2018-02-14 23:02 Using unset() function in an array to delete elements »
Trying to delete all elements in the array (given below) which are less then 0 using the following code: <?php $arr=array(1,2,3,4,5,...
(6) odpowiedzi
2018-02-14 20:02 Why does treating integers as arrays ($int[$index]) not raise any errors in PHP? »
This is just a simple question out of curiosity. I spent the whole day debugging my PHP code, and found the problem was due to treating an integer as ...
(3) odpowiedzi
2018-02-14 16:02 Facebook Authentication, Strict OAuth Mode: The domain of this URL isn't included in the app's domains »
Got an issue, when I am trying to login with php sdk with Strict mode in OAuth section enabled. So basically what I did so far: Created a fresh app...
(1) odpowiedzi
2018-02-14 15:02 Wordpress - Contact Form 7 - Validate Custom Field »
I need to validate a custom select field in Contact Form 7. The custom code [mycode] in the Contact Form 7 is generating the following HTML: <sel...
(1) odpowiedzi
2018-02-14 15:02 Dynamic expandable datatable with multiple mysql tables? »
I am working on dynamic j query data table where i want to show data from 3 tables. It should be expandable.I am done to achieve with 1 table. but aft...
(0) odpowiedzi
2018-02-14 14:02 Error 500 when called index.php in laravel application (Windows environment) »
I am deploying a laravel application inside windows based docker container using IIS. When I run the application after running docker container the se...
(2) odpowiedzi
2018-02-14 13:02 I want any readymade code on pgrouting using php with background layer from geoserver, openlayer. Anyone can heilp please? thanks in advance »
I am a student doing project in pgrouting using PHP, I have gone through many pgrouting solutionns from FOSS4G to individuals. But I fail to get it wo...
(0) odpowiedzi
2018-02-14 11:02 Check if model property is set (when null) »
Say I have a model called Fruit which can have a null value for seeds. The seeds column exists in the database table. The problem is that using isset...
(3) odpowiedzi
2018-02-14 03:02 PHP Method Chaining setting and getting a value »
I'm currently studying OOP Method Chaining, but I'm having difficulties from making it work. I've created setValue method where it returns a value ba...
(5) odpowiedzi
2018-02-14 00:02 Creating dropdown form with sql foreign key data »
thanks for any help in advance! I want to make a dropdown for my form for the foreign key customerID in my address form, here if the relationship in t...
(1) odpowiedzi
2018-02-13 16:02 Iterate through 2d array of booleans and leave only the largest contiguous "2D blob of ones" »
Ok, so the question is kind of awkwardly phrased, but I hope this will clear things up. I have this sample 2d array. $array = array( array(1, 0, 0, ...
(3) odpowiedzi
2018-02-13 15:02 Laravel Carbon diff not show 0 years »
I use diff() function between 2 dates using Carbon $fecha1 = \Carbon\Carbon::parse('2017-12-05'); $fecha2 = \Carbon\Carbon::parse('2018-02-09'); $re...
(3) odpowiedzi
2018-02-13 13:02 unisharp filemanager changes original images size after upload »
Hi I'm using uniSharp filemanager but I have a problem! When I upload an image with 81 kb size the uploaded image size increases to 255 kb or more! ...
(0) odpowiedzi
2018-02-13 12:02 L5.6 orderBy() in combination with paginate() returns the same row multiple times »
Controller: public function index($devicetype) { $devices = Device::where('device_type', $devicetype) ->orderBy('created_at', 'desc') ...
(1) odpowiedzi
2018-02-13 12:02 OR WHERE IN in laravel Query Builder with sub query »
How can make query builder for following Query SELECT * FROM `rad_nas` WHERE nas_assigned = ".$id." OR nas_assigned IN (select franchise_id from ra...
(1) odpowiedzi
2018-02-13 11:02 Can I reduce the execution time of a script which add elements to a big XML file? »
My goal is to add XML elements to an existing XML file (quite big, ~90MB), while parsing a CSV file to know which element I should target. The hard pa...
(1) odpowiedzi
2018-02-13 10:02 Set product sale price programmatically in WooCommerce 3 »
I have a Woocommerce store set up with various product categories. I want to apply a 20% discount to all products, which belong to the product categ...
(2) odpowiedzi
2018-02-13 07:02 Post Method request not found »
I'm having a problem with my code now and it seems like that the route that I specify is not found whenever I try to access it. Route: Route::post(...
(3) odpowiedzi
2018-02-13 05:02 SQL to Get Data Other User Data from Same Group »
I'm having a hard time wrapping my head around the SQL I need to pull data about other users that belong to the same group as the logged in user in my...
(2) odpowiedzi
2018-02-13 04:02 Multiple sort numeric before string »
I would like to know how to sort numeric before string. I use array_multisort to sort my array. There is my sample data $arr = [ [ 'comp...
(2) odpowiedzi
2018-02-13 03:02 Laravel : Setting dynamic routes based on access control list »
I am building REST API with JWT authentication and authorization with own logic. It's working perfectly. Now, I want to set the routes dynamically bas...
(4) odpowiedzi
2018-02-12 23:02 Migrate from Bootstrap 3.3.7 to 4.0 with Laravel 5.5 »
I've started a project with Laravel in version 5.5 including Bootstrap v.3.3.7. For now, I want to test if I can switch to the new 4.0 release. I've ...
(1) odpowiedzi
2018-02-12 23:02 Set specific Products to be shipped only in specific countries in WooCommerce »
How can I set certain products to be shippable to only certain countries in Woocommerce? For example, during checkout, if Country is not USA, I want ...
(1) odpowiedzi
2018-02-12 23:02 htaccess redirect any folder to file with parameters in wordpress »
I would like to add the following rewrite rule to htaccess, but I'm having trouble understanding exactly how to do it under wordpress. RewriteEngine ...
(1) odpowiedzi
2018-02-12 19:02 Allow add to cart for specific products based on cart total in WooCommerce »
In woocommerce, I am trying to find a way to only allow a product to be added a to cart only when a specific cart total amount is reached. Example: ...
(1) odpowiedzi
2018-02-12 16:02 Laravel: How to specify the number of items in pagination via route variable »
I'm looking to change the number of items displayed via pagination, specified in the controller via the route below to set the amount of products to d...
(2) odpowiedzi
2018-02-12 15:02 AngularJs scope undefined http.post data not usable »
I'm having a struggle with AngularJS Template ng-init="init(18)" // setting id = 18 App.js var app = angular.module('sjbApp', []); app.controller(...
(0) odpowiedzi
2018-02-12 14:02 Update table results, based on checkbox selection »
I have a page in which i am displaying a set of results from a MySQL database and displaying it in a datatable. I wish to be able to select different ...
(0) odpowiedzi
2018-02-12 13:02 how to use inner joins with subqueries laravel »
Note: this is laravel 5.3 Basically I'm running a query when a user selects arabic translation.. the full sql looks like this select s.ref, t.text a...
(2) odpowiedzi
2018-02-12 12:02 How to update multiple rows in sql from array data using laravel eloquent »
I was trying to update multiple records in my database using laravel eloquent but is getting errors when trying to update using an array. I am not re...
(3) odpowiedzi