Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,826 through 18,850 (of 32,499 total)
  • Author
    Search Results
  • #38004
    expose
    Member

    I wonder if anyone can help please. I have run an update to a WordPress site (created by someone else) that had bbpress integrated. I didn’t upgrade BBpress. Before the WP upgrade, the forum was working fine. However since the wordpress upgrade (from 2.9.2 to 3.1) we are having the following problems:

    1) I cannot access the bbpress admin panel

    2) The Forum is showing posts and topics but the reply form is missing (only the heading shows)

    3) I cant see any way of creating posts, topics or threads so I presume something else is missing…

    I had to rewrite the WordPress theme files as the original custom theme had been so badly coded / core hacked etc. I haven’t touched the custom bbpress theme so thought it would be something to do with that. So first thing I did was disable it and enabled the default bbpress theme (through phpmyadmin) but have exactly the same set of problems – which to me rules out a theme issue.

    Anybody have any ideas where to start? Sorry I am not sure of bbpress version. Where do I find that?

    #99476
    zaerl
    Participant

    Your question is too generic. In order to add content to your site you must edit template files but you must be skilled with HTML/CSS/PHP.

    #104576
    zaerl
    Participant

    Your question is too generic. In order to add content to your site you must edit template files but you must be skilled with HTML/CSS/PHP.

    #37993
    jnw
    Member

    Hi all,

    I’m sure this has been covered a few times, but here goes.

    Cookies obviously aren’t working, because I’m getting booted out of wp-admin when logged into bbpress and visa versa.

    Have installed the bbPress integration plugin with settings in wp-admin like so:

    bbPress URL: http://website.com/forum/

    Your Plugins URL: http//website.com/forum/bb-admin/plugins.php

    Wordpress type: WordPress

    Added this code to the very bottom of wp-config.php

    define( ‘COOKIEPATH’, ‘/’ );

    In bb-admin, I’ve got:

    Wordpress address: http://website.com

    Blog address: http://website.com

    WordPress “auth” cookie salt: (auth_salt wasn’t present in the wp admin page, anyway I took the code from wp-config.php)

    WordPress “secure auth” cookie salt: (as above)

    WordPress “logged in” cookie salt: (as above)

    Manually entered codes so the following match

    AUTH_KEY / BB_AUTH_KEY

    SECURE_AUTH_KEY / BB_SECURE_AUTH_KEY

    LOGGED_IN_KEY / BB_LOGGED_IN_KEY

    And that’s where I’m at. Can someone tell me what I’m missing?

    I’m not going to worry about database sharing right now – is that advisable? Or is it highly recommended?

    Also what should I have the wordpress roles set to for each one of these?

    WordPress Administrator

    WordPress Editor

    WordPress Author

    WordPress Contributor

    WordPress Subscriber

    Thanks for the help!

    #99475
    1onely
    Member

    where are you ?

    #104575
    1onely
    Member

    where are you ?

    Rodney
    Member

    Thanks ajz! You rock! I was looking all over for that text :)

    Rodney
    Member

    Thanks ajz! You rock! I was looking all over for that text :)

    _ck_
    Participant

    There is a security bulletin being circulated this week about a “path disclosure” bug in bbPress 1.0.3 – it actually affects all versions.

    It’s not a super-serious security bug in itself but it can be used to gain leverage.

    Basically someone can discover the real path your files are in by causing a PHP error by trying to access a template file directly, where there is an error in the template because bbPress is not loaded at that time.

    Here is a simple workaround for users on Apache (vast majority of users).

    Make a file called .htaccess (note the dot at the start)

    in it, put this line

    php_flag display_errors off

    Then upload that file to bb-templates and my-templates

    The reason why we don’t put that in the master .htaccess file for all of bbPress is because you may need to see any regular errors in the future. However for the template subdirectories, there is no need because those files are never (supposed to be) loaded directly by the browser.

    #78984

    In reply to: threaded forum ?

    WPsites
    Member

    Just thought I would update this post as nothing seems to have been said about the threaded posts plugin recently (https://bbpress.org/plugins/topic/threaded-posts/)

    I’m in the process of setting up a forum and one of the requirements was for threaded posts so I have used this plugin.

    I have it installed on the most recent version of BBpress (“Bechet” version 1.0.3) and on it’s own it works fine.

    To get it to work I did have to follow the comments on the info page for this plugin. Pretty much just changed some file names.

    If you want to use the threaded post plugin along with the BBpress moderation suite then you will run into problems when you come to moving and splitting threads since the moderation suite doesn’t know anything about the threaded post functionality and just cannot deal with it. So you will have your work cut out trying to hack the moderation suite to take into account the threaded posts (it is doable though).

    Also the threaded post plugin may fail to list the threaded posts correctly if used in conjunction with other plugins that change the mysql query for displaying posts on the topic page. Since this plugin checks EVERY database query and if it matches what the plugin thinks is a request to display all posts from a topic then it intervenes and add something extra to the query to list the threaded posts in the right place.

    As part of that, in the code for this plugin it actually says “# FIXME: This is a horrible horrible hack” in the no_child_posts function. Well I had to fix it in order for it to play nicely with some private forum functionality that changes the mysql query when requesting posts for a topic. The code I created that replaces the no_child_posts functionality is below.

    function threaded_sql_where($where){

    return $where . ” AND pp.post_id is NULL “;

    }

    add_filter(‘get_thread_where’, ‘threaded_sql_where’, 10, 1);

    function threaded_sql_join(){

    return “LEFT JOIN bb_post_parent AS pp ON pp.post_id = p.post_id”;

    }

    add_filter(‘get_thread_join’, ‘threaded_sql_join’, 10, 1);

    You can download my modified version of the threaded posts plugin here: http://www.wpsites.co.uk/threaded_posts.zip

    #99929
    shinigami87
    Member

    I solved thanks this topic: https://bbpress.org/forums/topic/wp-integration-coockie-does-not-work

    I moved wordpress from “/wordpress” to the root and cookies integration now works! :-)

    #105029
    shinigami87
    Member

    I solved thanks this topic: https://bbpress.org/forums/topic/wp-integration-coockie-does-not-work

    I moved wordpress from “/wordpress” to the root and cookies integration now works! :-)

    ajz
    Member

    In functions.bb-template.php on line 311.

    Hope this helps.

    ajz
    Member

    In functions.bb-template.php on line 311.

    Hope this helps.

    Rodney
    Member

    Anyone have any ideas? :)

    Rodney
    Member

    Anyone have any ideas? :)

    #95076

    @tooltrainer – Closed topic issue is now fixed. Favorites and subscriptions should be viewable in your profile, and subscriptions trigger email messages on new replies. If these aren’t working for you, are normal WP emails working?

    @yutt – If you want it out sooner, lend us a hand. :)

    @darkwolf.it – Signature could possibly have room in bbPress core, since it’s an often requested feature and popular plugin. Will consider it. :)

    #37952
    #99926
    Luzifull57
    Member

    yess Ok Thankss!

    ____________________

    In the world of sbobet filled with an extremely fun game is the winner of the world does not believe, try to touch the sbobet

    then you’ll know.

    #105026
    Luzifull57
    Member

    yess Ok Thankss!

    ____________________

    In the world of sbobet filled with an extremely fun game is the winner of the world does not believe, try to touch the sbobet

    then you’ll know.

    #99925
    Gautam Gupta
    Participant

    Can you please try repairing your database’s bb_posts table through phpMyAdmin?

    #105025
    Gautam Gupta
    Participant

    Can you please try repairing your database’s bb_posts table through phpMyAdmin?

    #99919
    Gautam Gupta
    Participant

    The bbPress plugin uses the tags allowed for comments on your blog. So if you would use any plugin to edit those, it would also automatically happen for bbPress. :)

    #105019
    Gautam Gupta
    Participant

    The bbPress plugin uses the tags allowed for comments on your blog. So if you would use any plugin to edit those, it would also automatically happen for bbPress. :)

    #37928
    tooltrainer
    Member

    In the current bbP Plugin there is a limited set of tags allowed:

    You may use these HTML tags and attributes:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b>
    <blockquote cite=""> <cite
    <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    I’d really like to include at least one or two more tags, but I can’t for the life of me find where the list of tags is actually defined. I found functions that request them, like bbp_get_allowed_tags() but can’t find where the list itself is.

    Anyone know the answer to this mystery?

    Thanks!

    Jonathan

Viewing 25 results - 18,826 through 18,850 (of 32,499 total)
Skip to toolbar