Posts by Anderson Costa • 133 points
16 posts
-
1
votes2
answers882
viewsQ: Scheduling tasks in Laravel
I am working on a medium-sized project, is one of the functions is to send SMS to system customers. At the Laravel we have how to use the new cron to schedule a task to be run every 10 minutes or…
-
1
votes0
answers60
viewsQ: Postback taking database data with PHP
I have a database in MYSQL where one of the fields informs the status of a particular transaction. For example: status = waiting or status = complete. I want to do a cron that every 10 minutes takes…
-
0
votes1
answer159
viewsA: Ionic 2 and One Signal how to use the handleNotificationOpened() function
This way you receive the values sent by One Signal and can handle the received data. this._OneSignal.handleNotificationOpened().subscribe((data) => { console.log(data); });…
-
1
votes2
answers656
viewsA: Show button when hovering javascript
See this example with Jquery: $(document).ready(function () { $(document).on('mouseenter', '.divbutton', function () { $(this).find(":button").show(); }).on('mouseleave', '.divbutton', function () {…
-
1
votes1
answer159
viewsQ: Ionic 2 and One Signal how to use the handleNotificationOpened() function
I have an app that is 90% ready, notifications are already set up with One Signal, but I want to send the user to a specific page when they click the notification, and this page may differ depending…
-
0
votes1
answer64
viewsA: ngModel does not change Ionic 2’s Toggle
I was able to solve by taking the value of the toggle that was stored in the Localstorage, in this code I didn’t get the value of Toggle, so the solution was to create within the constructor the…
-
0
votes1
answer64
viewsQ: ngModel does not change Ionic 2’s Toggle
I have a toggle that enables and disables a function, it already works, what does not work is the state of Toggle in the View, toggle is always activated even with ngmodel=false. code below: View:…
-
0
votes1
answer88
viewsQ: How to release content in wordpress after X days user registration
I’m developing a member area in Wordpress, and I need to limit access according to the user’s registration date. I already have the registration date and already have the amount of days that the…
-
3
votes1
answer55
viewsQ: Add Wordpress user in more than one function
I am developing a plugin for member area in Wordpress and I will control this access through the functions (roles). Suppose I create the functions: content1, content2 and content3. How I could…
-
0
votes0
answers91
viewsQ: How to Update Mysql Database with Cache
I have a wordpress plugin of related posts, I have a table where I update the number of clicks and the number of views of each post! The problem is, on big sites I’m taking down servers with so many…
-
1
votes1
answer112
viewsQ: Shortcode for Wordpress
I am using the IP API for geolocation in a wordpress plugin, the plugin is ready and works normally! I want to add the following: In one of the fields of the plugin, the user can insert a text and…
-
1
votes1
answer793
viewsQ: Add Parameters to Wordpress URL
I have a plugin that manages links in Wordpress, with images and texts pretending to be related articles, all are external links. (Taboola type). I would like to add at the end of the Links some…
-
0
votes1
answer856
viewsQ: Export and Import Mysql Table
I have a Wordpress plugin, which can be used on multiple blogs with the same configuration. I have two tables in it: wp_tabela_um and wp_tabela_2 How can I create a button to export these tables and…
-
1
votes2
answers88
viewsQ: Change Preposition According to State
I have the following situation: I’m using an IP-based location API http://ip-api.com/ Everything is working perfectly. What I can’t do is change the following: Hello visitor "from" São Paulo Hello…
-
0
votes0
answers29
viewsQ: Protect Wordpress Plugin Code
How to Obfuscate or Encrypt the code of a plugin that has been developed for wordpress? I have a plugin that only works by confirming the purchase email on the activation screen. What if I delete…
-
-1
votes1
answer604
viewsQ: Encryption for wordpress plugin code
I finished a wordpress plugin and do not want to leave open source. I’ve tried to use a simple obfuscator, but after obfuscating the wordpress does not recognize as plugin. Someone has a light on…