Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,201 through 15,225 (of 32,519 total)
  • Author
    Search Results
  • #120036
    Stephen Edgar
    Keymaster

    @robotcake Try running the ‘Repair Forums’ tool https://codex.bbpress.org/repair-forums/

    rsanchez1
    Participant

    add_filter('bbp_user_register_redirect_to', 'my_custom_redirect_function');
    function my_custom_redirect_function($redirect_url) {
    $forums_url = bbp_get_forums_url();
    return $forums_url;
    }

    A filter is basically what it sounds: it passes the callback function a parameter, then you filter that parameter. Often, you do processing on the parameter and then return it, but in the code I posted, I’m ignoring the URL sent to the filter callback and returning the forums url.

    #120026
    Verra
    Participant

    Hi, funny thing is I currently want to add sidebar for my bbpress forum plugin. It alway shows the wordpress sidebar!

    Anyway, to remove sidebar use the fullwidth forum like this: http://www.ytecongcong.com/forums/
    Just follow
    1. Clone page.php of your WP themes and rename it to forum.php
    2. use BP Tweaks WP plugins to choose forum instead of page as default
    3. Open forum.php, remove the php code content php get_sidebar()

    • This reply was modified 13 years, 7 months ago by Verra.
    • This reply was modified 13 years, 7 months ago by Verra. Reason: SOLVE
    #120008
    DramaticBaby
    Participant

    Hi! My layout is like this:
    [Category 1]
    [Forum 1]
    [Forum 2]

    [Category 2]
    [Forum 3]
    .
    .
    As you know, bbPress’ default layout is to fetch the Category description, not the Forum descriptions. I’ve tweaked the bbp_list_forums function, so now I want to show the forum descriptions instead. But when I add the_content() to my loop-single-forum.php it fetches the category description.

    I think I must add the_content() in my_bbp_list_forums, but don’t know where or how.

    The code can be found here (Kudos to Lynq): http://pastebin.com/GLhCHYze

    And what I’m after graphically: http://i649.photobucket.com/albums/uu216/DramaticBaby/forum_description.jpg

    How can I make the_content() fetch the forum descriptions? Or is there a bbp_get_sub_forum_description() function somewhere? 🙂

    #120005
    zaerl
    Participant

    Put this code somewhere in your theme functions.php

    https://gist.github.com/4086011

    Otherwise you can change the roles editing the bbPress gettext file. Check ‘\wp-content\plugins\bbpress\bbp-languages\bbpress.pot’, create a .po for your language (if you already hasn’t one) and change the string “Key Master” at line 3311. If you don’t know what I’m talking about I can generate the file for you.

    nyks-barton
    Participant

    After some hours I got the solution (which I didnt foudn in the codex, @netweb.

    To use the Visibility-options, its is nessesary, to assign the forums to a category.

    Stephen Edgar
    Keymaster

    Hang of for a day or two, the ‘default’ theme in bbPress 2.2 uses lists and will be released very soon.

    https://codex.bbpress.org/theme-compatibility/

    #119985
    Stephen Edgar
    Keymaster

    Instead of bbpress.php try bbpress-functions.php and see https://codex.bbpress.org/theme-compatibility/ for more info

    #119984
    Stephen Edgar
    Keymaster

    Start by finding a WordPress theme and then you can customize bbPress to look the same as your WordPress theme https://codex.bbpress.org/theme-compatibility/

    #119972

    In reply to: freshness

    thesnowjunkies
    Participant

    Okay. That does make some sense. I also really just wanted to get rid of the “ago” text. Found it in the core under /bbp-includes/bbp-common-functions.php

    Pretty sure there’s a way around this without hacking the core code, but I have no idea. Suggestions welcome.

    #119965

    Some improvements to this bit of code were made in bbPress 2.2, which is due out any day now. Maybe give it a try and report back?

    #119953
    ochiba77
    Participant

    I’m using version 2.1.3.

    If you don’t put check mark for “Yes. I want this group to have a forum.” when you create a group for the first time, you will get a error message says “ERROR: Your forum must have a parent.” when you create a new forum for the group.

    I did the following procedure to create forum and link them together but this should be fixed.

    How to fix manually

    1. Create new forum from WP dashboard
    2. Get group id from wp_bp_groups table
    3. Get forum id from wp_posts
    4. Run the following insert command for wp_bp_groups_groupmeta

    INSERT INTO YOURDATABASE.wp_bp_groups_groupmeta (id, group_id, meta_key, meta_value) VALUES (’34′, ’8′, ‘forum_id’, ‘a:1:{i:0;i:52;}’);

    #119935
    Pietro
    Participant

    Hi Everybody, Guys !! ^_^
    Please, I have a question.
    My Forums shows me this message:

    The qTranslate Editor has disabled itself because it hasn't been tested with your WordPress version yet. This is done to prevent WordPress from malfunctioning. You can reenable it by clicking here (may cause data loss! Use at own risk!). To remove this message permanently, please update qTranslate to the corresponding version.

    The point is that: Even if when I’ve installed the bbPress qTranslate was not updated, so this message was right … Now qTranslate it is updated, but by the way bbPress doesn’t seems to see the change and it doesn’t shows me forum-contents by language.

    The 1.st link in the message (reenable qTranslate) doesn’t works …
    What to do, please, if I want to build a multi-language Forum ??

    Another deal:
    Why bbPress shows me this ugly editor ??

    If I click on Visual then it is good, but the 1-st one is the defaul one …

    THANK YOU !!
    Pietro

    • This topic was modified 13 years, 8 months ago by Pietro.
    #119918

    In reply to: Theme Packages

    kausikc
    Participant

    I do not think the theme formally supports bbpress. Should I copy files as mentioned in https://codex.bbpress.org/theme-compatibility/ and set theme package to “compat”?

    #119916

    In reply to: Theme Packages

    Anything from incorrect query_posts() usage, to not using wp_reset_query() where you should, and on, and on…

    If your there supports bbPress already (meaning it has the templates already where they belong) it doesn’t need any additional code in functions.php.

    #119914
    sambedingfield
    Participant

    Sorry John, my mistake whilst in a panic: it is the child theme’s function.php which is causing the error, the line: class BBP_Twenty_Ten extends BBP_Theme_Compat

    I have custom code in the main theme function file, but not the child. Strange that I have been updating bbPress fine with that exact same custom code during the past two updates.

    Another forum post of interest. Could it be related to a priority issue? I’m really not sure where to begin looking through my custom code – so any clues will help.

    I’ll keep digging and report if I can diagnose anything more.

    #119910

    Unclear why the theme would have BBP_Theme_Compat code in it? It certainly doesn’t come with the Toolbox theme.

    I just tested bbPress 2.1.3 and:

    * Works fine with Toolbox, out of the box.
    * Works with with BuddyPress.
    * Works fine without BuddyPress.

    If you made modifications to Toolbox, or have some custom code in a child theme of Toolbox, that’s likely the cause, though I don’t see how 2.1.3 is the problem, unless you modified files in the bbPress plugin yourself.

    #119908
    sambedingfield
    Participant

    Just got exactly the same issue whilst updating today. Fatal error: Class ‘BBP_Theme_Compat’ not found in …/wp-content/themes/***/functions.php on line 32

    I had just updated to bbPress 2.1.3
    – Using WordPress 3.4.2
    – ‘toolbox‘ theme
    – a child theme which was a clone of bbPress 2.0 standard theme

    Line 32 of my functions.php reads if ( ! function_exists( 'toolbox_setup' ) )

    #119885
    Stephen Edgar
    Keymaster

    Read the docs https://codex.bbpress.org/getting-started-with-bbpress/

    #119884
    Stephen Edgar
    Keymaster

    Try updating your permalinks as detailed in the FAQ https://codex.bbpress.org/faq/

    Try repairing your forums https://codex.bbpress.org/repair-forums/

    #119882
    Mike Stop Continues
    Participant

    In fact, it’s this section causing the problem:


    if ( $parent = $wpdb->get_results( $wpdb->prepare( "SELECT ID, post_type FROM $wpdb->posts WHERE ID = %d", $post->post_parent ) ) )
    bbp_clean_post_cache( $parent );

    #119868

    The goal of bbPress is not to have a bunch of bbpress.org clones out in the wild. If what you want is exactly what we have here, we’re flattered, and we’ll share it at our leisure. Until then, you have 95% of the necessary code in front of you, you just need to use it.

    If you don’t know how, learn! Don’t want to learn? Hire someone to do it for you. It’s like changing your oil, painting your house, or cooking your dinner; if you can’t do it, someone out there can, will, and wants to.

    P.S. – Getting upset at someone you want something from is a strange way to convince them to give it to you.

    #119865
    bbuser12345
    Participant

    I have tried many times to use the migration plug in and I cannot get it to work. So I have put an ad up on oDesk if anyone is interested in helping me out.


    An aside:

    I will save my long rant about how poor the documentation for this process is because frankly I am exhausted and exasperated. You guys work so hard and do such good work, but you drop the ball on the simple issue of documentation, so people’s experience with your amazing product (I’ve been using it for 5 years) is one of frustration and anger.

    If you create a tool/wizard to help non-web developers use your complicated product you cannot assume they are web developers. Spell things out provide details.

    For example: Don’t say “Database Server: Leave as ‘localhost’ unless your hosting provider requires you to use an IP address.”

    Instead say something like “Database Server: This is the name of the database server where your OLD data base is located, normally it is “localhost” (no quotes), but sometimes it has a different name or you must provide the IP address of the server. This varies based on how the company where you host your website has things set up.”

    Notice the details that a developer probably does not need, but the average user you created the wizard for will need and will get tripped up by.

    I am a data scientists. I program all day and I have sent 4 or 5 hours trying to get the migration to work and still no dice.


    BBPress Message Board Migration: Step 1 upgrade database
    Fixed Price Project – Est. Budget $20.00 – Posted 13 minutes ago

    Job Description
    I have a site that is currently using bbPress 1.1-alpha-2539 and I need to finally move to the latest plug-in wordpress version. I need help with the entire process, but this ad is for step 1, migrating the database.

    What I want from you is a detailed step by step set of instructions for migrating my database to the new format. I am a programer and data scientist, but have no experience with the tech BBpress is built on, I have played around with the wizards found here:

    http://codex.bbpress.org/import-forums/

    I am obviously missing something because they do not work for me. I will provide you with whatever you need so you can work out what the steps are, and I want you to provide for me:

    1) First things first, before you start anything I want you to provide me with a back up of my existing database. If it makes sense to do this in multiple formats then lets do the top 3.

    2) Start with the step by step instructions found here:

    http://codex.bbpress.org/import-forums/

    This is not detailed enough because I cannot follow it a get it to work. So you are to add to these step-by-step instructions so that I can do the migration myself when the time comes.

    You are free to create new databases as you test out the migration methods, but once you are done I want you to clean up after yourself leaving none of the new databases on my server.

    Qualifications: You must know BBpress and WordPress very well, I want someone who can help me with this and other steps in the process (They will be posted to oDesk as new jobs, but I would like to work with the same person throughout the process.). I need someone who can customize or build plug-ins for BBPress if we discover there is a need for a functionality that is not available. You must also be good with databases and able to tell me how to purge certain records based on given criteria. I am also interested in integrating a Wiki with the message board, so your thoughts on that would be helpful too.

    In your application please tell me about your experience with BBpress.

    Thanks,

    #119846

    In reply to: Don't

    Anointed
    Participant

    I’m sorry you feel that way. bbPress has come a long way and does a lot of things quite well. The code itself is a perfect example of exactly how to build a WordPress plugin as it follows all standards. The new trunk vs. is also a huge improvement over the current 2.1x release, so there is a lot of work going on behind the scenes.

    I am aware of a number of fairly large and well known websites currently running bbpress and very happy with it, so to each his own.

    elizabethamira
    Participant

    Hello! FIrst I really love bbPress and the way it looks on my site. Second, I am a complete and total newbie at this. That being said, I have a wordpress site (using wordpress 3.4.2) and I have a bbPress forum on it (am running version 2.1.3). I can login and access my site fine and I am labeled as a “key master” on my forum. The problem comes in where my users are concerned.

    When my users log in they get the “you do not have sufficient permissions to access this page” and it says in the URL: “http://www.mysitesname.com/wp-admin/plugins.php?plugin_status=all&loggedout=true.”

    Now the weird thing is when they delete all the stuff after the “.com” and refresh, it shows them as logged in and they can leave comments on the site and interact with the forum. It’s just the logging in and being redirected to the site that seems to be the issue. My users when they sign up are given the role of “forum participant.”

    There are plugins I am using (well some of them) are:

    • bbPress Mark as Read
    • bbPress2 BBCode
    • bbPress Like Button
    • bbPress Post Toolbar
    • bbP Signature
    • GD bbPress Attachments
    • Members
    • Simple Local Avatars
    • User Role Editor

    I have a couple of other plugins as well, but these were the ones that I installed to have users interact and customize their forum experience.

    I am not sure what the issue is and since all my users are mostly concerned about being able to log in and have access to the forum, I figured I would try here first.

    Thanks so much in advance for your time!

Viewing 25 results - 15,201 through 15,225 (of 32,519 total)
Skip to toolbar