Search Results for 'theme'
-
AuthorSearch Results
-
January 16, 2011 at 9:29 pm #103052
In reply to: Hi folks I have a problem members find a page
Bowe
ParticipantNL: Wat werkt er precies niet? krijg je een foutmelding in de members widget, als je op Newest | Active | Popular klikt?
Je moet eerst meer informatie geven anders kunnen we je niet helpen. Wat voor WP versie gebruikje, welke versie van WP en wat voor Theme?
January 16, 2011 at 9:25 pm #103049r-a-y
KeymasterSorry about that! I thought it would work. Looks like BP is missing some template tags for this.
This will work.
Add the following to your theme’s functions.php:
`
function bp_topic_poster_is_admin() {
global $topic_template;
return BP_Groups_Member::check_is_admin( $topic_template->post->poster_id, bp_get_the_topic_object_id() );
}function bp_topic_poster_is_mod() {
global $topic_template;
return BP_Groups_Member::check_is_mod( $topic_template->post->poster_id, bp_get_the_topic_object_id() );
}`Then use this in your template:
`if ( function_exists( ‘bp_topic_poster_is_mod’ ) ) :
if ( bp_topic_poster_is_mod() ) echo ‘Group Moderator’;
endif;`January 16, 2011 at 8:34 pm #103033In reply to: How to get topic starter’s username?
r-a-y
KeymasterIt’s better to be clear when posting!
You can use this snippet in your theme’s functions.php:
`function ray_bp_get_the_topic_last_poster_name( $name ) {
global $forum_template;return str_replace($forum_template->topic->topic_last_poster_displayname, $forum_template->topic->topic_last_poster_login, $name);
}
add_filter( ‘bp_get_the_topic_last_poster_name’, ‘ray_bp_get_the_topic_last_poster_name’ );`This snippet is part of my BuddyPress Usernames Only plugin, which you might be interested in:
https://wordpress.org/extend/plugins/buddypress-usernames-only/January 16, 2011 at 7:20 pm #103025@mercime
ParticipantChecked in test install and disabling forums in General Settings hides any instance of any link to forums in member or group. What WP/BP versions are you one? If you change to bp-default theme, does same behavior apply?
January 16, 2011 at 4:53 pm #103016In reply to: redirect to /register
lkrywko
MemberHello @r-a-y
I’ve done like you said. Now I have child theme for default buddypress theme and I’ve added some text to the register.php page that says that users don’t need to register them selfs on the page to read our posts.
But I’ve realized that is only temporary solution. I still need permanent trick that will fix this automatic redirection for new users to the register page.
My question is: where we can find code that answers to that redirect and change it? I’ve searching it for a while without any success. Please help.
January 16, 2011 at 4:38 pm #103012In reply to: BuddyPress and webkit browsers (Chrome, Safari…)
Paul Wong-Gibbs
KeymasterIt must be an problem with your theme. It’s not a core BuddyPress issue.
January 16, 2011 at 3:47 am #102971In reply to: Buddypress Template File Corresponding…
@mercime
Participanthttps://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/
BP Template Pack has not been updated since Feb. 2010. See following thread for @hotforwords‘ BP Template Pack update https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-template-pack-and-buddypress-1-2-6-things-break-but-i-have-a-solutionJanuary 16, 2011 at 12:01 am #102961In reply to: New theme – BuddyBuilder
January 15, 2011 at 11:09 pm #102958In reply to: New theme – BuddyBuilder
pcwriter
ParticipantThanks! “FunkyBuddy” is serious fun!

