Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,851 through 18,875 (of 32,518 total)
  • Author
    Search Results
  • 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

    #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! :-)

    #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! :-)

    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
    #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.

    #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.

    #105025
    Gautam Gupta
    Participant

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

    #99925
    Gautam Gupta
    Participant

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

    #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. :)

    #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. :)

    #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

    Rodney
    Member

    I’m trying to make the user interface a bit more friendly in my bbpress install and I can’t seem to find the text “You must log in to post.”

    This is the text that shows up to guests when they are trying to start a new topic or if they want to reply to a post.

    I’d like to add a nice “Login” button there as a call to action so people easily know where to go.

    Anybody know where that text is in the code so I can edit it or add something to it?

    #37915
    Fyshi
    Member

    As you know there is some markup allowed in bbPress. This is pretty good but i think the allowed tags are not enough. So I’m asking if there are plans to integrate the <u> and the <i> in future releases of bbPress. I modified the “allow Images”-Plug-In. But I think there is nothing that speaks against the integration of these tags.

    #91972

    In reply to: Kakumei Black

    copperblade
    Participant

    Times change, WPExplorer, and so does the software I have installed on my site. I don’t think there’s any way for me to edit the old post to change the link. But you can still go here:

    http://kakumei-black.googlecode.com/

    wemaflo
    Member

    I just downloaded bbPress 1.0.3 to my webserver (Debian Lenny with ISPConfig) and unzipped it. After that I tried to reach the installation script in my browser on bbpress.example.com and got the following error messages:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config-path.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 141

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client4/web8/web/bb-load.php:141) in /var/www/clients/client4/web8/web/bb-load.php on line 179

    PHP open_basedir is set to:

    /var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

    bbPress is located in “/var/www/clients/client4/web8/web/” none of the bbPress files is located in “/var/www/clients/client4/web8/”. So why should bb-config-path.php or bb-config.php be there?

    How can I solve this problem?

    #104973
    moogie1
    Member

    Actually, never mind, I figured it out.

    A simple note, such as “Hey stupid, all you need is a properly formatted readme.txt in your plugin folder.” would have made it even easier though :)

    #99873
    moogie1
    Member

    Actually, never mind, I figured it out.

    A simple note, such as “Hey stupid, all you need is a properly formatted readme.txt in your plugin folder.” would have made it even easier though :)

Viewing 25 results - 18,851 through 18,875 (of 32,518 total)
Skip to toolbar