Forum Replies Created
-
Author
-
December 12, 2013 at 19:35 in reply to: Avatar thumbnails are actually resized full size images #8159CenkParticipant
Hi Robert,
I updated the theme. The thumbnails however are still in full size.
I get this report from gtmetrix.comServe scaled images
– resized in HTML or CSS from 580×580 to 93×93. Serving a scaled image could save 85.0KiB (97% reduction).Locations: Latest members carousel, members widgets, and activity stream avatars.
And the page load time is 5.87s. I want to reach the 2 seconds loading time.
I’m using Cloudflare and WP Super cache. Doesn’t help that much.November 20, 2013 at 01:46 in reply to: Avatar thumbnails are actually resized full size images #6957CenkParticipantThe locations are:
Homepage, activity streams page, member profile page, and member directory page (search page).November 16, 2013 at 00:30 in reply to: Avatar thumbnails are actually resized full size images #6749CenkParticipantSorry for the delay. I had some problems with the server.
The avatars can be found in
http://www.thelovetub.com/wp-content/uploads/avatars/…….….-bpfull.jpgCenkParticipantThese updates:
‘friendship_created’ = “…..are now friends”
new_avatar= changed their profile picture
new_member = became a registered member
CenkParticipantI edit the bp-album.pot file in Poedit. Then placed ‘bp-album-en_US.mo’, ‘bp-album-en_US.po’, and ‘bp-album-en_US.pot’ in the sweetdate/framework/inc/bp-album/languages folder. Still no effect. What am I doing wrong? I also placed ‘define(‘WPLANG’, ‘en_US’);’ in wp-config.php.
CenkParticipantI installed the plugin. Still no results. Can you help me to find it? Thank you very much.
And how can I hide ‘friendship_created’, ‘new_avatar’, ‘new_member’. from the active wall?
CenkParticipantI couldn’t find the plugin path.
Can you also help to remove “uploaded a new picture:” (text) from the activity wall. . The text can be found in Languages, file: “en_US”. I did a Poedit edit. No changes unfortunately.
CenkParticipantThanks again. I’m almost there. ‘field_1’ must be the same as the username like the passwords.
——————–general-register-modal.php——————–
<div class=”six columns”>
<input type=”text” id=”reg-username” name=”signup_username” class=”inputbox” required placeholder=”<?php _e(“Username”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”text” id=”fullname” name=”field_1″ class=”inputbox” required placeholder=”<?php _e(“Confirm Username”, ‘kleo_framework’);?>”>
</div>
<div class=”twelve columns”>
<input type=”text” id=”reg-email” name=”signup_email” class=”inputbox” required placeholder=”<?php _e(“Your email”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”reg-password” name=”signup_password” class=”inputbox” required placeholder=”<?php _e(“Desired password”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”confirm_password” name=”signup_password_confirm” class=”inputbox” required placeholder=”<?php _e(“Confirm password”, ‘kleo_framework’);?>”>
</div>————–Register.php —————–
<label for=”signup_username”><?php _e( ‘Username’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php do_action( ‘bp_signup_username_errors’ ); ?>
<input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” />———————————–
If it’s not possible I’ll try another solution. http://buddypress.org/support/topic/email-login-randomized-user-urls-solution/ Can you help me to find the file called usernameGen.js ? I can’t find it.
CenkParticipantThank you very much. Can you help me with the username?
I’ld like to change ‘Your Full name’ to ‘ Confirm Username’ But they must match like filling the password fields. Any Ideas how?
Sign-up field should look like this:
[ Username ] [Confirm Username] (Confirm Username = Name=Your Full Name)
[ your Email ]
[ Desired Password] [Confirm Password]CenkParticipantThe results are acting weird again. How can I replace ‘+show more’ instead of the pages? So to see more results I have to scroll down…like the activity wall.
CenkParticipant@Sqadmin
It works 🙂 I removed the cache files. Thanks
@Fatima
Thanks. I came up with an idea for the username but don’t know how to execute it.I’ld like to change ‘Your Full name’ to ‘ Confirm Username’ But they must match like filling the password fields. Any Ideas how?
Sign-up field should look like this:
[ Username ] [Confirm Username] (Confirm Username = Name=Your Full Name)
[ your Email ]
[ Desired Password] [Confirm Password]CenkParticipantThere is also a problem with the search results. If I go to the second search results page I get random results.
Example:
Searching for Female..
Search results Page 1…Females..
Search results Page 2…Males and Females.October 19, 2013 at 20:43 in reply to: Redirecting WordPress's Login page to a custom login page. #4657CenkParticipantThank you very much
October 12, 2013 at 20:51 in reply to: Redirecting WordPress's Login page to a custom login page. #4291CenkParticipantThat would be great:) I would like to update without losing the editing files. Is that possible? I
And is there a link for the popup login? I can’t find it. Thank you very much.October 12, 2013 at 18:44 in reply to: Redirecting WordPress's Login page to a custom login page. #4268CenkParticipantThis reply has been set as private.October 12, 2013 at 06:46 in reply to: Redirecting WordPress's Login page to a custom login page. #4250CenkParticipantThis code doesn’t work either
add_action(‘init’,’custom_login’);
function custom_login(){
global $pagenow;
if( ‘wp-login.php’ == $pagenow ) {
wp_redirect(‘http://thelovetub.com/’);
exit();
}
}CenkParticipantAlso the BP Album visibility is complicated. I want that change that also.
Public
Registered members (disable or hide)
Only friends
Private
Hidden (admin only) (disable or hide)CenkParticipantI can’t find the file. I can change the names, no problem. But I’ld like to remove two options. It’s unnecessary and not user friendly.
So this is what I want.
——–Who can see this field?———
Public
Friends
Just meRemoving
Logged In Users
Admins Only———–Instead of—————–
Public
Public
Nobody
Friends
NobodyCenkParticipantThank you,
But I would like the hide the “Admins only” function. Can you help me to track the code? Or build a different class name so I can hide it with the “display: none;’ code .I don’t know where to find it.
CenkParticipantTheme my Login plugin works. But when the users are logged in they still have access to the dashboard via wp-admin. I would like to disable that. Is that possible?
CenkParticipantYes, I found the labels. The non-logged buttons are fixed now. But I can’t find the “private message” part in the logged in part. I’ll check the link.
CenkParticipantThe error vanished when I paste the code again. I managed to change the friend button labels..but only when logged in..
I couldn’t change the logged out labels. Also I would like to change “Private Message” to “Message” I could’t find it.——when logged in..en logged out—–
(button1)
[+ Add Friend] [Cancel Request] [Remove Friend](button2)
Message (instead of Private Message)——-
Thanks again:)
CenkParticipantI’ve tried to fix the labels but it didn’t work, so I did a functions.php reset. Now the website is acting weird again (logo and revolutionslider disappears after 5 seconds ). It has to do with the permalinks. I don’t know how to fix the error.
CenkParticipantThe profile links on the profile page.
—–Example —–
Name: Something (linked)
Place: Something (linked)
Etc.When I click on it I get the search result page.
CenkParticipantIf fix it. Did a code change at line 25 ( <div class=”list”>) then customised it with css. But I still can’t remove the profile links.
I tried both:
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 120 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 120 ); //change this with your desired thumb heightif ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
define( ‘BP_AVATAR_FULL_WIDTH’, 580 ); //change this with your desired full size,weel I changed it to 260if ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
define( ‘BP_AVATAR_FULL_HEIGHT’, 580 ); //change this to default height for full avatardefine( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘members’ );
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action(‘bp_setup_globals’, ‘remove_xprofile_links’);?>
Or
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 120 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 120 ); //change this with your desired thumb heightif ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
define( ‘BP_AVATAR_FULL_WIDTH’, 580 ); //change this with your desired full size,weel I changed it to 260if ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
define( ‘BP_AVATAR_FULL_HEIGHT’, 580 ); //change this to default height for full avatardefine( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘members’ );
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );?>
CenkParticipantYes, I found the plugin. It’s called: BuddyPress Friends On-line (FOL). Now the results are working again:) Thanks.
I would like to display the group directory as a list. Is there an easy way to do that? Or do I’ve to work with css? You told me to look in the group-loop.php But It’s already written as a group-list. Take a look.
————Group-Loop.php—————————-
<?php
/**
* BuddyPress – Groups Loop
*
* Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
*
* @package BuddyPress
* @subpackage bp-default
*/?>
<?php do_action( ‘bp_before_groups_loop’ ); ?>
<?php if ( bp_has_groups( bp_ajax_querystring( ‘groups’ ).”&per_page=”. apply_filters(‘kleo_bp_groups_pp’, 12) ) ) : ?>
<?php do_action( ‘bp_before_directory_groups_list’ ); ?>
<div id=”groups-list” class=”item-list search-list” role=”main”>
<?php while ( bp_groups() ) : bp_the_group(); ?>
<div class=”four columns”>
<div class=”search-item”><div class=”avatar”>
“><?php bp_group_avatar( ‘type=thumb&width=94&height=94&class=’ ); ?>
</div><div class=”search-meta”>
<h5 class=”author”>“><?php bp_group_name(); ?></h5>
<p class=”date”><?php printf( __( ‘active %s’, ‘buddypress’ ), bp_get_group_last_active() ); ?></p>
</div>
<div class=”search-body”>
<div class=”item-desc”><?php bp_group_description_excerpt(); ?></div><?php do_action( ‘bp_directory_groups_item’ ); ?>
</div>
<br>
<div class=”action”>
<?php do_action( ‘bp_directory_groups_actions’ ); ?>
<div class=”meta”>
<?php bp_group_type(); ?> / <?php bp_group_member_count(); ?>
</div>
</div>
<br>
</div>
</div><?php endwhile; ?>
</div>
<?php do_action( ‘bp_after_directory_groups_list’ ); ?>
<div id=”pag-bottom” class=”pagination”>
<div class=”pag-count” id=”group-dir-count-bottom”>
<?php bp_groups_pagination_count(); ?>
</div>
<div class=”pagination-links” id=”group-dir-pag-bottom”>
<?php bp_groups_pagination_links(); ?>
</div>
</div>
<?php else: ?>
<div id=”message” data-alert class=”alert-box”>
<?php _e( ‘There were no groups found.’, ‘buddypress’ ); ?>
</div><?php endif; ?>
<?php do_action( ‘bp_after_groups_loop’ ); ?>
CenkParticipantThank you for the help. I will ask Hostgator for recommendations.
The search results page is not functioning right. I don’t know why. Example: when I find a result the page says: “Your search returned 1 member” But instead of displaying the search results the page shows me all the members. Let me know if you need more info, or if I need to copy paste a code.
CenkParticipantThank you for the answers. I’ll work on it. I have problem with the search results. When I search something specific (like my name) I get all the results. This problem appeared before the adjustments. It worked a few weeks ago. But now it’s bugging.
And do you know how to speed up the website? I did a zlib Compression en activated the wp super cache plugin. It works..is much faster. But how to increase more speed.
Cheers
-
AuthorPosts