Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to redirect away from bbpress profile

Published on May 2nd, 2014 by laternastudio

Hi there,

I’m working with a custom profile setup (consolidating the profiles from multiple plugins) and and wondering how I can redirect a bbpress user to this central profile when they try to access their forum profile. In other words, how do I make it so that someone who tries to visit:

http://www.example.com/forums/user/johnsmith

is redirected to:

http://www.example.com/profile

I saw a very old post in this forum that discussed this topic, and they suggested using the following method:

add_action('bb_init', 'profile_redirect');

function profile_redirect() {
    if (is_bb_profile() && $_GET['tab'] != 'edit' && $_GET['tab'] != 'favorites') {
        $user = bb_get_user($_GET['id']);
        if ($user) wp_redirect("http://www.example.com/member/" . $user->user_nicename);
    }
}

Since it’s so old, it doesn’t work anymore, and honestly, what I’d like to do is slightly different. I’d like to redirect a user away from the profile page (regardless of which section they’re on–whether it be favorites, subscriptions, or edit profile) as long as:

  1. They are logged in
  2. They are on their ownprofile page

How could I do that with the current version of WordPress?

Private

Published on May 2nd, 2014 by corradoizzo

Hi

I am creating a Courses Site at this moment and for each Course i would like to create a Forum which is accessible to the Students of that particular Course only.

Is that possible to do with BBpress and how do i do that?

can i decide which user has access to which parts of the Forum?

FYI: I am using S2 Members to create the Membership site.

All the best and Thank You
Corrado Izzo

Manually importing from another BB

Published on May 1st, 2014 by RChadwick

I have an OLD Yabb board, that uses a flat file storage. I have given up importing it into bbpress, or anything else for that matter, in any automated way. Fortunately, the BB only has about 40 messages, so I was thinking of just importing them manually. Can I easily change the dates and authors of messages on bbpress?

Also, it’s important to me to keep these messages. Long story, but starting over isn’t an option.

Thanks!

Check if on page/blog or forum

Published on May 1st, 2014 by koendb

Short question: How do I check if I’m on a page (or blog) from within ‘loop-single-reply.php’?

WP 3.8.3
bbpress 2.5.3
URL: 24baby.nl

Long question: I use bbpress for all my comments on articles and blogs: ‘Use a bbPress forum topic for comments on this post.’

On my website this generates a first post along the lines of (my website is in Dutch): ‘This topic belongs to article <LINK>. Share your thoughts!’

This text is visible both under the actual article and on the forums. While it’s a good way to explain the purpose of the thread on the forums, it’s confusing as the first reply on the actual article page. Because of that I don’t want to show this first reply on all my blog / page ‘pages’, but do want to show them on the forums.

It’s fairly easy to remove the first reply within ‘loop-replies.php’, but I don’t know how to test whether I’m on the forums or not? Is_page doesn’t work, is_bbpress always returns true.

Theme/Page Template

Published on May 1st, 2014 by ace2five

Hi, I have tried everything I can find on the forum and elsewhere to fix this with no luck. Probably an easy fix but I’m new to this.

This is great: http://ace2five.tv/forums/ and most other pages display ok but,
click through into a forum: http://ace2five.tv/forums/forum/bbpress-theme/ or here: http://ace2five.tv/forums/topic/topic-bbpress/ and it fails to display correctly.

Theme is True Mag installed this week, bbPress installed latest version yesterday. Any help much appreciated.

can't choose template for my website

Published on May 1st, 2014 by emanul

Hello i just created a new website.
I love to watch films and I decided to make a website about it 🙂

Could you tell me what templates would be the best for my website?
Here goes a link: http://evideo24.pl/

Help with forum display

Published on April 30th, 2014 by KipFisher

Hi everyone…

I hope I’m not posting this in the wrong place, but I have a question. I’m an absolute neophyte with bbPress, only having installed it a couple days ago. I’ve tinkered around with a lot, but I’m having trouble with the following. My forum index displays as show in the first image. I WANT it to display as the forum page itself does in the second image. Any ideas where I might find that and make the proper change?

Forum Index

Forum Page

Category Freshness

Published on April 30th, 2014 by mcleandesign

I apologize in advance for posting this here but couldn’t find a way to start a new topic. Although, this one is similar in that it’s related to Enfold (by Kriesi). If I need to start a new thread can you direct me on how to do that? Otherwise, here’s my issue:

I just installed bbpress and when I activate there appears to be a conflict with my custom sidebar widget. The widget actually disappears completely, although the sidebar theme still exists. Deactivating bbPress returns the widget to normal. I’m a newbie (an understatement for sure) and it’s possible I’m overlooking an action. Any advise you can offer would be greatly…no wait, GREATLY appreciated.

Derek

Updating Color and Shortcode Help

Published on April 30th, 2014 by calebbuxton

Hey All,

I am new to this plugin and I am trying to adapt it to my website.

I am trying to place the forum on this page: http://atlantacraftbeer.com/beer-exchange/

but it is not showing up like it does on the dedicated page: http://atlantacraftbeer.com/forums/forum/atlanta-beer-exchange/

Is there a way to update my shortcode to have it appear on the page I would like it to?

ALSO – if you notice the colors and some of the spacing do not really work with my theme. Is there a way I can update the colors and spacing (especially for the register page) using the CSS?

Annoyance with multisite

Published on April 30th, 2014 by doggins25

Not sure if this is a question for bbPress or WordPress.. please let me know if you can help

I am setting up WordPress Multisite + BuddyPress + bbPress

One annoyance I have is that when a user registers and creates a new blog, when they login they see the parent site as well as their blog under ‘My Sites’

There is a link to ‘Dashboard’ of the parent site, which they don’t have access to.

I’d like to remove the parent site from the list of My Sites

I’ve been able to establish the reason why it’s showing in the Admin bar is because they’re automatically assigned Participants to the parent blog for the bbPress forum. This is fine, but I really don’t want that showing in the admin bar.

I thought this would of already been asked before, but can’t find a similar thread

Thanks in advance.

Skip to toolbar