I was rummaging through some backgrounds and, when I found that one, well, it was Studio54 time all over again (he says, flashing back to 1978). I just HAD to use it for something!January 15, 2011 at 11:04 pm #102954In reply to: New theme – BuddyBuilder
Paul Wong-Gibbs
KeymasterGood job
January 15, 2011 at 10:42 pm #102951In reply to: Avatar Upload
@mercime
ParticipantWP/BP versions? Single or multisite BP? Is this a new install?
Are you using bp-default theme or child theme of bp-default or a custom theme?
Is image upload working for your post and if so, does the image show up in your post?
Disable all plugins except BuddyPress and activate bp-default theme.
https://codex.buddypress.org/troubleshooting/avatar-upload-fails/January 15, 2011 at 9:42 pm #102942modemlooper
ModeratorActually BuddyPress core should be amended to work with any WP theme
January 15, 2011 at 9:10 pm #102939In reply to: New theme – BuddyBuilder
@mercime
ParticipantSeriously, http://buddylite.com/buddybuilder-options/ 100 ways to customize? And the Funky Bodybuilder theme rocks!
Congratulations @pcwriterJanuary 15, 2011 at 8:36 pm #102938January 15, 2011 at 8:10 pm #102935Virtuali
Participant@bigjimmysisco, remove
`if ( !function_exists( ‘bp_dtheme_activity_secondary_avatars’ ) :`
And
`edif;`
January 15, 2011 at 7:21 pm #102930r-a-y
KeymasterThe code you’re looking for is this:
`if ( !function_exists( ‘bp_dtheme_activity_secondary_avatars’ ) ) :
function bp_dtheme_activity_secondary_avatars( $action, $activity ) {
switch ( $activity->component ) {
case ‘groups’ :
case ‘friends’ :
// Only insert avatar if one exists
if ( $secondary_avatar = bp_get_activity_secondary_avatar() ) {
$reverse_content = strrev( $action );
$position = strpos( $reverse_content, ‘a<' );
$action = substr_replace( $action, $secondary_avatar, -$position – 2, 0 );
}
break;
}return $action;
}
add_filter( ‘bp_get_activity_action_pre_meta’, ‘bp_dtheme_activity_secondary_avatars’, 10, 2 );
endif;`Add to your theme’s functions.php.
*Sidenote: I’m working on my own “template pack” plugin, tentatively titled “BuddyPress Theme Unite!”, which will make it way easier for theme developers to add support for BuddyPress to their WP theme.
January 15, 2011 at 7:19 pm #102929In reply to: How to get topic starter’s username?
r-a-y
KeymasterAdd the following to your theme’s functions.php:
`function bp_get_the_topic_post_poster_username() {
global $topic_template;if ( !$link = bp_core_get_user_domain( $topic_template->post->poster_id, $topic_template->post->poster_nicename, $topic_template->post->poster_login ) )
return __( ‘Deleted User’, ‘buddypress’ );return apply_filters( ‘bp_get_the_topic_post_poster_username’, ‘post->poster_login . ‘”>’ . $topic_template->post->poster_login . ‘‘ );
}`Then use the following in your template:
`if ( function_exists( ‘bp_get_the_topic_post_poster_username’ ) ) echo bp_get_the_topic_post_poster_username();`
This will only work in a forum topic loop.
January 15, 2011 at 7:08 pm #102925In reply to: redirect to /register
r-a-y
KeymasterThe register page uses a BP template:
/registration/register.phpYou could add some verbiage before the registration form in that template, perhaps a link to your blog post?
If you’re currently using the bp-default theme, create a child theme, copy /registration/register.php to your child theme and modify the template anyway you like (just don’t break anything
January 15, 2011 at 3:31 pm #102907Virtuali
ParticipantIt would probably take some transferring of code from the bp-default theme to the template pack but i don’t know where that code would be right off hand
January 15, 2011 at 2:52 pm #102901In reply to: Remove search box from header in Default bp theme
argusz
Memberyes
January 15, 2011 at 3:19 am #102878José M. Villar
Participant+1, updated to 1.2.7 but my theme isnt
January 14, 2011 at 11:09 pm #102868In reply to: A couple of issues with custom community theme
Sven Lehnert
ParticipantHi @hoenera,
Sorry for the late reply. The offical support forum for the Custom Community is here: http://themekraft.com/forums/All these bugs are already fixed in the pro version. Free version will follow now.
thanksJanuary 14, 2011 at 10:36 pm #102865myerman
MemberNever mind, I see it now. It’s under bp-themes as the root folder.
January 14, 2011 at 10:16 pm #102862Paul Wong-Gibbs
KeymasterThe theme lives in /buddypress/bp-themes/bp-default.
You *could* move out bp-default and put it into /themes/, for example.
January 14, 2011 at 5:10 pm #102844In reply to: “WordPress Failure Notice” during group creation
Bowe
ParticipantSome additional information which might be helpful:
– It’s a BP child theme and my theme does not modify any of the group creation templates like groups/create.php
– Issue has not been reported before and I can’t reproduce it.I don’t really know where the nonce check failures could come from. Is there any specific aspect of a Child Theme that could cause this stop working? I’m not sure what the actual message means

Any help would be appreciated guys, we really want to fix this

-
AuthorSearch Results