Pro 3xpalin
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Cache Fill Up Quickly ProblemThank you so much my friend,
I did what you said .
Have a nice day
Forum: Plugins
In reply to: [Autoptimize] can'i Minify external files ?Hi Frank ,
This is the code to update the external files and about the cron job i do it from the Host manager … but i think you must add it like option in the plugin … because there is a different Admin Panel ( ovh , cpanel , isp … ) .
<? // script to update local version of Google analytics script // Remote file to download $remoteFile = 'http://www.google-analytics.com/ga.js'; $localfile = 'ENTER YOUR ABSOLUTE PATH TO THE FILE HERE'; //For Cpanel it will be /home/USERNAME/public_html/ga.js // Connection time out $connTimeout = 10; $url = parse_url($remoteFile); $host = $url['host']; $path = isset($url['path']) ? $url['path'] : '/'; if (isset($url['query'])) { $path .= '?' . $url['query']; } $port = isset($url['port']) ? $url['port'] : '80'; $fp = @fsockopen($host, '80', $errno, $errstr, $connTimeout ); if(!$fp){ // On connection failure return the cached file (if it exist) if(file_exists($localfile)){ readfile($localfile); } } else { // Send the header information $header = "GET $path HTTP/1.0\r\n"; $header .= "Host: $host\r\n"; $header .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6\r\n"; $header .= "Accept: */*\r\n"; $header .= "Accept-Language: en-us,en;q=0.5\r\n"; $header .= "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n"; $header .= "Keep-Alive: 300\r\n"; $header .= "Connection: keep-alive\r\n"; $header .= "Referer: http://$host\r\n\r\n"; fputs($fp, $header); $response = ''; // Get the response from the remote server while($line = fread($fp, 4096)){ $response .= $line; } // Close the connection fclose( $fp ); // Remove the headers $pos = strpos($response, "\r\n\r\n"); $response = substr($response, $pos + 4); // Return the processed response echo $response; // Save the response to the local file if(!file_exists($localfile)){ // Try to create the file, if doesn't exist fopen($localfile, 'w'); } if(is_writable($localfile)) { if($fp = fopen($localfile, 'w')){ fwrite($fp, $response); fclose($fp); } } } ?>Forum: Plugins
In reply to: [WP Social Popup and Get Traffic] the Popup Doesn't showok i wait , i will tell you after 24 hours what happened and thank you man
Forum: Plugins
In reply to: [WP Social Popup and Get Traffic] the Popup Doesn't showNo , and i active the plugin before 12 hour i think the server already refresh the cache
Forum: Plugins
In reply to: [WP Social Popup and Get Traffic] Option Button Don't showthank you man
Forum: Plugins
In reply to: [WP Social Popup and Get Traffic] Option Button Don't showsorry i take a lot of time to answer you , but these the photo
http://im72.gulfup.com/LB3Ubt.pngForum: Plugins
In reply to: [WP Social Popup and Get Traffic] Option Button Don't showHi Man ,
I still have the some problem ( but now half of the button show ) , so i must change the language evrey time when i want to change something in the settings .
my website Pro3xplain
Forum: Plugins
In reply to: [WP Social Popup and Get Traffic] Option Button Don't showHi Man ,
My website : Pro3xplain.com
Forum: Plugins
In reply to: [WP Minify Fix] Problem With DW Q&AThank you man it’s work now again thank you for your help and for this awesome Plugin
Forum: Plugins
In reply to: [WP Minify Fix] Problem With DW Q&Ai make i mistake about the link if you want you can try again here
Yes you can ask question that’s ok but you can’t answer on someone question that’s the problem :/
َabout the browser you mean i test it with firefox & firebug ?