Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nosta1337

    (@nosta1337)

    Works like a charm. Over and out.

    Thread Starter nosta1337

    (@nosta1337)

    I will try it out tomorrow and gice you feedbacks.

    Thread Starter nosta1337

    (@nosta1337)

    Awesome. It did work. Here is the file for paid-membership-pro:

    {"vendor":{"plugins/paid-membership-pro":"1.0"},
    	"admin-config": {
    		"membership-levels": {
    			"pages": { "admin.php":"" },
    			"forms": {
    				"main":{
    					"fields":{
    						"name": { "jquery": "input[name='name']" },
    						"description": { "jquery": "textarea[name='description']" },
    						"confirmation": { "jquery": "textarea[name='confirmation']" }
    					}
    				}
    			}
    		}
    	},
    	"front-config":{
    		"all-pages": {
    			"filters": {
    				"text": {
    					"pmpro_email_filter":"20"
    				}
    			}
    		}
    	}
    }

    Thanks for your help.

    For those who want to use it too, I did add the following to the admin page, where the membershiplevels can be changed:

    <form id=”main” name=”main” action=”” method=”post” enctype=”multipart/form-data”>

    Thread Starter nosta1337

    (@nosta1337)

    Thanks for your answer. I think I did forget to put the new file in the qTranslate options. After deactivating/activating the file was loaded there automatically.

    Then I had to do some fixes on the json file, but no it works as expected.

    Here is the code:

    {"vendor":{"plugins/paid-membership-pro":"1.0"},
    "admin-config": {
    	"membership-levels": {
    		"pages": { "admin.php":"" },
    		"forms": {
    			"main":{
    				"fields":{
    					"name": { "jquery": "input[name='name']" },
    					"description": { "jquery": "textarea[name='description']" },
    					"confirmation": { "jquery": "textarea[name='confirmation']" }
    				}
    			}
    		}
    	}
    }
    }

    But as I thought this doesn’t fix my problem.

    Before I implemented this json I did the magic with [:en]English[:de]deutsch[:]. The problem is that when an e-mail is sent, as far as I found out, it just takes the name from the database directly (so it doesn’t get translated to the language, it’s sent as a complete string).

    Is there any easy way to fix that? Otherwise I will try to search for those and replace it with a substring.

    Thanks again for your help.

Viewing 4 replies - 1 through 4 (of 4 total)