Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 28,626 through 28,650 (of 64,518 total)
  • Author
    Search Results
  • #120753
    spiritbear
    Participant

    heh.

    I’m using bbPress 2.2 and the bbPress for PageLines plugin 1.0.6. Created a test Category, then a test forum underneath that category. Blank content everywhere – I can see my masthead and sidebar, but zippo on the content.

    My cluelessness is evidently unbounded in this dimensional plane. Tell me I’ve missed something very basic? Do I need to select another template (I have Template=Forum selected for all forum related pages), or do I need to actually create a page for each? Should I pitch the fine folks at PageLines?

    Love and gratitude for your assistance.

    #120751
    Stephen Edgar
    Keymaster

    Here are the steps I would follow:

    – Backup everything and often (WordPress, Xooops, MySQL etc)
    – Install WordPress locally to test the import
    – Research the Xoops MySQL database structure
    – Make a copy of importer example.php as xoops.php in the same folder
    – Edit xoops.php to match the xoops database table & field names

    eg. This from Example.php:
    // Forum id. Stored in postmeta.
    $this->field_map[] = array(
    'from_tablename' => 'forum',
    'from_fieldname' => 'forumid',
    'to_type' => 'forum',
    'to_fieldname' => '_bbp_forum_id'
    );

    Would become:
    // Forum id. Stored in postmeta.
    $this->field_map[] = array(
    'from_tablename' => 'xoops_forum_table_name',
    'from_fieldname' => 'xoops_forumid',
    'to_type' => 'forum',
    'to_fieldname' => '_bbp_forum_id'
    );

    The above is not accurate as I have no idea what table and field names xoops uses for its database, that is the bits you need to research. Do the above for as much as you can matching all the tables and fields testing your import.

    Once you have an import working and are happy with you can then look to importing it to your live site and I cannot emphasize this enough, backuyp, backup and more backups in case things go wrong.

    #120750
    oconn146
    Participant

    All,

    Hi, I’m interested in implementing bbPress on this site that I own: http://www.nationalbankruptcyforum.com.

    Wondering if the community could recommend a good bbPress developer who is also comofortable working with responsive Genesis child themes?

    I can be reached via email at: john@jsodigitalconsulting.com.

    Thanks,

    John

    #120749
    remike
    Participant

    I have partially found a solution. I copied out all of bbpress functions.php to my graphene-child functions.php. After that I copied out the single-user.php template to my graphene folder.

    It kind of sorted it out, but the entire background just disappeared and I had no user title displayed above the avatar.

    I had to add the white background and the user name manually. Unfortunately bbp_current_user_name provides MY OWN user name, not the name of the profile displayed. So if I want to go to somebody else’s profile I will still see my own id…

    Does anyone have any solution?

    #120747
    Todd – WireFlare
    Participant

    It doesn’t look like things are too messed up. Although it’s not always the best method in this case I would recommend using the !important tag in your css for bbpress. This will only override the theme when the bbpress-forum tag precedes it therefore not effecting the rest of the site.

    Specifically you should follow the instructions to move the css into your theme directory and then modify line 62 of the bbpress.css found in your theme/css folder. You’ll need to add !important before the ; and after your list-style and margin entries. In order to get rid of the stars you’ll have to add a line of css defining the “a” style within the bbpress-forum. You’ll need to set the background to none and the padding to 0.

    Hope that helps.

    #120745
    wadams92101
    Participant

    after upgrading to bbPress 2.2.2, I get 404 error when going to the forums base (mydomain.com/forums) or forum base / slug (mydomain.com/forums/forum) but I can still go directly to a forum topic. How do I get rid of the 404 error and restore my forums base directory of topics?

    #120744
    josefabiosan
    Participant

    error on log cpanel
    25-Nov-2012 15:04:26 UTC] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453
    [25-Nov-2012 15:04:26 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    #120743
    frenzis73
    Participant

    I would like to show the latest forum in the footer of my WordPress site. I would like to use bbp_list_forums(); function. But it seems is not possibile.

    Could you help?

    Regards, Francesco.

    #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

Viewing 25 results - 28,626 through 28,650 (of 64,518 total)
Skip to toolbar