Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,001 through 61,025 (of 64,411 total)
  • Author
    Search Results
  • #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.

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

    #1964
    sneakym
    Member

    Please help. For the life of me I cant get my WP Header/Footer into BB. Ive followed the instructions here: http://www.adityanaik.com/bbpress-and-wordpress-integration/ but those seem to be old…Either way, ive gone into my template files and replaced bb_get_header() with get_header() and uploaded all of the files and a screenshot into a subfolder in my-templates. When I activate the theme, the theme activates but all i get is a blank page on my forums page…Any thoughts?

    bb .81

    #58402
    Kahil
    Member

    I don’t know the php code. I followed what was stated above. The URI points to the right folder. When you upload an avatar using the bbpress upload avatar plugin, it renames the image you upload to your username.

    #57985

    In reply to: Plugin: Forum Icons

    M
    Member

    I’m not proficient at php but finally figured out I needed to add these bits to front-page.php in my template to create a new column and make the icons show up. Might want to add a tiny bit of instruction for us neophytes.

    <th><?php _e('Forum Icons'); ?></th>

    <td class="num"><?php forum_icon(); ?></td>

    Great plugin, didn’t even realize how useful visual pointers would be to my increasing number of new visitors – the little pics help direct those who don’t seem to be able to read and just post on whichever forum their mouse lands on first.

    Also, any idea how to make it work with the Forum Restriction plugin so I’ve got an image instead of an ugly text link?

    #58036

    In reply to: bbSync

    fel64
    Member

    Sneaky: cool, thanks. I suspect you have a similar problem to Starrett but it’s going to be very difficult to find without seeing the errors. I’ll see if I can write you something that can read the error logs for you. :)

    Starrett: That’s progress! I like it!

    Try adding $bb_roles to the list, so that it becomes

    global $bbdb, $bb_cache, $bb_roles;

    This could be interesting. Either this will fix everything, or we’ll go through global by global variable and it should work eventually. Cool!

    (All I’m doing is looking at the code you’ve got, finding the right line and looking at the variables called in it. The one we’ve got a problem with is usually the one which is called just before, like in this case line 275 uses $bb_roles and a few lines up it says global $bb_roles;. If you feel confident, you can look for the variable that’s causing a problem yourself. Or we can keep doing this. :) )

    #58401
    fel64
    Member

    $avatar[0] is the filename I believe. Have you checked what’s wrong with the urls?

    #52947
    fel64
    Member

    Any news or update on what? Plugins? Yeah, for ages. https://bbpress.org/plugins/

    #58400
    Kahil
    Member

    well, this plugin names the images by username I think. It also has a default image if no avatar has been uploaded… shouldn’t there be some sort of code there to reference a person’s username?

    #58417
    Nola1974
    Participant

    > like the default bbpress tag that points to the bbpress web site

    It does?

    #56530

    In reply to: Strut Your bbPress!

    yottabite
    Member

    fairly standard install with a few tweaks, mostly within the themes folder:

    http://forum.blandname.com

    #58399
    fel64
    Member

    The URL doesn’t point to a valid image file so it just displays the alt text. Check what’s wrong with the URL (and remove the pointless reference to $bbposter->user_login).

    #55215
    Sam Bauers
    Participant

    There are functions to do this in the current trunk of subversion. These will be part of 1.0.

    Check how it is done in my LDAP plugin, so that it will degrade gracefully on older versions of bbPress.

    #55214
    Sam Bauers
    Participant

    There are functions to do this in the current trunk of subversion. These will be part of 1.0.

    Check how it is done in my LDAP plugin, so that it will degrade gracefully on older versions of bbPress.

    #58422

    In reply to: Download bb 1.0?

    Trent Adams
    Member

    bbPress 1.o hasn’t been released yet. We are going to have another release out here soon, or check out the ‘development’ versions at:

    https://trac.bbpress.org/

    Trent

    #58398
    Kahil
    Member

    I’m confused… I activated that plugin and pasted what you put…but all that is there is the the word “avatar”…. :(

    I put in the url of the forum… did I do something wrong?

    Thanks,

    Kahil

    #58397
    fel64
    Member

    Same database but not same codebase. However you can make bb load wp at the start, and you can make wp load bb at the start (that’s the other method). It’s not difficult but not guaranteed to work, because only a few people have done it. It might mean fiddling with things until they work. If you did that, you could do what you were trying.

    <?php
    /*
    Plugin Name: WP Avatars
    */

    function wp_aud( $felID ) {
    $avatar = get_usermeta( $felID, 'avatar_file' );
    $avatar = explode('|', $avatar );
    $bburl = 'Plz enter the URL of your bb install here';
    echo '<img alt="' . $bbposter->user_login . ' avatar" src="' . $bburl . '/avatars/' . $avatar[0] .'" class="avatar" />';
    }
    ?>

    Otherwise you could paste that in a new text file, save it in your plugins folder, activate it and then use this in wordpress:

    <?php wp_aud( $comment->user_ID ); ?>

    In theory.

    #58396
    Kahil
    Member

    I wouldn’t know where or how to insert something like you posted above. I thought that since both wordpress and bbpress were using the same database that all I’d have to do is paste the code. Like this for the avatar plugin I am using in bbpress:

    <?php avatarupload_display($user->ID); ?>

    #58416
    peter-b
    Member

    I think I’m losing the plot.. :( just checked the bbpress hot tag and it points internally … so I suppose that while the question remains, the answer is probably “You can’t” – which in turn leads me to raise an enhancement request that such a facility (like the one in wordpress where you can add links to a blogroll on a sidebar)

    In fact it would be more useful if these tags could be added on a per forum (or even per topic basis)

    #58010
    matt123
    Member

    Ok so i went over my config file. Figure it must not be looking at the right place. I keep getting “Cannot select DB.” Can anyone spot where I went wrong? I know the other stuff is set up correctly. Bbpress is installed in mysoberlife/democlinical/forum/. Any help would be much appreciated! Tried install bbpress inside a subdirectory on another domain and had the same problem.

    $bb_table_prefix = ‘bb_’;

    $bb->domain = ‘http://mysoberlife.com&#8217;;

    $bb->path = ‘/democlinical/forum/’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://mysoberlife.com/democlinical&#8217;;

    $bb->wp_siteurl = ‘http://mysoberlife.com/democlinical&#8217;;

    #58395
    fel64
    Member

    Didn’t see ganzua’s post, posted at the same time. 😮

    When copy and pasting the code you have to remove any bb dependencies. For example, bb uses the $bbdb; wordpress uses the $wpdb, and for queries and the like you can just switch them. Note that $wpdb does not contain information about the names of bb tables, so $wpdb->topics or the like will not work. In other cases the function names are simply different; bb_get_option() or simply get_option() for example. This code is what I used in bbSync to integrate avatars:

    function bbreplyavatar() {
    global $bbposter, $opshuns;
    $avatar = get_usermeta( $bbposter->ID, 'avatar_file' );
    $avatar = explode('|', $avatar );
    $bburl = $opshuns['bburl'];
    echo '<img alt="' . $bbposter->user_login . ' avatar" src="' . $bburl . '/avatars/' . $avatar[0] .'" class="avatar" />';
    }

    Note that $opshuns and $bbposter need definition (or changing). bbSync could be quite useful to you actually.

    What’s the specific problem you want to solve right now, and what have you tried?

    #58394
    Kahil
    Member

    the edit profile link, yes, that was resolved, but I just meant that statement as an example. There are other things from bbpress that I would like to have displayed in my wordpress sidebar.

    Well, since you mentioned that the first option can be tricky, lets start with the latter? the php code?

    Thanks,

    Kahil

    peter-b
    Member

    How do I edit hot tags so that they point to a site outside the borad (like the default bbpress tag that points to the bbpress web site? There doesn’t seem to be any table field where tag address information is stored.

    #58393
    fel64
    Member

    Okay, but which do you want to do? I don’t feel qualified to make that decision for you. Can you make a start on either?

    #58392
    ganzua
    Member

    “I would like to insert the “edit profile” link and some other stuff into my wordpress sidebar.”

    -> I think we have solved this question in the other topic ;-)

Viewing 25 results - 61,001 through 61,025 (of 64,411 total)
Skip to toolbar