Search Results for 'wordpress'
-
Search Results
-
hi,
i am using latest version of wordpress and buddypress.
in site, i want the users to know who is admin of website.
so i decided to create a small box under profile picture, which should say the current user role.
(just like the one, here on buddypress)(you can see my user role as Member)(Participant)(Moderator)…1 – i created a css property :
.buddypress-under-avatar-img-txt {height:auto;width:90px;background:green;border:1px;color:black;padding-bottom:3px;text-align:center;}2 – copy/paste ” cover-image-header.php ” file
From:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single
To:
wp-content/themes/my-theme/buddypress/members/single3 – and added my code on line 27:
<?php bp_displayed_user_avatar( 'type=full' ); ?> <div id="buddypress-under-avatar-img-txt"> <?php if (current_user_can('administrator')) ?> <br /><p <?php printf ('Admin of site'); ?> </p> </div>but the box is not showing.
can anyone please help me on this? which part of my code is wrong? how can i correct it?any help would be appreciated.
Topic: Social connect & Buddypress
Hi everybody,
I use the last version of WordPress and Buddypress and this is the issue reported :
When I connect to my website via Facebook sometimes I’m connected and sometimes I’m not and I am forced to refresh the page so that to be connected…
This the answer of my author theme : This usually happens because of caching, unfortunately there is not much we can do about it as we’re using BuddyPress member system for everything.
Thanks for your help.
ChrisI have a Japanese site that uses an IDN (International Domain Name) with Unicode characters. BuddyPress works fine, except when emails go out that contain links back to the site, such as {{{activate.url}}} the URL that shows up in the email is the Punycode version of the domain, not the Unicode characters (all Unicode IDNs have an ASCII encoding called “Punycode”). This isn’t recognizable to the end user and even worse, some email clients (Outlook in my case) display a security warning about the IDN link suggesting it might be a suspicious link – not exactly the experience I want for people just signing up for my site.
I want to try making activate.url use the Unicode characters to see if that makes the warning go away. If that doesn’t work I’d like to replace the Punycode url with an ascii domain that redirects to the Unicode one so at least the warning goes away. Is there any way to (1) modify how activate.url behaves, (2) create custom tokens, or (3) post process the whole email text after it is built so I can just find/replace the Punycode domain text?
In my research I don’t see any way to do any of the above. I saw there are some hooks before/after the header and footer are created but not sure if I have access to the HTML or text email content. I’d think 3 should be possible but I don’t know that much about WordPress/BuddyPress or PHP to even know where to start.
Hello,
As far as I understand on the learndash edit group section in wordpress I can select which member types I add automatically to that group.
Is it correct?
A group I created says that has 7 members but only 2 have access to it.
Am I missing something?rather a bummer…
i’m running wordpress 4.7, buddypress 2.7.4.
my theme is klean, though the same issue exists with
twenty seventeen theme.any cover photo plugin i’ve tried does not help
does this say anything to anyone?
thank you
I have a problem concerning Wishlist Member and Buddpress.
The custom post types forums, topics and replies are protected by wishlistmember and the respective WLM levels are applied to them. Regarding general forums (bbPress) the pagination and protection works very well as expected but not in Buddypress group forums.Unfortunately members can not access the second or any other than the first page of a group forum topic (Buddypress). If a member (who has no admin rights) clicks on [2] or [->] of the pagination, they always get the first page displayed although the permalink is correct and the URL states that they are apperantly on page 2.

