Search Results for 'buddypress'
-
AuthorSearch Results
-
April 7, 2010 at 2:45 am #72137
In reply to: Plugin Release: BuddyPress Group Wikis
Erlend
ParticipantFor those interested or already invested in GroupWiki’s future, you should really come by the plugin forum and check out this discussion:
http://namoo.co.uk/groups/bpgw-feature-requests/forum/topic/blogwiki-vs-customwiki-pros-cons/
Your input could shape the plugin’s future
April 7, 2010 at 2:15 am #72134In reply to: Buddypress gifts component
deities1
MemberSounds good! I would sift through the code and attempt to fix it myself but I’m working on something else at the moment. Let us know what to fix when you figure it out.
April 7, 2010 at 1:57 am #72130In reply to: How do you show a member's total post count?
snark
ParticipantThanks @boonebgorges — I got it partially working, but then got stuck. I put the function as is above in my functions.php file, and added this to member-header.php:
<p><?php echo get_activity_count_by_user( bp_current_user_id() ) ?> Forum posts</p>This returned ALL posts for a user, including blog posts. Obviously, based on the text I added above, I only want to include Forum posts (should include both Topics and Replies). I looked at the page you suggested — https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ — but I couldn’t figure out how or where to implement the filter: what syntax, and where does it go, in the function or in the call-out?
Also: Using “bp_current_user_id() ” allows the post count to display on the user’s profile page, but how do I display the post count on a different page, such as /single/forum/topic.php, the Forum topics display page, where “bp_current_user_id()” is no longer applicable? On that page I’d like to put a user’s post count in parenthesis next to the user, like this: “John Doe (54 posts)”. That way when you scanned the list of Replies to a Topic, you would quickly see if a user was a long-term and/or hardcore user or a noob based on the number of posts they have contributed to the site, and I’m hoping that little ego boost will help nudge people into posting more frequently. Does that make sense?
Thanks again for all your help.
April 7, 2010 at 1:41 am #72129In reply to: Buddypress gifts component
warut
ParticipantThanks detities1
I see the point, I will check it.
April 7, 2010 at 1:30 am #72127In reply to: Editing Extended Profiles in Admin Panel
mitchellcooper
MemberThanks Gene! That’s a great start for now. Still trying to figure out how best to apply BuddyPress in a corporate intranet environment though. Would be great if we could easily add people to groups without them having to accept etc.
April 7, 2010 at 1:20 am #72124In reply to: Buddypress gifts component
deities1
MemberaHa! So the problem arises when the login name is different than the user name. I just checked the user list and we are the only two members with different user names than our login. So if the login and username do not match … the gift is not sent to their activity stream. Definitely something you might want to look into.
April 7, 2010 at 12:47 am #72122In reply to: button CSS ?
abcde666
Participantthanks ruthless,
I do know where to find the CSS-code, but I have changed the code to “none” for each element.
I still do not get the result of having just a simple button like it is for example here at buddypress.org or at Google.com
I just want to get rid of all the default button-CSS, just having a simple button without CSS.
default:
a.button, input[type=submit], input[type=button],
ul.button-nav li a, div.generic-button a {
background: url( ../images/white-grad.png ) top left repeat-x;
border: 1px solid #ddd;
padding: 3px 10px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
text-decoration: none;
color: #888;
font-size: 12px;
font-weight: normal;
vertical-align: bottom;
cursor: pointer;
}
changed all elements to NONE:
a.button, input[type=submit], input[type=button],
ul.button-nav li a, div.generic-button a {
background: none;
border: none;
padding: 3px 10px;
-moz-border-radius: none;
-webkit-border-radius: none;
border-radius: none;
text-decoration: none;
color: #888;
font-size: 12px;
font-weight: normal;
vertical-align: bottom;
cursor: pointer;
}
April 7, 2010 at 12:39 am #72120In reply to: My Blogs Menu not in admin bar
Jon Breitenbucher
ParticipantThat could be part of the issue. I do not have a Component Setup under BuddyPress. I am on 1.3-bleeding (not sure if that matters) I see Dashboard, Settings, Forums Setup, and Profile Field Setup. Dashboard says [TODO: All sorts of awesome things will go here. Latest plugins and themes, stats, version check, support topics, news, tips] and Settings does not have anything about Blog Tracking.
April 7, 2010 at 12:32 am #72119ruthlessbookie
MemberHaving done both, I can say that it takes me about the same amount of time either way, so it DOES depend on the situation.
April 7, 2010 at 12:12 am #72114In reply to: Editing Extended Profiles in Admin Panel
Gene53
ParticipantApril 7, 2010 at 12:01 am #72112In reply to: button CSS ?
abcde666
Participantlooks like this is not possible just by changing the CSS-code ?
the <span> tag is missing within HTML…..
How is BuddyPress defining the width of a button ?
April 6, 2010 at 11:18 pm #72109In reply to: How do you show a member's total post count?
Boone Gorges
KeymasterSee if this does what you want. Put the following function in [your-theme]/functions.php or [plugin-dir]/bp-custom.php:
function get_activity_count_by_user( $user_id ) {
$args = array(
'per_page' => 10000,
'show_hidden' => true,
'user_id' => $user_id
);
if ( bp_has_activities( $args ) ) {
global $activities_template;
$count = $activities_template->total_activity_count;
} else {
$count = 0;
}
return $count;
}Then call the function somewhere in a template, something like this:
<?php echo get_activity_count_by_user( $user_id ) ?>making sure that $user_id is populated with the user_id of the person you are querying about.
You could filter this in various ways. To get just one kind of content, or content from just one component of the site, try some of the filters here: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/. To exclude things (like anything having to do with blogs) is a bit tricker; after calling the $activities_template global, loop through each member of $activities_template->activities and check to see whether it’s the kind of thing you want. If not, reduce $activities_template->total_activity_count by one.
April 6, 2010 at 11:12 pm #72108In reply to: Ning type user blogs show under parent site?
r-a-y
KeymasterCreate a theme specifically for user blogs and set this theme as the default theme when a user creates a new blog.
That should solve most of your problems.
Read this thread:
https://buddypress.org/forums/topic/bp-blog-theme-as-default
April 6, 2010 at 11:09 pm #72107In reply to: new mail notification not showing
r-a-y
KeymasterMight want to contact Mike Kuhlmann, the creator of the theme:
April 6, 2010 at 11:07 pm #72106In reply to: Ning type user blogs show under parent site?
mcrustk2
ParticipantI tried that but it appeared to be a completely new ‘BuddyPress’ under the origional which wouldnt really work.
April 6, 2010 at 11:06 pm #72105r-a-y
KeymasterIf it ain’t broke, don’t fix it!
It really depends on your site.
Creating a child theme off the default is recommended, but doesn’t give you the convenience of using an already-developed and designed WP theme / site.
—
Pros of child theme
-easy upgrading when there’s a new BP release; no need to worry about breaking anything (for the most part)
Cons of child theme
-you have to create a child theme (to some this isn’t a big deal, but thought i’d list it)
–> if you’re going for a completely different design off the default theme, you’ll probably be copying a lot of templates over from the default to the point that it isn’t worth creating a child theme anymore (note that this probably isn’t the case for the majority of BP users).
—
Pros of using a WP theme with BP Template Pack
-integrate BP with an existing WP theme (or site!)
Cons of using a WP theme with BP Template Pack
-using the BP Template Pack plugin requires some CSS and template tweaking to make everything look the way you want it (to some this isn’t a big deal, but thought i’d list it)
-could rely on Andy occasionally updating the BP Template Pack plugin on new BP releases (not saying that Andy is incapable of doing this — far from it — but it’s just one additional step you have to wait on)
-note you could also create your own default theme or parent-child theme structure, thekmen has implemented Hybrid as the parent theme with a Hybrid child theme designed to work with BP. This is a little bit more complex, but is doable and will probably require a bit of manual maintenance in the future as well.
—
I should note that, like modemlooper, I prefer creating a child theme.
But I see you’ve already dedicated some time to get Cureuphoria up and running, so you might want to stick with what you have.
April 6, 2010 at 10:56 pm #72103mcrustk2
ParticipantHi Guys.
I have coped daves example above and tried it on my site however it doesnt seem to work correctly. Must be something I have done but I cannot see what it is. Been through line by line. Tearing my hair out here.
I replaced ‘Community’ with ‘Home’
I just cant see what it is. Could any of you just have a quick glimpse to give me some pointers. Thanks to David for the solution!
Many Thanks.
PS – Im using BP default theme.
April 6, 2010 at 10:37 pm #72099modemlooper
ModeratorHaving done both. I would suggest using a child theme over doing the BP template pack. Sure it’s more work but I feel upgrades in the future will be easier.
April 6, 2010 at 10:00 pm #72092In reply to: GSOC BuddyPress Ideas
John James Jacoby
KeymasterWith less than a day left now,there’s probably little value in putting the blog post up.

