Search Results for 'questions'
-
AuthorSearch Results
-
April 13, 2010 at 9:26 pm #73394
In reply to: BP Album+ || New Features Requests and Discussion
foxlyParticipantFrom PM Re: “
Awesome thanks for your help. I just realized I wasn’t on the latest Beta version ( I thought I was)
The new versions automatic thumbnails works really awesome.
I am noticing one bug, in the activity stream (domain.com/activity)
It shows the picture and everything, but the link to them is not working right it has this URL:
http://domain.com/members/admin/album/single-media/6/
When I browse to the picture itself using the “media” tab the url that works should be:
http://domain.com/members/admin/album/single-album/1/single-media/6/M/
(it’s also sometimes O instead of M)
Any ideas why that would be happening? Is this the best place to post these type of questions?
…
The activity stream bug was reported by @connor-mccarra this morning. We’ll fix it in the next beta, out in a few days.
The “http://domain.com/members/admin/album/single-album/1/single-media/6/M/” where the suffix may be T, P, S, M, L, or O is the plugin automatically selecting the best image size to fit in your template.
It has to account for some users uploading very large images, and some users uploading very small images, resulting in there may or may not being various downsampled sizes in the cache. It uses a nearest-fit algorithm to determine which size is closest to “medium” and serves that image.
All of this will be configurable in the backend, allowing different sites to be optimized for say, photographers -vs- mobile phones.
^F^
April 13, 2010 at 9:09 pm #73384AntonParticipantExcellent topic!
I had it a bit differently when I started my first wpmu bp site. I was active on one of my country’s leading social networks when it was starting to fall apart. People were leaving everyday because the system was built on old software and no one seemed to care about support, etc. I then decided to create my own social network (similar to the popular one) and created my bp network taking 20 of the top networkers on the other site with me. The network has grown quite bigger than the first 20 members but I must admit it’s a slow process as others first wants to see what is in it for them.
To get back to the topic. Be active on the network and show your starting members how to use the network and all the benefits of your network. Also be sure to write “help” files as you won’t be around to answer everyones questions all the time. I’ve added a “feedback” floating bar button on the network where members can submit feedback /queries regarding the network to me.
I would like to add the Twitter and Facebook connection settings to the network but it doesn’t make sense as this network is country specific and on the registration page there’s a couple of fields that must be completed.
April 13, 2010 at 1:02 pm #73294In reply to: Avatar Upload Issues
bullitmagnetMemberI have been having a few problems with the avatars, the only ones that wants to work are the gravatars, which are fine but i want to offer my users something more, there are two questions that i would like to ask. The first is how do i get them to show? i have tried other peoples suggestions but nothing works, i do have GD Lib on the server, as i have used it for other projects so i know that isn’t a problem, what happens is i goto the change avatar part of my profile and try to upload it does upload to /wp-content/uploads/avatars/1 however the crop part dosent show any image at all, and other users have told me that this is happening as well. have you any ideas on how to fix this problem?
Also on a slightly less important note, i would like to change the default avatars that users can select, to fit in more with the theme of my site, is there a way to do this? I have a few created that i would like to use for members to choose from IF i can get this to work.
April 13, 2010 at 10:23 am #73274XevoParticipant@ Warzan
I’m all for earning money on plugins/templates but I don’t want people offering their services on this forum, this forum is for questions about the main software, buddypress. If people want to earn for their efforts place it on your own blog for example or be like wpmu dev and ask a subscription fee.
O yeah. https://wordpress.org/extend/plugins/wp-postratings/
And I did add something to the topic, that it’d be more interesting if the plugin would support rating/voting on all components.
April 12, 2010 at 5:30 pm #73024newbie999ParticipantHello again. I posted this question on a new topic, no responses. I’ll try asking the question here since I have received responses on this thread. Thank you. Here goes:
I added the code below in wp-content/plugins/buddypress/bp-themes/bp-default/members/members-loop.php, to display additional profile fields in the member directory and to display the member’s role (either ‘Subscriber’ or ‘Provider’). In the code below, I specifically checked for the user’s role to determine whether I need to display ‘Subscriber’ or ‘Provider’.
Questions:
– is there a way to check for the capability instead – i.e., if the user can ‘edit posts’ then I will display ‘Subscriber’, otherwise I will display ‘Provider’? If so, can you please let me know how to do that as I have not been able to figure it out.
– is there a way to display a newline so that ‘Subscriber’ or ‘Provider’ will display on the next line, below the member’s title and company name. I tried to echo “n” but it’s not outputting a newline and I have no idea why.
Thank you for the help.
<?php
/***
* If you want to show specific profile fields here you can,
* but it’ll add an extra query for each member in the loop
* (only one regadless of the number of fields you show):
*
* bp_member_profile_data( ‘field=the field name’ );
*/
if( bp_get_member_profile_data ( ‘field=Title’ ) )
echo bp_member_profile_data( ‘field=Title’ ), ‘ (‘, bp_member_profile_data( ‘field=Company’ ), ‘)’, ‘ – ‘;
$user = new WP_User( bp_get_member_user_id() );
if ( $user->roles[0] == ‘subscriber’ )
echo ‘Subscriber’;
else
echo ‘Provider’;
?>
April 12, 2010 at 5:30 pm #73124newbie999ParticipantHello again. I posted this question on a new topic, no responses. I’ll try asking the question here since I have received responses on this thread. Thank you. Here goes:
I added the code below in wp-content/plugins/buddypress/bp-themes/bp-default/members/members-loop.php, to display additional profile fields in the member directory and to display the member’s role (either ‘Subscriber’ or ‘Provider’). In the code below, I specifically checked for the user’s role to determine whether I need to display ‘Subscriber’ or ‘Provider’.
Questions:
– is there a way to check for the capability instead – i.e., if the user can ‘edit posts’ then I will display ‘Subscriber’, otherwise I will display ‘Provider’? If so, can you please let me know how to do that as I have not been able to figure it out.
– is there a way to display a newline so that ‘Subscriber’ or ‘Provider’ will display on the next line, below the member’s title and company name. I tried to echo “n” but it’s not outputting a newline and I have no idea why.
Thank you for the help.
<?php
/***
* If you want to show specific profile fields here you can,
* but it’ll add an extra query for each member in the loop
* (only one regadless of the number of fields you show):
*
* bp_member_profile_data( ‘field=the field name’ );
*/
if( bp_get_member_profile_data ( ‘field=Title’ ) )
echo bp_member_profile_data( ‘field=Title’ ), ‘ (‘, bp_member_profile_data( ‘field=Company’ ), ‘)’, ‘ – ‘;
$user = new WP_User( bp_get_member_user_id() );
if ( $user->roles[0] == ‘subscriber’ )
echo ‘Subscriber’;
else
echo ‘Provider’;
?>
April 12, 2010 at 4:36 pm #73002In reply to: BP Album+ || New Features Requests and Discussion
foxlyParticipant@Gene53, @ajohnson, @Tosh, @coffeeholic
Okay, clearly there’s something wrong in the plugin code, so I’m going to have to figure out:
a) What your systems have in common, and
b) What’s different between your systems and my system (because obviously it works on my system …lol).
So, some questions for all four of you:
1) What OS is your server running on (linux, windows, etc)
2) What OS is your browser operating on?
3) What browsers have you tried, and what happened in them (Opera, Safari, FireFox, IE, and Chrome)
4) What version of WP are you using. Is it single or MU?
5) Do you have any other plugins running? What are they? Does it still crash when you disable them?
6) Can you please post a copy of your wp error log file. Located in the /wp-admin/er-logs/ directory.
7) Can you please post a copy of your apache error log file. If you’re testing on xampp it’s located in xampp/apache/logs/error.log If you’re testing on a web host, you’ll need to download or ask them for a copy.
If you guys give us good debugging info, hopefully we can get this nailed in a couple of hours.
Thanks!
^F^
April 12, 2010 at 4:36 pm #73102In reply to: BP Album+ || New Features Requests and Discussion
foxlyParticipant@Gene53, @ajohnson, @Tosh, @coffeeholic
Okay, clearly there’s something wrong in the plugin code, so I’m going to have to figure out:
a) What your systems have in common, and
b) What’s different between your systems and my system (because obviously it works on my system …lol).
So, some questions for all four of you:
1) What OS is your server running on (linux, windows, etc)
2) What OS is your browser operating on?
3) What browsers have you tried, and what happened in them (Opera, Safari, FireFox, IE, and Chrome)
4) What version of WP are you using. Is it single or MU?
5) Do you have any other plugins running? What are they? Does it still crash when you disable them?
6) Can you please post a copy of your wp error log file. Located in the /wp-admin/er-logs/ directory.
7) Can you please post a copy of your apache error log file. If you’re testing on xampp it’s located in xampp/apache/logs/error.log If you’re testing on a web host, you’ll need to download or ask them for a copy.
If you guys give us good debugging info, hopefully we can get this nailed in a couple of hours.
Thanks!
^F^
April 12, 2010 at 11:48 am #72842In reply to: Subdomain support in BP
Paul Wong-GibbsKeymasterRight place, but there’s lots of people with questions here and only so many answers and time to answer them.
I’m assuming that you’re using BP Default theme on a blog which is not the main blog on a WPMU install?
April 12, 2010 at 11:48 am #72942In reply to: Subdomain support in BP
Paul Wong-GibbsKeymasterRight place, but there’s lots of people with questions here and only so many answers and time to answer them.
I’m assuming that you’re using BP Default theme on a blog which is not the main blog on a WPMU install?
April 12, 2010 at 3:52 am #72809NahumParticipant@jivany oh yea wpmu. so all i need to do is turn on the create a blog option and all my members will automatically have blogs….and they’ll have non-editable username domains? Sounds too good to be true.
my questions were more for getting legacy members outfitted with blogs after the fact. I don’t want to turn on the create a blog option just yet, i’m actually working towards bundling the option into 1. User signs up and they auto have a blog with their user name as their domain. I know i could remove the “just a username” button leaving the gimme a blog and that I think auto gives the user a blog with username as domain. that’s all good…
I’m refering to mass editing all those older members to give them blogs, without having to do it 1×1 or asking them to do it. there’s a couple of premium plugins that sound my do the trick but I just don’t know if they create blogs for existing members.
I’ve been to the mu forums…just trying to see if anyone here has tried something like this.
April 12, 2010 at 3:52 am #72909NahumParticipant@jivany oh yea wpmu. so all i need to do is turn on the create a blog option and all my members will automatically have blogs….and they’ll have non-editable username domains? Sounds too good to be true.
my questions were more for getting legacy members outfitted with blogs after the fact. I don’t want to turn on the create a blog option just yet, i’m actually working towards bundling the option into 1. User signs up and they auto have a blog with their user name as their domain. I know i could remove the “just a username” button leaving the gimme a blog and that I think auto gives the user a blog with username as domain. that’s all good…
I’m refering to mass editing all those older members to give them blogs, without having to do it 1×1 or asking them to do it. there’s a couple of premium plugins that sound my do the trick but I just don’t know if they create blogs for existing members.
I’ve been to the mu forums…just trying to see if anyone here has tried something like this.
April 12, 2010 at 2:31 am #72797jivanyParticipantBasically, check your register.php main loop and only show the groups you want to show.
You’re looking for the while loop after the bp_is_active( ‘xprofile’ ) call.
Within the loop, you can filter out groups by doing a simple if check using
if (bp_the_profile_group() == "group number")
where group number is the number of the group you want to show.Similar sort of idea in this thread: https://buddypress.org/forums/topic/profile-fields-questions
April 12, 2010 at 2:31 am #72897jivanyParticipantBasically, check your register.php main loop and only show the groups you want to show.
You’re looking for the while loop after the bp_is_active( ‘xprofile’ ) call.
Within the loop, you can filter out groups by doing a simple if check using
if (bp_the_profile_group() == "group number")
where group number is the number of the group you want to show.Similar sort of idea in this thread: https://buddypress.org/forums/topic/profile-fields-questions
April 10, 2010 at 9:58 am #72646In reply to: Paid membership and subscription plugins
akingston47ParticipantI’m pretty new to Buddypress but thinking about implementing S2Member as well. It looks very good but one thing I’m trying to do is allow my premium members to display more information about themselves than free members.
I think I might be able to restrict free members from accessing a certain field group in their profile so that they just can’t submit the particular details such as Location and Occupation but that seems a little messy.
I’m trying to setup a directory based site for Alternative Therapists such as Reflexologists, Nutritional Therapists, Accupunctuists, Yoga Teachers, etc, etc. I’m doing it for a client and she really likes the idea of having a social network side to the site as well because the therapists will be interested in networking with eachother and their potential clients (free members) will also be able to find them and ask questions or just read what they have to say.
Unfortunately, however, because the search functionality in Buddypress seems quite limited not only is it difficult to narrow down a search for a particuar kind of therapist in a particular location, but it also doesn’t seem possible using S2Member to show only premium members.
I’m thinking I might either have to scrap the idea of using Buddypress or else integrate separate directory pages but if I do that it probably won’t be very easy to tie their details for each system together.
Sorry for the long post – but said it was best to explain it fully to see if anyone has any experience of trying to do something similar or has any good advice.
April 6, 2010 at 10:18 pm #72094In reply to: Adding an Activity Stream into any page
jordashtalonMemberOh and how would you limit the amount of activity shown?
Is there a post which discusses the type of questions i’m asking? I couldn’t find one.
April 6, 2010 at 7:06 pm #72055April 6, 2010 at 6:30 pm #72048April 6, 2010 at 2:56 pm #72017dre1080Membercool, thanks! 2 more questions
1) how do you get to show a list of all the tracks that have been posted?? not the activity but just the tracks..can this be done?
2) any idea if i wanted it to pick up when i wrote a ‘#’ in the post form?? like i wrote #artist and it turns the #artist into a link for that artist..? like how the @ mention works…
April 5, 2010 at 3:15 pm #71809Jeff SayreParticipantLots of questions to address, so I’ll do it in the order they were posed.
On the BP install I’m currently working on, the following long list of plugins (all of which seem to be working flawlessly activated non-sitewide) do not even offer the option for Site-wide Activation.
Is there a reason (or reasons) for that? Is there any possible downside? Or are they fine the way they are?
These plugins should work fine whether or not they are activated sitewide. However, there are two reasons why a BP plugin should be tagged to activate sidewide automatically:
- Because they are BuddyPress-dependent plugins and require BuddyPress to work. Since Buddypress operates sitewide, then all add-on plugins are sitewide-acting by implicit reference.
- By virtue of the first point, only Site Admins should have access to any plugin configuration. Offering all members with blogs access to these BP-dependent plugins in their admin dashboard only creates confusion as these plugins are for BuddyPress only and not for WordPress blogs.
______________
So for clarity if one adds ‘Site Wide Only: true’ to pluginin files main description then it forces site wide activation regardless of whether one chooses to activate normally non site wide
This is correct. When the Site Wide Only tag is set to true, it does not matter which activation link is clicked as either action will result in sitewide activation. In fact, for all BP plugins I test, I simply click the “Activate” link right under the plugin name and not the “Activate Site Wide” link. If the plugin then shows under the Site Wide listing of plugins, I move on. If it does not, then I know that the plugin author failed to set the tag properly.
Edit/ found a plugin that already had ‘Site Wide Only: true’ set yet does not activate site wide using the plain activate link placing it self in the site wide section unlike bp-links. Is there something else that must be set to enable the site wide activation link or the ability to force the plugin to activate site wide?
Not that I am aware. It might be that the plugin has two Site Wide Only tags and there is a conflict. To which plugin do you refer?
______________
Still unsure if I should add this tag to my plugin header. Shouldn’t it be up to the site admin to decide how the plugin is activated?
See my response in this post to @stwc. Since your plugin requires BP to operate, there is no value in letting non-admin members have access to your plugin via their blog dashboard. The more you can do to make installation, activation, and operation of your plugin foolproof the better. Is there actual functionality that your plugin offers if activated non-sitewide? What features of your plugin even make non-sitewide activation a desirable option to Site Admins?
______________
In an ideal world I would like BP installed much as is but described differently but along with BP are installed a series of modules that can be activated or not by admin but that these are only activated from within BP so to speak always sitewide as BP is these modules representing some essential core set of features
I agree completely. I always refer to BuddyPress as a plugin suite but that never sat quite right with me. BuddyPress is a feature-rich platform as far as I’m concerned. It transcends the idea of a simple WordPress plugin. I also agree that many of the BP “plugins” are best described as modules as well. In fact, I consistently refer to my privacy “plugin” as the BuddyPress Privacy Component to separate it from the idea of it being just another plugin.
I could see the possibility of BuddyPress modules having their own set of 3rd-party plugins. So BuddyPress > 3rd-party BP modules > 3rd-party module plugins.
I also like your idea of requiring that all BP-dependent “plugins” get activated within a BuddyPress dashboard–instead of outside of BP. That could take care of all activation conflicts.
In my version of an “ideal BP world”, BuddyPress would become the foundation of the WordPress ecosystem as it is a user-centric platform and not blog centric. WordPress then would be a layer that sits on top of BuddyPress and could be activated if desired. So, Site Admins would install BuddyPress and then could check a box to install WordPress (in single or multisite mode), bbPress, and other modules.
Now I’m taking this thread too far of topic.
April 4, 2010 at 8:35 pm #71726In reply to: How to hide "Base" group in the edit profile panel?
Gene53ParticipantHi Brajesh,
Thank you, everything works fantastically well and I’m really grateful that you went out of your way to help me out.
Thanks again,
Gene
p.s. I read other similar questions on these forums and I hope this thread will help out other members.
April 4, 2010 at 1:43 am #71653In reply to: FAQ: How To, Code Snippets and Solutions
jivanyParticipantRedirect to User’s Profile Page on Login
Place the following snippet in either wp-content/plugins/bp-custom.php or in your child theme’s functions.php file.
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->id);
return $redirect_to;
}
add_filter('login_redirect', 'oci_login_redirect', 10, 3);From https://buddypress.org/forums/topic/two-questions-about-the-login-process#post-8380
(alternate method)
Use Brajesh’s plugin (which does basically the same thing as above):
https://wordpress.org/extend/plugins/bp-redirect-to-profile/
April 4, 2010 at 1:39 am #71652In reply to: Redirecting to profile page after login
jivanyParticipantSearching works but so does following tags.
https://buddypress.org/forums/topic/two-questions-about-the-login-process#post-8380
April 3, 2010 at 5:50 pm #71597In reply to: Profile Fields Questions
GianfrancoParticipantjivany, thanks a lot for taking an interest in this. I appreciate.
I eventually ended up re-arranging things to have the best with what BP provides (limitations?).
But I will test the above code and see if I get want I wanted.
I’ll report later.
Thanks.
April 3, 2010 at 5:26 pm #71592In reply to: Profile Fields Questions
jivanyParticipant@gian-ava: For your second question, check out this post https://buddypress.org/forums/topic/faq-how-to-code-snippets-and-solutions#post-13243
I haven’t tried this but it would suggest you could do something like:
<?php if ( bp_has_profile('profile_group_id=9') || bp_has_profile('profile_group_id=7') ) : ?>
<?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
<div id="widget1">
<?php if (bp_the_profile_group() == "9") : ?>
// Do whatever you want with group 9
<?php endif; ?>
<?php if (bp_the_profile_group() == "7") : ?>
// Do whatever you want with group 7
<?php endif; ?>
</div>
<? endwhile; ?>
<?php endif; ?>The only part I’m not sure about is if you need the first call to bp_the_profile_group() on the second line (after the start of the while loop).
-
AuthorSearch Results