Jump to content


Member Since 08 Feb 2009
OFFLINE Last Active Yesterday, 14:27

#1756067 Sent back to login. Failed to decode session object. Session has been destroyed.

Posted by Gergely on 23 April 2017 - 09:51


What is the session table collation?

#1755329 splitPageResults won't work when using GROUP BY

Posted by Gergely on 31 March 2017 - 20:23

splitPageResults($query, $max_rows, $count_key = '*', $page_holder = 'page')


$clearance_split = new splitPageResults($clearance_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS, 'p.products_id');

#1755108 How to make a 2.4 App

Posted by Gergely on 26 March 2017 - 11:30


		$data = '<div id="section_relatedAppRelated_content" class="tab-pane oscom-m-top-15">' . $data . '</div>';

                $tab_title = addslashes($this->app->getDef('tab_title'));

                $output = <<<EOD

$('#productTabs ul:first').append('<li><a data-target="#section_relatedAppRelated_content" data-toggle="tab">{$tab_title}</a></li>');


#1754921 Super Simple PP me module bones :) - paypal.me

Posted by Gergely on 21 March 2017 - 11:32

Super Simple code:

<a href="https://paypal.me/myaddress/<?= $order->info['currency'] . preg_replace("/[^0-9.,]/", '', $order->info['total']); ?>" target="_blank"><?= BUTTON_PAYPAL_ME; ?></a>

Language dependencies:

define('BUTTON_PAYPAL_ME', 'Pay with Paypal <i class="fa fa-paypal" aria-hidden="true"></i>');

Text email SS PP code:

echo 'https://paypal.me/myaddress/' . $order['currency'] . $orders_total['ot_total']['value'] . ' (Pay with PayPal.me)';

myaddress= https://paypal.me/grab



#1754736 Who in the EU has heard of GDPR and will it affect you

Posted by Gergely on 16 March 2017 - 17:05

Was it an UK joke to EU?


#1751123 Testers wanted - definitions of languages v2.4

Posted by Gergely on 13 December 2016 - 16:14





Drop flags and highlight language names instead. https://github.com/G...d3a8e6287aef1f4


One feature is comming.. what would be if search field generate an icon when search result listed in action column next to filenames. It calls "Edit result". In this case only results would be edited.
By this way could be prevented the huge definitions editon.

#1751042 Testers wanted - definitions of languages v2.4

Posted by Gergely on 11 December 2016 - 16:51

@Gergely seems to work fine at first look but the definitions for define_language itself are not there so colmn names and buttons shows its constant instead the english default text table_heading_definition_key, table_heading_definition_value, image_reset_datatable).

BTW It's a huge step behind for a good language support!!! Thanks

Its directly that you can test the own definition. :)

#1751031 Testers wanted - definitions of languages v2.4

Posted by Gergely on 11 December 2016 - 10:13

Hi all,


we figured out a define language editor. Some testers wanted to inform us about errors or anything else before pull something.


Here is the differencies: https://github.com/o...language_editor




2 files need to edit.



- Enable language definitions to load into datatable

- Enable all site groups to use



change (22):
-    protected $use_cache = false;
+    protected $use_cache = true;


change (269):
-        $defs = $this->getDefinitions($group, $language_code, $pathname);
+        $defs = $this->getDefinitions($site . '/' . $group, $language_code, $pathname);


This mod enable to add/delete language definition values and save into datatable and language files
download (copy+paste): https://github.com/G...ne_language.php



We would be appreciative if you post here your experiencies.


Thank you

#1750125 2.4 Series

Posted by Gergely on 19 November 2016 - 18:34

@Dan Cole

do not use Db->save. Use the simple query statment

https://library.osco...lopers (Prepared Statements)


#1749070 Where is admin BS?

Posted by Gergely on 25 October 2016 - 18:47

Next official version is comming

I have tried css table responsive solution for small screen devices:

Is it real or not?

#1748545 Non language localized Mobile keyboard issues

Posted by Gergely on 14 October 2016 - 16:05


I fixed this as I mentioned in the first post.The question aimed to the conflict that do you have or not similar problems. Every 20th smart phone customer do this joke.

I shipped only to hungary address and only to hungary customers (!) shippers use hungarian character standards. Customers doesnt take a care of hungarian standards just buy a smartphone and use it and not be able to write on hungary correct mother language words like their own names. They are idiots.

#1748476 BUG in PayPal Express - OsC 2.3.4

Posted by Gergely on 12 October 2016 - 20:31

Hmm, I tested in a sandbox a different payment and shipment adress. As I saw, PayPal comes always back with their adresses.


That means if a customer has a different PayPal adress, the shop-adress from the customer is going to be overwritten in the order and confirmation email. So the customer has to be told, that he has to write an additionol comment where he defines the billing adress.


Another point that I found out with PayPal Express is, that PayPal Express is not registering the products in the notifications for the seller and the buyer. You may check this in the PayPal Devel accounts. PayPal Standard does.


BUT - due to legal issues I have to attach a file to the confirmation email from the shop to the customer as well, with a specific text in this email.


This is possible (for me) in PayPal Express, BUT not in PayPal Standard.


I'd like to use PayPal Standard, but there MUST be a specific text in the confirmation email and a file has to be attached as well. I solved this for prepayment and PayPal Express already, but how can this be done for PayPal Standard?


Am I wrong?

The addresses are listed finaly on checkout_confirmation page where customers could check and modify them. This is the reason why not running into checkout_process when PP Express used.
PP Express offers a fast login after shopping cart where unregistered customers be able to to buy so this is the reason of Paypal defined addresses.

You are not wrong this is natural behaviour of modules.

#1747930 SMTP Authentication and OSCommerce

Posted by Gergely on 28 September 2016 - 15:54

I have no plan to do an addon. I prefer to built in the core directly.

#1747272 Store Search Bar (BS)

Posted by Gergely on 02 September 2016 - 15:33


mail sent. I have multi language experiencies so would be nice to mix them.

#1746912 Table cost rate estimator

Posted by Gergely on 23 August 2016 - 04:37

@Dan Cole

Its a configuration set_function() and a footer javascript combo. Like a widget.