Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 22,801 through 22,825 (of 26,860 total)
  • Author
    Search Results
  • #4254
    feastoffools
    Member

    I’m wondering if this is possible-

    We have our wordpress blog Feast of Fools tied together with bbPress forums, and I was wondering if there was a way for bbPress to treat the comments on a blog entry as a topic in the forums.

    This way, popular blog entries would “float” to the top in the same way that bbpress forum entries do.

    Any ideas? It this already a function we don’t know about?

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

    #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

    #68589
    Andrew
    Member

    Very nice theme. A great candidate for an accompanying WordPress theme too.

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

    #68835

    They should be added with the lowest privilege, yes. I’ve noticed that they seem to get added as ‘None’ until they log in to WordPress for the first time with a 2.6.3/1.0alpha2 setup.

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

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

    #68822
    TrishaM
    Participant

    Ok…..here is what I have in my (root) WP install folder:

    Options -MultiViews
    RewriteEngine On
    RewriteCond %{http_host} ^travel-writers-exchange.com
    RewriteRule ^(.*) http://www.travel-writers-exchange.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/Forum/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I also modified my .htaccess file in /Forum as follows:

    Options -MultiViews
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Forum/
    </IfModule>

    No 500 Server error – Yaay! this is progress….slugs are still disabled.

    #68821
    _ck_
    Participant

    Ah okay. Well the “slugs” part will be the last part after the .htaccess is working to finally get slugs.

    We should probably approach this in baby steps to see what triggers it.

    That “Multiple Choices” error is not good.

    It means MultiViews is still ON for some reason when it should not be. Maybe you did the MultiViews turn off incorrectly?

    Right now I assume the webroot has a .htaccess with Options -MultiViews at the top, then the rest of what you listed above for WordPress. Like so:

    Options -MultiViews

    RewriteEngine On
    RewriteCond %{http_host} ^travel-writers-exchange.com
    RewriteRule ^(.*) http://www.travel-writers-exchange.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/Forum/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Now in /Forums/ I want you to make a reduced .htaccess file like this:

    Options -MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Forum/
    </IfModule>

    Make that minimal amount and see if it that still functions without a 500 error. (keep the slugs disabled for now)

    #68212

    I seem to be having the admin login problem as well. I checked the salt settings and they match. I think this is a problem with the login integration. When I login to wordpress first I can post comments to bbpress but that is about it. The bbpress logout button is broken and wordpress doesn’t seem to recognize bbpress-originated logins.

    It certainly is close though. I’ll dive into the code to see if I can’t figure it out.

    #68814
    TrishaM
    Participant

    No luck :( Here is my root .htacces:

    RewriteEngine On
    RewriteCond %{http_host} ^travel-writers-exchange.com
    RewriteRule ^(.*) http://www.travel-writers-exchange.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/Forum/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Root (WP install) works fine, but when I put the .htaccess file in /Forum then I still get the 500 error….

    I have to run out but will be back in about 1/2 hour…..

    #68809
    _ck_
    Participant

    Ah I forgot it’s wordpress integrated – that’s your whole problem with 500 error. I have to lookup the workaround.

    #68808
    TrishaM
    Participant

    Okay lets see if this sheds any light:

    here is the htaccess file from my root:

    RewriteEngine On
    RewriteCond %{http_host} ^travel-writers-exchange.com
    RewriteRule ^(.*) http://www.travel-writers-exchange.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Here is the htaccess I would put in my /Forum directory, if it didn’t trigger the 500 error :D

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Forum/
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /Forum/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /Forum/forum.php?id=$1 [L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /Forum/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /Forum/topic.php?id=$1 [L,QSA]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /Forum/tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /Forum/tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /Forum/tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /Forum/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /Forum/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /Forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /Forum/profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /Forum/profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /Forum/view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /Forum/view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /Forum/rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /Forum/rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /Forum/rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /Forum/rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /Forum/rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /Forum/rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /Forum/rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /Forum/rss.php?view=$1 [L,QSA]
    </IfModule>

    I’ve verified that there are no errant spaces or line breaks……it doesn’t look to me like there are syntax errors or conflicts, but I’m no expert……

    monica_gs
    Member

    Hi,

    bbpres 0.9.0.2

    Im exhausted looking for a solution so i post, after a clean install in hostgator, when I click on Latest Discussions ADD NEW link, while not logged, I get a link similar as:

    http://www.domain.com/forum/bb-login.php?re=http%3A%2F%2Fwww.domain.com%2Fforum%2F%3Fnew%3D1

    and after clicking on it: I got a WordPress 404 not found page.

    I have tried adding and .htaccess in my bbpress directory with Options +MultiViews

    I have turned off-on pretty permalinks,

    I have installed a wordpress 404 fixer plugin,

    But nothing works,

    Only if is logged a user the ADD NEW link works.

    Please helpme I am on a deadline weekend.

    best regards

    monica

    Xoda
    Member

    I have the same exact same problem with wp 2.6.3 and bbpress 1.0-alpha, divided db but integrated login and cookie.

    I guess it could be solved by making all login throgh bbpress but it’s annoying.

    #4237
    gio50000
    Member

    I just moved WordPress and bbPress to a new host. Everything is working fine with both apps except I can no longer log into bbPress with my WP account and the posts using the BBpress Latest Discussions plugin are no longer displaying.

    The bb-config.php file is configured correctly because the forum posts are displaying. Is there an .htaccess file elsewhere than the root that’s missing? Is it a permission issue?

    Any clue what I’m missing?

    Thanks,

    Gio

    #68770

    In reply to: Newsletter plugin

    lostdeviant
    Member

    I couldn’t find an adequate newsletter system for WordPress, so I wrote my own. It isn’t hard to set something up with swiftmailer and just query your mysql database to get the user info.

    #68703

    OK, I guess I should modify that last posting. I now have tabs off to the right called “Profile”, “Edit” and “Favorites”. I still don’t see any WordPress integration section of the bbPress admin area, however.

    #68701
    chrishajer
    Participant

    globetrotterdk: I don’t know that they normally are in the wp-config.php file. You need to pull the options from the database using this URL:

    http://www.example.com/wp-admin/options.php

    Search that page for “salt” and you’ll see the settings WordPress is using.

Viewing 25 results - 22,801 through 22,825 (of 26,860 total)
Skip to toolbar