Jump to content
Latest News: (loading..)

FWR Media

♥Ambassador
  • Content count

    6,718
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by FWR Media

  1. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    @ Isn't that the standard "number of characters" function in admin? has been there way back since Chemos original. Usually it set to crop anything less than 3 as they tend to be of at or a etc. Careful changing things now as many of your URIs will change.
  2. @@newburns Thanks for the kind words, glad it has helped you, always nice to hear these stories it makes it worthwhile. The other thing that makes it worthwhile/possible is donations, usually my contribs have a donate button but I forgot with that one.
  3. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    Firstly this is not a subject for this support thread as it supports issues with USU5. you should ask this in the general forums. Having said that I'll answer the question. Google is complaining quite correctly as it IS duplicate content. If these seperate pages have canonical links that point to themselves then the canonical link is simply compounding the fact that you have duplicate content. No you can't have a permanent 301 redirect from one to the other, your site is stating to the search engines that these pages exist ( they exist on your website ) so to permanently redirect them simply doesn't make sense ( and would be hurtful ). As I said before, if you are going to create duplicate content like this then both pages need to have a canonical element that is THE SAME URI for both pages ( e.g. both -c-86_21_71.html ).
  4. FWR Media

    Ultimate Seo Urls 5 Pro

    You don't need the old validation, that was validation off Chemos old version. You should upgrade Security Pro to the latest.
  5. @@Biancoblu Remove php_value engine off from .htaccess [edit]and thanks for the kind words[/edit]
  6. FWR Media

    Case for a filtered directory iterator

    Now working in osC 3.0 Working example: - namespace osCommerce\OM\Core\Site\Admin\Application\PaymentModules\Model; use osCommerce\OM\Core\Registry, osCommerce\OM\Core\Site\Admin\Application\PaymentModules\PaymentModules, osCommerce\OM\Core\DirectoryListing\Extensions\FileIterator, osCommerce\OM\Core\OSCOM; class getUninstalled { public static function execute() { $OSCOM_Language = Registry::get('Language'); $installed_modules = PaymentModules::getInstalled(); $installed = array(); foreach ( $installed_modules['entries'] as $module ) { $installed[] = $module['code']; } $result = array('entries' => array()); foreach ( ( new FileIterator( array( '_path' => OSCOM::BASE_DIRECTORY . 'Core/Site/Admin/Module/Payment' ) ) )->iterate() as $file ) { $filename = $file->getBasename(); $module = substr($filename, 0, strrpos($filename, '.')); if ( !in_array($module, $installed) ) { $class = 'osCommerce\\OM\\Core\\Site\\Admin\\Module\\Payment\\' . $module; $OSCOM_Language->injectDefinitions('modules/payment/' . $module . '.xml'); $OSCOM_PM = new $class(); $result['entries'][] = array('code' => $OSCOM_PM->getCode(), 'title' => $OSCOM_PM->getTitle(), 'sort_order' => $OSCOM_PM->getSortOrder(), 'status' => $OSCOM_PM->isEnabled()); } } $result['total'] = count($result['entries']); return $result; } } Let me know please if there is any interest in this before I take it further.
  7. FWR Media

    Header Tags SEO

    It's not a matter of "playing well together" which suggests an incompatibility in USU5. USU5 works fine the problem is that the header tags code breaks whenever a path based URI is used. Whether it is USU5 like: www.mysite.com/product_info.php/the-brand-etc/great-product-p-3 or the standard osCommerce path based URIs like: www.mysite.com/product_info.php/products_id/3 I can't believe after all this time that people are STILL thinking it is an issue of compatibility with USU5 .. IT ISN'T! Either Jack will fix header tags so that it will work properly with valid URLs .. or if you use header tags you simply can't have path based URIs .. period. To clarify further .. yes you can use USU5 with header tags BUT you can't use all of its functionality due to this problem.
  8. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    That doesn't make sense Marco you mention productname-c- which never happens it can only be categoryname-c- If you have categories in two locations there is nothing USU5 can do except create the URLs you have asked it to produce, you HAVE created pure duplicate content, 2 pages the same with two different links, there's nothing USU5 can do about it. If you really must have categories in two locations then you need the same canonical element for both pages which links to one of the URLs which thereby notifies the search engines that the two pages should be taken as a single page.
  9. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    PHP 5.4.5 compatible Just to confirm that I have just tested USU5 PRO on osCommerce 2.3.2 with the server running PHP 5.4.5 and all works as intended.
  10. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    @ Got a link? PM me if you want kept secret. Is it all looping or just the ones you created?
  11. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    extras/module_template.php/Usu_Template.php Is a blank template for devs, look for xxx XXX catalog/includes/modules/ultimate_seo_urls5/page_modules/index.php has code to produce manufacturers name although it differs from the template as it has more than one dependency.
  12. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    That is Chemos old 2002 code not USU5.
  13. FWR Media

    Ultimate Seo Urls 5 Pro

    The original Ultimate seo urls is old code dating from 2002 and built by a guy who is sadly dead. It is still currently being supported but USU5 offers a lot more and is far newer code. Entirely up to you .. also if anyone tells you about "lack of compatibility" it is rubbish.
  14. FWR Media

    Case for a filtered directory iterator

    I think it is pretty much done now, new API at the usual address. Main Changes/Additions: Much faster due to better use of SPL. All returns from CoreIterator::iterate() are now instances of SplFileInfo offering a lot of stats info Recursive iteration API public methods just 10 - ( reset(), setPath(), setType(), setFilters(), setFileFilters(), setDirFilters(), setFilterMode(), setRecursive(), setPcreCaseSensitive(), iterate() ) Extended classes reduced to 6 - these remove use of public methods down to just a few and handle all needs. ( FileIterator, DirectoryIterator, DirectoryFileIterator, FileRecursiveIterator, DirectoryRecursiveIterator, DirectoryFileRecursiveIterator ) This seems to cover all needs of OM/Core/DirectoryListing.php although I wasn't sure of the sorting and didn't want to hardcode in anything osCommerce specific at this stage. One example of a fully recursive filtered iteration of includes/modules ( 2.3.2 ) which returns all directories and files with .php extension. $Iterator = new DirectoryFileRecursiveIterator( array( '_path' => PATH_TO_ITERATE . 'includes/modules/' ) ); foreach ( $Iterator->iterate() as $SplFileInfo ) { // Do something with $SplFileInfo->getRealpath() ( or other SplFileInfo methods ) } Can make the files available for beta testing along with tests and a blank file for creating new tests if wanted.
  15. FWR Media

    KissIT Image Thumnailer

    Good catch Lyn catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php Find ( line 144 ) $quality = is_null ( $quality ) ? 0 : $quality; Change to ... $quality = is_null ( $quality ) ? 7 : floor ( $quality / 10 );
  16. FWR Media

    Case for a filtered directory iterator

    Added to public API DirectoryStatsIterator - ( returns directories from the dir path and returns an array of SplFileInfo results ) FileStatsIterator - ( returns files from the dir path and returns an array of SplFileInfo results ) DirectoryFileIterator - ( iterates the dir path for both files and directories Added to the core iterator interface API setPcreCaseSensitive() - ( patterns are case insensitive as default ) setAddDirectoryToFilename() - ( adds the directory path to directories and files returned )
  17. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    This worries me: - That is incorrect ( on any version of server I've ever seen ). RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] Cannot match a standard product_info.php url, what your new RewriteRule did was pretty much nothing. QSA means Query String Attached. Have you asked the people who run your server because in years of this contrib being available I've never heard anything like this.
  18. FWR Media

    Case for a filtered directory iterator

    The classes now operate in the osCommerce\OM\Core namespace Updated the API file. The chaining of methods was getting too verbose with the number of settings required so I have separated out the core class and made some extensions. FilteredCoreIterator is now the core class - not intended for use any more but still can be. Extensions are ( rationale behind class naming strategy explained in the API ): - FileIterator DirectoryIterator FileRecursiveIterator DirectoryRecursiveIterator FileRecursiveStatsIterator DirectoryRecursiveStatsIterator API html file at same location.
  19. Your English is great! That's a setting in admin I think. or check the language file catalog/includes/languages/[my language]/kissmt.php KISSMT_HOMEPAGE_DESCRIPTION, STORE_NAME
  20. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    You need to add a character converion file named the same as your language in: - catalog/includes/modules/ultimate_seo_urls5/includes/character_conversion/ Have a look at the ones in "extras" in the download to see what to do. This file MUST be saved as the correct charset. Reset the cache in admin once done so the links can be rebuilt.
  21. FWR Media

    Case for a filtered directory iterator

    @@Harald Ponce de Leon Spent a little time on this, some of it I still need to go through and understand exactly what you want from certain methods. Having said that two needs were immediately obvious: 1) Recursive iteration 2) File stats So I've added this functionality and would like your thoughts if you get a sec ( keeps me motivated in my spare time :) ) Same location for the updated API www ( dot ) fwrdev ( dot ) co ( dot ) uk/cases/case_filtered_directory_iterator.html
  22. FWR Media

    Case for a filtered directory iterator

    Interesting, I'll look through that and identify all the diffs ( like perms etc ).
  23. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    Sorry I didn't reply to your personal contact, caught me a bit busy. If the URLs are being generated fine then it is one of a few things. 1) .htaccess settings ( although I wouldn't expect a redirect loop from here ) 2) Admin settings - turn off the option to redirect index.php to root domain. 3) Your includes/configure.php settings are incorrect. 4) You are using path_standard and AcceptPathInfo is not set to On ( this can go in .htaccess ) 5) You have a very strnge server set up that I've never come across :) Is it a linux server?
  24. FWR Media

    Ultimate Seo Urls 5 Pro

    BTW apologies for the lack of response, I set this to follow and it seems as though it unset.
  25. FWR Media

    Ultimate Seo Urls 5 Pro

    Speak to the supporter of the contrib. Any contrib should work with this. Header tags seo is/or was poorly coded and broke whenever path based URIs were introduced.
×