But, you can refer to these links for ideas.
http://spreadsheets.google.com/ccc?key=0AtgQiOrXrZ0ZdE5rUnRzTXB0VWtqTUtvVkp1Rk9lYXc&hl=en
https://buddypress.org/about/roadmap/
Some things I’m excited to see:
An events component that doesn’t *require* bp-groups
Privacy that uses WordPress roles and capabilities
REST API
Inappropriate content flagging
User attachments
April 6, 2010 at 9:39 pm #72089In reply to: Buddypress gifts component
deities1
MemberHrmmm…. I can’t pinpoint the problem.
Weird that gifts don’t show in either of our activity streams when someone sends one to us. Everyone else properly receives the gifts.
April 6, 2010 at 9:14 pm #72084In reply to: My Blogs Menu not in admin bar
cmccarra
ParticipantGo to Buddypress > Component Setup > Blog Tracking, is it enabled or disabled? It should be enabled if you want the “My Blogs” Menu.
April 6, 2010 at 8:50 pm #72080In reply to: External-Group-blogs Plugin
April 6, 2010 at 8:48 pm #72079In reply to: Adding an Activity Stream into any page
rich! @ etiviti
Participantyou can pull in whatever from the activity stream loop and place it anywhere (surprised no one has created a “stream widget” )
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
April 6, 2010 at 8:27 pm #720753sixty
ParticipantSorry I missed this. I’ll review that and see if I can contribute any meaningful new pointers to the codex .
April 6, 2010 at 8:17 pm #72072In reply to: Custom Login Page in BuddyPress
Brajesh Singh
ParticipantYou are most welcome. Please make sure to mark this thread as resolved
-
AuthorSearch Results