Leaderboard
Popular Content
Showing content with the highest reputation since 11/16/2019 in Posts
-
4 points
HoneyPot Captcha
valquiria23 and 3 others reacted to Jack_mcs for a post in a topic
A new version has been uploaded with these changes: Added a page in admin to find and delete suspected fake accounts. Original code supplied by @Chadduck . Added a page in admin to allow deleting an array from the tracking table and to view the log. Added an option to verify the submitted IP. Added an option to verify the postal code. Added an option to verify the state and country pair is valid. Added an option to check the time to submit a form. Added filesize to dislay of the cron job results. Changed the option for the Math Captcha to use an image or text. Changed the captcha.php file to include a missing parameter. Found by @puggybelle Changed the mysql command to work for non-standard database names. Found by @Chadduck. Changed the cron output to show the size of the file. Changed the IP List setting to include check TOR IP's. Changed the names used in the hidden fields in case hacker scripts scan for the common name of honeypot. Corrected a typo in the error messages. Found by @puggybelle. Corrected the session name in captcha.php. Found by @ecartz. Fixed problem with the cpatcha code so it now works correctly. Removed a line of test code that was overlooked. Removed the notification option. All emails are now sent using the log tracker option. -
3 points
Spam, Fake accounts and how to stop them.
valquiria23 and 2 others reacted to burt for a post in a topic
Well meant advice; You have multiple hook files performing the catcha routine ... this can be done from one hook file. Take a look at the core bootstrap example where it is placing "stuff" in two different locations; https://github.com/gburton/CE-Phoenix/blob/master/includes/hooks/shop/siteWide/bootStrap.php#L23 & https://github.com/gburton/CE-Phoenix/blob/master/includes/hooks/shop/siteWide/bootStrap.php#L30 Having just one File with all the hooks (for a given "XYZ" [in this case captcha]) in it, is; simpler for you in terms of support simpler for user in terms of having to upload/delete etc let us say that the user wanted to not use your captcha anymore, and deleted the file that displays the form...the other files gets missed somehow...they have a broken site. Not good for them [loss of potential sales], not good for you [support issues], etc etc Hooks are a big part of Phoenix' future, so well done on being one of the pioneers of them. -
3 points
Support thread for JcM index new products V1.0 Phoenix
valquiria23 and 2 others reacted to JcMagpie for a post in a topic
Not in the app's store just download from here. JcM index new products V1.0 Phoenix A simple add-on to let you display an index new products on your site This allows you to set the number of days from which the new products are selected. If no new products added in that period nothing is displayed. So you could set it to show new products added in last week, month or year. You can change the title to whatever you prefer “New products this week” It also make use of a small bit of code to allow you to have the image change on mouse hover (this is done using a small snip-it of code posted by @kgtee in the forum. To use the image change you need to add both the main image and one large image. As you will see the display has been changed to show a nice compact view with the product name disabled and the image set in the top of the card. The product name can be turned on again if required in admin. Again totally stand-alone with no core code change. Simply copy all files into relevant sections and go to admin and install. That's it Enjoy. Can be see working on this site JcM index new products Phoenix V1.0.zip -
3 pointsPhoenix 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.
-
2 points
Error installing Phoenix 1.0.4.0
Smoky Barnable and one other reacted to valquiria23 for a post in a topic
Thank you very much Matt @ecartz for your support !!! I already updated the PHP version to 7.1 and everything works correctly. You're a genius!!! One suggestion to @burt, if the user does not have the appropriate PHP version that work with Phoenix , the installation program should not let you proceed with the installation .... It is frustrating to reach the last stage of installation, go to ADMIN and find an error message Its only a recommendation, as a user I prefer to know that I can not move forward with the installation until I get the PHP version than reach the end on the instal and find an error. New users may not go to the forum to seek help, they will only stop using Phoenix. Best regards Valqui -
2 points
Error installing Phoenix 1.0.4.0
puggybelle and one other reacted to ecartz for a post in a topic
Phoenix requires PHP 7+ If you want to fix the error, change $module_width = $ad->content_width ?? 6; to $module_width = isset($ad->content_width) ? $ad->content_width : 6; and that particular line will work again. But expect more problems if you try to run Phoenix on PHP 5. -
2 points
HoneyPot Captcha
valquiria23 and one other reacted to puggybelle for a post in a topic
@Jack_mcs I don't know what you did, but THANK YOU! All works perfectly now, with captcha enabled, in both create account and contact us pages. You're one of the best contributors of all time in this forum - thank you for all of your hard work and for sharing it with the community! - Andrea -
2 points
Update Order Emails
valquiria23 and one other reacted to JcMagpie for a post in a topic
This is not part of the stock code in osC so will probably be part of the add-on you installed. Check to be sure it's in the zip file you down loaded and has been copied over to the right path. Also many of the add-on's are no full packages! some only include the updated files so make sure you downloaded a full packeage. Also consider using the updated comunity version of the code. https://www.oscommerce.com/Products -
2 points
Display Tax Info V3.0
MITCH70 and one other reacted to raiwa for a post in a topic
Uploaded Update for Phoenix flagged for Phoenix: Display Tax Info Phoenix Changelog Version 4.0 - updated for Phoenix 1.0.3.x - moved currencies_mod class extension into siteWide hook. This allows to use it also for modularized shopping cart and other modularized pages with content module call in data section of the page. -
2 points
List of my Phoenix compatible Addons
domiosc and one other reacted to raiwa for a post in a topic
Uploaded: Points and Rewards Phoenix -
2 points
install 2.3 modules to Phoenix?
Lochlann and one other reacted to raiwa for a post in a topic
Most modules will need the following updates: replace the class constructor name (first function in the module) to "__construct" for PHP 7 compatibility replace the path constants like "DIR_WS_INCLUDES" to hardcoded paths like "'includes/' FOr to know which have been removed compare the "includes/configure.php" files from your old store to the Phoenix files. The definitions which are not in Phoenix any more need to be replaced replace all database table names like "TABLE_CONFIGURATION" with hardcoded real names "'configuration'" if the module produces any html output, it might need to be updated to bootstrap 4. if the module uses any jquery script, it must be injected now in the footer script area. compare to some ht modules how it is done there Best is to have al look in the supplied core modules and compare -
2 pointsAnnual subscription has been paid and we wish the team all success with the project
-
2 points
SEO html: <meta> tags in <body> instead <head>
Philo2005 and one other reacted to ecartz for a post in a topic
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. -
2 points
SEO html: <meta> tags in <body> instead <head>
Stephan Gebbers and one other reacted to ecartz for a post in a topic
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. -
1 point1) A bit of miscommunication; I'm familiar with phpMyAdmin, and am prepared to copy and poke. I was just trying to figure out where to place the actual values in those SQL statements. I think the country is already defined in your first SQL statement with ID = 223, but was trying to figure out the best place to put the real value of my zip code (5 digits) in the second SQL statement. 2) Kymation has taken it upon himself to support the USPS Rate V4 module for the last several years, thank goodness! I will be dead as an e-commerce store if I don't have USPS shipping.
-
1 point
Horizontal Categories Menu BS
valquiria23 reacted to puggybelle for a post in a topic
@Demitry gave me some code a while back to add to my user.css file to center my menu links, looks like this: /* this will center the menu links */ .navbar-nav2 { width:100%; text-align:center; font-size:20px; font-family:helvetica; } .navbar-nav2 > li { float:none; display:inline-block; } Hope that helps! - Andrea -
1 point
Error installing Phoenix 1.0.4.0
valquiria23 reacted to bonbec for a post in a topic
The small hand next to the version number of PHP on the installation page was red or green? -
1 point
Chrome may start to name and shame slow websites
valquiria23 reacted to JcMagpie for a post in a topic
If your still wondering is it worth me updating my old slow website? Now may be a good time to make a start. 😂 or you may be named and shamed in the future by Chrome. https://blog.chromium.org/2019/11/moving-towards-faster-web.html Google is looking to see if they can name and shame slow websites so users will know before they try and use them. It's still experimental but it's bound to happen at some point. The basic idea is Chrome will show a badge or marker agains any slow to load website so users can select to use or not. "Our plan to identify sites that are fast or slow will take place in gradual steps, based on increasingly stringent criteria. Our long-term goal is to define badging for high-quality experiences, which may include signals beyond just speed. We are building out speed badging in close collaboration with other teams exploring labelling the quality of experiences at Google. We believe this will ensure that if you are optimizing your site to be fast, your site will not be inconsistently badged from one surface to another." So best get moving.....😉 Oh and yes they clearly still need to work on this as the green progress bar to show fast sites is a bit lame! you can hardly see it on mobile devices. -
1 point
PayPal App for osCommerce Online Merchant
astecme reacted to Heatherbell for a post in a topic
We have a mod from @burt - "Recover Carts" - that does this as well as alternatively emailing customers about their basket contents - it's been of great use in our shops. -
1 point
Making Phoenix Invoice look a bit better
valquiria23 reacted to JcMagpie for a post in a topic
Have updated the invoice file to fix small error on total layout and link to terms. invoice.php -
1 pointAre you using the htpasswd? You might need to move the .htaccess and .htpasswd_oscommerce files out of the admin directory (move them rather than deleting them in case you need to move them back).
-
1 point
Stripe v3 module for SCA
JcMagpie reacted to Smoky Barnable for a post in a topic
I have been using this on two production sites with no problems. Thanks to @asro2004 for a great module! One of my sites has a modified checkout process page so I had to make those changes in the stripe_sca class after_process function. Also the delete buttons in the customer account area are a bit jumbled if more than one card is saved. A <br> fixed that for me. Cheers! ☸️ -
1 point
Android Developer
valquiria23 reacted to JcMagpie for a post in a topic
Sorry I'll step back... and will let the experts carry on. -
1 point
List of my Phoenix compatible Addons
valquiria23 reacted to raiwa for a post in a topic
Reuploaded all Phoenix compatible Addons flagged for Phoenix -
1 point
Product listing
Smoky Barnable reacted to dculley for a post in a topic
I took a screen shoot and cut it to seed a pic. I did not enlarge it. History and cache was deleted and reset for thumbs was run. Still with no results. Since Kissit is the only mod installed I guess my only other option is to remove Phoenix and move on. With all the other problems i'm seeing from others, maybe the program is to unstable. Thanks