@mulkins2013 activity-permalink page: bp_is_single_activity()
Hi Rishraj,
I ran into the same issue this week and I have resolved it on my end. If you’re having the same issue, I hope this helps you.
My exact issue:
* My scenario: WordPress + buddypress, trying to log on from the main page through the Buddypress default theme sidebar login.
* When served off local machine with Xampp: Works
* When served off professionally hosted remote server: Doesn’t work (408 timeout). However, login directly through wp-login.php did work
Solution:
In bp-themes\bp-default\sidebar.php, you will see the code:`<?php do_action( 'bp_sidebar_login_form' ); ?>
<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />`
Swap these two lines:`<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />
<?php do_action( 'bp_sidebar_login_form' ); ?>`
What I did:
I used firebug to compare the HTTP POST messages being sent when I log in through the sidebar or directly through wp-login.php. The only difference I saw between the two was:
Sidebar login order of parameters (broken): login, password, redirect, wp-submit, testcookie
wp-login.php login order of parameters: login, password, wp-submit, redirect, testcookie
I don’t know why they’re swapped in the sidebar code. I also don’t know how or why swapping them could result in working in some environments and timing out in others. Can anyone else chime in here?
Can anyone PLEASE explain how to get this link back?
The create group link is in line 21 of this file https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-themes/bp-default/groups/index.php – you might have deleted that in your child theme’s /group/index.php
I am new to Buddypress and notice the Conditional Tags are different from WP. At this time, I have only used the (bp_is_current_component( ‘members’ )) tag.
My question is, when I am in pages like /members/Admin/activity/24/ the members tag doesn’t work. After looking at the conditional tags, I have no idea which to use while in pages like this.
I saw the conditional tags page for BP but am stumped on which to use.
Any insight would be appreciated!
I would love this as well but i need a more detailed explanation of how to disable it.
Thanks!
Hi
First at all, I have read a few forum topics about this but nothing seems to work for me, I tried deactivating all the plugins but buddypress and template pack (I’m still in bp 1.6.5 for a style reason with tittles) and still not working, it doesn’t even is being displayed, the activity ends in “bla bla bla…”
Thanks for your advice!
After automatic updating from buddypress 1.7.0 to buddypress 1.7.2 I can’t enter in my site.
At my site adress i have a white page! Going to mysite.tld/wp-login.php, insert my user and password and recived this error message:
Fatal error: Call to undefined function bp_core_get_user_domain() in /mounted-storage/home127/sub040/sc71376-CUVU/mysite.tld/wp-content/plugins/bp-redirect-to-profile/bp-redirect-to-profile.php on line 34
So i think the problem is in bp-redirect-to-profile plugin.
I can’t delete it because i can’t enter to my panel, so i delete it from my hosting control panel.
If i delete it, go to mysite.tld/wp-login.php, insert my user and password and recived total whyte page!
My site is offline and i can’t what to do!!
My question is…
IF i reinstall buddypress 1.7.2 from http://wordpress.org/plugins/buddypress/ i lost my plugin my settings my gallery my images ??
tnak you
I want to display email address on each profile using bp_displayed_user_email, but still want to block from harvesters within HTML by using function antispambot.
If i use <?php echo antispambot(“name@email.com); ?> it is working like a charm.
When using <?php echo antispambot(bp_displayed_user_email()); ?>, it is not working. What is the solution for this?
I have tried different themes, and they also duplicate the content, including 2012
@floorplanonline We’ve tested BuddyPress extensively with Twenty Twelve and there’s no duplicate content. Deactivate plugins except BP batch by batch to identify which plugin is causing the issue.
@ubernaut: No problem, thank you very much. At least you tried to help. 🙂
not sure what to tell you sorry not very strong with the php
@ubernaut: yes, I did the same with the said parameters all correct, as I am using frisco theme then I can do the same thing by putting the code in function-custom.php. First I tried the bp-custom.php (placed in plugin folder) option , that didn’t worked out for me, so I tried the later, but that didn’t worked either. 🙁
the file is supposed to be called bp-custom
@ubernaut: Thank you again for your prompt response, I tried this earlier but it this one is also not working, if I am not wrong then it must be the code provided on Brajesh Singh’s blog, buddydev. I am using Frisco Child theme for Buddypress, I tried placing both the codes in function-custom.php and as mentioned in plugins folder as well,but didn’t succeeded. :-(. Please help, what to do. I need to make the website live.
i’m not using that one i’m using this one:
<?php
//hide superadmin
add_action("plugins_loaded","bpdev_init_sm_mode");
function bpdev_init_sm_mode(){
if(is_site_admin())
remove_action("wp_head","bp_core_record_activity"); //id SM is on, remove the record activity hook
}
?>
thats where bugs feature suggestions and the like are kept track of:
https://buddypress.trac.wordpress.org/
@ubernaut: Thank you very much for your response, What information do I need to provide you to check what is the issue ?
I made a new file with the name bp-custom.php with this code
<?php
// Code for: Don’t record activity by the site admins or show them as recently active
function my_admin_stealth_mode(){
if ( is_site_admin() ) {
global $bp;
remove_action(’wp_head’,’bp_core_record_activity’);
delete_user_meta($bp->loggedin_user->id, ’last_activity’);
}
}
add_action(’init’,’my_admin_stealth_mode’);
//Code for: Don’t record activity for a user or show them as recently active
function my_user_stealth_mode(){
$current_user = wp_get_current_user();
if(is_user_logged_in()) {
if(’admin’ == $current_user->user_login) {
remove_action(’wp_head’,’bp_core_record_activity’);
delete_user_meta($current_user->ID, ’last_activity’);
}
}
}
add_action(’init’,’my_user_stealth_mode’);
?>
and placed it in plugin folder of the wp installation. It is not giving any error but admin activity is showing in the activity. One more thing I need to know, whether it will remove previous activity as well or not ? and do I need to change the account name to admin ?
Thanks a ton in advance.
Hello there!!
I’ve got running a wordpress with buddypress installed. I like the navigation of the profile and the groups, so I just wanna know the way that the buddypress tabs works.
It’s a music page, so I would like something like:
——————————————————————————–
Disc profile and information
Tab 1 (News) | Tab 4 (Songs lists) | Tab 2 (Artist info) | Tab 3 (Support forum)
——————————————————————————–
I’m using custom post types for almost everything, so I know how to use the loop calls and template it and everything but I dunno how to make the slugs and the mini page calls/load…
I’m not looking to use sub tabs or anything more complex than that, but I would be very gratefull if you could give me some code snippet, explanation or how-to to make it works…
Thanks, Jhinzo
something must be off on your code cause the code definitely works.
@igny no not yet, the theme is still a little buggy, hard to make it work flawless if you costumize it that heavily, will let you know if I release the theme.
@umagokhale: hello, was wondering for last few days about the same, till now no luck. The code you provided is not working on my page. The page is not live yet so can not provide the link.
Hello, I have issues with some buttons as they are spinning eternally:
Post Update
Comment
(I think also) Add Friend
I have the issue with any theme and with no plugin activated. Firebug, as I click ‘Post Update’, says:
POST http://www.thisisthegeneration.co.uk/wp-admin/admin-ajax.php
(in red, I assume it’s an error)
It may be a conflict between Buddypress and my server configuration. I wanted to know, based on your experience, what should I do to debug or anything else to find the source of the problem, as I don’t know where to run.
I’m using WordPress 3.5.1, Buddypress 1.7.2, Nginx / PHP-FPM (I could not see errors in the logs for nginx or php-fpm, and also I can’t see errors by activating the debug in wordpress wp-config.php)
Hello, anyone there? Still have the duplicate content issue. I have tried different themes, and they also duplicate the content, including 2012. The only one that does not is Yukon and that has built in buddypress support. Even in the admin under Dashboard it has Welcome to Buddypress showing twice.
i have installed wordpress 3.5.1 , buddypress 1.7.2 and bbpress 2.3.2 through web matrix 3… there is no option to create new group… and i also want to know how to create forum in which file can be upload by admin or moderator…. and member can see and download the said files… regards