Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bycomplex

    (@bycomplex)

    OK, thank you.
    And,

    “”OH. THAT’S NOT GOOD. How long has that been going on?””

    I think about 10 years!!!
    So ugly..

    Thread Starter bycomplex

    (@bycomplex)

    @jdembowski

    Thank you for your interest.
    Will you please look over here?

    https://wordpress.org/support/topic/this-function-does-some-ad-replacement-for-transposh-benefit-2/

    Thank you

    Thread Starter bycomplex

    (@bycomplex)

    @pipetko

    This is exactly what I want to say….
    “”””
    https://wordpress.org/support/topic/how-to-upgrade-for-more-than-5-languages/#post-11149567
    “”””

    Thread Starter bycomplex

    (@bycomplex)

    “So your code removes the adsense changer ?!”
    This is not my code. I can only add /** */ codes. I don’t know if it works.

    I mean,
    The version in WordPress.org does not have these codes.
    Which means,
    This plugin in Transposh.org
    “more convenient to use”
    version contains these codes.

    If you selected “allow updates” in your administration panel,
    ADSENSE CODES ARE CHANGING!

    I’m not sure if the changes I’ve made to the code finish this …

    Anyway. I’m not gonna use that anymore…

    Thread Starter bycomplex

    (@bycomplex)

    Someone who has not responded to any support question for almost 1-2 year
    now come and answer all the questions …
    🙂

    Thread Starter bycomplex

    (@bycomplex)

    Then you will say; You must have to say clearly;
    The plugin you downloaded here is “useless.”

    Come on, download my version of “adsense revenue” from my site.
    This version on the wordpress.org: “No useless without widgets ect.”

    If you want to use the widget, come to my site, download it, let me change your adsense codes.

    What happens if every plugin does what you do?

    Dear moderator;
    Instead of removing this topic, you should remove this plugin from the site.
    After downloading and installing from WordPress.org,
    On the management page asks;
    For Widget etc. , do I install my site version?
    It is useless without widget etc.
    All right, we’re gonna say okay.
    And then it starts to change the adsense codes on our sites.

    Please think; What happens if every plugin does it?

    I’m the one who has “modlook”ed this topic.

    I talked to the author by mail.
    He thinks he’s right.
    For almost 10 years, without many of us knowing,
    With a code in the background
    He took himself our “Adsense” earnings.
    %1 , %5 , %15 it doesn’t matter what.
    This should not be allowed.

    Thank you

    Thread Starter bycomplex

    (@bycomplex)

    I contacted the owner with mail. I told him you had no right. Unfortunately, he thinks he’s right.

    Anyways.

    I’ve changed the following codes in parser.php as follows;

    In “transposh-translation-filter-for-wordpress/transposh.php” ;
    Lines ~ 3 to 13
    (For this plugin to be NOT update in the future…)

    /*
      Plugin Name: Transposh Translation Filter
      Plugin URI: http://transposh.org/
      Description: ................
      Author: Team Transposh
      Version: 1.0.4.1
      Author URI: http://transposh.org/
      License: GPL (http://www.gnu.org/licenses/gpl.txt)
      Text Domain: transposh
      Domain Path: /langs
     */

    TO

    /*
      Plugin Name: Transposh Translation Filter
      Plugin URI: http://transposh.org/
      Description: ................
      Author: Team Transposh
      Version: 100.0.4.1
      Author URI: http://transposh.org/
      License: GPL (http://www.gnu.org/licenses/gpl.txt)
      Text Domain: transposh
      Domain Path: /langs
     */

    AND in “transposh-translation-filter-for-wordpress/core/parser.php” ;
    Lines ~ 657 to 678

        /**
         * This function does some ad replacement for transposh benefit
         */
        function do_ad_switch() {
           if (isset($this->html->noise) && is_array($this->html->noise)) {
                foreach ($this->html->noise as $key => $value) {
                    if (strpos($value, 'google_ad_client') !== false) {
                        $publoc = strpos($value, 'pub-');
                        $sufloc = strpos($value, '"', $publoc);
                        if (!$sufloc)
                            $sufloc = strpos($value, "'", $publoc);
                        echo $publoc . ' ' . $sufloc;
                        if ($publoc && $sufloc)
                            $this->html->noise[$key] = substr($value, 0, $publoc) . 'pub-752............676' . substr($value, $sufloc);
    
                    }
                }
            }
            // INS TAGS
            foreach ($this->html->find('ins') as $e) {
                $e->{'data-ad-client'} = 'ca-pub-752.................76';
            }
        }

    TO

        /**
         * This function does some ad replacement for transposh benefit
         */
        function do_ad_switch() {
     /*************       if (isset($this->html->noise) && is_array($this->html->noise)) {
    
                foreach ($this->html->noise as $key => $value) {
                    if (strpos($value, 'google_ad_client') !== false) {
                        $publoc = strpos($value, 'pub-');
                        $sufloc = strpos($value, '"', $publoc);
                        if (!$sufloc)
                            $sufloc = strpos($value, "'", $publoc);
                        echo $publoc . ' ' . $sufloc;
                        if ($publoc && $sufloc)
                            $this->html->noise[$key] = substr($value, 0, $publoc) . 'pub-75.........76' . substr($value, $sufloc);
    
                    }
                }
            }
            // INS TAGS
            foreach ($this->html->find('ins') as $e) {
                $e->{'data-ad-client'} = 'ca-pub-75.............76';
            }
      ***********/  } 

    AND
    Lines ~ 1014 to 1020

                // we might show an ad for transposh in some cases
                if (($this->allow_ad && !$this->default_lang && mt_rand(1, 100) > 95) || // 5 of 100 for translated non default language pages
                        ($this->allow_ad && $this->default_lang && mt_rand(1, 100) > 99) || // 1 of 100 for translated default languages pages
                        (!$this->allow_ad && mt_rand(1, 1000) > 999)) { // 1 of 1000 otherwise
                    $this->do_ad_switch();
                }

    TO

                // we might show an ad for transposh in some cases
         /************       if (($this->allow_ad && !$this->default_lang && mt_rand(1, 100) > 95) || // 5 of 100 for translated non default language pages
                        ($this->allow_ad && $this->default_lang && mt_rand(1, 100) > 99) || // 1 of 100 for translated default languages pages
                        (!$this->allow_ad && mt_rand(1, 1000) > 999)) { // 1 of 1000 otherwise
                    $this->do_ad_switch();
                }
    			**************/ 

    I think these changes end this robbery for about 10 years.

    Thank you

    • This reply was modified 7 years, 3 months ago by bycomplex. Reason: remove tags
Viewing 7 replies - 1 through 7 (of 7 total)