-
Posts
2,108 -
Joined
-
Last visited
-
Days Won
40
Everything posted by ArtcoInc
-
Just from personal experience, in a prior job, people wanted to set up filled-in templates to make the creation of a new job easier. What I found was that there were so many details in the creation of that job, that inevitably people missed one (or more) details, resulting in the job having the 'default' template detail. Personally, I found it better to just create the new job from scratch, that way, unwanted details were not being accidentally entered. That said, why doesn't TinyMCE work when entering a new product? What's the root-cause of the problem (instead of trying to find a patch)? Just my two cents ... Malcolm
-
@danil0 For the shits and giggles of it, try changing the captcha from numbers to images? M
-
@danil0 In Admin-> Modules -> Header Tags -> Honey Pot, click Edit, then change Show Captcha (near the bottom) from none to either image or numbers (your choice). As @Jack_mcs pointed out earlier, you had most of this configured wrong (you had most things turned off!). I don't know. Something is altering the generated HTML code. Usually, it is a mistake you made when editing the file (create_account.php or contact_us.php). I once again suggest that you double and triple check your edits on these pages. Malcolm
-
@Jack_mcs I may be missing some proper SQL punctuation, but to manually create the table, I think it's *something* like this? CREATE TABLE IF NOT EXISTS honeypot_track (ip_number INT( 64 ) UNSIGNED NOT NULL, count int (11) DEFAULT 0, last_date datetime NOT NULL, PRIMARY KEY(ip_number) ) ENGINE=InnoDB Corrections, please 😀 Malcolm PS: do you really need to define the engine type, especially if the shop may be using a different engine?
-
@Jack_mcs I copied my live site down to my in-house WAMP server, installed HoneyPot, tested it, and uploaded it all back to my host's server. Once uploaded, I did un-install and re-install the header_tag module, but that did not create the table on my host's server. That's where I had to create it manually. HTH Malcolm
-
@Jack_mcs For some reason, the table honeypot_track was NOT created when I installed HoneyPot on my site. I had to create the table manually. That's why I asked. Malcolm
-
@danil0 Two things ... 1) It still looks like you messed up the edits to contact_us.php. Can you post your modified file here? 2) Do you have access to your database, through something like phpMyAdmin ? Can you confirm that you have a table called honeypot_track ? Malcolm
-
@Jack_mcs With your guidance above, I installed this on my osC 2.3.3.4 BS shop. I'm not using the captcha. Before installation, I was getting hundreds of fake customer accounts a day. One day, I found I had 100 fake accounts. In the time to delete them, I had 10 more. In the time to delete those, I had 3 more. Since installing this, I have had NO new fake accounts 😀 Now, it's a small site with not a lot of actual activity, so I haven't had any real customers complain that they can't create an account. We'll see what happens. Oh, the file /includes/HoneyPot_log is growing. Is there a harm in emptying it once in a while? Or, is there a harm in letting it grow too big? Thank you! Malcolm
-
@Jack_mcs Which version of Honey Pot do I use for a v2.3.3.4 BS shop? Thanks! Malcolm
-
@alwihouse Which version of osC are you using? M
-
@mendoh Find the code above, and change it to: insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Information Pages Links Footer Module', 'MODULE_CONTENT_FOOTER_INFORMATION_PAGES_STATUS', 'True', 'Do you want to enable the Information Pages Links content module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now()) M
-
Create Account & Manual Order Maker For OSC 2.3.1 V3.0
ArtcoInc replied to Mort-lemur's topic in General Add-Ons Support
*** Resolved *** Yes, it was something I did ... 🙄 Starting somewhere during the osC CE 'Edge' development (and continuing still in the 'Phoenix' development), many file names, paths, and database table names became hard-coded. So, one of the tasks to update an old add-on to work with osC CE Phoenix is to make those hard-code changes. That's where I made my mistake ... In /admin/create_order_process.php, the original code was: include(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $language . '/modules/order_total/' . $value); include(DIR_FS_CATALOG . DIR_WS_MODULES . 'order_total/' . $value); I changed this to: include('includes/languages/' . $language . '/modules/order_total/' . $value); include('includes/modules/order_total/' . $value); However, by leaving out the DIR_FS_CATALOG, the code was trying to search for the order_total modules (and language files) in the Admin side of the shop. The correct code is: include(DIR_FS_CATALOG .'includes/languages/' . $language . '/modules/order_total/' . $value); include(DIR_FS_CATALOG .'includes/modules/order_total/' . $value); I hope this helps anyone who is also trying to adapt this add-on to the newer versions of osC Phoenix. Malcolm -
Create Account & Manual Order Maker For OSC 2.3.1 V3.0
ArtcoInc replied to Mort-lemur's topic in General Add-Ons Support
* update* re: the issues in my last post ... When the customer has been selected in /admin/create_order.php, and the 'Save' button has been clicked, the order IS created in the Orders table. Malcolm -
Create Account & Manual Order Maker For OSC 2.3.1 V3.0
ArtcoInc replied to Mort-lemur's topic in General Add-Ons Support
I realize this is an old add-on, and I'm trying to install it on Phoenix (v1.0.1.4 (don't judge me, please)), but ... I have both Create Account and Order Maker and Order Editor v1.2.6 installed. I use this combination to manually enter orders through Admin. I have these working together in my older live stores, and am trying to get these to work together in a new store running Phoenix. Order Editor works when I am editing an existing order. When I am creating a new order, Create Account and Order Maker loads /admin/create_order.php, and gives me the option to either select an existing customer, or create a new one. Once a customer has been selected, clicking the 'Save' button takes me to /admin/create_order_process.php, where I get these errors: The code in /admin/create_order_process.php is this: The 'no such file ...' files do exist in both /includes/modules/order_total/* and /includes/languages/english/modules/order_total/* It seems that the root error is: Fatal error: Uncaught Error: Class 'ot_subtotal' not found in C:\wamp64\www\m13\admin\create_order_process.php on line 198 I would appreciate any and all assistance or guidance! Thanks! Malcolm PS: @Jack_mcs I will also look into the Phone Orders add-on you suggested. Thanks. -
@BrockleyJohn Just for some clarification ... 1) The Order Maker add-on has the choice of adding a new customer, or selecting an existing customer. If I'm entering a new order for an existing customer, Order Maker fills in the default address into all three address blocks, and dumps me into Order Editor. Here, I get to add the products, shipping, comments, etc. What I am saying is, if an existing customer has more than one address in their address book, it would be useful to be able to have a drop-down selector for each of the address blocks. 2) In the stock /admin/orders.php screen, when you display the orders, there are 4 buttons on the right hand side of the screen. If you click on the 'Edit' button, it displays the order, but there is no way to actually edit it. After I installed Order Editor, the 'Edit' button takes you to /admin/edit_orders.php (the Order Editor screen). This is where I think you used the hook. This worked fine, until I hacked up the /admin/orders.php file, to move the buttons around. Since I moved the 'Invoice' button first, the Hook was redirecting it to /admin/edit_orders.php, instead of to /admin/invoice.php. When I commented out the Hook, the link worked fine. Like I said, I've already hacked up the core quite a bit. It just took me by surprise trying to figure out why the link wasn't working. Malcolm
-
@BrockleyJohn (on Phoenix 1.0.1.4 (please don't judge)) I have Order Editor v1.2.6 installed and working. I also just installed Create Account and Order Maker for 0sC 2.3.1 v3.0 (yes, this is an old add-on, and required a lot of updating to get it to work with Phoenix). Create Account and Order Maker requires Order Editor in order to work. 1) I have customers with more than one address (one for ship to, one for bill to, etc). When a customer places an order (via phone or email), I enter the order through Order Maker, which drops me into Order Editor. Order Editor pulls in the default address into all three address blocks. What would it take to have a drop-down selector for each of the address blocks, so I could select one saved address for billing, and another one for shipping? 2) You added a hook into Order Editor, I suppose to avoid core changes (my core is so hacked up, it could probably qualify as original code!). However, when I hacked the buttons in /admin/orders.php (I moved the 'invoice' button to the first place, moving the 'edit' button down to the second row), the hook over-rode my 'Invoice' button, sending me to 'edit_orders.php' instead. When I commented out the hook, the problem when away. Any thoughts as to why that happened? TIA Malcolm
-
@HowardR If something used to work, and 'suddenly' stopped, something has to have changed. If you did nothing to your store, then either your host changed something, or Paypal did. Have you contacted either of them? Oh, and do you have a full backup of your store (code AND database)? Malcolm
-
@Philip79 Without knowing anything about this add-on, if there is a file in /includes/languages/english/xxxx.php, than it stands to reason that if your shop supports multiple languages, you would add a similar file in /includes/languages/<your other language>/xxxx.php M
-
@BrockleyJohn In one of my stores, I created a product called 'discount'. The item has no price or weight. I usually keep this item 'disabled'. If an order needs a discount, before I am manually add the order, or editing an existing order, I 'enable' the 'discount' item. I then add it to the order, and manually enter the discount value. I'm not saying that this is the best way to handle this, but it works for me. HTH Malcolm
-
Can someone tell me whats wrong with this code?
ArtcoInc replied to tmcca's topic in Shipping Modules
Table names are now hard-coded. Change : $check_query = tep_db_query ("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_FEDEX_WEB_SERVICES_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); to $check_query = tep_db_query ("select zone_id from zones_to_geo_zones where geo_zone_id = '" . MODULE_SHIPPING_FEDEX_WEB_SERVICES_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); ie: changing " . TABLE_ZONES_TO_GEO_ZONES . " to zones_to_geo_zones . M -
@puggybelle @Dan Cole While I was trying to install a different TypeAhead search module, I too had the same issues that both you and Dan reported. You can start reading about them here: I was getting different results on my in-house development server and my 'live' public server. I was getting different results with different browsers. I asked different people to test the public server, and different people experienced different results. I never determined what was causing the problem. I wish I had better news ... Malcolm
-
@rossosiya I realize you are new here, so I'll just point out that you are answering a thread that happened 14 years ago. M
-
@DAVID3733 IIRC, any changes to httpd.conf requires a restart of Apache. Is this something you really want to do in a production environment, especially if you are on a shared server? M
-
USPS Rate V4, Intl Rate V2 (official support thread)
ArtcoInc replied to a topic in Shipping Modules
@TomB01 (and the line or two following this) M