Latest News: (loading..)

SambaMambo

Members
  • Content count

    58
  • Joined

  • Last visited

About SambaMambo

  • Birthday 10/23/1977

Profile Information

  1. well, you just need to change the ip locator api edit /admin/whos_online.php and change to this (line 160): //Function to get IP address geolocation data from IPInfoDB and update whos_online table function updateIps($ips){ //Old,incesure method //$d = file_get_contents("http://ipinfodb.com/ip_query2.php?ip=$ips"); //Initialize the Curl session $ch = curl_init(); $URL = ("http://api.hostip.info/?ip=$ips"); //Set curl to return the data instead of printing it to the browser. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //Set the URL, then execute, then close curl_setopt($ch, CURLOPT_URL, $URL); $d = curl_exec($ch); curl_close($ch); //Use backup server if cannot make a connection if (!$d){ //$backup = file_get_contents("http://backup.ipinfodb.com/ip_query2.php?ip=$ips"); $ch = curl_init(); $URL = ("http://api.hostip.info/?ip=$ips");
  2. yes that's what TiM-SE answered me ^_^
  3. ok i've found the problem there is a conflict with a security fix by TiM-SE about the XSS issue in /includes/functions/database.php /admin//includes/functions/database.php *** Find *** function tep_db_input($string, $link = 'db_link') { global $$link; if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } *** Replace with *** // Added below for [TiM's osC Solutions] Safer Database Input Method: $allowable_tags = false // To allow tags, either pass (boolean)true for all tags or example (string)'<b><i>' for certain tags. function tep_db_input($string, $link = 'db_link', $allowable_tags = false) { global $$link; // BOF: [TiM's osC Solutions] Safer Database Input Method if ($allowable_tags === false || is_string($allowable_tags)) { $string = strip_tags($string, $allowable_tags); } // EOF: [TiM's osC Solutions] Safer Database Input Method if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } i'm going to send a message to TiM and see with him if he can fix that. Thanks
  4. ok it works on a clean osc i'm going to check the diffrence and let you know if i have with which contrib there is a conflict
  5. i tryed soft and hard but nothing change i'm going to test it on a clean osc
  6. what do you mean??? where do i have to set it ? in the /admin/includes/functions/html_output.php ? where and how? i'm going to test it on a clean osc
  7. hi im trying to install this contrib and make it works but here's the problem : When i try to make a new product, the CKEditor appears on the edit page when i click on preview the text is well formatted but then when i click save and look at the front-office, the text is not formatted. so then i go back to the back-office and edit the new product i've made and the text is unformated into the ckeditor area. do you have any idea why it happens? thanks
  8. hi im going to test this oscommerce but i wonder if the author still support it or not? also the demo is offline does someone test it and manage to get it working properly? thanks.
  9. http://addons.oscommerce.com/info/7271 best regards ;)
  10. hi just go to your admin panel and add the special character like this : l'=> and reset the cache i've just test it and it works fine
  11. thanks for the answer the file html_output.php wasnt upload properly now it works perfectly. i just don't know what happen during the transfert... Great contrib. i'm going to make a french translation . Thanks
  12. hi i wanted to test your contrib but without success. i've installed a fresh osc MS2.2rc2a and then i uploads the /uploads/ and /drop on top/ folders run the database installer.php chmod the cache folder and copy the htaccess.txt to my .htaccess switch standard to rewrite throught the admin panel. when i go to the shop and try to click on a product i can see that the rewrite is not working as it still have the product_info.php?id=... urls i put the debug mode on to see what happen and it seems that nothing is rewriting and nothing is in the cache i just dont understand what i've done wrong... also i know that rewrite is working on my server as i use the ultimate from chemo and its working fine ... any help would be appreciate Thanks
  13. ok in the stylesheet you must remove the / before the /highslide/etc../etc.. directories. then it works fine :)
  14. you should copy the style into the stylesheet.css in order to get load by firefox and i.e now i get the loading message but nothing load... i'm still trying to make it work for the 2.2rc2a. If anyone has arrived to do it... tell us! ^^
  15. Just installed this addons and it's really perfect for a tiny gallery! Thanks to all contributors. i just have a little problem when i cick on the image it open the image in the same page so the site is gone and we just can't return to the site. it seems to have a problem with the highslide function (i removed the echo http_server) anyone else have this problem?