Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,126 through 25,150 (of 32,481 total)
  • Author
    Search Results
  • #59831

    bump

    Sam’s code works but still it displays the time in GMT rather than in my timezone. That doesn’t seem right cause it display the proper time since. How do I get that correctly?

    (same thing with _ck_’s code – off the time zone and into GMT)

    EDIT:

    looking through some bbPress code I think I’ve got it right at last! The time has to be filtered through bb_offset_time, so the code should be(for post times):

    echo date("date-format-goes-here", bb_offset_time(strtotime($bb_post->post_time)));

    Still wonder why isn’t the time filtered when using sam’s code…

    EDIT again:

    and it does not localize – the date is in English… wonder how to set that up?

    prb10
    Member

    I’ve resolved the problem. Thanks.

    #73578
    exposedplanet
    Participant

    Ah, that might be it, thanks. I had only checked the bbpress repository :-P

    Is this needed/required for the dreaded WPMU/BP/BBpress integration as well?

    prb10
    Member

    Sorry, I copied the wrong message…

    The problem is not that they SUPPORT PHP4, it’s that you WANT PHP5. Add this to your .htaccess if you’re at 1&1.

    AddType x-mapp-php5 .php

    That will force *.php files to be processed by PHP5. That should resolve the problem for you.

    How do I do that? I am not great with coding so I’m not really sure what to do.

    prb10
    Member
    Quote:
    X-Powered-By: PHP/4.4.9

    Are you using PHP4? I thought that was the source of this problem.

    What version did you install?

    How do I do this?

    #73623

    In reply to: Installation Error

    johnhiler
    Member
    #10414
    prb10
    Member

    I have downloaded the files, extracted them and uploaded them to my site, each and every one of them but when I go to the link of my forum to install it in step one I have reems of the same kind of message saying:

    Warning: cannot yet handle MBCS in html_entity_decode()! in /homepages/41/d23308234/htdocs/PRBSPORTS/bbpress/bb-includes/wp-functions.php on line 113

    It goes on for quite a while with the installation info at the bottom. Any ideas what it could be?

    #10413

    Topic: Adding to topic form

    in forum Plugins
    yutt
    Member

    Several plugins add options to the topic submission and edit forms (Support Forum, bbcode-buttons, etc).

    I know how to add to the end of those forms with add_action(‘hook’,’function’), but I don’t understand how they add their fields to specific areas of the form, such as below the Topic title field, above the post text field, above the tag field, etc.

    Is there a proper way to do this so it remains theme agnostic?

    #73575
    dmbware
    Member

    I have the following:

    Version 1.0-alpha-6 and WordPressMU 2.7.1 The problem lies with the instructions: Your video is excellent but when you read other posts they approach it different, and everyone has different ideas about this token, and the plug ins. Its just so dam confusing. I have two con fig files that have so much different code I just have no idea what is going on.

    #71737
    kinkythought
    Member

    How exactly do you go about redirecting? Can it be done through a plugin or does one have to hard-code files? Which files need to be edited? I am trying to do the same thing, (almost… I’d like profiles, etc. to be managed through bbpress, but registration through wp only since I use invite codes).

    #73524

    Thanks.

    When I go to phpMyAdmin, I do see bunch of tables under XXX-forum. For example, when I open bb_usermeta, it shows some entries such as umeta_id, User_id; but when I try to ‘browse’ them , I don’t see the the contents where I can see user name etc, instead I see something like:

    SQL query:

    SELECT COUNT( * ) AS Rows , user_id

    FROM bb_usermeta

    GROUP BY user_id

    ORDER BY user_id

    LIMIT 0 , 30

    Is there a guide as to how I can work with this. Or do you know what is the best way to delete bbpress without affecting my wordpress, I will try to re-install it.

    Thx.

    #73521

    You have to tell bb, when you set it up, where wp is :) Default assumption is that it’s the same folder. You’re going to need phpMyAdmin or something to fix it.

    Go into your XXX_forum database and open up the bb_meta table.

    Look for:

    user_bbdb_name
    user_bbdb_user
    user_bbdb_password

    The first one is the NAME of your WordPress database (so XXX_wrdp1), the second is the ID used to access said database (sounds like XXX_wrdp1 from your post) and the third is (heh) your password for that ID.

    Set those up to point to WP and you should be able to log in.

    #10402
    kickerman360
    Member

    Hi

    I am running WP 2.7.1 and bbPress 0.9.4 and have completed “deep” integration of the two (cookies, logins, users, wp functions).

    A major component I use is a WP Plugin called “Featured Content Gallery” and I am trying to fuse it into bbPress. I have added the code and it *half works*. That is; none of the images, nor the description appear but oddly enough the title shows.

    My question is then, has anyone actually done this? If so how OR Is it even possible?

    #73483

    frooyo, mine doesn’t look like that at all (my admin panel alignment is fine). Did you change the /bb-admin/style.css file?

    #64649
    argancel
    Member

    chrishajer you are my hero. My host is also 1&1 and I was really wondering why I couldn’t make these permalink work on my host while it was working perfectly on a local installation. Got really depressed about that. And then I tried to add the line Options -MultiViews and now it works.

    You really made my day!!

    #68656
    _ck_
    Participant

    Actually this topic is very old and the openid plugin has been out for some time now.

    https://bbpress.org/plugins/topic/openid/

    In most of my plugins I use curl with a fallback to a solid fsockopen routine I wrote awhile back that works well. I can’t remember if I have it in openid.

    I avoid api as much as possible because of how they tend to change and break my plugins ;-)

    Plus you learn nothing when you just use someone else’s black box…

    #73466
    Sam Bauers
    Participant

    You can potentially use “special” characters in usernames via a plugin, but with the ability to have separate “display” names it is not enabled in the core.

    Putting this in a plugin might work on it’s own actually…

    function my_sanitize_user( $username, $username_raw, $strict ) {
    if ( $strict ) {
    return sanitize_user( $username_raw, false );
    } else {
    return $username;
    }
    }
    add_filter('sanitize_user', 'my_sanitize_user', 10, 3);

    #73475

    FYI, the .htaccess file is never included in the distro. Nor are your my-* folders. It’s SOP to copy those, and your config file, over in WP and BB. Probably considered ‘understood’ for anyone using the RC.

    I can’t paginate through my users on the admin side. The links give me the URL of:

    /bb-admin/users.php?page=2

    HOWEVER if I manually put in this, it works:

    /bb-admin/users.php?userspage=2

    Still can’t paginate from that page, though. Then ALL the links become the userspage=2 (yes, the 2, if I change it to 3, the links are 3, etc etc). I reset my .htaccess (just in case) but no help there.

    Logged in #1076

    #73473
    frooyo
    Member

    After I created the missing .htaccess file and now using the RC-1 now for about an hour, it works greats.

    No problems at all.

    Only comments I have, other than say WAHOOOOOOOO :) is:

    1. It’s feels a bit slower than ALPHA 6 but that could just be my imagination. (Hope someone ports WP SuperCache soon for caching non-logged in content … that will make a huge difference simply by having a cached front-page and user topics/posts).

    2. The admin panel interface links seems a little out of alignment for Managing User & Topics but then again – I’ve modified the style.css so much – that could just be a result of that.

    3. Wish the user Admin Panel had the same clean interface that the Upgrade database schema interface has. But I assume that will all come later, after 1.0.

    #73472
    frooyo
    Member

    I got URLs to work by creating a .htaccess file in my root bbPress directory with the following:

    .htaccess


    Options +MultiViews

    Works now, though it appears the rc-1.zip file is missing this file.

    #9372
    Sam Bauers
    Participant

    Hi everyone, bbPress 1.0 is moving beyond Alpha stage and skipping Beta to go straight into a series of Release Candidates towards a final 1.0 release. The first RC is now available for download.

    We’ve made this decision to push towards 1.0 final as the scope of what was going to be included in 1.0 has been whittled back and we have had some serious real world trials through TalkPress.

    Please note that if you are integrating bbPress with WordPress version 2.7.x or lower, you will need to add this line to your bb-config.php to maintain cookie compatibility:

    define('WP_AUTH_COOKIE_VERSION', 1);

    When you upgrade WordPress to 2.8 that line will have to be removed.

    #73467

    I’m using Allow Images on 1.0a6(trunk from last month) and it seems to still be working. But I’m not using the bbCode plugin so people just put in <img src="http://mylink.com/image.jpg" />

    I just tested now and it’s working okay.

    #73460

    Maybe this is the way to set it:

    $bb->uri = 'http://path.to.local';

    chrishajer
    Participant

    That might be an interesting discussion, but for another forum. We’re not going to change that here. Maybe try the wp-hackers maling list?

    Or, there is some pretty good info here on why NOT to do it:

    http://us3.php.net/function.mysql-pconnect

    doublebuser
    Member

    Thanks, why in BB and WP no one is using _pconnection ? Would it not be better than _connection?

Viewing 25 results - 25,126 through 25,150 (of 32,481 total)
Skip to toolbar