-
Posts
17,340 -
Joined
-
Last visited
-
Days Won
824
Posts posted by burt
-
-
15 hours ago, kalibug said:
this is the
Version Checker Installed Version: osCommerce Online Merchant v2.3.4.1
Before you get too far with your 2.3.4.1, please download and install Phoenix (perhaps on a different hosting account or in a folder alongside your 2.3.4.1).
I believe that Phoenix is a better option than official 2 series, and you'll have an easier life all round if you use Phoenix.
At least try it, and if you dont like it, continue using your 2.3.4.1. Link for Phoenix is in my signature.
-
There are some sizing utilities which might do a job for you;
https://getbootstrap.com/docs/4.3/utilities/sizing/
h-100
or
mh-100might work
-
This (as well as many other threads) are bumped by spammers (who sign up to drop a link etc).
These are nuked by mod when seen, but in the meantime between the spam and the nuke, real forum members ( in this case you and malcolm ) replied. So the thread stays as a "new" thread.
Had the spam and nuke occurred quite quickly, no-one would ever have seen the thread and it would have dropped away back to 2008 or whenever.
Spammers. 😕
-
5 minutes ago, raiwa said:
Thanks, can you do this also in the addon description on the marketplace, please.
Ony HPDL can do that, sorry. I'd maybe just upload it again?
-
-
21 hours ago, MrPhil said:
cleanup was done on a case-by-case basis rather than globally
Correct. Nothing wrong with using directly _GET and _POST, so long as they are sanitized appropriately (tep_db_input, tep_db_prepare_input, tep_output_string etc).
-
OK.
For anyone looking to do this (and find this thread in the future)...core code changes in this manner are not necessary unless you are on an *ancient* version (2.2 stream, 10 years or more old?) or some version that has been totally shafted already by core code changes.
-
@peterbuzzin
Header Tag module which loads its code into footer_scripts.Way better than core code changing, that HT modularity has been available since 2.3.1 (if memory serves).
-
On 4/8/2019 at 10:56 AM, LeeFoster said:
I am looking to create a number of modules that will sit on my index page and link to other sections of my website.
Before I get started is there anything similar to this that already exists?
What do you want to link to, and how do you want to do it?
I'd wager everything you can think of has been already made and is available either free or paid-for.
-
You could give it a go by doing as suggested above by jcmagpie => a new admin folder to run alongside your real admin.
- shetch and valquiria23
- 2
-
1 hour ago, René H4 said:
OK, in that case I will setup a test environment and copy my shop to it. Then install this Add-On.
But I am in-season at the moment, so this may take a while......;-)
IIRC you already have Henrys bootstrapped Admin ... on the live shop (so it might be a little more difficult for you to swap over)...
-
I don't have Facebook anymore so I don't think I'd be of any use...
-
You'd need to press to fetch (new information) it and see what it says...
-
That's where you start your investigations. Can you try it on Demo, random product page;
https://template.me.uk/outgoing/product_info.php?products_id=28
This is clean of all interference, for sure.
-
I don't have facebook so cannot help sorry. But here are some pointers;
- FB uses opengraph, so make sure you have that module installed.
- There did used to be on FB a "linter" tool you can use for testing opengraph - I think it was renamed a little while back but you should be able to find it
- Try other testing tools such as framely
- Make sure you have not inadvertently blocked FB (eg in htaccess etc)
-
13 minutes ago, LeeFoster said:
That's exactly what I was looking for.
That piece of code should make sense and is portable to box(es) for 100% sure.
It might be practical to move the function into (say) /includes/functions/general.php and then just access that function from the module (rather than having the (basically the same) function in all the box modules). Hope that makes sense. If you do that, and get it working, hit me up with it as it can go into Core. Thx.
-
You have two (easy) ways to do it;
- Set pages per box
or
- Set boxes per page
I'd set pages per box as there are less boxes than pages so it would be a lot quicker...
You can find an example of this approach in /includes/modules/header_tags/ht_datepicker_jquery.php
Or you have a more flexible way (but needs coding from scratch);
- create a new DB table for storing page/box relationships. And then have a dedicated admin page for setting it up.
-
I've not used this particular SEO sitemap, but here is some quick and easy code to try - this will output an array of data so that you can basically do whatever you want with it...
$c2p = array(); $category_2_product_query = tep_db_query("select p2c.*, p.products_image, pd.products_name from products_to_categories p2c left join products p on p.products_id = p2c.products_id left join products_description pd on p.products_id = pd.products_id where p.products_status = 1 and pd.language_id = '" . (int)$languages_id . "'"); while ($category_2_product = tep_db_fetch_array($category_2_product_query)) { $c2p[$category_2_product['categories_id']][] = $category_2_product; } $_tree = new category_tree(); $tree = $_tree->getArray(); foreach ($tree as $a => $b) { $c = end(explode('_', $b['id'])); $tree[$a]['products'] = $c2p[$c]; } echo '<pre>'; print_r($tree); echo '</pre>';
I do not know if that will be useful to anyone but it may give ideas...
-
David, are you sure you have the latest file?
https://github.com/gburton/Responsive-osCommerce/blob/master/includes/modules/payment/rbsworldpay_hosted.php#L16
shows as __construct (committed 26/02/2017)https://github.com/gburton/Responsive-osCommerce/blob/master/includes/modules/payment/rbsworldpay_hosted.php#L152
shows as a foreach (committed 12/02/2018) -
Warning: reset() expects parameter 1 to be array, null given in /includes/classes/vendor_shipping.php on line 51
Find L51 and cast the object to an array.
reset( $whatever );
to
reset( (array)$whatever );
That is a MASK for that problem, not a fix. That Mask may introduce other problems.
-
HT module would be the way forward I'd have thought ?
Or a Hook would also do it.Maybe a Hook would be interesting.
-
2 hours ago, LeeFoster said:
@burt you know more about oscommerce than most. Any idea on a work around?
A workaround for what? I've never looked at this addon...
-
2 hours ago, bonbec said:
It's true @burt !
The trick is to offer a discount for those who do not pay by Paypal, nothing forbids it.
That is ingenious. Yes, that is the way to do it.
-
If I remember rightly, the EU banned surcharging for payment methods, completely and totally, sometime last year.
If you are in the EU, and I think you are (NL)...you are not allowed to place a surcharge for people paying by Paypal.
Prior to this new EU rule, it was legal to surcharge. I wrote about it in the past if you search the Forum.But Now...
It is illegal for you (you are in the NL) to place a surcharge on your customers for using Paypal. /end
If you get caught...you'd be up in front of your countries "trading standards" office.
1064 SQL syntax error using Easy Populate
in General Add-Ons Support
Posted
https://www.oscommerce.com/forums/topic/493757-easy-populate-error-mysql-1064/
Please don't create more than one thread.
If you cannot get help in the open forum, try the commercial support area and get some quotes for sorting it out.