As soon as I deactivate wishlistmember, the pagination in the group forums works as expected and all pages of a topic can be accessed.
As group forum is a key feature in my closed community, I kindly request help to get this fixed.
I tested it on a subdomain with Twenty sixteen and all plugins disabled except:
WordPress 4.7.1
bbPress 2.5.12
BuddyPress 2.7.4
WishList Member 2.91.3153I appriciate your afforts and any information I can pass to the WLM developers why this isn’t working as it should be.
Thank you very much
Philipp
Buddypress version: 2.3.2.1
Wordpress version: 4.2.10
Theme: KleoI’m using the activity loop for show the groups activity_update with this parameters:
$params = array(
'scope' => 'groups',
'object' => 'groups',
'action' => 'activity_update'
);if ( bp_has_activities( bp_ajax_querystring( 'activity' ). '&' .http_build_query($params) ) ) :
All works ok, but now i want to show only one group per comment.
In other words, show the last activity update of every group and no repeat groups in a loop.¿How can i do that?
Thank’s
Topic: Hide members
Topic: Function
This function of a plugin
function wpjj_run_script() {
$post_id = get_the_id();
$file_url = get_post_meta($post_id, ‘custom_file’, true );
$site_parameters = array(
‘file_url’ => $file_url,
‘plugin_url’ => plugins_url(),
‘theme_directory’ => get_template_directory_uri(),
‘post_id’ => $post_id,
);
wp_localize_script( ‘customjs’, ‘wpjj_var’, $site_parameters );
}
add_action( ‘wp_footer’ , ‘wpvr_run_script’ );add_action( ‘comment_form_logged_in_after’, ‘additional_fields’ );
add_action( ‘comment_form_after_fields’, ‘additional_fields’ );Customize the wordpress default comment system
what can i do to run the same function so it can replace buddypress default comment systemI am a newbie in php
Thanks in advanceTopic: Buddypress plugin issue
I could not login to my wordpress admin, i find out its buddypress plugin causing it.
I need the buddypress plugin for forum feature.
How can get this fixed?I also receive below message when i try to visit a page “community” Kindly assist to fix it.
Index of /community
Parent Directory
Apache Server at lovepikin.com Port 80I’ve been troubleshooting this for a while. And I noticed that many web owners are screaming the same thing. Whenever a user posts on their activity stream, the timestamp is always “2 hours ago.” I’ve changed my time settings in the dashboard to UTC+2, I’ve changed themes, and it still posts “2 hours ago.”
This seems to have been an issue for years. I know there has to be a fix to this. Because it is taking away from Buddypress and it’s overall functionality. And I can’t launch my site with it working like this.
Troubleshooting I’ve done:
*Theme change
*time settings change
*deactivated all pluginsBuddyapp child theme
Wordpress
4.7.1Buddypress
2.7.4Topic: Hastag filter search
Hello there..
I am newbie in buddypress, can anyone help me in this:
I am using this plugin for hashtagin https://rup.wordpress.org/plugins-wp/buddypress-activity-stream-hashtags/
Its working fine, but I want to show #hashtag filter on site. So when anyone can search particular #hashtag it will display the result for that #hashtag only. I know there must be a way which I can’t find.
Thanks you in advance.
Buddypress version: 2.3.2.1
Wordpress version: 4.2.10
Theme: Kleo¿ Is there any way to add a category group word to groups permalink like ‘products’ or ‘companies’ ?
Example:
https://www.mywebsite.com/groups/<strong>products</strong>/mi-group-slug https://www.mywebsite.com/groups/<strong>companies</strong>/mi-group-slug https://www.mywebsite.com/groups/<strong>communities</strong>/mi-group-slugThank’s
Topic: Avatar Images to grey scale
I am trying to use the following code to turn user avatars to greyscale.
It has never worked, but I am not sure why. I can do it temporarily via CSS, just to show how it will look (that’s not an issue) but would prefer the actual avatars to be greyscale
Please help//Convert to greyscale add_filter('xprofile_avatar_uploaded','rb_bw_filter', 10, 2); function rb_bw_filter($meta) { // $path = wp_upload_dir(); // get upload directory // $file = $path['basedir'].'/'.$meta['file']; // Get full size image $file = bp_core_fetch_avatar(array('item_id' => $other_user, 'type' => 'full','html'=>false)); $files[] = explode(',' ,$file); // Set up an array of image size urls // foreach ($meta['sizes'] as $size) { // $files[] = $path['path'].'/'.$size['file']; // } foreach ($files as $file) { // iterate through each image size // Convert image to grayscale credit to http://ottopress.com/2011/customizing-wordpress-images/ list($orig_w, $orig_h, $orig_type) = @getimagesize($file); $image = wp_load_image($file); imagefilter($image, IMG_FILTER_GRAYSCALE); switch ($orig_type) { case IMAGETYPE_GIF: imagegif( $image, $file ); break; case IMAGETYPE_PNG: imagepng( $image, $file ); break; case IMAGETYPE_JPEG: imagejpeg( $image, $file ); break; } } return $meta; }Hi there,
Sorry about my bad english, it isn’t my native language…
I’d like to build a professional network. As you can Imadgine, it is not really serious to see username with things like Alligator33….I use the last version of wordpress and and BuddyPress. Since 2 days, I tried many solutions founded on the net but without result, and that’s become to make me crazy !
Do you have a definitive solution to fix it.
If not, wich way, other wordpress, could be the best way for creating professional a network
Thanks a lot
FrankHi,
I installed BuddyPress Default Data plugin to add a few dummy data and users to my website to check. After I cleared all dummy data, it also deleted my admin account and I can’t log in to my account anymore !!
would you please someone help me know how to resolve this issue ?
Thanks