Mantzer
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Max Characters Post title ?hey
i’m looking for the exact same. how did you merge the two fields?
thanksForum: Plugins
In reply to: [Email Users] display post author namehey. thanks. fixed it in the meantime.
just added to email-users.php
function mailusers_replace_post_templates($text, $post_title, $post_author, $post_excerpt, $post_url) {
$text = preg_replace( ‘/%POST_AUTHOR%/’, mailusers_preg_quote($post_author), $text );and to email_users_notify_form.php:
$post_author = get_userdata( $post->post_author )-> display_name;$subject = mailusers_replace_post_templates($subject, $post_title, $post_author, $post_excerpt, $post_url);
$mail_content = mailusers_replace_post_templates($mail_content, $post_title, $post_author, $post_excerpt, $post_url);but really great plugin.
Forum: Plugins
In reply to: [Cartpauj PM] Message orderyou can do so by changing in pm-class.php
function getWholeThread($id)
“ORDER BY id ASC”
to “ORDER BY id DESC”Forum: Plugins
In reply to: [Cartpauj PM] thread lengthi need this since i’m trying to use the plugin as a “friends” list.
so if a user has replied to another user’s message they will be friends. therefore i need to figure out whether the recipient has sent an answer back.Forum: Plugins
In reply to: [WP-Members Membership Plugin] Excerpts won't show on blocked pagesHey
I had the same problem and found that
Open Graph Meta plugin causes the excerpts to disappear.Forum: Plugins
In reply to: [WP-Members Membership Plugin] keep custom fields requiredHey Chad. once again. amazing plugin. thanks a lot for the development!
Yes. i’m using Front End Users plugin to allow my members to change their profile after registration. But also in the backend the user can change /delete the previously provided information.
I don’t mind updating the information but want the fields to remain required.
does this somewhat clarify my question? thanks againForum: Plugins
In reply to: [Cartpauj PM] Messaging in Chromethanks.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] deactivate users functionsorry that was easy…
<?php update_user_meta( $user_id, $meta_key, $meta_value, $prev_value ) ?>Forum: Plugins
In reply to: [User Avatar] custom avatarsorry that was easy. but if anybody’s interested, this is what i’m using now:
$uploads = wp_upload_dir(); //WordPress upload path
$uploads_url = ( $uploads[‘baseurl’] ); //full url of upload dir
$uploads_dir = ( $uploads[‘basedir’] ); //full path of upload dir
$user_id = $post->post_author; //id of author (if used in loop)
$avatar_filename = user_avatar_avatar_exists($user_id ); //function from plugin$hash = md5(strtolower(trim($user->user_email)));
$uri = ‘https://www.gravatar.com/avatar/’ . $hash . ‘?d=404’;
$headers = @get_headers($uri);if (((preg_match(“|200|”, $headers[0])) || (file_exists($uploads_dir.’/avatars/’.$user_id .’/’.$avatar_filename))) {
…
}cheers.
Forum: Plugins
In reply to: [User Avatar] custom avatarthanks. this works great. now the only problem left is, that some users have set up a gravatar image and i need to check for that as well…