Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 55,026 through 55,050 (of 64,460 total)
  • Author
    Search Results
  • #68865
    _ck_
    Participant

    I believe 1.0 specifically has some abilities to address such a desire but I am unfamiliar with them. Sam might know.

    #68214
    lostdeviant
    Member

    I started a thread of several issues I’m having with Alpha-2. I hope they’ll be fixed in Alpha-3.

    #68487

    In reply to: Customizing gravatars

    Okay, having tested it a bunch of different ways, I can’t get it to work.

    I want to make my own image the ‘default’ for the non-gravatard people (which works fine on WordPress).

    In WordPress it’s this:

    <?php echo get_avatar(get_comment_author_email(),50,'http://www.foo.com/gravatar.png');?>

    For bbpress we have this post_author_avatar(); on post.php. Passing the URL into that, either on it’s own or as $default doesn’t work.

    Using echo bb_get_avatar( bb_get_user_email(post_author()), 48, 'http://www.foo.com/gravatar.png' ); didn’t work.

    I’m gonna keep tossing stuff up against the wall for now.

    #68213

    @sc0ttbeard: Hey Scott, take a look at a previous post of mine to hopefully jump-start your audit. I wonder if it’s a simple server config issue wrt cookie domain path… I’m going to RTFM.

    #66116

    @complex I think you’re mistaken. WP2.6.2 – WP2.6.3 did not have cookie-related modifications.

    WP2.6.3 did not fix ‘cookie-related issues’. The edict still stands for bbPress 0.9x.

    As I understand it, it is the move to bbPress 1.0 that uses the ‘new’ WP2.6x cookies.

    If you find ‘old’ options they’re probably there to permit backwards-compatibility with plugins etc that have not been upgraded yet.

    #63064
    _ck_
    Participant

    Okay this one is testing working.

    For anyone else that wants to use this, you have to replace the domain name by hand. It’s hardcoded for speed, sorry.

    All other target=”_blank” plugins should be uninstalled. Any existing links with target=”_blank” will be left in place for performance since target is not added by bbPress by default.

    <?php
    /*
    Plugin Name: Target Nofollow External Only
    Description: append target="_blank" and rel="nofollow" only on external links
    Plugin URI:
    Author: _ck_
    Version: 0.0.1
    */

    add_filter('post_text', 'target_nofollow_external_only',999); // unfortunately we have to do this on every page load and not in pre_post

    function target_nofollow_external_only( $text ) {
    $domain="travel-writers-exchange.com"; // domain to exclude from target and nofollow
    $text = preg_replace('|<a (.*)rel=['"]nofollow['"](.+)?>|iU','<a $1$2>', $text); // strip ALL nofollow
    $text = preg_replace('|<a (?=([^>]+http://))(?!([^>]+'.$domain.'))(.+)>|iU', '<a $3 rel="nofollow" target="_blank">', $text); // add back in when needed
    return $text;
    }
    ?>

    I’m not happy about the performance of this technique because it has to be done in post_text for every time a page is displayed, but there’s no other easy way around bbPress/WordPress’s unfortunate use of make_clickable with hardcoded “nofollow” in post_text.

    #63063
    _ck_
    Participant

    Okay I’ll play with it some more and see what I can do.

    update: the problem lies within make_clickable which has nofollow hard coded and impossible to “unfilter” at that level

    I’ll have to come up with a way to do it at display time and cleanup the mess bbpress (actually wordpress functions) create

    #68893

    In reply to: Moving posts

    _ck_
    Participant

    Moving topics is of course built in.

    Moving posts should not be done even though there is an old plugin to do so.

    The reason for this is because bbPress has no internal hooks to “announce” a post is being moved and it will break plugins that track data and count on posts remaining in their original topics. It can eventually cause some corruption.

    If you don’t use plugins or don’t care about corruption, the old move-it plugin may do what you want, but strongly consider the warning.

    #4253
    danbbpress
    Participant

    I read a thread about moving posts dated about a year ago ( http://bbpress.org/forums/topic/moving-a-post#post-6175 ). Any news on a plugin for moving wrongly placed posts to another forum? This is an issue that comes up quite often with many forums posters not payimg attention to forum names.

    #68890
    chrishajer
    Participant

    You don’t normally need to set anything there. The installation will continue fine without it.

    Every MySQL database uses character collation, but it’s normally hidden from sight. For my bbPress installation, the collation is utf8_general_ci. But I didn’t have to set it, it’s already there. In a unique situation you might need to set it, but I’ve never messed with it.

    #63061
    TrishaM
    Participant

    Hmmm…..okay well I did add this code to bb_tweaks……I replaced the function bb_target_blank section with what you have here, and I removed the add_filter('pre-post','bb_rel_nofollow'); and added the remove_filter actions above…….but it did not seem to have any effect – bbPress still strips out any “target” reference and still adds the rel=”nofollow” to all links…..

    I haven’t made any other tweaks to this….

    #4240
    irr1449
    Member

    I’m grafting a lot of existing functionality from my site onto bbPress.

    In forum.php I load a bunch of data from my own database and sit it in variable. Lets call one of these variables $blah.

    I’m trying to access $blah in the template file “post-form.php” so that I can include the value of $blah in a hidden field that gets posted.

    My issue is that $blah is empty when I try and output its content in post-form.php. I’m positive this had nothing to do with naming of the variable. I don’t see any reason why it should be empty. I’ve tried making it global but no luck. The post-form.php file is displayed on the same page as forum.php so I’m really lost.

    Is there a better way to add persistent data that you can access across bbPress?

    #68864

    My first thought on just copying index.php over and changing require('./bb-load.php'); to require('./forums/bb-load.php'); didn’t work (which is how it works for wordpress), though it may work if you do that and then changed the location in settings.

    See https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory for ideas?

    #68871
    _ck_
    Participant

    bb-attachments lets you upload an image and it inserts a simple bbcode for you automatically

    #68870
    chrishajer
    Participant

    Step 3:

    Do you need to install a language other than English? If so, you can find a list of language files here:

    http://bbshowcase.org/forums/topic/bbpress-translation-internationalization-into-local-languages

    If you need to use a language other than English, you need to navigate to the folder bb-includes and create a folder inside that folder, called languages, then put the language files in there.

    Step 4:

    If your website is http://www.example.com, and you put your forum in a directory called forum, you would open a browser and go to http://www.example.com/forum/ and the installer will start for you.

    #4246
    dave_river
    Member

    This is the installation procedure right?

    Quick Instructions

    1. Download bbPress from the download page

    2. Upload the uncompressed files your server

    3. Optionally upload language files to bb-includes/languages/ – You will have to create this directory

    4. Visit the intended URL of the bbPress site

    5. You will be greeted with the bbPress installer

    6. Follow the instructions in the installer

    7. Visit “Settings” in the admin area to customise your installation

    8. If you have any questions, ask in the forums

    In procedure number 3, i cant understand this step. I don’t know where i would got to, to initialize this step. And where is the language files? And where I can find the URL you talking about in Step no. 4? Sorry for too many questions, I’m a newbie here in wordpress. Waiting for a immediate reply.

    #4245
    Jeff Waugh
    Member

    Here’s a quick tip for anyone running an integrated WP+BB setup…

    Sometimes you’ll find users who haven’t been properly mapped into bbPress roles, so here is a quick MySQL statement to make them all members:

    insert into wp_usermeta (user_id, meta_key, meta_value) select user_id, 'bb_capabilities' as meta_key, 'a:1:{s:6:"member";b:1;}' as meta_value from wp_usermeta where user_id not in (select user_id from wp_usermeta where meta_key = 'bb_capabilities') group by user_id;

    (It adds a bb_capabilities record to the wp_usermeta table for each user who doesn’t have one. Thus, broken accounts become members. Yay!)

    Have fun. :-)

    #68868

    In reply to: BBpress not loading

    chrishajer
    Participant

    I had a similar experience.

    https://bbpress.org/forums/topic/alpha-2-and-wp-263-integrated-install-failed

    I wish I knew what caused it.

    #4244
    prnoct90
    Member

    I finished my install, but when I try to go to the site, it flashes between the following two like seven times:

    http://planetariandub.com/forums/

    http://planetariandub.com/forums/bb-admin/install.php

    And then the browser says it can’t open the page???

    #63057
    TrishaM
    Participant

    Bump – I know this may wind up being a dead issue (at least until a future bbPress update), but is anyone aware of any plugin to give greater control over how links are handled?

    I don’t want to dig into the core files, but I need to have internal links handled differently from external links, and need to be able to not have manually entered links (not using the URL button) altered to remove or add anything to the <a>tag…..so I’m hoping a plugin exists that will allow for link customization….

    #66115

    I noticed that the cookie & secret related data changed between WordPress 2.6.2 and 2.6.3. Now I am able to find the information that bbPress 0.9.0.2 requests when attempting to integrate with WordPress.

    Does this mean that WP 2.6.3 fixes the cookie-related issues that led to the edict “Do not try to integrate WP 2.6 and bbPress 0.9”? Or is that still a bad idea?

    and no, I haven’t tried to integrate the two in my latest install. I’m still trying to deal with some of my other install issues. I’ve stopped trying to integrate until I actually have the forum working.

    #4243

    I’d like my forum address to be my root domain URL: zarathud.org/

    So long as bbpress’ “subdirectories” such as “zarathud.org/topic/” don’t conflict with other, real directories (such as “zarathud.org/blogs/”), I figure that should work alright.

    However, I don’t want to dump all the bbpress files in my root directory. I’d rather keep them in a resource folder. I can do this with wordpress by putting an edited wordpress index.php file in the home dir. (I just edit the page’s require function to point to the correct location) Unfortunately, this didn’t work for bbpress.

    I imagine I’m not the only one doing this; what’s the working solution, please?

    (bbpress 0.9.0.2 )

    #4242

    Hey,

    I have tried bbSync to replace my wordpress comment system with forum posts, but it doesn`t seem to work with wp 2.6.3 + bbpress 1.0a2.

    I wanna redirect my users to my forum instead of the comments section

    Is there any other way to do it ?

    #68633
    _ck_
    Participant

    Don’t send $500, that’s crazy. Well unless that’s a single day of your adsense or something, lol. Donate here.

    https://bbpress.org/plugins/topic/instant-password/

    Make sure you install the Human Test plugin with it.

    #68630
    _ck_
    Participant

    I suggested they change this in the core long ago and let the user choose passwords while sending only an activation link via email.

    If you don’t need them to verify via a link in the email this could be written in an hour as a plugin. The code for password entry with re-entry verification can be lifted from the 1.0 alpha source.

    I do recommend you use my Human Test plugin however.

Viewing 25 results - 55,026 through 55,050 (of 64,460 total)
Skip to toolbar