Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,626 through 24,650 (of 32,432 total)
  • Author
    Search Results
  • #75029
    r-a-y
    Participant

    Hi Sam,

    Thanks for that detailed post. I’ve added this post to my favorites so I can come back to it.

    However, at this time, I’m not going to upgrade until bbPress reaches official version 1 status.

    I’ve temporarily gotten rid of the warning messages by doing the following:

    Line 71 of bbPress 1.o alpha 6:

    $_cached_ids = join( ',', array_map( 'intval', (array)$cached_ids ) );

    Lines 86-89 of bbPress 1.o alpha 6:

    if(!empty($cached_ids)) {
    foreach ( $cached_ids as $cached_id )
    $this->results[] = $trans[$cached_id];
    }

    Yeah I know it isn’t ideal as I’m probably not using the latest, optimized build of bbPress, but it gets rid of the warning messages.

    #74846
    crimsonmai
    Member

    They are named header.php and footer.php in the Kakumei directory :)

    Just make sure you’re looking at the default Kakumei directory and not, for example, the alternate blue one.

    #75028
    Sam Bauers
    Participant

    @r-a-y

    OK then, you really need to upgrade.

    Here’s how I would do it…

    1. De-integrate cookies, clear out all cookie settings in bbPress/WordPress including hardcoded ones in configs with the exception of you secret keys (BB_AUTH_KEY and friends)
    2. Upgrade to the latest Trunk of bbPress
    3. Upgrade to the latest release of the bbPress Integration plugin
    4. Clear all relevant cookies in your browser
    5. Setup integration in WordPress first, go to the admin panel for the plugin – use the settings it gives you to use in your wp-config.php file
    6. Setup integration in bbPress second, if the plugin in WordPress tells you to add a special constant to bb-config.php, do that now too. You’ll need to login to bbPress separately at this stage. Only enter settings into the admin, don’t try to add anything back into your bb-config.php except that one line from the WordPress plugin
    7. Now you should be good to go again, clear your browser cookies and try various ways to login and logout

    #75080
    johnhiler
    Member

    Ah ok, that looks pretty similar to johnbillion’s plugin. Glad it worked out. :-)

    #75027
    Sam Bauers
    Participant

    Visit the WordPress Codex and search for information on apply_filters().

    You can filter that array with a simple plugin.

    #75078
    frooyo
    Member

    Hmm … looks like it’s hardcoded in the bb-include/functions.bb-core.php

    /meta_key => (required?, Label, hCard property). Don’t use user_{anything} as the name of your meta_key.

    function bb_get_profile_info_keys( $context = null ) {

    return apply_filters( ‘get_profile_info_keys’, array(

    ‘first_name’ => array(0, __(‘First name’)),

    ‘last_name’ => array(0, __(‘Last name’)),

    ‘display_name’ => array(1, __(‘Display name as’)),

    ‘user_email’ => array(1, __(‘Email’), ’email’),

    ‘user_url’ => array(0, __(‘Website’), ‘url’),

    ‘from’ => array(0, __(‘Location’)),

    ‘occ’ => array(0, __(‘Occupation’), ‘role’),

    ‘interest’ => array(0, __(‘Interests’)),

    ), $context );

    }

    Anyone know of a good way to remove Occupation and Interests without having to modify the bb-core.php file (to make future upgrading easier)

    #75077
    frooyo
    Member

    @johnhiler

    Thanks, I’m looking into the database right now myself. ;)

    If you find anything, please let me know. Back to looking myself

    #75073
    johnhiler
    Member

    That’s not standard… did you add a plugin to support this? If so, turning off the plugin should do the trick. :-)

    #74487
    Markus Pezold
    Participant

    After the Update to bbPress Version 1.0-rc-3 my problems are gone. I think everyone should test there used plugins, backup and then test the update. Can’t wait for bbPress 1. :)

    https://bbpress.org/forums/topic/cookie-integration-problem-wp28-bb-10-rc-2

    #74954
    stevebooth
    Member

    Know what? I got fed up with my hosting service. ;P

    I spent the entire morning working on my bbPress implementation, and had an epiphany about ten minutes ago. I asked myself… ‘Why in the name of the seven seas are you using Concentric?’ When I couldn’t come up with a better answer than ‘it’s what I always use’, I whipped out Google, entered the term ‘best wordpress hosting service’, was routed to WordPress’ hosting page, and I just signed up with bluehost.

    So… this is now all moot (hopefully). I’m planning on just working on CONTENT after my nameserver updates happen! YAY!!!!!!!

    I feel like going on vacation :P

    #75060

    You just want to change the output from <a href="http://mbforum.letsdoo.org/profile/michael">Key Master</a> to <a href="http://mbforum.letsdoo.org/profile/michael">Profile</a>?

    Try this:

    <div class="threadauthor">
    <?php avatarupload_display(get_post_author_id()); ?>
    <p>
    <strong><?php post_author_link(); ?></strong><br />
    <small><a href="/profile/<?php post_author(); ?>">User Profile</a></small>
    </p>
    </div>

    #74953

    @johnhiller – On the other hand, going gold will mean more people using it and thus more people screaming for help and bitching at bugs ;) Which is stressful, but honestly there’s nothing like a real-world test. (She says, having spend 6 months beta testing new software, had NO bugs in her queue, and then twenty minutes in the wild had a fill ticket queue again :/ You just can’t test everything.)

    #75012

    CSS doesn’t control everything. Yet. ;) Actually, it can control that, but not reliably or consistently, due to browser independence.

    chris’s idea is probably best in the long run.

    #73363

    In reply to: Menu Links

    I’m not sure why they decided it should be that way, I just go with the flow :)

    What are the folder permissions on my-templates, when compared to bb-templates?

    #71873
    Markus Pezold
    Participant

    Hi Sumit,

    i have the same problems today … the problems lies in the msig_plural-Tag in the POT-File.

    Poedit must have the right configuration in the catalog settings to work with the plural forms.

    For a german translation the Plural-Forms is: nplurals=2; plural=n != 1;

    #: bb-admin/content-forums.php:46

    #: bb-admin/index.php:23

    #, php-format

    msgid "%d topic"

    msgid_plural "%d topics"

    msgstr[0] ""

    msgstr[1] ""

    #74952
    stevebooth
    Member

    Nope, no offense at all. And I’m more than happyto work with the community as a contributing member. I second your thoughts regarding the release. I don’t think we’re ready either. I suspect WP is under a lot of pressure to bet bb out.

    I’ll make it work… sooner or later ;)

    #15097
    michael3185
    Member

    I’m trying to change the post author link which is displayed as ‘Key Master’ (for example) to ‘User profile’. Tried lots of variations having looked through the bbPress template functions file, but can’t get it to work. The top part of my post.php code is this at present;

    <div class="threadauthor">
    <?php avatarupload_display(get_post_author_id()); ?>
    <p>
    <strong><?php post_author_link(); ?></strong><br />
    <small><?php post_author_title(); ?></small>
    </p>
    </div>

    The post_author_link() line becomes;

    <a href="http://mbforum.letsdoo.org/profile/michael">Key Master</a>

    I realise I’m just not grasping how the PHP code/functions work, so if anyone thinks, “Oh yeah, all you do is…” I’d be very grateful for an answer.

    #74641

    In reply to: Deep Integration Issue

    crimsonmai
    Member

    Immelody, just curious if you could give a quick run through of how you were able to apply (or convert) your wordpress theme to bbpress. I’ve been trying to learn how to do it, and so far what I’ve read is to copy the header and footer from wordpress to bbpress. Problem is I’m not that great at programming so it’s a bunch of guess work. I’ve been trying to do it unsuccessfully for about 3 months now…

    Sorry to bother you, but if you could help I’d really appreciate it and I’m sure it would help others as well!

    Edit: I forgot to mention I have the databases integrated although I’m not sure how I managed that :) It’s just recreating the theme that is really stumping me.

    #74951
    johnhiler
    Member

    By going gold, I just meant that the bbPress staff is about to officially declare a release as version 1.0:

    http://en.wikipedia.org/wiki/Software_release_life_cycle#RTM

    I personally think that there have been a lot of code changes (and new features) recently, and some extra time to focus as a community on identifying and debugging issues would be really good for the release. But obviously it’s not my call.

    After version 1 comes out, a wiki-based codex will be added to the site and we’ll work as a community to get the documentation up. Hopefully there can be more documentation around what functions like bb_permalink are intended to do. I’ll do my best to see if we can’t nail down bb_permalink’s specs asap!

    Hope I didn’t say anything to offend… I’m just a bbPress user, trying to help out another user. :-)

    #75020
    Sam Bauers
    Participant

    That article on the BuddyPress Codex is a little confused.

    Are you using WP-Super-Cache (output caching) or an object based cache like the memcached object cache?

    #74950
    stevebooth
    Member

    WordPress is working great. I had a couple of minor config details on the install, but it went in marvelously.

    I know what the problem is. It’s bb_repermalink. It’s creating 404s and endless loops because the code inside it can’t handle the way SunOS sets up it’s system variables. The problem is, I don’t know what the stupid thing is supposed to do, so I cant figure out if the code is fixed or broken (and of course there are exactly zero tech docs on either it or bbPress). There are some REALLY strange regex replace operations in there that frankly look wrong to me, but I don’t know enough about bb at the moment to know how to fix them.

    I’m going to completely disable repermalink tomorrow, and see if I can get the rest of the system to work without it. I tried that a bit ago and at least got past the first page. (although it told me, when I clicked on one of the forums it was displaying that the forum didn’t exist. At least that’s better than 404s and infinite loops.)

    Not caring about SunOS is shortsighted in my view, and calling the current code ‘Golden’ would be a mistake. What I’m seeing in bb_permalink is going to cause major problems in tons of non-Sun machines, I believe. If they release 1.0 the way it is, I predict it will crash on a large percentage of WP users’ machines and engender a great deal of dissatisfaction as a result.

    My 2c, for what it’s worth.

    #75010
    michael3185
    Member

    Thanks for the link Ipstenu. I guess I wasn’t thinking along the right lines, as it needs to be done in the browser, not on the bbPress PHP side. I’m not sure how to implement that JavaScript and HTML code, but I’ll give it a go sometime soon. It’d be nice if the CSS TextArea had a setting for that, wouldn’t it?

    #73361

    In reply to: Menu Links

    I’m … not sure. Can you show me what you have in bb-templates and my templates? I’m assuming it’s this:

    /public_html/bbpress/bb-templates/kakumei
    /public_html/bbpress/bb-templates/kakumei-blue
    /public_html/bbpress/my-templates/kakumei
    /public_html/bbpress/my-templates/kakumei-blue

    If so, rename the folders under my-templates to something like ‘my-kakumei’.

    #75002

    chrishajer – Not exactly.

    I NEVER put WP in the root, after (in the 1.* days) it pitched a hissy fit with another web app over permalinks and htaccess. And since you can run WP out of root while having it in a subfolder, and no one can tell the difference, it works rather well.

    I have this:

    /var/www/example/index.php <which points to the wordpress folder>
    /var/www/example/wordpress/<wordpress files>

    accessible here http://www.example.com/ and here http://www.example.com/wordpress/wp-admin

    /var/www/example/bbpress/

    accessible here http://www.example.com/bbpress/

    With this, once I got my auth keys in order, it worked fine. I’m not saying it can’t be done your way (and hey, if it works, leave it alone! :) ), I’m just saying that I’ve seen it cause more headaches.

    #75044

    I ‘resell’ space to a friend with an InvisionBoard setup, and that site spits out a lot of ‘bounced’ emails from spammers registering. I send out 1000s of emails from my domains a day. The ONLY time I had any issues was Yahoo being a bint about me sending emails to non-existent accounts. They realized the problem and apologized.

    A ‘normal’ board has little to worry about. You have to work hard to get blacklisted :) Or be spoofed enough.

Viewing 25 results - 24,626 through 24,650 (of 32,432 total)
Skip to toolbar