Posts by Rafael Alexandre • 2,110 points
76 posts
-
0
votes2
answers82
viewsA: Click on image does not work with box-Sizing
Try to change your method to .hide(), rather than .css("display", "none") Example: $(document).ready(function() { $("#imagem").click(function(){ $("#div1, #div2").hide(); }); }); Method . Hide()…
-
5
votes2
answers51
viewsA: Remove filter for pages only
Try to add conditional tags inside your filter, function my_content($content) { if(is_single() || !is_page_template('page.php') || !is_page()) $content .= "<b>Nome do comprador:</b> " .…
-
0
votes1
answer163
viewsQ: How to safely use passwords within an Android app?
I’m developing an Android application where I need to authenticate the app user and return some information, but this information will be in a remote database (Mysql)then for this I have developed…
-
3
votes1
answer1046
viewsQ: How to work securely on an Android+API?
I need to develop an API that will receive data from a json user via $_GET with PHP, which will check the data and return a true or false value to the Android application. I am currently using AES…
-
0
votes2
answers2628
viewsA: How do I refresh the page after uploading images?
Try adding a success at the end of your call Example: $('#formImage').ajaxSubmit({ url : 'multiple-upload-ajax.php', type : 'POST', success : function(){ location.reload(); } });…
-
0
votes1
answer77
viewsQ: How to insert Droidsoapclient library into my Android application?
I’m having difficulty importing the library Droidsoapclient in my application, I use Android Studio to develop and I’m inserting this library in the folder Main, but it seems that the import is not…
-
0
votes2
answers3727
viewsQ: Retrieve content between custom tags using Regex
I need to capture content that is between a custom tag that has a default identifier, for example: <:item>Conteúdo</item>, but I’m not getting the closure of this tag to be customizable,…
-
0
votes1
answer1364
viewsQ: How to use the Curl library for c++ correctly?
I’m having trouble copying a simple test using the Curl library to C++ because it always returns this error: C:\Users\Raphael\Desktop\HTTP Request\collect2.exe [Error] ld returned 1 exit status…
-
1
votes1
answer2182
viewsA: Dropdown Nav, with menu and submenus centered: what mistake am I making?
The problem occurs because you are using position: absolute; to center your items within the <ul>, in this way that <ul> assumes the total size of your child items even if you position…
-
8
votes2
answers1442
viewsQ: HTTP requests in C++
How could I make a request in a URL that would return a json in C++? I need to access a /Return.php URL that returns the string {"status":true,"hash":"12#87!!3@WSS\/.","user":"admin"} and work on it…
-
2
votes4
answers95
viewsQ: Add a "pass" limit to a Carousel slider
I am working on a simple slider Carousel and need that when there is no previous or next item it is not possible to pass to a non-existent element as is happening, http://jsfiddle.net/qd5d8x1h/…
-
1
votes1
answer533
viewsQ: Filter dates using Wp_query and Post meta in Wordpress
I am developing an event category in my template using the default post, in this post I added two fields (Metabox) for the event start date and end date. Already in Wp_query I need to display the…
-
-1
votes4
answers175
viewsQ: Problem assigning HTML with . text() and . html()
I need to insert the HTML that refers to an image with hyperlink received through an ajax function on the page, but for security reasons I can’t just insert directly, so I’m passing this HTML code…
-
0
votes1
answer324
viewsQ: Return all results using preg_match
I need to return some search results "ex: Digital Agency" from the first page of Google using preg_match + Regex, but it is not returning all 10 values in the array, only the first. How do I…
-
2
votes1
answer648
viewsQ: How to send an email confirmation to the registered user through Wordpress?
I have this registration routine and need to send an email confirmation when the user registers, how can I do? // SETUP NEW USER $data = array( 'display_name' => esc_attr($_POST['display_name']),…
-
2
votes2
answers239
viewsQ: Returning Value Inside Wordpress Post Type
I need to return values to be displayed in the columns of the post type, but I’m not able to return anything, as should be done? Code: add_action( 'init', 'create_eventcategory_taxonomy', 0);…
-
9
votes2
answers1210
viewsQ: How to list more than 50 Youtube videos using Curl
I’m needing to return all videos from a particular youtube user, but my current function only returns 50, which is the maximum allowed by the API. there is some method of doing this? $cURL =…
-
0
votes1
answer107
viewsQ: Returning null value when creating table in Wordpress
I am creating a Plugin and need that when activating it create the table referent in DB, but dbDelta is returning that the table was created, but when checking using $wpdb->get_var returns a null…
-
2
votes2
answers1383
viewsQ: How to modify a wordpress plugin’s menu title?
I have a problem modifying the title of my plugin in the menu, I need the main title to be different from the second title, but I’m not getting. As in the image: My Code: public function menu(){…
-
2
votes2
answers238
viewsQ: Return values through a class derived from the same Parent
I have classes 1, 2a and 2b, where 1 is the main class, while 2a and 2b extends class 1. It is possible through class 2a to access values of class 2b directly or through the parent class? Basic…
-
0
votes1
answer364
viewsQ: Syntax error when doing two updates in a single command
I’m trying to update more than one table in the same query, Local runs normal, but online gives syntax error in Mysql 5.1.72. What can be done to resolve? $query = "UPDATE isc_products SET…
-
2
votes3
answers1760
viewsQ: Performance issues using UPDATE
I am building an import application that takes the lines of a txt file and updates it into two tables, works normally, however the files usually have more than 5 thousand lines, and I am not being…
-
2
votes1
answer1354
viewsQ: Content tracker for external pages with PHP
I received the mission to create a script that will capture the price, image and content of products of some sites indicated by the administrator of the application, taking into account that the…
phpasked Rafael Alexandre 2,110 -
3
votes1
answer689
viewsQ: Free access to page 404.html with . htaccess
I am having a problem when trying to free access to 404.html page through my . htaccess, always gives Internal Server Error. How should I apply a rule to only 404.html is released for direct access?…
htaccessasked Rafael Alexandre 2,110 -
0
votes1
answer1723
viewsQ: setOnClickListener (Unfortunately Myapplication has stopped)
Whenever I try to use setOnClickListener the application to, I have tried several methods to try to fix this problem, but I could not. the Login button is properly set in R, also in the layout, the…
-
5
votes1
answer119
viewsQ: Problem with display condition in Js
I’m trying to make parole with display: block; and display: none; but JS is not bringing the value of my element’s css display #slide. What’s the matter? var slider =…
javascriptasked Rafael Alexandre 2,110