Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,476 through 25,500 (of 26,801 total)
  • Author
    Search Results
  • #58407
    Kahil
    Member

    I got to thinking… being that it renames the image to their usernames, I thought that the following might work, but it doesn’t…

    <img src=”http://yourkahil.com/forum/avatars/&lt;?php echo $strtolower($user->user_identity); ?>.jpg” alt=”avatar” />

    Shouldn’t that work? I’m trying to get it to display the current username of the person visiting the site, provided they are logged in. If they aren’t logged in it shouldn’t display anything. Later I’d like to figure out how to do an if else statement so that if the visitor isn’t logged it, it will display a default image.

    #58471

    In reply to: bbPress 0.8.2

    do you mean that “after upgrading and changing the permalink structure of a forum; the old permalinks does not redirect to the new one” ?

    No, I just meant that with the current code, if you’ve somehow managed to change the slug, you’ve broken the old links. But, as you point out, bbPress knows how to move “sideways” across different kinds of permalinks.

    WordPress allows you to change the slug and automatically redirects your old links to the new slug; it’s more clever than bbPress is at the moment :)

    #58536
    drift82
    Member

    Thanks! I went ahead and put the two as different prefixes. Can you make sure the developers put a note about that in config.php!

    #58535
    fel64
    Member

    Yes, it will. WordPress has (what is usually) wp_posts and bbPress has (ditto) bb_posts, with a different table structure, so there’d be issues.

    What are the dis/advantages of putting tables in the same database, does anyone know?

    #58469

    In reply to: bbPress 0.8.2

    karaboga
    Participant

    karaboga, permalinks should be permanent. Perhaps we can work on redirecting old permalinks to the new ones. Better yet, that’d be a great plugin :)

    mdawaffe, do you mean that “after upgrading and changing the permalink structure of a forum; the old permalinks does not redirect to the new one” ? In this forum, for example we if write

    https://bbpress.org/forums/topic/100

    it is redirected to the 100th topic with the new permalink structure.

    Yes, permalinks should be permanent. But, in WordPress we can change the post slug, and then the permalink of the post is changed. Why cannot we do so in bbPress? :)

    #56048
    ganzua
    Member

    “But after what I’ve integrated both of api’s: the wordpress and bbpress; this resulted in the following error:

    Fatal error: Cannot redeclare class streamreader in /var/www/pm/forum/bb-includes/streams.php on line 26″

    -> same error here

    #1982
    drift82
    Member

    Before I break things, I wanted to know if I can use the same table prefix for both BBPress and WordPress? The reason I ask is because I have several sites in the same database and I’d like to pick a convention. Anyone know if this will cause any problems?

    #58429
    kehlers
    Member

    Well, your guess was correct! Your tip got me to thinking about cookies – I’m a little rusty on my setcookie() syntax! Anyhow, I decided to install WordPress, even though I don’t need it just now, because if I could get that to integrate across directories, then I could surely do what I’m hoping for with the gallery.php page.

    That helped me to understand the interactions of the cookies and directories and domains. All that to say, I was able to get it to work using the following in config.php:

    $bb_cookiepath = "/";
    $bb_cookiedomain = ".mydomain.com" ;

    I believe that if cookie domain is not specified, then it will default to be the root of the directory in which the script is running, i.e. mydomain.com/forums/, making it unavailable to any other directory, including parent directories. You probably already knew that, but just putting it out there in case someone else has the same issue. ;)

    #56047
    c00l2sv
    Member
    #58515
    c00l2sv
    Member

    I had the same problem:

    https://bbpress.org/forums/topic/latest-wordpress-038-bbpress-in-another-language?replies=3

    But I solved that differently:

    https://wordpress.org/support/topic/111411?replies=9

    It is easier than making raw database calls…

    Cheers!

    #58514
    dreamXG
    Member

    For anyone else who gets the same error in future, its the WordPress config file, the only way I got round it was to do raw database calls, but including it generates errors.

    #1978
    karaboga
    Participant

    Hi,

    In our forum, we can see the topics filed under any tag. But if we open the all tags page (wordpress-tr.com/forum/tags/, we cannot see the tags, and we see the error message, “No input file specified.” What can be the problem?

    A similar problem was discussed here, we use pretty permalinks and Options +MultiViews works, but still has that problem.

    #58488

    I really do need to know what your .htaccess file looks like in order to help you.

    Also, there may be some issue with your bbPress running on http://www.bqtrademark.com and your WordPress running on bqtrademark.com

    #58406
    Kahil
    Member

    by looking at the code for the “upload avatar” plugin I found this…

    strtolower($user->user_identity);

    This is what I have now, but nothing displays for the filename, just yourkahil.com/forum/avatars/.jpg

    <?php

    /*

    Plugin Name: WP Avatars

    */

    function wp_aud( $felID ) {

    $avatar = strtolower($user->user_identity);

    $bburl = ‘http://yourkahil.com/forum&#8217;;

    echo ‘<img alt=”avatar” src=”‘ . $bburl . ‘/avatars/’ . $avatar . ‘.jpg” class=”avatar” />’;

    }

    ?>

    karaboga
    Participant

    Hi, my request will be useful especially for people using non-English bbPress versions.

    There are some permalinks which are not translateable or changeable in bbPress. For example, in WordPress, we can change the slug of the permalinks for “category”.

    I think it will be very appropriate if that kind of property is added to bbPress. These are some of that slugs:

    topic, profile, forum, view, no-replies, untagged, tags, replies

    (By the way, can we change these slugs by any hack?)

    #58405
    Kahil
    Member

    Ok, so I’ve figured out some more info to share…

    First, the code posted above needs to reference the file type (.jpg, .jpeg, .gif, or .png). Right now the code only points to the avatars folder.

    Next, I’ve figured out that the “avatar upload” plugin for bbpress does rename the images to the user’s username, but makes it all lowercase letters if there are any caps.

    Hope that helps.

    Thank you!!

    #1977
    dreamXG
    Member

    This seems to happen any time I choose a localization file

    I get a series of fatal errors saying ‘Cannot redeclare class CachedFileReader’ in bb/inlcudes/streams.php.

    I’ve searched the forums, and it hasn’t yielded any solutions, is anyone experiencing the same issue?

    I am running the latest bbPress 0.8.2, with WordPress config included.

    #58461

    In reply to: bbPress 0.8.2

    citizenkeith
    Participant

    No README or INSTALL files?

    I’ve read the blog post and any pertinent thread, but I was hoping for some install/upgrade instructions, like WordPress supplies.

    #58404
    Kahil
    Member

    It is pointing to the correct folder, just isn’t pointing to any file like it should.

    #1966

    Topic: header

    in forum Themes
    driz
    Member

    Hey so i want to make my header from WordPress installation appear in my bbPress one, so say i add something new like a link etc it will appear globally rather than only on WP. Any safe way to do this?

    Im wanting both WP and bbP to work together seamlessly.

    #58403
    fel64
    Member

    Forget about the PHP.

    Where it just says “avatar” instead of displaying the image, open the page source (in FF: Ctrl + U, in IE: probably something), then search for “avatar” until you hit the right place. There should be an image tag. Look at the src property. Does that URL point to a valid image file? If not, what does it read?

    #58436
    ynotweb
    Member

    sorry, took a break. that looks right to me, given your wordpress blog is at http://www.sitenameishere.com/wp/

    also, you’re missing the semi-colon at the end of the require line – after the end paren ); but you may just not have typed that in here. check for that, it would break a site. Otherwise, not sure. Assuming the bbpress install works fine with the default theme…

    #58434
    ynotweb
    Member

    you’re putting that code as the first line of config.php and nowhere else?

    it might be the way your wp header is set up in comparison to the bbpress templates. mine was completely simple:

    1. add the ONE php require line to config.php

    2. drop Aditya’s files into a subdirectory of my-templates with a style.css with a name section

    3. add bbpress styles to my wordpress theme stylesheet

    4. change template in the presentation dashboard

    Now I wanted my wordpress sidebar so I also added a div tag and sidebar include to those template files but otherwise haven’t had to change anything else.

    #58433
    sneakym
    Member

    Thanks for the reply but I have followed those instructions to a T numerous times and nothing works, including downloading that template. This code

    <?php require_once(‘/absolute/path/to/WordPress Parent Directory/wp-blog-header.php’) ?>

    Breaks the forums completely. I only get a white page when going to the URL….

    #58432
    ynotweb
    Member

    I’m working on this today too and followed Aditya’s instructions too and its got me in the right direction– I think what you missed is downloading his “my-template” that pulls all the wordpress header and footer info in for you automagically. It is in the last paragraph “..now you can just drop this template” and the link is:

    http://www.adityanaik.com/download/bb-my-template.zip

    Anyway, worked for me and only thing left is to customize the forum portions / content area.

    oh, you do need the ‘<?php require_once(‘/absolute/path/to/WordPress Parent Directory/wp-blog-header.php’) ?>’ as the very FIRST line of your bbpress config.php

    Hope that helps.

Viewing 25 results - 25,476 through 25,500 (of 26,801 total)
Skip to toolbar