nobenati
Forum Replies Created
-
But I don’t think it’s related to the plugin. I think the site was hacked and they appended to .htaccess which just so happened to be created by the plugin.
Interesting, I am seeing a very similar thing in the .htaccess file created by the duplicator plugin.
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^.*-(\d+)/.+.jsp$ marketplacel/index\.php?id=$1&%{QUERY_STRING} [L] RewriteRule ^(.*)-\d+.jsp$ marketplacel/index\.php?cat=$1&%{QUERY_STRING} [L] RewriteRule ^.*(Category[a-z]+map\.xml)$ Categorymap/$1 [L] RewriteRule ^.*(sitemap\.xml)$ Categorymap/$1 [L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
- This reply was modified 4 years, 2 months ago by nobenati.
Good to know. Thanks!
I guess I wanted to double check it was expected there. I am not requesting it be changed. It’s easy enough to add to my list of ignored files for now. I will bring it up to the malware scanner team and see if they can look into it. But I’d rather have a false-positive than a missed malicious file so I’m ok with it. I wanted to bring it up here in case others come across it. Thanks for the timely response.
Doh! It was the cache… Didn’t even think to try it. And I had just un-cached the register page which was causing issues. Thanks!
I tried the latest UM update and I am still seeing this issue.
Unfortunately it did not solve the issue ??
Here’s what to do in order to add custom fields to the account page.
/* Add fields to account page */ add_action('um_after_account_general', 'showExtraFields', 100); function showExtraFields() { $custom_fields = [ "alternate_email" => "Permanent E-mail Address", "major" => "Major", "minor" => "Minor", "gpa" => "GPA", "graduation_year" => "Graduation Year", "graduation_season" => "Graduation Season", "gpa" => "GPA", "phone_number" => "Phone Number (XXX-XXX-XXXX)", "address_1" => "Permanent Address 1", "address_2" => "Permanent Address 2", "city" => "City", "state" => "State", "zip_code" => "Zip Code" ]; foreach ($custom_fields as $key => $value) { $field_value = get_user_meta(um_user('ID'), $key, true) ? : ''; $html = '<div class="um-field um-field-'.$key.'" data-key="'.$key.'"> <div class="um-field-label"> <label for="'.$key.'">'.$value.'</label> <div class="um-clear"></div> </div> <div class="um-field-area"> <input class="um-form-field valid " type="text" name="'.$key.'" id="'.$key.'" value="'.$field_value.'" placeholder="" data-validate="" data-key="'.$key.'"> </div> </div>'; echo $html; } }
Forum: Fixing WordPress
In reply to: Multiple Distribution Lists With Contact Form 7 Plugin and SendGridDo you have any suggestion for a newsletter/service that allows the dynamic population on-demand of the list (via the meta data)? I’ve been trying to search for a robust and manageable solution for quite some time now.
Forum: Fixing WordPress
In reply to: Multiple Distribution Lists With Contact Form 7 Plugin and SendGridI thought I was using CF7 for registration but I forgot I recently switched to Ultimate Member and use those forms for registration. Not seeing an easy solution. Maybe hooks with the SendGrid API?