Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 28,651 through 28,675 (of 64,535 total)
  • Author
    Search Results
  • #120742
    frenzis73
    Participant

    Hi James, thanks for you reply. I would like to merge two or more forums in the same BBpress installation (one single WordPress), not from two differents BBPress.

    Is that possibile?

    Regards, Francesco.

    #120741
    josefabiosan
    Participant

    after I updated to 2.2 bbpress whenever I create site-WP multisite appears in this message.
    Warning: array_keys() expects parameter 1 to be array, boolean given in /home/subvogco/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Hansaplastique
    Participant

    For some reason my code didn’t stick; I mean remove:

    bb_new_topic_link();

    Hansaplastique
    Participant

    +1 for me.

    I installed “bbPress Topics for Posts” (plugin link).
    I wanted to create one forum that collects comments on articles (this plugin does that very well – only downside is that comments made in the forum do not count as comments but are visible).

    Anyhow; I want users to be able to reply, but NOT create new topics.
    Right now it’s either no new topics and no new replies, OR new topics and new replies.

    Of course I could modify the forum.php and remove the for the specific forum. Is there an easier (more future proof) way?

    #120738
    Michael
    Participant

    Okay, after some sleuthing I’ve figured out why page.php is *always* called to display the Archive Base and Topic Base.

    The set of available templates appears to be hard-wired in (rather than selecting from all available Templates in the selected Theme) in bbp_get_theme_compat_templates() in …/bbpress/includes/core/template-loader.php.

    bbPress appears to want to select from a known list of “bbPress friendly” Templates to display pages, so it uses this hard-wired list when it goes hunting for the Template to use for displaying a given bbPress page.

    The $templates array includes the following Template file names (as of v2.2.2):

    $templates = array(
    'plugin-bbpress.php',
    'bbpress.php',
    'forums.php',
    'forum.php',
    'generic.php',
    'page.php',
    'single.php',
    'index.php'
    );

    What’s important here is that the ORDERING of the Templates in the array matters, as the function bbp_locate_template() goes through this array sequentially and returns the first Template it finds, which gets used to display the bbPress page.

    bbp_locate_template() searches the Child Theme first, then the Parent Theme, and finally the theme-compat folder, so in theory one can install a Template in the Child or Parent Theme with one of the above Template file names, and so long as bbp_locate_template() finds it first, we’re all cool — that Template will get used for Forum pages.

    There are 3 ways I can see to ensure my special Template is used when the Archive Base is displayed, in order of simplicity:

    1.  Edit the hard-wired $templates array in bbp_get_theme_compat_templates() in template-loader.php and add my template name to the top of the list.  Of course, this is BAD PRACTICE since it will get overwritten in the next bbPress update, but a quick way to test out a Template.

    2.  Create a Template called “plugin-bbpress.php” and put it in my Child Theme directory.  That’s the simplest.

    3.  Hook into bbp_get_bbpress_template, which is used as a filter on the $templates array and add my Template name as the first entry in the array.  This is the way it’s intended to be done, from what I can tell.

    All three of these will work, but they all have the downside of completely ignoring the Template setting of the Page Attribute for a given WP page (see here for what I’m talking about).  For a given WP page that is “partnered” with a bbPress page, bbPress should use the Template specified in the Page Attribute.  That’s what it’s there for.

    While I haven’t tried it yet, perhaps I can hook into bbp_get_bbpress_template and inject the current page’s Page Attribute for the Template.  I’ll have to dig into this a bit and see if it’s worth the effort.  It seems like that would be the cleanest way, as well as in the spirit of how Page Attributes are supposed to be used.

    Wish me luck.

    Michael

    #120734
    Michael
    Participant

    Okay, I’ve been doing some digging and perhaps as expected, the theme Template page.php (the default WP Template) is being called to build the Archive Base page.  I can edit the page.php in my child theme and customize from there (where it eventually calls the_content(), which apparently executes content-archive-forum.php to display the Forum “front page”), but that’s a brute-force method since page.php is the default Template for all pages. I want to create a Template explicitly for bbPress pages, which means I need a way to specify the Template to use on a per-page basis.

    Normally this would be done by simply creating a Template (like page.php) and put it in your child theme directory, then select it for a specific page you want to apply it to using the wp-admin Edit Page -> Page Attributes -> Template pull down, save it and voila, your page uses your custom Template.

    But with bbPress pages that are “partnered with a WordPress page” (per this topic discussion), this doesn’t work for the partnered page.  The Template setting seems to be ignored, and only for bbPress pages partnered this way.

    This may not be a show-stopper for me, but may be for others looking to customize the overall page Template for their bbPress pages.  Is it a bbPress bug?  I can’t tell, and hopefully I’m missing something painfully obvious, being new to installing/using bbPress.

    Seems like there must be some kind of code frag in the plugin that does something like:

    if (request to display (Archive Base | Topic Base) {
      if ((Archive Base | Topic Base) is partnered with WP page) {
        point the_content() at (content-archive-forum.php | content-archive-topic.php);
        call default page Template;
      }
    }

    JJJ or someone else in-the-know, can you comment on how the “partnering with a WordPress page” works? Where is this performed? Sorry if the question is naive, I’m just having trouble understanding how this partnering works at the Template execution level.

    Many thanks.
    Michael

    #120733
    Michael
    Participant

    Yep, that does indeed work. I still have a problem with being able to apply different page templates to this page, though — and this may not be a bbPress-specific issue, but it shows up only on bbPress pages created this way.

    The thread for this discussion is here.

    Thanks
    Michael

    #120732
    le-gentilone
    Participant

    Thank you for your fast response.
    Should I install wordpress locally and to import into my website which is still under xoops, or save the database and then import the file “example.php”?
    I’m so scared of losing everything, before I make a mistake trying to understand.
    I am just a novice and I could not make this correspondence.

    Merci pour votre réponse aussi rapide.
    Faut-il que j’installé wordpress en local, et faire l’importation sur mon site qui est toujours sous xoops, ou sauvegarder la base de données et ensuite importer le fichier «example.php» ?
    j’ai tellement peur de tout perdre, qu’avant de faire une bêtise j’essaie de comprendre.
    Juste que je suis novice et je ne saurais pas faire cette correspondance.

    #120731
    NickMackz
    Participant

    Well that’s weird. The ‘Member’ role just recreated itself. All I did was tick ‘Allow BuddyPress Groups to have their own forums’ in the forum options and save-changes and ‘Repair BuddyPress Group Forum relationships’ in tools.

    It doesn’t have the same capabilities that it had before. It has gained the edit-posts capability and has a few bbPress related capabilities.

    #120730
    robortsmith
    Participant

    Hi,

    i had a bbpress install 1.0.3

    it was a long time ago i did this so please bear with me!

    i thought this was installed without wordpress.

    i want to srub the contents of this forum as its full of spam and set up a new one with the same custom theme.

    am i right in thinking you have to have a wordpress install now to run bbpress?

    assuming so i have installed wordpress and bbpress plug in. would prefer not to have wordpress if you dont need it?

    Is it now possible to move my old custom theme from bbpress over and use that or do I have to start from scratch? if so how?

    Thanks

    #120729
    NickMackz
    Participant

    Just tried updating to bbPress 2.2.2 on my site that has completely custom roles. All of my roles capabilities were left mostly unchanged but had all their bbPress capabilities removed. For some reason, the role I had called ‘Member’ got completely deleted and all users who had that role now display as having ‘none’ as their role. In the wp_usermeta table, users still have ‘member’ set as their role, but the role no longer exists in wp_user_roles in wp_options.

    The forum roles appear to have been created correctly but all of my users (including Administrators) have no forum role at the moment. Strangely, Administrators still have complete control over the forums despite having no forum role or capabilities. I suppose this is because the Administrator role automatically has all capabilities?

    What could have caused my Member role to be deleted? Is it safe for me to just copy it back into wp_user_roles in wp_options from the backup I have of the database? How can I assign all current users a forum role?

    Thanks in advance 🙂

    #120727
    tomazi
    Participant

    how do i add the code correctly to the core?

    is it ?

    I think its really wierd that bbpress does not have a easy way to add post count to the forum. Or is it something really easy i have missed?

    Thanks!

    #120726
    Sam Rohn
    Participant

    you can easily change forum role titles, breadcrumbs and more using bbpress string swap

    https://wordpress.org/extend/plugins/bbpress-string-swap/

    sam

    Halo Diehard
    Participant

    I’m just recently testing bbPress, my theme is dark and the default editor doesn’t look well with it. Perfect solution? The editor color options available through Ultimate Tinymce! 😀

    So, my question is: Do I have to rename “foo”, or will it work if I just paste that into my functions.php?

    Signed,
    Complete and Utter php Newb

    #120719
    stanis
    Participant

    I can not change the user capabilities with plugins Members or User Role Editor

    The following message appears:
    Fatal error: Call to a member function has_cap ()

    Is there any solution?

    Thanks

    #120718
    Stephen Edgar
    Keymaster

    bbPress 2.x includes a conversion tool to import forums/topics/replies/users from some of the popular forum packages eg. bbPress or phpBB

    There is an ‘example’ file also included as a ‘reference template’ that if your forum software is using a SQL database then you could easily modify this to be a custom importer by matching the correct database tables/fields etc

    The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converters

    #120717
    le-gentilone
    Participant

    Hello

    Here I want to migrate my forum as xoops CMS, to my new wordpress site.
    Is this possible, and if possible how to proceed.
    Thank you in advance

    Bonjour

    Voila je veux migrer mon forum sous le CMS xoops, vers mon nouveau site wordpress.
    Est-ce possible, et si possible comment procéder .
    Merci d’avance

    #120713

    In reply to: bbPress 2.2.2 released

    sunflyer
    Participant

    on my installation I want to use the default theme, but it looks like its appearing with no style sheet attached. Also when I make a new topic its kind of “invisible” to the public and me. It says this forum has no posts or topics but it does! What could be wrong ?

    #120710

    In reply to: bbPress 2.2.2 released

    @sooskriszta – your theme is using query_posts() or is misbehaving in some other way. Maybe creating a WP_Query() that it’s resetting? Either way, I can remove that bit, but bbPress needs to take care to only intercept ‘the_content’ filters when it’s supposed to.

    #120709

    In reply to: bbPress 2.2.2 released

    SK
    Participant

    @johnjamesjacoby That resolves the issue!

    Halo Diehard
    Participant

    Howdy, can someone please check out the first page of my bbPress forums and tell me if it’s supposed to look like this? I can certainly tweak it with CSS, but I need an example, so if someone could provide a link to what it’s supposed to look like that would be great! BTW, I don’t mean colors, which I’ve begun tweaking already, I’m referring to the layout.

    I’m using:

    WordPress Version: 3.4.2
    bbPress Version: 2.2.2
    Theme: Custom Community

    Link to my bbPress test forums: http://themetest.halodiehards.org/hd-forums/

    #120702
    Michael
    Participant

    For what it’s worth, I’m looking for whatever function is calling content-archive-forum.php.  I can edit this file in my child theme per the Codex, but I’m trying to figure out which function is calling this, and in particular, what function generates the code above the <div id=”bbpress-forums”> at the start of content-archive-forum.php.

    Does bbPress simply use the default post display template, and if so, where is the call to load and execute content-archive-forum.php  made?

    I tried a grep for content-archive-forum in the entire wordpress tree from wp-content on down, and I can’t find where this is called from.

    Many thanks

    Michael

     

    and not just this template file

    #120698
    Michael
    Participant

    Hi there — I’m running WP 3.4.2, bbPress 2.2.2 & buddypress 1.6.1.  Overall, I’m quite happy with the installation, and I’ve done a fair amount of customization on my site  to give it a nice L&F.  I’ve been using a child theme to do all customization, and it’s been reasonably straightforward, but not trivial.  That said, many thanks to all the bbPress folks who are putting lots of time in on this plugin — it’s a great platform.

    Onto my question:  How is the main forum archive page generated?  I want to create my own template to generate this page, and I’ve been stumped trying to trace the sequence of files/calls used to create it.

    For context, I have the Forums Base set to “member-area/forums” in Settings -> Forums. I can go to http://mysite/member-area/forums and see the standard listing of all the forums in a table.  Perfect, just what I want.

    That said, how exactly is this page created?  Which files & calls in the plugin create it?  I’ve found loop-forums.php in …/plugins/bbpress/templates/default/bbpress/which is used to create the table within the page (apparently called as the_content() somewhere), but I can’t find the code blocks that create the header, footer, etc.  Is there a single template page used to create the Archive Base page?

    Apparently this page is generated regardless of whether there is an existing page (permalink) to the same permalink used as Archive Base.  Nifty, but I want to use my own template (the whole thing) for creating the Archive Base page.

    Even when I create a page with a permalink address the same as Archive Base and insert a  [bbp-forum-index] in the post content, I can’t seem to select a Template from the Page Attribute pull down that has any effect on the creation of the Archive Base page.  It’s like it’s hard wired to use a very specific template — that I can’t find in the directory tree.

    Long winded, but I hope that conveys what I’m trying to do.  In short, I just want to create my own template for creating the Archive Base page.  Any pointers are appreciated.

    Cheers,

    Michael

    #120696

    In reply to: bbPress 2.2.2 released

    #120695
    frenzis73
    Participant

    Hello, I use BBpress 2.1.

    Is there a way to merge two forums in one?

    Regards, Francesco.

Viewing 25 results - 28,651 through 28,675 (of 64,535 total)
Skip to toolbar