use : is_page(697)
no quotes when an ID
quotes when slug or page title
https://codex.wordpress.org/Conditional_Tags
But I’d write your code using a category:
in_category( ‘public’ )
This way you can add whatever pages you want to show via admin
this was helpful to me but there turns out to be more to it than just bp-activity-filters.php.
Read the following thread
https://wordpress.org/support/topic/vexatious-read-more-linkslack-thereof?replies=4#post-3672956
let me know if this is helpful to you. Or if you can think of improvements. A more elegant solution perhaps
OK, I looked into the code, and this is something I’ll need to go bring up on the bbPress forums as it’s an issue with the extend buddypress component of the bbPress plugin.
I opened a ticket here: https://bbpress.trac.wordpress.org/ticket/2140. Hopefully this helps!
But couldn’t seem to get it to work
The tutorial by @pcwriter was pretty much spot-on. Could be a theme or plugin conflict or might be that you missed a step or two in the tutorial. Have you posted in said article by being specific as to precisely where you hit the roadblock/s in the tutorial?
Is there a plugin that can I do this?
@tandyman You could use the Members plugin by Justin Tadlock https://wordpress.org/extend/plugins/members/ though you might have to configure the other customizations from pcwriter’s article.
Hey so the title pretty much explains it. I want users to come to a registration page like Facebooks ( same design blah blah) when they first come to the site without being logged in. So an image in the background and a register and login tabs. If they are logged in they will go straight to the “activity”/”news feed” page. Also when they log out they go right back to the registration page.
I tried using this http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
But couldn’t seem to get it to work. Is there a plugin that can do this? If not what must I do to make this happen? Thanks
Hi @latinosamorir,
not the complete solution, but the begin of a path. Maybe you can contact the author ?
https://wordpress.org/extend/plugins/bp-force-profile/
You can visit and navigate public groups; you can’t access private groups without becoming a member. I’m not sure how familiar you are with CSS, but you can drop that code in a CSS plugin. There is a WordPress.com CSS plugin that has been swallowed up by Jetpack, so if you use jetpack that works too.
https://wordpress.org/extend/plugins/safecss/
@ubernaut bp-templates/bp-legacy/buddypress-functions.php is in trunk yes. But you could already apply the fix for bp-themes/bp-default/functions.php on this line https://buddypress.trac.wordpress.org/browser/tags/1.6.2/bp-themes/bp-default/functions.php#L115
@Hugo. Thanks that is good to know. That is what I figured was the case (see my 5th post to this thread, 9th reply) , but alas no one was able to describe that before I found the video for the plugin method from the link @Aces provided, which worked perfectly. Also, instead of saying “Members of the BP community have had success using: WP Mail SMTP” the advice Buddy Press FAQ gives for this problem should explain what you’ve explained.
But as you said, without detailed knowledge abut the server and or hired tech help, it is difficult to solve that problem. @Whisprr, I recommend the plugin method BuddyPress suggests for now as you try to find the underlying problem. For me, I am using a credible host and simply used a “one click install” for wordpress. I am not sure why my email is not working properly (btw, the mail didn’t go to spam–the email server just rejects the message all together, according to the debug test) and don’t really have the time, knowledge or resources to deal with it immediately.
hi there, i am designing a mobile site for my social networking site that was created using wordpress and buddypress. the thing is, there are some few obstacles that i am meeting. 1 how to code the comment_action.php file that allows members to comment and also allows activity stream, allows threaded comments, and activity streaming.
2 profile_action.php file that allows users to edit, change avatars, hide some details from people and view other people’s profiles.
3 mesages_action.php file that allows members to send and receive personal mesages form their friends or any other member.
4 login_action.php that connects and checks whether the user is a registered member and validates the login. also the forgot password_action.php for changing the pass, and the register_action.php for registering users and creating their account, saving user name/ pass word in database
5 images.php and images_action.php. these are supposed to create a facebook like album for users and also an option for other members to comment on them. Remember, this is a mobile site for my wordpress buddypress social site
if there is anyone who can help me get these codes, then i would really appreciate it since i have been stuck for more than 4 months. am also having an issue with the way buddypress is displaying user’s status even to the logged out members. i wanted to code a html or php file that combines log in and sign up page but the problem is that i cant locate the necessary action.php files for login and register files. anybody.
about the mobile issue, if someone has another opinion that can help me then i would be glad to hear it. the site is at http://campusspage.com/
Check out https://wordpress.org/extend/plugins/wp-multi-network/ with https://wordpress.org/extend/plugins/bp-multi-network/ You’d need to have a dedicated server and Jedi Knight coding skills to create and maintain this kind of installation.
@ubernaut did you apply the fix https://buddypress.trac.wordpress.org/changeset/6679 ?
Let me know and I can help test in your site.
Ok I’ve found a working solution using WP 3.5, bp 1.6.2 and bp-moderation 0.1.6 … I have my flagging and unflagging with backend reports working perfect now.
Here is how I did it so you can fix yours:
Step 1.
Follow these steps to update some plugin code since the plugin is now unsupported.
https://wordpress.org/support/topic/plugin-buddypress-moderation-not-working-with-bp-161-wp-342?replies=9#post-3267296
Step 2.
Step 1 only allowed me to flag and unflag content with the super admin account only. If you have the same problem then open bpModLoader.php and comment the lines 64-66.
Change to following or delete to fix all users can flag posts.
// if (!is_super_admin()) {
// return;
// }
Hope this helps 😀
Cheers
**SOLVED**
Thank you @Aces for answering and being helpful. All seems to be working now. I will post the solution below for those, like @Whisprr, who have the same problem:
Basically, the “WP Mail SMTP” plugin method from the link Aces provided worked. I just think the link is very vague and doesn’t explain at all how these plugins are supposed to help or what exactly you are supposed to do with them–it just says ‘most people found these helpful’. So I had to watch this youtube video, which explained how to solve the issue using the WP Mail SMTP, step by step: http://www.youtube.com/watch?v=5GsHbf4Gitw
Watch it! I would just skip the part about using the FTP to finish installing the plugin (skip 3:00-6:20). The plugin should install perfectly fine.
Essentially, anyone who has the activation/registration email problem needs to download the “WP Mail SMTP” plugin and then enter the correct settings, as described in the video. I ran into a problem (mentioned earlier in this post) because GMAIL does not allow the plugin access to the account and labels it as suspicious activity–this kept returning an error message in the debug (test email). I also didn’t feel comfortable putting my real email’s username and password, un-hidden, into the username and password form, so I created a new YAHOO account especially for sending emails from my wordpress blog instead of my normal account, to use for this plugin.
It worked! The debug/test email did not return an error and when I tested the registration for my site, I finally received the activation email–albeit buried in my spam folder.
Hopefully this helps others because BuddyPress and Word Press do not make it clear that this needs to be done in order to SEND (rather than receive) email from your account or for member registration to work–this is why many people who are Word Press novices can become confused when site registration doesn’t work.
I get this same issue but with blog posts. Every time I edit an old blog post from WordPress it shows up in my activity stream as a new post, not sure if many have experience it since the only way to know is if these posts are getting updated. But in my case, i have to be updating posts all the time and I believe this shouldn’t be happening. Is there a way to stop this?
@akumaseijin you have to find the theme_location of your secondary custom menu. For example, in the Twenty Ten theme, the theme_location is ‘primary’ see https://codex.wordpress.org/Function_Reference/wp_nav_menu#Used_in_the_Twenty_Ten_theme
After you find the theme_location of your secondary menu, replace mamamia in what I posted at http://pastebin.com/jFLsdDJG
There are a number of plugins in the WP plugin repo which could change what shows up in the admin toolbar. For BP-specific nav links, check out https://wordpress.org/extend/plugins/buddypress-custom-profile-menu/
@ubernaut just tested Windows7 and Safari and same behavior applies with the latest WP/BP versions. Please do the honor of posting trac ticket for this issue.
EDIT – DOING_AJAX https://buddypress.trac.wordpress.org/ticket/4736
Email should work but much can go wrong including things connected to plugins, themes and functions.php or bp-custom.php files.
Presuming the email didn’t go into spam, and WordPress sent emails before installing BuddyPress, then one thing that can be tried is disabling all plugins except except buddypress and the ( un-customised ) bp-default theme.
If this is a localhost/dev site then php / server has to be correctly configured and/or upgraded for email. Alternatively WP Mail SMTP may be useful in this situation…
The main email address is set on the wordpress Settings > General page.
There may be other issues with buddypress in some situations. For more info see: https://buddypress.trac.wordpress.org/ticket/4689 and relevant links on that page.
@doncgarner as of the version I helped with, yes, you would have to add all that code to the BP template files. It all depends on the theme. Open up your theme’s page.php and you’ll see the amount of code added by the theme author to give you all the options added to the theme. Other WP themes required only 2 files for BP compatibility or just less code.
You could wait for BP 1.7 coming up https://buddypress.trac.wordpress.org/roadmap sometime next year where you do not need to change anything in your template files at all (unless you want to totally customize the BP pages further).