Jump to content

Philo2005

Members
  • Content count

    61
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Philo2005 got a reaction from JcMagpie in Support thread for JcM Google reCAPTCHA V2 & Terms Phoenix   
    Everything fine, thank you Zahid,
    the add on is already installed in my live shop.
  2. Thanks
    Philo2005 reacted to BrockleyJohn in Header Tag Product Schema JSON-LD and Google   
    First off, a warning on the schema checker is not an issue unless you have data which is useful for SEO and not output.
    You can test a specific url online here
    https://search.google.com/structured-data/testing-tool
    Your example shows 3 warnings - lack of review information and no end date for the price. This is entirely to be expected if you have no reviews and don't have a special price with an end date set.
    Everything looks good to me.
  3. Thanks
    Philo2005 reacted to raiwa in Support thread for JcM Google reCAPTCHA V2 & Terms Phoenix   
    includes/application_top.php lines 42-44:
    // set php_self in the local scope $req = parse_url($_SERVER['SCRIPT_NAME']); $PHP_SELF = substr($req['path'], ($request_type == 'NONSSL') ? strlen(DIR_WS_HTTP_CATALOG) : strlen(DIR_WS_HTTPS_CATALOG));  
  4. Thanks
    Philo2005 reacted to ecartz in Use Search-Engine Safe URLs   
    False.  Once upon a time, search engines paid attention to things that were in the domain and path but not query parameters.  So it made sense to put things like product ID in the path rather than query parameters.  But all major search engines (Google, Bing, Yahoo, etc.) can handle query parameters now. 
    It was never quite right anyway and is totally useless now.  It just makes it look like you have duplicate pages.  The only reason it's still in core is that I haven't deleted it yet.  Maybe next month. 
    If you really want better URLs, then install something like Ultimate SEO URLs or similar. 
    That's not quite right.  It takes the = signs out too.  https://www.myshop.com/product_info.php/sort/4d/cPath/22/products_id/829
    What it should do is make it look like https://www.example.com/product_info.php/products_id/829?sort=4d&cPath=22 but it's really an inferior solution.  Better to use an SEO URLs contribution so you can get the keyword benefits.  E.g. https://www.example.com/stamps.html?sort=4d&cPath=22
    Note that Amazon.com does this like https://www.example.com/1989-German-first-class-stamp/dp/[product_id]?what=ever and then just ignores the first thing after the domain.  But they only do that for new products.  For old products, they leave the https://www.amazon.com/exec/obidos URLs even though Obidos has been turned off for more than ten years. 
    Anyway, when I delete SEF URLs, I plan to make it easier for people to make their own URL Apps.  Ideally I'd like to upload SEF URLs as an App in the marketplace. 
  5. Like
    Philo2005 reacted to burt in Phoenix Announcements   
    Phoenix 1.0.4.0
    Demo Site:  https://template.me.uk/phoenix/index.php
    v1.0.4.0 fixes a few bugs in the shop side as well as introducing database enabled hooks and the very first step towards a better template implementation, in addition the manufacturers class is now used in more places.  On the admin side we have a better bootstrapped layout (header/footer) and a few more pages have been converted to bootstrap tabular layout.  We have some more modules, particularly note the "testimonials" page in the shop side is now modular.  
    If you are on v1.0.3.0, it's an easy update. If you are on an older Phoenix, you'll need to get to v1.0.3.0 first before attempting the below steps.  
    A big thank you to everyone who made the release of v1.0.4.0 possible, especially to the Supporters as well as to @raiwa @ecartz and "F Figue".
    This release introduces a number of improvements;
    the foundations of an integrated Template System
    this has been asked for many times over the years, now it's becoming reality... more bootstrapping in admin
    with more to come in future releases... admin Boxes made 100% modular How to Update if on 1.0.3.0;
    Uninstall defunct modules;
    - Social Bookmarks BOX (main module + all installed child modules)
    - Card Acceptance BOX Delete defunct files (eg using FTP)
    - admin/includes/classes/rss.php

    - includes/modules/boxes/bm_product_social_bookmarks.php
    - includes/languages/english/modules/boxes/bm_product_social_bookmarks.php
    - includes/languages/english/modules/social_bookmarks/<all files in here>
    - admin/includes/modules/cfg_modules/cfgm_social_bookmarks.php

    - includes/modules/boxes/bm_card_acceptance.php
    - includes/languages/english/modules/boxes/bm_card_acceptance.php Download this Zip, unzip and upload
    + 1040.zip Run this SQL in (eg) phpmyadmin)
    + https://pastebin.com/c7p4WtL2 How to Update if on earlier version;
    Find version you are on [admin > tools > version checker] Go back through this topic and perform updates to get to 1.0.3.0 Then follow "how to update if on 1.0.3.0 & after which" instructions - OR -
    You can download and install a brand new 1.0.4.0, obviously making sure not to overwrite your live shop;
    clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix
    or grab it direct from osCommerce at https://www.oscommerce.com/Products choose "download zip" unzip, upload, install - OR -
    You can diff your files;
    Find which version Phoenix you are on
    admin > tools > version checker go to this URL, changing a.b.c.d to your Phoenix version;
    https://github.com/gburton/Responsive-osCommerce/compare/a.b.c.d...1.0.4.0 Make code changes one by one
    it'll take you a while, but if it floats yer boat... - THEN -
    After Installation (whether NEW or UPDATE) is complete;
    Visit admin > tools > security checks
    and perform any needed actions Enjoy using 1.0.4.0  
    - Join the Phoenix Club -
    https://forums.oscommerce.com/clubs/1-phoenix/
    you'll get to see some of the "behind the scenes" work and help to steer future releases.
  6. Thanks
    Philo2005 reacted to ecartz in SEO html: <meta> tags in <body> instead <head>   
    Does adding a
    define('META_SEO_TITLE', 'Our GTCs'); help?  May require ht_pages_seo to be installed in admin > Modules > Header Tags (if it is not already). 
    You may also want to look at how ht_product_title.php works and adapt for your use.  I'm thinking of copying that file to ht_heading_title.php, changing the class name and $code to ht_heading_title, replacing all instances of PRODUCT_TITLE with HEADING_TITLE, and replacing the contents of the execute function with something like
    function execute() { global $PHP_SELF, $oscTemplate; if (in_array(basename($PHP_SELF), [ 'attias_beratung.php', 'attias_impressum.php' ])) { $oscTemplate->setTitle(HEADING_TITLE); } } Adjust the list of file names as necessary for your shop.  Remember that you have to install the module in admin before it will do anything.  You want it to have a low sort order number, as you want it to act before other modules. 
    And if it wasn't clear, change things like
    $this->title = MODULE_HEADER_TAGS_PRODUCT_TITLE_TITLE; to look like
    $this->title = MODULE_HEADER_TAGS_HEADING_TITLE_TITLE; throughout the file. 
  7. Thanks
    Philo2005 reacted to ecartz in SEO html: <meta> tags in <body> instead <head>   
    Well, it's language specific, so I'd check the part of the language files that specifies that
    <htmldir="ltr" lang="de"> My guess is that you're missing a space in
    define('HTML_PARAMS', ' dir="ltr" lang="de"'); in the german.php file.  Note that there should be a space before the dir entry. 
    Your browser doesn't know what an htmldir tag is, so it assumes that it's part of the body.  So your browser implicitly creates the html, head, and body tags.  Then it removes the ones that template_top.php created. 
  8. Like
    Philo2005 got a reaction from Smoky Barnable in Framework searched for Homepage   
    Today I finished with the migration of my old Website to the Phoenix plattform.
    This is the result, see:
    https://www.attias.ch/
    I am happy now, it was a lot of work.
    Thank you all for the help
  9. Thanks
    Philo2005 reacted to ecartz in Framework searched for Homepage   
    So you want to go to https://www.attias.ch/angebot.html and have it look like https://www.attias.ch/ishop/conditions.php (with different text of course)?  If you're OK with changing the name to angebot.php, you could just make copies of the conditions page files. 
    angebot.php from conditions.php includes/languages/german/angebot.php from includes/languages/german/conditions.php In the new file, change
    require('includes/languages/' . $language . '/conditions.php'); $breadcrumb->add(NAVBAR_TITLE, tep_href_link('conditions.php')); to
    require('includes/languages/' . $language . '/angebot.php'); $breadcrumb->add(NAVBAR_TITLE, tep_href_link('angebot.php')); and in the language file, change
    define('NAVBAR_TITLE', 'Conditions of Use'); define('HEADING_TITLE', 'Conditions of Use'); define('TEXT_INFORMATION', 'Put here your Conditions of Use information.'); to reflect what you want to show, e.g.
    define('NAVBAR_TITLE', 'Unser Angebot'); define('HEADING_TITLE', 'Unser Angebot'); define('TEXT_INFORMATION', <<<'EOTEXT' <h2>Briefmarken</h2> <p>Schweiz ab 1850 Einzelmarken/Sätze ab 40 % SBK</p> <p>Rayon, Strubel, Sitzende Helvetia, Stehende Helvetia, Ziffermarken, Tellknaben und Brustbild, Freimarken, Werbemarken, Pro Juventute, Pro Patria, Blocks, Zuschlagsausgaben, Automaten-Marken, Rollenmarken, Porto Marken, Zusammenhängende, Zwischenstege, Kehrdrucke, Dienstmarken, Stempel Neuheiten, Schweizer Neuheiten, Schweizer Spezialitäten, Jahreszusammenstellungen, Abarten, Postfrisch , Gestempelt, FDC's, Vollstempel, Ersttag Vollstempel, Frankaturware etc... Diverse Länder</p> <p>UNO Genf, Deutschland (in Bearbeitung).<br /> Posten und Sammlungen</p> <p>Kleine Posten und Sammlungen ab 10.-, Kiloware Schweiz und Ausland (Briefmarken zum Ablösen), Länder- und Motivsammlungen je nach Angebot.</p> <p>Wühlkiste - jeder Brief 1.- Stutz - hier findet jeder einen kleinen Schatz. Ansichtskarten</p> <p>Weit über 15'000 Schweizer Ansichtskarten am Lager (Litho, Lichtdrucke, Foto-AK's). Zubehör</p> <p>Briefmarken-Kataloge (SBK, Zumstein, Michel), Sammler-Zubehör von Leuchtturm (einiges am Lager), Lindner auf Bestellung. Hüllen für Ansichtskarten und Briefe, Archivierung etc., Briefmarken Alben, Systemalben für Briefmarken, Briefe, FDC, Ansichtskarten, Vordruckalben, Pinzetten, Lupen etc.<br /> Fehllisten Bearbeitung</p> <p>Wir bearbeiten gerne Ihre Fehllisten für Briefmarken, falls die gewünschten Marken nicht am Lager vorrätig sind, suchen wir Sie gerne kostenlos in Ihrem Auftrag und offerieren Ihnen diese. Hier können Sie uns mitteilen, was Sie suchen, bzw. was Ihnen fehlt.</p> <p>Briefmarken-Neuheiten können bei uns im Abonnement bezogen werden!</p> EOTEXT ); I prefer the nowdoc syntax for multiple line strings.
    There are also contributions like Page Editor , but it doesn't look like that's been updated for Phoenix.  If you have budget, you could pay someone to do that.  Either post in the Commercial Support Inquiries forum or PM @burt to see if he has something like that for Phoenix Supporters (annual fee required). 
    If it's important that the name end in .html, then you could configure Apache's mod_rewrite to do that. 
  10. Thanks
    Philo2005 reacted to peterpil19 in Framework searched for Homepage   
    Hi David,
    As an alternative suggestion, why don't you add these as pages to your shop instead to create a more seamless experience for your customer?
    Everything I can see in the link provided can be added to your Phoenix shop.
    I'm assuming it would be beneficial to keep your customers in your shop environment.
    it is easy to add new pages to the shop, just:
    1. Copy a simple page(e.g. conditions.php) and its corresponding language file.
    2. Rename the page to what you want to call it.
    3. Change all references in the files from the name of the old file (e.g. conditions), to the new one.
    4. Add content. You probably only need to modify the language file to do this.
    Peter
  11. Thanks
    Philo2005 reacted to peterpil19 in Framework searched for Homepage   
    @Philo2005
    Sure,
    In includes/languages/german/modules/boxes/bm_information.php
    Add angebot under Contact Us, or wherever you wish it to appear in the links e.g.
    const MODULE_BOXES_INFORMATION_BOX_DATA = array( 'privacy.php' => 'Privacy Notice', 'conditions.php' => 'Conditions of Use', 'shipping.php' => 'Shipping &amp; Returns', 'contact_us.php' => 'Contact Us', 'angebot.php' => 'Unser Angebot' Peter
     
     
     
  12. Thanks
    Philo2005 reacted to Heatherbell in Framework searched for Homepage   
    Nothing confusing here
  13. Confused
    Philo2005 reacted to Heatherbell in Framework searched for Homepage   
    Google will crawl and find them the same way as last time - defacto😉
  14. Like
    Philo2005 got a reaction from peterpil19 in Framework searched for Homepage   
    Thank you all for your ideas, i am going to think about implementing my Homepage into Phoenix.
    Currently These are all html Pages, so Google crowle them and These are listed in the Google Search.
    How this function when the old pages are moved to php Pages.
    Are they found by Google Search as well and listed in Google Search?
     Any experience?
  15. Haha
    Philo2005 got a reaction from kgtee in Categories - Amount of articles not shown   
    @kgtee
    Thank you very much, works fine!
    I assume you had this done before I asked for it?
  16. Like
    Philo2005 reacted to burt in Phoenix Announcements   
    Phoenix 1.0.2.5
    Particular thanks to @BrockleyJohn for fixing the Hooks class.
    Demo Site:
    https://template.me.uk/phoenix/index.php
    This Update;
    Fixes bug in Hooks Class that presents itself on some, not all, servers Update version to 1.0.2.5 How to Update if on 1.0.2.4;
    Download this Zip:  1.0.2.5.zip Unzip it Upload it Visit admin > tools > security checks and perform any needed actions Enjoy using 1.0.2.5 How to Update if on earlier version;
    Find version you are on [admin > tools > version checker] Go back through this discussion and perform updates to get to 1.0.2.4 Then follow "how to update if on 1.0.2.4" instructions - OR -
    You can download and install a brand new 1.0.2.5;
    clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix choose "download zip" unzip, upload, install After New Installation is complete;
    Visit admin > tools > security checks and perform any needed actions Enjoy using 1.0.2.5  
    - Join the Phoenix Club -
    https://forums.oscommerce.com/clubs/1-phoenix/ If you are not a member of the Phoenix Club, request it;
    you'll get to see some of the "behind the scenes" work and help to steer future releases.
  17. Haha
    Philo2005 got a reaction from kgtee in Categories - Amount of articles not shown   
    @kgtee
    Thank you very much for your code, works fine.
  18. Like
    Philo2005 got a reaction from peterpil19 in Categories - Amount of articles not shown   
    @BrockleyJohn
    user.css 
    .list-group.list-group-flush { padding-left: 0.75em; }
    solved the Problem to indent the subcategories 
  19. Thanks
    Philo2005 reacted to ArtcoInc in Categories - Amount of articles not shown   
    @Philo2005
    This can be handled with CSS.
    M
  20. Thanks
    Philo2005 reacted to kgtee in Categories - Amount of articles not shown   
    You can make the subcat titles show up by editing one line in the file includes/modules/boxes/bm_catagories.php:
    To show the quantities, you can edit the file includes/classes/category_tree.php
    Find:
    Edit the line that comes after:
     
  21. Thanks
    Philo2005 reacted to JcMagpie in product_info.php - pictures overpainted   
    For anyone stumbling upon this thread and still wondering about should they use SSL?
    3 Reasons Why Your Website Needs HTTPS
    1. Maintain lead generation. Starting in October 2017, the Google Chrome web browser started showing a “not secure” warning when users started filling out a simple contact form or entering data in search field on a non-HTTPS website. Starting in July 2018, Google Chrome now displays a “not secure” error on any website not using the HTTPS protocol — regardless if users are filling out a form. So if you depend on your website generating leads and sales inquiries, your site needs to use the HTTPS protocol so users don’t freak out and abandon your site due to “non secure” warnings.
    2. Improve your search engine rankings. In August 2014, Google announced that HTTPS is a ranking factor in their search algorithm. The jury’s still out as to how much of a factor HTTPS plays in your search rankings, but research suggests it’s becoming a stronger ranking factor. Just do any type of a Google search, and you’ll notice that nearly all of the page 1 results begin with an HTTPS URL. Google has also indicated that a HTTPS site can serve as a tie-breaker between two sites offering similar information.
    3. Everybody’s doing it. Perhaps the most important reason to have an HTTPS site is perception. We live in a world where hacking and data breaches are everyday news, and people are concerned about online privacy and security. Even though your website isn’t collecting sensitive information, the fact that you have an HTTPS site and visitors can see the little padlock in their browser gives them comfort. And that translates to confidence and trust in your company. HTTPS is quickly becoming the norm, and even non-techie visitors are now starting to feel a little uneasy when they don’t see that padlock.
    extract from, https://www.markbrinker.com/secure-https-website
  22. Thanks
    Philo2005 reacted to JcMagpie in product_info.php - pictures overpainted   
    Yes SSL is a MUST now for any ecart, Also most browsers wll now NOT show images or links that are from NONE SSL links on a SSL site.
  23. Thanks
    Philo2005 reacted to milerwan in Show PayPal fee in order total   
    Thank you for feedback !

    1. You can get update v2.0.1 that solves PHP 7.x issue and installation issue too (my fault) : https://apps.oscommerce.com/6aWHK&paypal-fee-v2

    * Update V2.0.1
    - PHP 7.x compatibility fixed (includes > modules > order_total > ot_paypal_fee.php, line 42) :
     "function ot_paypal_fee()" replace by "function __construct()"
    - Fix installation error due to backslash missing (includes > modules > order_total > ot_paypal_fee.php, line 150) :
     tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Ordre de tri', 'MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER', '4', 'Ordre de tri pour l\'affichage (Le plus petit nombre est montré en premier).', '6', '5', now())");
     
    2. Yes, this module only supports PayPal Standard solution... Your comment has been added to the apps :

    IMPORTANT: Works only with PayPal Standard solution.
     
    Sincerely
  24. Thanks
    Philo2005 reacted to burt in product_info.php - pictures overpainted   
    He's definitely not. 
    But I believe I found the cause;
    http://www.attias.ch/tshop/ext/photoset-grid/jquery.photoset-grid.min.js

    Gives 500 error, get that sorted. 
     
  25. Thanks
    Philo2005 reacted to kgtee in product_info.php - pictures overpainted   
    Colorbox is required for displaying multiple images in a gallery. If you use the picture gallery, then re-instate a copy of http://www.attias.ch/tshop/ext/photoset-grid/jquery.photoset-grid.min.js as Gary suggested, then the image will display just fine.
×