Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,051 through 24,075 (of 32,522 total)
  • Author
    Search Results
  • Gautam
    Member

    I just made the Plugin Browser for bbPress By Sam Bauers compatible with bbPress 1.0 & later :-)

    It now correctly recognizes the current version of the plugin stored on your forums, also tells you to upgrade if necessary, and can uninstall plugins already installed or install which are not installed.

    I have also done the following changes:

    • The directory folder of a plugin need not have pb– in its name, nor have a pb–revision.php
    • GET methods changed to POST.

    Notes:

    • Plugins installed by the previous version of this plugin, cannot be upgraded or uninstalled. You can, however remove pb– from their name via ftp and then upgrade or uninstall.
    • It does not recognize the plugins bundled with bbPress like Akismet, Bozo, etc. (This functionality wasn’t there before too).

    You can download it from here: http://gaut.am/uploads/plugin-browser-for-bbpress.zip

    If you liked it, then you can donate here – http://gaut.am/donate/

    Thanks :)

    #77888
    Jim R
    Participant

    They appear to be all the same. I did set up my bbPress database table prefix as wp_bb_. They are in the same database.

    One thing I wonder about is this:

    define( 'COOKIEHASH', 'd61ff63d6d2f09a423c2332af089b5c8' );
    define( 'COOKIE_DOMAIN', '.hoosierhoopsreport.com' );
    define( 'SITECOOKIEPATH', '/wpm/' );
    define( 'ADMIN_COOKIE_PATH', '/wpm' );
    define( 'COOKIEPATH', '/wpm/' );

    The cookie_domain, it says (dot)hoosierhoopsreport.com. Should the (dot) be there?

    #31462
    Olaf Lederer
    Participant

    Hi,

    I don’t like the standard message send after a new user has registered to my bbpress forum. So I thought about to write an plugin that will send my custom text instead.

    This is what I have:

    function bb_send_pass_cust($user, $pass) {
    $message = __("Your username is: %1$s nYour password is: %2$s nYou can now log in: %3$s nMyCustom text!");

    return bb_mail(
    bb_get_user_email( $user->ID ),
    bb_get_option('name') . ': ' . __('Password'),
    sprintf($message, $user->user_login, $pass, bb_get_uri(null, null, BB_URI_CONTEXT_TEXT))
    );

    }

    remove_action('bb_new_user', 'bb_send_pass');
    add_action('bb_new_user', 'bb_send_pass_cust');

    this code has many issues:

    – it doesn’t remove the action

    – the password is nu available in the custom function

    In the past my functions/plugins never had function arguments, how to use them?

    Thanks for your help!

    #20334
    recronin
    Member

    *note – I’m not trying to integrate bbPress into a WordPress page but rather a static page. I already have the login integration between bb and wp working.

    I’ve been able to “embed” my WordPress posts into a static web page with the help of an online tutorial using PHP includes. Basically, on the page that you want to have WordPress embedded in, you paste:

    <?php require(‘../../../blog/wp-blog-header.php’); ?>

    into the very top of the page above the DTD, and then paste The Loop wherever you want your posts to appear.

    What I’d like to do is the exact same thing except with bbPress. I’ve tried applying the same basic principle as described as above, but am pretty much stuck and can’t get anything except errors to appear.

    Here’s what my code looks like at this point. I’ve used the header file from the kakumei templates folder as that’s the only header file I can find. At the very top above the DTD;

    <?php require(‘../../../forums/bb-templates/kakumei/header.php’); ?>

    Now I’ve searched high and low for anything talking about “The Loop” (or it’s equivalent) in bbPress but have found zip. The closest things I have seen have been inside the bbPress/index.php and forum.php files, which I pasted and tested each separately into the area that I wanted to have the forums appear, but with no positive results.

    If anyone knows how to do this properly I will be grateful.

    Thank you

    Adam Lawton

    *The page where I found the WordPress integration tutorial is:

    http://moshublog.com/2005/07/05/integrate/

    #77883
    Jim R
    Participant

    I did try that the second time around. Now I’m on a third time and getting this error:

    There was a problem connecting to the WordPress user database you specified. Please check the settings, then try again.

    Before I tried the third install, I deleted all old files both from my local and my server locations. I wiped out my bbPress database tables. So it’s a clean install. I’m getting my cookie information from my wp-config file downloaded from my server. I have checked the settings, BTW.

    Ugggghhh!! : )

    _ck_
    Participant

    I’m willing to bet permissions are NOT correct despite what you think.

    Chmod /my-templates/ and /mythemetest/ to 750

    #77850

    Gee, I’m terribly sorry that the people volunteering their time for no compensation had their own lives to take care of. Take a deep breath. Okay? Good.

    What version of bbPress is this? I’m assuming 1.0.2, but let’s be sure.

    What version of PHP and SQL are on your server?

    While we’re at it, Windows or *nix server?

    Any blank lines before <?php or after the last ?> in your bb-config.php file?

    #76757
    Olaf Lederer
    Participant

    Hello,

    just upgraded to 1.02 and found some issues regarding the “unique email address” bug from before.

    Btw. in older version that was a problem too :)

    update the email address in your profile:

    If you change the email address into an existing one, it works fine but there is no message about (This is a tiny one)

    Register process

    I was busy to find some better way to add the recaptcha to the register form and noticed that the login form field is only tested if the email field is already filled. That worked better in version 0.9

    everything else looks fine

    #77892

    In reply to: space between posts

    johnhiler
    Member

    Do you have a link to your forum? It’s tough to troubleshoot css without the actual code. :-)

    #31459

    Hi there,

    I searched all over the forums but couldn’t find much about this. Currently I have avatar upload plugin as well as postcount plus.

    The thing is, I want spacing between the each post..not padding. When I increase the padding, it adds more padded space to the dotted line under each post. I just want to space each post out so the posts and the users are not so close together. That way there won’t be a ton of padding under the dotted line and instead space between the posts. Any ideas on this?

    For example a black background with the two alternating colored posts..say white and green. I want space between the white and green (posts) so you see some black background between them.

    Thanks! :) Just makes things easier to read.

    #56791

    In reply to: Plugin: Avatar Upload

    Adola
    Member

    NuMaverick, BRILLIANT!

    I’ve been plauged by this problem for a few hours now. I was very confused, if there was some sort of ranking system here, I would give this 5 stars :P (Assuming 5 stars is the maximum of course!)

    #77847
    Marius-
    Member

    I just deleted the whole database and the forum, and reinstalled it. This time I tried integrating it with WordPress. I was able to find all keys, exept secure_auth_salt in the WP-options.

    However, I got this errormessage, after a “successfull install”:

    Quote:
    >>> WordPress cookie keys not set.

    >>>>>> Your “bb-config.php” file was not writable.

    >>>>>> You will need to manually re-define “BB_AUTH_KEY”, “BB_SECURE_AUTH_KEY” and “BB_LOGGED_IN_KEY” in your “bb-config.php” file.

    The forum is looking like it always has, and logging in still does not work. Obviously there is something very problematic with Line 273 and 232 – in my BB-config file, my Class.wp-auth.php file, and my functions.bb-pluggable.php file.

    Someone please help me, fast!!! I want this forum up and running. I thought this would be much simpler.

    Okay strike that it’s working. Minutes later, the forum doesnt load at all. This is the message it gives now:

    Warning: require_once(/home/michael/public_html/forum/bb-config.php) [function.require-once]: failed to open stream: Permission denied in /home/michael/public_html/forum/bb-load.php on line 160

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/michael/public_html/forum/bb-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/michael/public_html/forum/bb-load.php on line 160

    #77780
    Mark-k
    Participant

    It is probably unwise to make this very premature announcement, but I’m working on integrating BB as a plugin of WP, with seamless installation, integrated users, login, search, themes (header, sidebar, footer and as much styling as possible), XML-RPC, Tags, RSS, compatibility with relevant WP plugins like goggle analytics and tinymce comments, and new widgets to show bbpress info. Right now the installation, user integration and login are working.

    This is a spare time project, so there is no ETA…. (and if you think that I’m looking for a sponsor for this project, you are at least partly right ;) )

    Since it is a challenging project, I sometimes wonder if it worth it. More specifically, does someone in Automatic currently making an high level design for a similar feature and I’m practically wasting my time?

    Sam, can you comment about this?

    #77295
    kriskl
    Member

    Oh! :)

    Thanks CK :)

    #77753
    hpguru
    Member

    Bug 2…

    http://keskustelu.hpguru.net/search.php?q=iskelm%C3%A4

    Try this search results. Many links don’t work and without text. Check Aiheeseen liittyvät viestit posts 1 and 2. More posts below. Posts link doesn’t work. Is this a bug? Check on my friend new bbPress install, doesn’t work search and index navigation.

    https://bbpress.org/forums/topic/navigation-on-index-doesnt-work#post-55938 Navigation seems be a non-work… <!-- navigation code here --> I put this to theme.

    #77821
    chrishajer
    Participant

    You can just delete the files from the file system, if that’s what you mean. If you use an FTP client, there should be a way to delete the whole bbPress folder/directory (normally right click and “Delete” then answer the prompts). That will remove bbPress. You can remove the database tables next with a tool like phpMyAdmin. Hopefully your host provides something like that. You can log in and delete any table with a bb_ prefix, or whatever prefix you chose when installing (default is bb_).

    Good luck.

    #77779
    johnhiler
    Member

    Here’s the current state of deep integration – along with hints at the future path.

    There’s no known way to access bbPress functions inside of WordPress:

    https://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk#post-21621

    Sam has said he’s willing to support WordPress function calls from inside of bbPress

    https://bbpress.org/forums/topic/what-is-the-opposite-of-deep-integration#post-36853

    But WordPress isn’t returning the favor:

    https://bbpress.org/forums/topic/wordpress-access-to-bbpress-functions#post-37451

    https://bbpress.org/forums/topic/wordpress-access-to-bbpress-functions#post-37460

    So essentially, we’re looking at one-way integration being the probable future. bbPress is working hard to make sure it itnegrates deeply with WordPress, but WordPress isn’t making the same effort. :-(

    But- keep in mind that there’s a performance hit for “deep integration”! I personally use simple integration on my sites. _ck_ highlights the advances of simple integration here:

    https://bbpress.org/forums/topic/display-bbpress-on-wordpress-page-inside-the-blog#post-25353

    It’s pretty disappointing that WordPress isn’t using BackPress… especially since Sam made such a huge effort to integrate BackPress into bbPress. Also, bbPress took quite a performance hit from integrating BackPress.

    I’m hoping for a miracle somehow to redeem bbPress! In the meantime, I’m preparing contingency plans…

    #77778

    Yeah, you’re gonna have to wait for WP to start using backpress as well for that to work :/ That kind of integration works fairly well with BuddyPress (due in part to how BuddyPress wraps around BOTH WP and bb) but for just WPMU or WP and BB? Not so much.

    #77828

    In reply to: I want hide tags

    Set topic-tags and post-form-tags-container in your CSS to display:none

    #77775
    DennisH
    Member

    @Ipstenu – It’s not the glitter and unicorns that make a site hard to convert, but best practices :) If you designed your website with good XHTML etc, it’s a simple matter (a weekend at most) to convert it to WordPress or bbPress or BuddyPress.

    That was just my attempt at humor. :)

    We where able to integrate BB into our WP theme is about 30min. Although restyling everything is still ongoing, but that’s not a issue with BB (although more themes would be great). With the WP header/footer there is some issues with BB plugins that require javascript, but we are working around that.

    The issue I have with “integration” is that WP should be able to call info BB and vice versa. That’s it.

    The other issue I have is that v1.0 more or less killed all the developments that came before it.

    I think BB is great and I wouldn’t be spending my time here if I didn’t. After solving a major issue with converting our old phpbb forum we have decided to push forward with bbPress.

    So now I’m off to figure out how to call up Bavatars in the post.php file. If I have time after that I will try and get that BB welcome/login message in the header working.

    #77820

    I’m trying to have a central signon at my site, where users must sign onto WP first and access bbPress via a page link. The logic you’ve provided looks like it can be incorporated to include the bbPress login page, is this correct?

    I think kind of — I’m not 100% sure what you’re describing so let me try a different way.

    If you force all registration to go through WPMU, then you can use the in-line login form, native to bbPress, to permit users to log in via bbPress, and they will still be logged in on WPMU. That’s the basic plus of integration :) Login on WPMU, you’re in on bbPress, and vice versa.

    In my template, make my login-form.php file look like this:

    <form class="login" method="post" action="<?php bb_uri('bb-login.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS); ?>">
    <p>
    <label><input name="user_login" type="text" id="quick_user_login" size="20" maxlength="40" value="<?php if (!is_bool($user_login)) echo $user_login; ?>" tabindex="1" /> <?php _e('User Name'); ?></label>
    <br /><label><input name="password" type="password" id="quick_password" size="20" maxlength="40" tabindex="2" /> <?php _e('Password'); ?></label>
    <br /><input name="re" type="hidden" value="<?php echo $re; ?>" /> <?php wp_referer_field(); ?> <input type="submit" name="Submit" class="submit" value="<?php echo attribute_escape( __('Log In') ); ?>" tabindex="4" /> <label><input name="remember" type="checkbox" id="quick_remember" value="1" tabindex="3"<?php echo $remember_checked; ?> /><?php _e('Remember me'); ?></label>
    <br /><a href="http://yourdomain.com/wordpressmu/wp-register.php">Register</a> | <a href="http://yourdomain.com/wordpressmu/wp-login.php?action=lostpassword">Forgot password?</a><br />
    </p>
    </form>

    What this does is, if someone clicks on the registration or forgot password links, is take them right to the WP side. Now from there, it’ll log them back in to the WP main page, IIRC, but the login form itself, being inline, will keep the user on the same page as they logged in from, so they don’t appear to go anywhere.

    Does that make sense?

    Are there any other backdoors or pages users can directly access from the outside that may need redirection?

    Since the bbAdmin pages are locked to admins, I don’t think you need to worry about that.

    #76216

    In reply to: Closed registrations

    Different topic. We’re talking abotu closing registrations here :) Make a new topic for your request, por favor!

    (And chris – I was on topic :) He was asking why an .htaccess is needed in general, and I was explaining and telling him he could make one to alleviate his closed registration issh. It was all the same discussion and topical! :) )

    #77774

    @DennisH – It’s not the glitter and unicorns that make a site hard to convert, but best practices :) If you designed your website with good XHTML etc, it’s a simple matter (a weekend at most) to convert it to WordPress or bbPress or BuddyPress.

    And I do get what you mean about Gravatars. I rather like them because it gives people a sense of conformity in that Ipstenu everywhere has this icon and I am, thus, recognizable. Internet anonymity wishes aside, it grants me a level of credibility. I am me as you are we as I clearly need more coffee!

    #77736

    No reply :(

    I See everybody is busy in integrating bbpress and WP.

    #76653
    daniellaf
    Member

    Figured out what was going on! I had a hardcoded navigation link in my wordpress header to direct users to the forum (I know, bad habit). It had “www.” when the rest of the side is www-free. Deleting the www. seems to have fixed the issue.

    So, if you’re integrating and are having trouble, hopefully this post will be helpful to you. Below, I’ll list what I’m running and what plugins I have in case that helps.

    WordPress 2.8.3 installed at webroot, linux server with php5. Shared database between BBPress and WordPress. BBpress 1.0.2 installed in forums subdir.

    WP Plugins related to BBpress

    – bbPress Integration Version 1.0 | By Michael Adams and Sam Bauers (plus manual cookie info from this plugin put into WP config file)

    – WordPress-bbPress syncronization Version 0.7.7 | By Ivan Babrou

    BBpress plugins (all, because I enabled some others and then things started not working again)

    – Akismet

    – bbPress-WordPress syncronization Version 0.7.7 | By Ivan Babrou

    – Hot Tags Plus Version 0.0.2 | By _ck_

    Right now I don’t have _ck_’s Fix Admin Access plugin on the server, but I’ve used it a few times.

Viewing 25 results - 24,051 through 24,075 (of 32,522 total)
Skip to toolbar