Jump to content


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

Topics I've Started

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

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



Can you require two form email address fields to match in create account?

18 March 2017 - 18:13

Hi all,



I have a lot of troubles with wrong/missed email addresses in create account. What do you think about double email address inputs vs email confirmation with a link in account process?


Would be there a hook system on create account page to enable some solutions for this problem?



Thanks all proposals

Testers wanted - definitions of languages v2.4

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

Non language localized Mobile keyboard issues

06 October 2016 - 06:24

Hi all,

I have found a lot of trouble with non language localized mobile accounts. The characters often used in non-standard formats. For example:



à and not á
è and not é

The reason is when not instaled localized keyboard language on android cellular phone used. (This could be problem on another tools too).

What could be a solution?

There would be a simple pre-replace code assist in tep_db_prepare_input()

  function tep_db_prepare_input($string) {

    //here is the code critical point for languages
    if ($_SESSION['language'] == 'hungarian') {
      $characters = array('à' => 'á', 'è' => 'é', 'ò' => 'ó', 'õ' => 'ő', 'û' => 'ű', 'Õ' => 'Ő', 'Û' => 'Ű');
      $from = array_keys($characters);
      $to = array_values($characters);
      $string = trim(str_replace($from, $to, $string));

    if (is_string($string)) {
      return trim(tep_sanitize_string(stripslashes($string)));
    } elseif (is_array($string)) {
      while (list($key, $value) = each($string)) {
        $string[$key] = tep_db_prepare_input($value);
      return $string;
    } else {
      return $string;

At this moment v2.3.4 codebase use simple php function to prepaire inputs which could not be extend without any user coding, so this solution would be perfect for class based v2.4 core with hooks.

Look after in HTML class in v2.4 core:

    public static function sanitize($string)
        $patterns = [
            '/ +/',

        $replace = [
            ' ',

        return preg_replace($patterns, $replace, trim($string));

The question is who has similar effects or anomalies in user account or in orders?

Paypal Express and the stepwizard

08 September 2016 - 18:22

Hi all,


some customers (except english payers) dont understand why should press confirm button on the last order page when PP Express used.

Would it be a working solution if before the last stepwizard we dropp in a muted Payment step point? So Paypal Express will be unmuted as a step 3 if express payment will be selected.


This solution could be work with another out stepping payment modules.


Any thoughts?