Search Results for 'buddypress'
-
AuthorSearch Results
-
March 15, 2010 at 9:31 pm #68498
In reply to: Add you blog search to the search
Pedro Miguel
Participantok, found the solution, I will also submit a ticket on trac
on bp-core-tempaltetags.php change this:
function bp_search_form_type_select() {
// Eventually this won't be needed and a page will be built to integrate all search results.
$selection_box = '<select name="search-which" id="search-which" style="width: auto">';
if ( function_exists( 'xprofile_install' ) ) {
$selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
}to this:
function bp_search_form_type_select() {
// Eventually this won't be needed and a page will be built to integrate all search results.
$selection_box = '<select name="search-which" id="search-which" style="width: auto">';
$selection_box .= '<option value="blog">' . __( 'Blog', 'buddypress' ) . '</option>';
if ( function_exists( 'xprofile_install' ) ) {
$selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
}and on bp-core.php
change this:
if ( !$slug || empty( $slug ) ) {
switch ( $search_which ) {
case 'members': default:
$slug = BP_MEMBERS_SLUG;
$var = '/?s=';
break;to this:
if ( !$slug || empty( $slug ) ) {
switch ( $search_which ) {
case 'blog': default:
$slug = '';
$var = '/?s=';
break;
case 'members':
$slug = BP_MEMBERS_SLUG;
$var = '/?s=';
break;March 15, 2010 at 8:57 pm #68488Paul Wong-Gibbs
KeymasterOk, this particular problem really sucks. You use bp_core_load_template() in a plugin to load a theme file, using the filter ‘bp_located_template’.
If you’re modelling your plugin on the default BuddyPress components, or even the skeleton component, you could use the above to load an index page for your directory, and use a “loop” file to display each item within your directory index page.
However, the whole purposes of the ‘bp_located_template’ filter is that it allows theme authors to override your plugin’s theme file by adding it to their WordPress theme directory. The problem is that you cannot use bp_located_template() to include your loop file (henceforth referred to as a “plugin sub-template”).
Why? Because bp_core_load_template() just sets up the data for the template to load; nothing happens until the WordPress ‘template_redirect’ action is called, which only happens once on page load (.e. when it loads your index page).
Quick fix? After calling bp_core_load_template( ‘plugin/sub-template.php’ ), just call bp_core_do_catch_uri().
Proper fix? Working on it.
bp_core_load_template is not working when trying to load plugin’s sub-templates from within that plugin’s template file(s)
March 15, 2010 at 8:41 pm #68486calvin_42
ParticipantThanks for your answer DJPaul.
So does it really mean (using buddypress aware recommended code) that we cannot hook all the filters and the functions which are called before bp_init() ? For example “groups_setup_globals” used to add a step during creation groups ?
March 15, 2010 at 6:31 pm #68471In reply to: Looking for BuddyPress Developer for large project
r-a-y
KeymasterUntil the BP.org site is updated, the better place for job advertisements, for now, is:
March 15, 2010 at 6:15 pm #68469Peter Anselmo
ParticipantThis has now been fixed. I wrote a post detailing the 0.3.1 release here:
https://buddypress.org/forums/topic/group-documents-031-tracking-sorting
Cheers.
March 15, 2010 at 6:09 pm #68468In reply to: oEmbed for BuddyPress plugin – out now!
r-a-y
KeymasterA few people have asked for this; this plugin doesn’t work for blog comments.
I’ll be releasing a separate plugin for that late this week as I don’t want to bundle it with the oEmbed BP plugin.
March 15, 2010 at 6:03 pm #68466In reply to: Add new functionality called "Posts"
Andy Peatling
KeymasterI don’t see much point in this, just use the activity stream loop and filter on ‘new_blog_post’. BuddyPress used to have this functionality, but it was not very efficient and the activity stream handles it better.
March 15, 2010 at 5:45 pm #68463In reply to: Add new functionality called "Posts"
ecurtain
ParticipantJankit, I think I have an idea of what you mean:
Where members have tabs for their activity stream, friends, groups, etc…there would be a new tab to display their posts.
This would behave like the normal WP loop, showing posts in all or a particular category, but showing only posts by that user.
Is that what you have in mind? I’m converting my CMS site to BuddyPress (and deep in writing migration scripts), so I’m interested in this as well. Boone’s suggestion may be the way to go; will look into it.
March 15, 2010 at 5:43 pm #68462modemlooper
ModeratorAny other plugins that use javascript? Does this theme use any javascript?
March 15, 2010 at 5:42 pm #68461In reply to: oEmbed for BuddyPress plugin – out now!
toddfarmer
MemberThis plugin rocks. It does exactly what I needed — and I’ve been looking for a while! Thanks.
Question: My blog is about people uploading their videos, then allowing comments that may or may not include video. (Video Comments)
With Oembed for BuddyPress, the video comments are shown properly in the activity stream, which is really awesome.
However, in the actual comment on the blog post, all I see is the link to the youtube video, for example. It’s not showing the video as embedded within the comments.
Is there a way that I can do this?
I assume I must customize “comments.php” in my theme, but I’m at a loss.
Thanks much for the help and the great plugin!
Todd
March 15, 2010 at 5:39 pm #68459tridian
Participantrossagrant, can you clarify where you updated the default address to the absolute url? I went to both the BuddyPress > General settings and the Settings > General in my WP Admin but I’m not sure where to put the absolute url. I must be blind. Thanks for your help!
March 15, 2010 at 5:31 pm #68455In reply to: "Friendly HTTP Error Messages" causes 404
cce
ParticipantIt looks like there is specific code in wordpress since 2.7 to address this, but it isn’t working for some reason.
http://lists.automattic.com/pipermail/wpmu-trac/2009-February/002772.html
This thread is similar:
https://buddypress.org/forums/topic/404-page-when-trying-to-create-a-group-forum
March 15, 2010 at 5:04 pm #68453In reply to: BP1.2+ Plugin Wishlists
3sixty
ParticipantI love this thread. There should be a way to vote on these. I’ll add my “votes” as text here:
1. Forum plugins – Every key bbpress plugin should be ported to buddypress. rich! has done some amazing work with forum extras and I hope he continues.
2. Events – was a really nice emerging implementation of that in progress, but I haven’t seen much on it lately; I think it “broke” at one point due to BP version incompatibilities.
3. Privacy, of course.
March 15, 2010 at 5:02 pm #68452Tosh
ParticipantAny other ideas?
March 15, 2010 at 4:31 pm #68444In reply to: [Resolved] CubePoints and BuddyPress Intregration?
Tosh
ParticipantI’d love to, but I’ve never made a plugin before. But it’s something I’m willing to tackle. Would be nice to have an option in the backend so people could change how much points people get.
I’ll try that admin code snippet when I get home tonight. Thanks!
March 15, 2010 at 4:17 pm #68442In reply to: Voting / Polls Plugin for Buddypress Groups Request
kriskl
Participantyeah, 100 is not enough though

so it means we’d have to pay,
March 15, 2010 at 4:12 pm #68441In reply to: realtime activities update
Joss Winn
ParticipantOn this subject, how about building RSSCloud and PubSubHubub into the Activity Stream RSS feed? There are plugins for WordPress, written by Automattic. I guess they could be modified to work for BuddyPress feeds?
March 15, 2010 at 3:54 pm #68435In reply to: Voting / Polls Plugin for Buddypress Groups Request
modemlooper
ModeratorPolldaddy I think allows 100 polls at a time now. I think you get whit label for $$$.
March 15, 2010 at 3:42 pm #68434In reply to: Voting / Polls Plugin for Buddypress Groups Request
kriskl
Participantby the way,
there is a plugin WP Polls but but does not work with buddypress
March 15, 2010 at 3:41 pm #68433In reply to: Voting / Polls Plugin for Buddypress Groups Request
kriskl
Participantthanks! I feel a bit better now haha
as we also use polls on our site, and before moving to buddypress, I am trying to find solutions for most of our users habits..
the only problem with Polldaddy is it is paid

and I would like to keep users on our site,.. not going to polldaddy etc.
so I thought Native Group Polls would be cool to have!
having said that i will try polldaddy
thanks
March 15, 2010 at 3:30 pm #68432In reply to: Spam, Spam and more spam
David Lewis
ParticipantI’ll try. I just got a new registration from ANOTHER .info email address. Minutes ago. Ugh
Unreal.I’ve done everything mentioned in this thread and MORE. And no dice. Kind of at my wits end. How the heck are they signing up?! Unless it’s humans signing up. But I assume all SPAMers use bots. Even if it’s not a bot… I don’t know how you’d ever find the signup page with Google. It has a custom slug and I’ve gotten rid of the default BuddyPress text.
Anyway. Thanks Andrea.
I wonder if this would work in .htaccess
deny from .*\\.info.*March 15, 2010 at 3:24 pm #68429In reply to: Voting / Polls Plugin for Buddypress Groups Request
Xevo
Participant@ Modemlooper
That’s what I meant by adding a social touch, then Polls would be usefull again for a social network.
March 15, 2010 at 3:16 pm #68428In reply to: Getting Buddypress avatars the right way?
Xevo
Participantfunction xe_loggedin_user_avatar($type = "", $width = "", $height = "") {
global $bb_current_user;
$userID = $bb_current_user->ID;
$files = "";
if ($handle = opendir('/var/www/vhosts/tsukai.nl/httpdocs/wp-content/uploads/avatars/' . $userID)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
if($type == "thumb") {
if(substr($file, -11, 7) == "bpthumb" ) {
$files .= $file;
}
} elseif($type == "full") {
if(substr($file, -10, 6) == "bpfull" ) {
$files .= $file;
}
}
}
}
closedir($handle);
}
echo '<img src="http://tsukai.nl/wp-content/uploads/avatars/' . $userID . '/' . $files . '" width="' . width . '" height="' . $height . '" />';
}This is the solution I came up with, again, if anyone has a better solution, do tell.
March 15, 2010 at 3:12 pm #68427In reply to: Voting / Polls Plugin for Buddypress Groups Request
modemlooper
ModeratorHuh? thats crazy talk. I use polls all the time. And on Facebook my activity streams are always slammed with “I voted for miley cyrus as the best pop star” BS.
Mashable has 50 million page views a month and does weekly polls. Most major sites do.
@kriskl I use the polldaddy plugin. Users can’t create polls unless you are on MU and you allow them access to the plugin. The plugin short codes work in BP activity streams and forums.
March 15, 2010 at 2:59 pm #68425In reply to: Voting / Polls Plugin for Buddypress Groups Request
Xevo
ParticipantYou don’t? What do you want your groups to use polls for?
Something like what’s the hottest movie right now?
They could easily make a topic in the group forums for that and they’re not restricted to a couple of answers.
Polls are also not part of a social network as you can’t see what users voted for what and users can’t give arguments either, so it’s anonymous. If they also added comments and ratings and stuff to the poll, then maybe it could be something for a social network.
-
AuthorSearch Results