Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,201 through 15,225 (of 32,503 total)
  • Author
    Search Results
  • #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!

    thesnowjunkies
    Participant

    I don’t know if I had the wrong Yoast code, but I tried it again on my template page and it works fine now. Thanks though @JJJ

    #119811
    hummingbirdmeadow
    Participant

    WordPress version – 3.4.2
    bbPress version – 2.1.3
    Website – kidbusinessowners.wordpress.com/

    Alright I am, well, almost completely clueless on how all of this stuff works. I downloaded the WordPress today and the bbPress. My main reason for trying WordPress is because I want to have a forum. I don’t understand, I’ve created a user with both WordPress.com and WordPress.org and I can make my blog with the .com but I downloaded the stuff on the .org. How do I link up the download with my website? Does it require an extensive knowledge of scripting codes (which, as you can tell, I’m not extremely good at)? Thank you!

    #119799
    robertFudge
    Participant

    Added manually for development purposes… how can I hook these into bb profile and save them from there? I have been working on this for 2 days with no success. At this point I can not change bbpress, I need a way to do this. Thanks in Advance.


    add_action( 'show_user_profile', 'extra_user_profile_fields' );
    add_action( 'edit_user_profile', 'extra_user_profile_fields' );

    function extra_user_profile_fields( $user ) { ?>

    <input type="text" name="address" id="address" value="ID ) ); ?>" class="regular-text" />

    <input type="text" name="city" id="city" value="ID ) ); ?>" class="regular-text" />

    <input type="text" name="province" id="province" value="ID ) ); ?>" class="regular-text" />

    <input type="text" name="postalcode" id="postalcode" value="ID ) ); ?>" class="regular-text" />

    < ?php }

    add_action( 'personal_options_update', 'save_extra_user_profile_fields' );
    add_action( 'edit_user_profile_update', 'save_extra_user_profile_fields' );

    function save_extra_user_profile_fields( $user_id ) {

    if ( !current_user_can( 'edit_user', $user_id ) ) { return false; }

    update_user_meta( $user_id, 'address', $_POST['address'] );
    update_user_meta( $user_id, 'city', $_POST['city'] );
    update_user_meta( $user_id, 'province', $_POST['province'] );
    update_user_meta( $user_id, 'postalcode', $_POST['postalcode'] );
    }

    • This reply was modified 13 years, 3 months ago by robertFudge.
    • This reply was modified 13 years, 3 months ago by robertFudge.
    • This reply was modified 13 years, 3 months ago by robertFudge.
    • This reply was modified 13 years, 3 months ago by robertFudge.
    Shane Gowland
    Participant

    Why don’t you just use the code from the snippet you have? Just replace the printf() that outputs the role name with an echo(‘<img src=..) to output your badge instead.

    With all the time you spent bumping this topic and being a condescending prat; you could easily have learned the required single line of PHP.

    I’m confused about what you’re trying to do. You’ll really want to stick to using the functions included with bbPress rather than trying to build your own MySQL queries to connect things.

    bbPress uses a bunch of additional post_meta to connect forums, topics, and replies together. It also keeps counts in post_meta of how many topics and replies live inside any forum or topic. When things are off, they’re really off, like you’re showing in your link above.

    My advice:

    • Use bbPress core functions.
    • Use the WordPress import/export tool if you’re moving between installations.
    • Look at the bbPress functions for inserting forums/topics/replies, and use those as your guide if you still plan on building something custom.

    In future versions, I’ll likely clean up some of the post_meta code, so it’s all in one place and easier to grok. Much of it was written as it was needed, so the post_meta isn’t super organized.

    #119670
    thomasbf
    Participant

    Thanks so much for your kind advice.
    Solving it on the proxy host as proposed by @zaerl is most likely the best way, however reverse proxy is running on a shared web hoster system, and I just have a web-Interface to enter the forward address. I’ll check, but maybe it’s not possible to apply the parameters suggested by @zaerl.
    Maybe there is a chance HTTP_X_FORWARDED_HOST is set, then I could use
    something like this(??):

    $_SERVER["HTTP_X_FORWARDED_HOST"]? $_SERVER["HTTP_X_FORWARDED_HOST"] : $_SERVER["HTTP_HOST"]
    

    (sorry if this is wrong syntax, but I don’t know PHP)
    I’ll have a look at 2.2 once it ‘s released. Maybe this also helpful.
    BTW: Is a nonce check not usually using a cryptographic hash (token). I wonder here you just check HTTP-Header attributes?Is this a strong check?

    #119663
    tkott
    Participant

    @shmoo, @netweb,

    Thanks for the replies. I’ll take a look at that ticket to get an idea of where the code is, that’s going to be really helpful.

    Tomek

    #119660
    Gary3000
    Participant

    You can add it to the page via bbPress shortcodes.

    https://codex.bbpress.org/shortcodes/

    #119654
    Stephen Edgar
    Keymaster

    This markdown/code plugin here on bbpress.org has got to go or get fixed 🙁

    In theory by adding lines 14 to 26 to ‘somewhere’ eg. the footer as you suggest should work.

    With all that said though it should be working as is so if that doesn’t there might be another underlying issue that is stopping the pagination working on your site

    • This reply was modified 13 years, 3 months ago by Stephen Edgar.
    • This reply was modified 13 years, 3 months ago by Stephen Edgar.
    #119647
    Phill
    Participant

    Could I just insert within the footer or something similar?

    It won’t let me enter the pagination php code.

    • This reply was modified 13 years, 3 months ago by Phill.
    • This reply was modified 13 years, 3 months ago by Phill.
    • This reply was modified 13 years, 3 months ago by Phill.
    • This reply was modified 13 years, 3 months ago by Phill.
    • This reply was modified 13 years, 3 months ago by Phill.
    • This reply was modified 13 years, 3 months ago by Phill.
    #119643
    Phill
    Participant

    Yea that’s the code in my loop-replies.php

    #119642
    Stephen Edgar
    Keymaster

    Have a look in /wp-content/yourtheme/bbpress/loop-replies.php and make sure you have the following lines included which will then include the pagination links.

    You should see respectively at the top (Trac Source)

    and at the bottom of that code (Trac Source)

    (The missing text when editing a reply is already patched for the next release)

    #119634
    thomasbf
    Participant

    I setup a server on a non standard port that is receiving requests from a reverse proxy. This setting is causing the bhp nonce check fail.

    This is function bbp_verify_nonce_request in bbp-common-functions.php
    I’m not a PHP Programmer but it looks like this is caused by

    if ( empty( $result ) || empty( $action ) || ( strpos( $requested_url, $home_url ) !== 0 ) 
    

    Here the system tries to compare request_url and home url, however this is not identical in a reverse proxy setting, because the request is going to the internal server, while the home_url contains the url of the external web server.
    Does this make sense?
    To verify the theory I just removed the comparison of the URL’s like this:

    if ( empty( $result ) || empty( $action ) )
    

    Now it works, but I hope that I did not open a security issue.
    Can I kindly ask for advice on how to better set the system to avoid the issue?
    Thanks!

    #119632
    johnjack
    Participant

    Evening All
    The bbpress plugin for wordpress is amazing! Big thanks to the guys who put it together.
    I have a small issue that I am sure is more a newbie thing rather than anything big.
    My forums are showing as post on my blog site rather than using the ‘page template’. I can use the shortcode to make certain section initialy show on a page however when ever you click on a topic it takes you back to a post template (with all the post written by, tags etc etc).
    Is there anyway to make the plugin use a page template rather than a post?
    I am using the Arras Theme at the moment (which could be part of the problem)
    Any help would be fab

    Thanks

    JohnJack

    #119628

    Anything is possible.

    You’ll want to research WordPress login plugins, if you want more control over the login page than what bbPress provides. You can use the login form shortcode, but that won’t prevent people from navigating to wp-login.php directly.

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