Latest News: (loading..)

graphicore

Members
  • Content count

    125
  • Joined

  • Last visited

About graphicore

Profile Information

  • Real Name
    Erick Cedano
  1. Easy Populate DOES NOT import/export Download Attributes at all. (If that's what's everyone is refering to).
  2. To avoid more conflicts with the FUNTION ALREADY DEFINED for old users, I have made a simply modification: From: // Added by Erick Cedano aka Graphicore. function tep_get_ip_address() { if (isset($_SERVER)) { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } else { $ip = $_SERVER['REMOTE_ADDR']; } } else { if (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('HTTP_CLIENT_IP')) { $ip = getenv('HTTP_CLIENT_IP'); } else { $ip = getenv('REMOTE_ADDR'); } } } to: // Added by Erick Cedano aka Graphicore. if (function_exists('tep_get_ip_address')) { // Funtion already exist } else { function tep_get_ip_address() { if (isset($_SERVER)) { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } else { $ip = $_SERVER['REMOTE_ADDR']; } } else { if (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('HTTP_CLIENT_IP')) { $ip = getenv('HTTP_CLIENT_IP'); } else { $ip = getenv('REMOTE_ADDR'); } } } } Now I hope this keep everyone (old and New users) happy.
  3. bjhampe... Did you installed the full version 2.0ec?????.... I do not have your problem... so I can't find a solution... But I included the post by Einklaus (Which I tought fixes this problem).
  4. bjhampe... I'll try to check on that error. I did not understand the part you describe with the catalog. ----------------------------------------------------------------- Gregy.. What browser do you use? (I do not have the problem you describe).
  5. Valeeum... There is no justification except the fact that it was supposed TO BE included on the script so First Installers or New OSC installations did not require the modification of /catalog/admin/includes/functions/general.php; which in fact DOES NOT have this function on it. As per medvid acclaration he instructed everyone to add this script into /catalog/admin/includes/functions/general.php. The LOGICAL solution WAS to be included on whos_online.php which I did. FOR OLD USERS : PLEASE REMOVE THE SCRIPT ADDED MANUALLY BY YOU ON: catalog/admin/includes/functions/general.php, so that you do not run into problems with new versions. NEW USERS: Just install and enjoy. :)
  6. Valeeum... There is no justification except the fact that it was supposed TO BE included on the script so First Installers or New OSC installations did not require the modification of /catalog/admin/includes/functions/general.php; which in fact DOES NOT have this function on it. As per medvid acclaration he instructed everyone to add this script into /catalog/admin/includes/functions/general.php. The LOGICAL solution WAS to be included on whos_online.php which I did. FOR OLD USERS : PLEASE REMOVE THE SCRIPT ADDED MANUALLY BY YOU ON: catalog/admin/includes/functions/general.php, so that you do not run into problems with new versions. NEW USERS: Just install and enjoy. :)
  7. Done! Full package available now. On the error part check this: http://www.tcpipguide.com/free/t_Transitio...Pv4toIPv6-2.htm and this http://ntrg.cs.tcd.ie/undergrad/4ba2.02/ipv6/interop.html
  8. I do not konw that error. Is in the IP section???? It could be some spider... or it could be someone trying to hack you. I will do a search into that error.
  9. Has anyone figure out how to modify the space between the products??? I have 600+ products and it's generating 180+ pages. Any help????
  10. I will include it on my next release. I didn't think was necessary but if it's needed I will include it. Cheers, :thumbsup:
  11. Azer... On question 4.- , Your code is almost the same except is checking as LOWERCASE which might work better. I will modify mine so it is included on my next revision. If you have any more suggestions please let me know before I create and post a FULL PACKAGE. Cheers!
  12. Azer... Thanks for your reply... But I asked several questions about this contribution and it was not responded on time. (By the time I got any aswer I FIXED myself most of my problems.) Since you guys (I guess) has this contrib from the beggining you probably have not noticed all the errors anyone installing it from a fresh OSC has. So, why do you want me to ask for help if I everyone claims it has it working fine????? In my case I had to do one version that ANYONE installing it could have it working in minutes. In response to your reviews, I got: 1.- Correction... This funtion IS NOT included in the file catalog/admin/includes/GENERAL.PHP on the default installation of OSC. The ONLY file that contains this script is catalog/includes/general.php and you either copy the script into general.php in admin or point the include outside the admin. (This script is so small that is not a hazard to add it in the whos_online.php)..... Also, just for your reference there still people asking for the same ERROR I got when I install it. Adding this code (Which is small) fixes that issue. :P 2.- It could be that the spiders.txt list could be used. :'( But I do not need to check the entire list to see who's a bot, plus the code will be more bigger. (I like it a little slim). If you want to change it serve yourself. For me it's working as intended since the contrib was not determining real bots. 3.- I notice the contrib was not working at all (Even after I include the function tep_get_ip_address() in), because I never changed the default installation setup in the admin section >_< where it says: define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' The script will use the php default handler if not specified. I was going to ERASE the if condition (Because it is useless) but I did not want to create some conflits with old users of the contrib. :blush: 4.- & 5.- Are just the latest posted modifications listed on the contrib section. (I did not create them) I just update the code to include the latest findings. 6.- My count is working perfectly so far. (So I do not understand your point here). :-" Other: The shopping cart part WAS a mess :angry: . It didn't work and it was placed on the wrong place. ----------------------------------------------------------------------- I know you have done a GREAT! job improving this contrib. (And I appreciate it)., But I could not wait to fix this script so it works with anyone that has a DEFAULT installation of OSC. I hope you do not mind since the contribution is turning now UNIVERSAL.. :) I am not a PHP Guru... :-" But I can definitivelly makes things logically better. :thumbsup: If anyone else is having problems after installing this contrib use then Version 2.0ec which is available NOW!.
  13. Just install my contribution to replace whos_online.php
  14. Thanks for the Link... I need this a long time ago.
  15. Sorry... I was just trying to save some time and that's why I modified the OSC file. But I got your point. I will try to start developing from scratch and see how it goes. My major problem is that I know how to create a simple HTML form, but I do not know how to handle and refresh the info on the same page. I guess I will need to learn watching some other sample codes. I am an old programmer.. QBasic, Cobol, Pascal, Informix, Dataflex, etc. and varelly remember coding on them. But I still know programming structures and that's why its easy for me to read a code (In any languaje)and modify it while checking info on the net or other samples. I sometimes can do a few good things from scratch. :P (Check my contributions too) I do not have too much time myself, I am just doing this contrib so others do not have to do what I did manually. I really appreciate your comments.