Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,576 through 24,600 (of 32,495 total)
  • Author
    Search Results
  • #15167
    taboo
    Member

    Navigation on the front page is screwed (I use CSS modified kakumei): when I go to page 2 (/page/2) the link attached to text “page 1” is the very same page 2 (/page/2) and not “/” as it should be.

    the code:

    <?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>

    Any clues please?`

    #75332

    In reply to: bbPress 1.0 released

    bb-gian
    Member

    Hi, I waited for so long for this version to be released!

    I got a running WP site and a bbBress integrated forumin it.

    WP is 2.7.1

    bbPress is 1.0-alpha-6

    In WP I use the bbPress Integration (1.0-rc-2) plugin

    Did the necessary integration routine (with AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, etc.)

    Now, I want to upgrade WP to 2.8 and bbPress to 1.0, what’s the best procedure?

    (Of course, I will backup files and database of both installation).

    Should I upgrade WP to 2.8 first or bbPress to 1.0? (About bbPress, don’t even seem to know HOW upgrading, since I guess there isn’t an upgrading button, right?).

    And what about integration? Now that those 2 version support seamlessly integration, should I delete the AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY in bb-admin.php?

    And should I also delete the bbPress Integration plugin, or is it still necessary?

    Well, I thought I’d ask before adventuring in the process.

    Thanks to anyone who will answer…

    ;-)

    #15160
    Marcomail
    Member

    I’m trying this code but doesn’t work

    <?php if ( bb_is_profile() )
    echo "hi";
    ?>

    i’d

    #75439
    _ck_
    Participant

    I actually said December, not November, at the soonest for my plugins to start supporting 1.0 officially.

    I think 0.9 should have security releases indefinitely, at least for another year.

    December 2010 would be a good retire date IMHO.

    But I certainly don’t expect 0.9 to be given new features at this point.

    Some people simply won’t be able to use 1.0 on shared hosts with several plugins. Their host will terminate their account for excessive resource use if there are bursts of activity at certain times of the day. So 0.9 will be their only option (or switching to lighter software).

    ps. the 2.0 branch of WordPress was it’s best version ;-)

    #75479
    michael3185
    Member

    Hi Marco. I’m no expert at this (one or two will be along shortly…) but I’ve found that in playing around with PHP and CSS I’ve been able to do a lot more than I thought I would.

    The code you’ve posted would display not just the forum names, but most of your front-page info. I’m wondering if putting the forum names in a < div > with a class name you’ve defined in the stylesheet to format the fornt, placing, width, etc., would do it. This is a rough ide from my front-page;

    <div id="my_side_bar">
    <?php if ( bb_forums() ) : ?>
    <table id="forumlist">
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><br />
    </td></tr>
    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>

    The table definition could probably be removed too, and it should(?) give a list of links with just forum names. Blind leading the blind here, but it might give you some ideas.

    #15163
    Marcomail
    Member

    How can i show the forums in the sidebar ?

    I’m trying this code but doesn’t work

    <ul>
    <?php while ( bb_forum() ) : ?>

    <li>
    <a href="<?php forum_link(); ?>"><?php forum_name(); ?></a>
    (<?php forum_topics(); ?>) (<?php forum_posts(); ?>)
    <?php endwhile; ?>
    </ul>

    #75067
    michael3185
    Member

    I’ve ‘unresolved’ this thread again, as I’d like to get it working in 0.9.0.5

    By Display Name, am I right in assuming you guys mean the ‘Custom Title’ in a member’s profile? If I set this, then the link under the avatar changes (obviously), but also, bbPM in creating its ‘PM this user’ link replaces the Display Name with what it should be. Changing the link ‘manually’ by altering the template causes bbPM to make a mess of the link, or not replace it at all, thereby creating 3 links; my hard-coded on, the expected profile link, and the ‘PM this user’ link.

    OKTeaRoom
    Member

    Hi,

    I just recently installed bbpress 1.0 rc3 and today upgraded to 1.0.

    I believe I have either set something up wrong or there is something wrong with my database and I’m hoping someone help point me to a solution.

    First, the forum is at http://www.oktearoom.com/forum

    Ok…problems:

    1. bbPM – When I hit send on a PM I get:

    Forbidden

    You don’t have permission to access /forum/my-plugins/bbpm/pm.php on this server.

    2. BBcode Buttons Toolbar

    Not showing up at all and and there is no change if this plugin is activated or deactivated.

    3. bbPress Smilies

    All of the smilies appear as ?’s even though I believe i installed this plugin correctly.

    I just thought I’d give you all the details of the problems I’m having since they are all plugin related and thank you in advance if there is any advice you can give me.

    Happy 4th of July to the American and to everyone else I hope you’re having a great weekend!

    Thanks for taking the time to read my newb post. ;)

    #15154
    Dreamcolor
    Participant

    bbPress 1.0 Simplified Chinese Translation.

    You can download it in URL below.

    http://wpcn.googlecode.com/files/bbPress.1.0.Simp.Chinese.pack.only.v1-wpcng.zip

    There maybe still have some translation bugs. So please let me know and I will fix it.

    #75066
    chrishajer
    Participant

    In the 1.0 release it’s something like this, isn’t it?

    <a href="<?php user_profile_link( $user_id ); ?>"><?php echo get_user_display_name( $user_id
    ); ?></a>

    That would link the Display Name to the user’s profile. You’d have to have the $user_id first to use this, I think.

    #73616

    Here is the latest integration rundown. I first lay out some helpful hints to those out there looking for them, and toward the bottom I point out something which the integration plug-in does not properly handle. That is the HTTPS secure cookie upon logging out. Depending on your setup this may cause issues. Most of the time you’ll be ok. If your like us and have added a proprietary layer of security for internal use only, you like to make sure when your secure cookies expire they expire asap and are completely gone.

    I recommend maybe, just a suggestion as I’m not privy to the dev’s stream of intentions to query if ‘BB_FORCE_SSL_xxx…’ is set. This is probably a much better indication of scheme than relying on the database option only. I know your busy Sam and that wpmu integration is like the last thing on your list. However, some of the code base is already merging.

    Noteables: Step #6, Step #7

    But before you continue:

    1.) Disable Your Cache Server (Varnish/Squid). Go straight to your webserver (Eliminate other causes.)

    2.) Get Integration working on plain http first. DO NOT define any force SSL/Admin anywhere on either wpmu/wp/bbpress.

    3.) Go back and integrate if you can’t get #2 done. Some helpful hints that work:

    3a.) Install wp/wpmu

    3b.) Install bbpress

    3c.) Install integration plugin for wp. In the option where it says complete URL, that means “http://mysite.com&#8221; and not “mysite.com”. If your _only_ (meaning 100% of the time) ever going to use HTTPS then go ahead and define HTTPS.

    3d.) I made sure all key/salts were setup in wp first, and then mirrored them into bb-config prepending BB_ in front of each Define. I defined manually: AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY, AUTH_SALT, LOGGED_IN_SALT, AND SECURE_AUTH_SALT (7 in total defines).

    Once you have HTTP squared away Proceed with SSL:

    4.) The integration plugin will try do some things for you in the backend, it will actually try to do all the cookie work for you. However it works off values you set via the integration option page and your wpmu site options.

    To take control of a few options, go ahead and define MANUALLY the following: (just as the plug-in suggests and more sometimes):

    COOKIEHASH, COOKIE_DOMAIN, SITECOOKIEPATH, and COOKIEPATH.

    5.) Add to wp-config.php:

    define(‘FORCE_SSL_LOGIN’, true);

    define(‘FORCE_SSL_ADMIN’, true);

    6.) Add to bb-config.php:

    define(‘BB_FORCE_SSL_USER_FORMS’, true);

    define(‘BB_FORCE_SSL_ADMIN’, true);

    7.) The kicker for me since I’m using MU Subdomains, i HAD to put into my bb-config:

    $bb->cookiedomain=’.mydomain.com’ //Yes, with the dot before the domain.

    (This is literally the only direct access object config I set in my PHP file. All the rest is handled by ‘DEFINE’ )

    Up to this point you should have integration with HTTP and HTTPS. Back and forth, forth and back, every which way. You should have it done without any manual speed up accessors. If it works, go ahead and add them but make sure you set them correctly. If your fanatical about security then cross the line, otherwise go get a beer, woman or pillow whatever.


    The Line


    8.) Log into BBpress. Goto your main blog, and wp will see you have a ‘logged_in’ cookie. Will display the site_admin link. Just go ahead and click log out.

    9.) Logging out will log you out, except a few cookies are left over. This is because the integration plug-in never inspects the HTTPS scheme properly. It will always look for HTTP. Test this by editing line 182 in the plugin file to read:

    $secure = true; //Don’t forget to change me back to false (default).

    10.) Repeat, and you’ll notice your cookies (the ones which matter) get blown away.

    Notes:

    – If you install WPMU 2.8 Alpha/Beta/Etc… you must _NOT_ enable

    define( ‘WP_AUTH_COOKIE_VERSION’, 1 )

    as the plugin suggests.

    – I DID NOT use any of the “speed up” manual configs which the bbpress integration tool points out. If you can’t get it working without these settings, adding them may not help at all and masks your real issue which is some other settings are screwed.

    – you NEED to make sure your URLs are correct. That means every single URL defined in your database in any meta table, options etc… Especially the case with the integration plugin.

    #75205
    thekmen
    Member

    Thanks Sam, just tried adding this to the css

    #position-1 .threadpost {
    background: #FF9;
    }

    on the 1.0 release & it works perfectly…

    #75399
    _ck_
    Participant

    Gravatars should be done 100% via a plugin and not integrated into WordPress/bbPress in the first place. I never did understand why they were hardcoded in, except perhaps a push by Matt after they bought the service.

    It should be done exactly like akismet and bozos.

    #75326

    In reply to: bbPress 1.0 released

    _ck_
    Participant

    For those not using the XML-RPC functionality (95% of you) I strongly recommend you delete xmlrpc.php immediately after install. Several of WordPress’s security issues over the years have been through that API.

    #73551

    Answer – Yes they work, kinda. Allow-Images doesn’t work right, but it’s messed up in a lot of ways :/

    #75420

    Either one works. And you can integrate with a separate database as well, if you’re so inclined. There’s no data overlap until you integrate, and even then it’s replication, so you may as well do it in one DB if you have the inkling you might want to integrate users later :)

    #75324

    In reply to: bbPress 1.0 released

    michael3185
    Member

    Plugins – blimey…

    admin-add-user

    allow-images

    approve-user-registration

    auto-add-favorites

    avatar-upload

    bb-chunk

    bb-tweaks

    bb-code-lite

    bbPM

    block-long-requests

    enhanced-tag-heat-map

    header-meta

    human-test

    move-it

    my-views

    new-favorite-notification

    no-follow-on-reg

    private-forums

    profile-fields

    related-topics

    show-error-page

    terms-of-service

    year-long-cookies

    Some are simple things taken from code in forum discussions, and the error-page one is my own.

    I just tried one to notify mods of new posts, but it failed with a DB field/table missing, so I assume it was written or upgraded for 1.0, and of course a lot of plugins will be upgraded now. Still thinking, but I can always test drive it on an empty forum.

    #75398

    I bet you could even write a quick ‘If email has gravatar, then show nothing, if NOT, directions…’ PHP query. But I too find most posters are happy with the Identicon :)

    #75397

    With a name like grassrootspa, I figured this would make more sense. :)

    I for one hope the core of bbPress never includes that kind of thing, as it works perfectly well as it is without needing to turn a thousand features off.

    There are plugins available, and if they don’t suit your needs, newer betters ones will come in the future.

    I think what you want, is BuddyPress + bbPress.

    #75416
    michael3185
    Member

    Cheers Ipstenu. I changed the post image so text wraps, and left the avatar as it was;

    img { float: left; border: 1px solid #ddd; border-width: 3px; border-style: double; margin-right: 8px; }
    img.avatar { float: none; display: block; border: 1px solid #ddd; border-width: 3px; border-style: double; }

    Amazing how a simple change makes everything look so different.

    #73078

    In reply to: GFC

    Billy Wilcosky
    Participant

    I’m hoping someone creates a plug in for google friend connect… I’ve been trying to find a way to let anyone sign into my site. I know there is OpenID, and bbpress has an OpenID plugin thanks to _ck_, but I can’t get it to work like I want. The main issue is, I use wordpress for my registrations, and then bbpress as my login… I chose wordpress as the registration part because it’s very simple… they just have to enter their name and e-mail. And, I forget why I chose to use bbpress as the login part… haha :). Anyway, again, I’m hoping to one day find a way to let anyone login using other popular services like google and facebook and twitter.

    If anyone has any ideas let me know…

    I’m wondering if it is possible to allow people to login to my site using google for example, without having to mess with my user database. In other words, I know there are plugins that will allow people to register with their google account, and then behind the scenes the plugin creates a wordpress or bbpress account… I’m wondering if it is even possible to have a separate system so if someone wants to sign up for my site they can, but if they just want to log in via google, for example, they can do so without the plugin creating a new user in my database…

    #75319

    In reply to: bbPress 1.0 released

    Dump your browser cache. That should have been fixed a couple trunks ago, and it’s fine on my site. That WAS how it was uglified mid-process

    ah bugger, fireftp decided to append instead of replace the CSS file. all fixed and beautified :P

    #75415

    Rock on :) If you specify it my way (or img.threadpost I imagine), it won’t affect images outside of a post.

    #75413

    Put it in your CSS?

    .threadpost img
    {
    Your CSS Here
    }

    #15150
    michael3185
    Member

    I’ve just added the Allow-Images plugin to a forum to bring a little life to some topics. There’s a post you can see at http://mbforum.letsdoo.org/topic/visitors-who-arent-registered#post-17.

    I’m trying to figure out a way to put a 1 pixel grey border around images, like the avatar image on the left has. The avatar has its own CSS formatter, but I’m not so hot with CSS and can’t work out how to do it for the image in a post. I’ve used the usual bbcode [ img ] xyz [ /img ], but putting a CSS format tag in the [ img ] part stops the image from being displayed.

    I guess I could hard code it into the plugin, but any better ideas..?

    Edit:

    Duh. I answered my own question. I just changed the stylesheet

    img.avatar { display: block; border: 1px solid #ddd; border-width: 3px; border-style: double; }

    to

    img, img.avatar { display: block; border: 1px solid #ddd; border-width: 3px; border-style: double; }

Viewing 25 results - 24,576 through 24,600 (of 32,495 total)
Skip to toolbar