Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FIMBLE

Members
  • Posts

    6,561
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by FIMBLE

  1. Hi Bennett First off my apologies, i must hve deleted the tracking of this topic!! You have not deleted it. or anything else, it has been removed by me putting together the add on. To re-enable it open your catalog / includes / modules / new_products.php on line 25, or just after this code $info_box_contents = array(); $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); add new contentBoxHeading($info_box_contents); So it looks like $info_box_contents = array(); $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); new contentBoxHeading($info_box_contents); This will restore the New Products for .... Regards Nic
  2. No problem, glad you got it working :- ) Nic
  3. Hello Do you hve the line aded to your application_top.php? Nic
  4. No sorry i must confess i do not know the affiliate add on at all, though if you create a coupon i would assume this would work irrespective of the affiliate? NIc
  5. If there is nothing you like inthe add ons section, it might be a case of you need to write your own add on for this. Nic
  6. I think its great you have made this contribution, anything that further protects the osCommerce community is well worth adding, well done. Nic
  7. If you add the list to the banned text file then they will be banned.
  8. It does not matter where in the list you place the IP number the result should be the same. Things to check Your IP number has been removed from ther banned file, Your IP number is not dynamic The files have permissions set to allow them to be opened by the script Nic
  9. Do you have a dynamic IP number ?
  10. Hi Some things to check, all of the files uploaded to the server correctly you have added the code to the application top you do not have a frequently rotating IP number If you want to PM me you URL i can see if it works on my IP Nic
  11. Hi If you did install it correctly, you will find this in your admin >> configuration >> my store >> My Key There may well be a seperate SQL install for this part. Nic
  12. A great bit of work, but the install file is not easy reading! One of the confusing parts that will cause problems i have added below. ii) admin/includes/classes/box.php Add function, somewhere at the bottom of the file: " function simpleBox($contents){ return $this->tableBlock($contents); } " This is for users who get this error Fatal error: Call to undefined method box::simpleBox() but have followed the install file and have added the function. All you ned to do is to include it in the main function, so instead of adding it after all other code, like this function menuBox($heading, $contents) { $this->table_data_parameters = 'class="menuBoxHeading"'; if (isset($heading[0]['link'])) { $this->table_data_parameters .= ' onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . $heading[0]['link'] . '\'"'; $heading[0]['text'] = ' <a href="' . $heading[0]['link'] . '" class="menuBoxHeadingLink">' . $heading[0]['text'] . '</a> '; } else { $heading[0]['text'] = ' ' . $heading[0]['text'] . ' '; } $this->heading = $this->tableBlock($heading); $this->table_data_parameters = 'class="menuBoxContent"'; $this->contents = $this->tableBlock($contents); return $this->heading . $this->contents; } } function simpleBox($contents){ return $this->tableBlock($contents); } ?> Change it to this function menuBox($heading, $contents) { $this->table_data_parameters = 'class="menuBoxHeading"'; if (isset($heading[0]['link'])) { $this->table_data_parameters .= ' onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . $heading[0]['link'] . '\'"'; $heading[0]['text'] = ' <a href="' . $heading[0]['link'] . '" class="menuBoxHeadingLink">' . $heading[0]['text'] . '</a> '; } else { $heading[0]['text'] = ' ' . $heading[0]['text'] . ' '; } $this->heading = $this->tableBlock($heading); $this->table_data_parameters = 'class="menuBoxContent"'; $this->contents = $this->tableBlock($contents); return $this->heading . $this->contents; } function simpleBox($contents){ return $this->tableBlock($contents); } } ?> This will sort out your problem :- )
  13. Hi This depends on how fast they are coming, the file locks the banned ip file prior to writing to it so if you are getting a lot then this might be a cause, i would not use the IP trap for this reason as you are blocking unsuspecting victims of a phising attempt, users that may well want to be your customers in the near future! I would put up a page in the location instead with some helpful information for users so they understand whaat has gone on and how it is nothing to do with the official site there. Nic
  14. Hi, No dont do anything like that, just follow the install file, in there you will find a description of what the IP trap does. Once installed correctly then anyone in you banned file will not be able to access anything on your site. (this ONLY applies to the folder that osC is in so if your site has other files outside of osC folder they will not be protected) Nic
  15. Hi I have tried this on my server (both Windows amd Linux) i do not have this problem i have moved my IP number up and down the list and it works fine. Nic
  16. Yes you need to eidt the file catalog / blocked.php its on line 19 Have you removed your ip number from the IP_Trapped.txt also? Nic
  17. Hi Did you add the line in your application_top.php? Nic
  18. Why are you posting this on the IP trap page?
  19. Hi There is no forum address for the bubble stores, there has never really been a reason to have one, to be sure you have done it all correctly i would suggest you install the bubble store, and then add the security measures onit once installed. The quoted line you are refering to is an add on to the IP trap for the admin older that i worked on with Coopco and Biancoblu but i have not released it. The way it works is that it protects your admin folder by adding code to your login.pgp (for 2.2RC2A) or index.php (for 2.2ms) you have to be in the whitelist, if not calling the admin folder will ban you. I decided not to release this due to the obvious problems that would start with people who have a dynamic IP numbers that would be getting banned constantly. Hope this helps you out NIc
  20. Hi Isa No i'm not sure, the only thing we worked on after removal of your IP from the trap file banned/IP_Trapped.txt (which must be done or you will be banned) was to work on the admin version of the trap. Someone earlier said that they removed the "\n" from the end of $ip = $_SERVER["REMOTE_ADDR"]."\n"; and made it work. They did not make it work as it then only checked the first line, so they did not mend it they broke it! Most people who have a problem seem to foget to add the application_top.php line. Regards Nic
  21. Hello Thank you for your kind words, im not too sure what you mean. Do you have a dynamic IP like Isa ? The point of the white list is not so much to stop you from being banned as you know the IP trap is there, it is intended to be a cushion to prevent Search engines like Google and Yahoo, who's IP numbers are in the whielist from being banned. So even if your IP number is dynamic and you do get banned just dont go in the trap. Nic
  22. No the docs folder just contains info for the ireadme file, you do not need to upload it. Nic
×
×
  • Create New...