Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,101 through 61,125 (of 64,452 total)
  • Author
    Search Results
  • #1954

    Topic: Code in post plugin

    in forum Plugins

    Is there a plugin that enables you to write code in a post? I know I can use the backtick/code-tag, but the code still looks wrong. I gets a lot of backslash’es. Like in this post:

    http://wordpress.dk/forum/topic/187?replies=10#post-1099

    We use bbPress for the danish WordPress support forum, so we post code examples quite often, why it is important, that they look right.

    #58280
    Pravin Paratey
    Participant

    http://pravin.insanitybegins.com/articles/running-bbpress-on-sourceforge/

    This article tells you how you can setup bbpress 0.8.1 on sourceforge

    #50270
    Pravin Paratey
    Participant

    http://pravin.insanitybegins.com/articles/running-bbpress-on-sourceforge/

    Read this for a full resolution. It emails users their passwords too :)

    #58345
    ganzua
    Member

    Well, I have think in a more elegant solution, but this is for wordpress users that inserted bbpress in their wordpress interface. I have it half working though. First of all, my wp-login and wp-registering forms are integrated in my custom theme because I hacked wb-login.php.

    Whenever you login in wordpress there is a function in the sidebar, that displays two links;

    Site Admin -> link to wp profile.php

    Logout

    This links are defined in /wp-includes/general-template.php -> line 50

    $link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;

    You can change /wp-admin/ for bbpress/profile.php

    The first failure of this theory is that bbpress uses an id to show user profiles; bbpress/profile.php?id=1 and I have no idea how to add this id to the link plus I don’t know if bbpress user id are the same that in wordpress.

    The second failure is that if you are the admin you should get the original link to /wp-admin/

    this should be something like if user = admin then “link to /wp-admin/” else “link to /wp-admin/profile.php?id=n user”

    but since I have no idea of how to code all this I can’t go further

    :)

    #58344
    ganzua
    Member

    “You’re the admin, right? You could just bookmark the page.”

    -> Well, this is an option that I have in mind, but then all users that registered through bbpress will appear with “undefined” role in wordpress. And I can’t insert bbpress <?php login_form(); ?> in wordpress sidebar because it doesn’t work :(

    “Otherwise I suggest you write a plugin that uses the WP wp_login hook and changes the hopefully global $redirect_to depending on whether or not the user is admin. That’s for wp. bb default login behaviour is okay?”

    -> Unfortunately, I have no idea of how to write a plugin or a simple function :( I can badly modify already made code.

    #58342
    ganzua
    Member

    “I’m not sure what you’re trying to do. “

    -> I’ll try to explain better :) My web will be made with wordpress and bbpress. Only registered users can comment wp blog entries and post topics in the bbpress forum.

    Login tables are integrated and bbpress is inside the wordpress interface. When you go to bbpress you can see there the wordpress header, footer and sidebar.

    So, right now users could log in through two gates; wordpress sidebar or through bbpress frontpage.

    Well, I want to get rid of of these two gates and I want to avoid users can access wordpress dashboard and profile because the interface of these two pages is different. However, admin still needs access to wp control panel.

    #50269
    maphew
    Member

    As best as I can tell this does not work on 0.8.1. The code appears to have changed quite a bit between then and now. Thinking that the latest replies are not getting responses because the status on this thread is set to “resolved”, I created a new thread at https://bbpress.org/forums/topic/1256 however after 5 days there is still no response. It looks like sourceforge users are too small a minority.

    #58278
    maphew
    Member

    I finally found an example of someone sending email the sourceforge way, via a database and cron, and it is in php. Of course it is heavily specific to it’s parent project’s setup. Would someone please take a look at this and give an indication how it might be adapted to bbPress?

    Thank you.

    Drupal on Sourceforge: http://starkos.industriousone.com/drupal_on_sourceforge

    #55641

    In reply to: What’s integration?

    futurefront
    Member

    I’m bummed! I just stabalized a good install of BBPress. Good news is I have no content in there, so I guess a fresh install isn’t too painful.

    I’m going to go back and do a fresh install of WP at the root level of one of my sites, then nest BBPress in a directory called ‘forums’ on that site (this is where I assume I’ll tweak the config file FOR BBPRESS to access the existing WP users before running through the browser installation pages).

    Does this sound right?

    So steps in this order:

    1. Fresh install of WordPress 2

    2. Fresh install of BBPress nested in a directory (just moving files)

    3. Before fully installing BBPress, tweak config file to target existing WordPress DB table for users

    4. Adjust cookies

    I’m good on most of this but what about item #4?

    Thanks for any comments in advance!

    David Martinez

    suzkaw
    Member

    Hi,

    I am wanting to run two copies of bbpress one for the forums and for a modules directory like this site has. I was wondering if any one could share with me what all would be involved in sharing the registration system? And where I should begin to look?

    #1952
    ganzua
    Member

    After integrating wp and bb and having wordpress header, footer and sidebar for both, wp and bb, I have these wordpress functions in my sidebar;

    <?php wp_register(”); ?>

    <?php wp_loginout(); ?>

    <?php wp_meta(); ?>

    And in bb press frontpage I have this one;

    <?php login_form(); ?>

    First, I thought I could replace wp functions in the sidebar for bbpress’ <?php login_form(); ?> but this function it is not defined for wordpress and I have got an error.

    Besides there are two other problems;

    * if users register through bbpress, their roles are not defined in wordpress

    * if I remove wordpress meta functions from the sidebar I lose the link to the admin control panel.

    Well, another option would be using the wp functions for login;

    <?php wp_register(”); ?>

    <?php wp_loginout(); ?>

    <?php wp_meta(); ?>

    and then changing their beaviour so;

    * whenever you login you are not taken to the control panel unless you are the admin

    * whenever you are an user and you click in “site admin” link wich appears above the log-out link, you are taken to the bbpress profile.php

    My questions are; first of all, do you find any sense in all of this or is it just crap? :)

    does anybody know where is defined wordpress login meta links so I can change them?

    and finally, does anybody have a better idea?

    #58014
    ruerup
    Member

    I just intergrated bbpress and I think thats it. You dont need anything else.

    #58333
    ganzua
    Member

    “ganzua, can you post a link to your forum so we can take a look at the html/css?”

    -> I didn’t upload yet, sorry, as soon as I finish I’ll post a link so you can check everything. :) I’m working in my computer yet.

    I integrated wp and bb, and I removed bbpress header, footer and stylesheet. Now I’m using wp header, footer, sidebar and stylesheet for both, wp and bb.

    I still have to find out what to do with login and profile forms because I have two instances of each one, one for bbpress and one for wp.

    Besides I have to find out how to integrate emoticons, toolbar in forms (I have quicktags in bb and tinymce in wordpress) , post count, avatars… In fact I do not even know if all this is possible.

    “to get both IE6 and IE7 on the same Windows machine, check this out:

    * http://tredosoft.com/Multiple_IE&#8221;

    -> Thanks for the tip! I’m checking the link :)

    #58315

    In reply to: Theme not working

    ganzua
    Member

    “To be more specific… I set the kakumei theme in the admin area and the theme seems to work in the admin area. but back in the main area there is no theme. Just plain text. “

    -> First time I installed bbpress I had the very same problem. I just downloaded another theme and I activated from the admin control panel.

    fel64
    Member

    No attachments here, but you can use something like Rapidshare or similar. Not sure what you want me to email you? But you can email me the files: fel64 not at loinhead.net

    The not at part is sarcasm

    #1948

    Topic: Theme not working

    in forum Themes
    simon551
    Member

    Hi,

    I just downloaded BBpress and set it up. It works fine but the theme isn’t applying. Any ideas?

    #58009
    matt123
    Member

    you the man!! thanks. I’ll let you know how it goes.

    matt123
    Member

    Yep,

    Fel64 can i upload files to this board?

    Can i just send the files in an email?? Feel free to send it to me at admin at mysoberlife dot com.

    #1947

    Topic: Plugin: Add Sidebar

    in forum Plugins
    bobbyh098
    Member

    This extremely simple plugin adds a “bb_get_sidebar()” function to bbpress, similar to how WordPress comes with get_sidebar(). Once installed and activated, you can create a file named sidebar.php, put it in your theme directory, and invoke it from any theme page using bb_get_sidebar().

    <?php

    /*

    Plugin Name: Add Sidebar

    Plugin Description: adds bb_get_sidebar() to bbpress, similar to WordPress' get_sidebar()

    Plugin URI: http://bbpress.org/forums/topic/1264

    Plugin Author: Bob Hiler

    */

    function bb_get_sidebar() {

    bb_load_template( 'sidebar.php' );

    }

    ?>

    Please note that this simple plugin doesn’t automagically pull your WordPress sidebar. It’s simply a lightweight convenience function for making bbPress themes. I was surprised this wasn’t already included in template-functions.php, but bb_load_template() makes this super easy to add.

    #56529

    In reply to: Strut Your bbPress!

    BBuser
    Member

    @burkie I love this Design, looks web 2.0ish :)

    #58008
    fel64
    Member

    I think it is a problem with the databases. Looking at bb-includes/db.php, the error “Cannot select DB” occurs when mysql_select_db() fails (search the file for “cannot” to get to the right bit). Since there’s no error about not enough parameters, I assume that mysql_connect() was successful but I’m not sure about that. It’s one of the two IMO.

    fel64
    Member

    mfaxion?

    You’re going to have to save the page HTML output, the images in it and the stylesheets, zip ’em up and put them up for downloading, otherwise I can’t help you.

    I do not recommend two mostly identical seperate stylesheets for the two browsers. If you need to use two different stylesheets, then you should have one main file that both browsers get and two much smaller files that account for the quirks and necessary hacks. Code duplication is never good.

    You can fix mysoberlife.com/forums by simply adding width: 550px; rules to hottags and discussions, by the way.

    matt123
    Member

    First off let me say IE should be taken out and shot behind the shed. Probably shouldn’t say that living in the land of Microsoft!

    So I have a wpmu bbpress install have a 3 column theme set up. The divs in the single sidebar float the first column left, second column right. I finally got it to display correctly by inserting the content div or in this case the ncol div. I had to place the get sidebar and get footer inside the closing div tag and magically Mozilla shows everything correctly.

    What a great day 10 minutes into troubleshooting and I fix the problem. However it was incredibly short lived! In IE it displays everything correctly except the sidebar. Instead the sidebar appears on the left side underneath the forum.

    I have a regular and ie stylesheet, tried to make sure there weren’t any major discrepencies between the two. There weren’t. Anyone know what I need to do to make it load next to the forum in IE instead of below it?

    By the way I have the bbpress styling calling up my wpmu stylesheet. I copied the style divs that bbpress calls from the bb press style sheet and inserted them into the wpmu stylesheet.

    I’d offer up an example at the site but I can’t. I have another version of the site running for visitors at the moment.

    Hope that made sense! Any help would be appreciated! Thanks.

    example of set up:

    (front-page)

    get header

    div ncol

    div discussion etc..

    /div

    get sidebar

    get footer

    /div

    #1935
    matt123
    Member

    Ok here come the explanation. I have wpmu bbpress install all integrated. Styling is still a little screwy in IE but thats not the main problem.

    I have installed a copy of WP on a subdirectory. In that subdirectory I created another subdirectory for bbpress. I have been trying to install bbpress but it says it cannot access the db. I know the its not the database name, username or password it must be the path?

    here is the path structure

    mainwpmuinstall/wpinstall/bbpressinstall

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

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

    $bb->wp_table_prefix = ‘wp_’;

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

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

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    Been trying different options and can’t get it to work. Was hoping I made some silly simple error that someone more experienced could pick up.

    I can’t think up a reason why bbpress couldn’t work on a subdirectory set up like this.

    #49953

    In reply to: En español

    ganzua
    Member

    Despues de hacer esto;

    define(‘BBLANG’, ‘/wp-includes/languages/es_ES.mo’);es BBLANGDIR

    He copiado un .mo del bbpress en el .mo del wordpress y no traduce. Supongo que habrá que hacer algo tambien con el archivo .po que viene aparejado. :(

Viewing 25 results - 61,101 through 61,125 (of 64,452 total)
Skip to toolbar