Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,751 through 25,775 (of 32,468 total)
  • Author
    Search Results
  • #71226
    johnhiler
    Member

    I plugged the text into Google Translate, and got this rough translation:


    http://cartoon.lamost.org/ State Academy of Sciences

    Chinese bbPress forum http://cartoon.lamost.org/forum.php?id=2

    The question now is, it can paste the Chinese but not Chinese user name registration interface, sinicized also garbled, character set problem?

    Welcome to visit and discuss


    I may be misunderstanding this, but the question sounds like it may be: “I can’t register chinese language usernames using bbPress… why is this?”

    If so, that’s because bbPress 1.0 doesn’t allow unicode usernames… only unicode display names.

    https://bbpress.org/forums/topic/arabic-translation

    https://bbpress.org/forums/topic/check-out-this-very-nice-r-t-l-arabic-bbpress

    If the post said something else entirely, let’s pretend this comment never happened! :-)

    #71705
    _ck_
    Participant

    I have no way to test this code right now

    but try putting into a file called https-mode.php

    and put it into your my-plugins directory

    (you might have to create the directory)

    and then activate it in your control panel.

    In theory it should make bbpress internal urls HTTPS when it detects you are trying to use HTTPS:// (SSL) mode, even though your main bbpress url is HTTP://

    <?php
    /*
    Plugin Name: HTTPS mode
    Description: forces internal bbPress URLs from HTTP to HTTPS only when using SSL
    */

    add_filter( 'bb_get_uri', 'https_mode',1,3);
    add_filter( 'bb_get_option_uri','https_mode',1);

    function https_mode($uri,$resource='',$context='') {
    if (!empty($_SERVER['HTTPS']) && strpos($uri,'http://')===0) {$uri=str_replace('http://','https://',$uri);}
    return $uri;
    }

    ?>

    #71704
    _ck_
    Participant

    Did you look inside the login-form.php template?

    You might be referring to the 2nd one inside the failed login form which is probably in the core.

    A plugin might be able to fix this problem by detecting if the user is in HTTP vs HTTPS mode and filtering bb_get_option_uri – this intrigues me so I might write it and post it here shortly.

    #71711
    _ck_
    Participant

    bbPress’s filters prevent users from making multiple newlines so they can’t make 1000 of them in a row.

    However you can do tricks like putting <em> </em> in between two lines for 3 lines.

    1

    3

    If you want multiple lines on a regular basis as admin, my “admin can post anything” plugin might allow you to do that, though I can’t remember for certain.

    #71693
    Malice
    Member

    Thanks for the headsup ck! Pretty glad with what I can do in alpha 1.06 so I personally don’t need any immediate change. :)

    Take all the time you need for my part.

    #71674
    _ck_
    Participant

    It’s this in your style.css

    #header h1 {

    font-family: Georgia;

    font-style: italic;

    overflow: auto;

    Take out that overflow:auto; or make it overflow:hidden;

    It’s happening because you must have the H1 in a fixed width container somehow.

    #4766
    frooyo
    Member

    Joel Spolsky has great article on 12 steps to better cording.

    http://www.joelonsoftware.com/articles/fog0000000043.html

    #6 refers directly to why keeping an up-to-date schedule is important and why “when it’s done, it’s done” it not an answer.

    Now, looking at bbPress Roadmap :(

    http://trac.bbpress.org/roadmap

    We are over 6 months behind and it’s is NOT up-to-date :(

    #71692
    _ck_
    Participant

    Essentially any plugin that relies on specific paths,

    ie. if you see REQUEST_URI in the plugin, it is likely to have compatibility problems – also anything that refers to specific filenames in the bbpress root, bb-post.php, topic.php etc.

    Some things may simply break because of redirects to specific paths or filenames that no longer exist.

    I’ll post more things to look for as I think of them, however I can’t completely predict how Sam will change things. He needs the freedom to change whatever he needs to change to make progress (and keep performance reasonable) so I have to wait until he is done.

    Most of the plugins with problems should be fairly straightforward to fix, but the bigger problem I have to deal with is maintaining compatibility with 0.8 + 0.9 + early 1.0 alpha and then 1.0 alpha 7 and beyond. I don’t like maintaining multiple versions of a plugin to solve this because it’s tedious to apply bug fixes across them.

    #71690

    Thank you! I’ll hold up on 1.0-a6 for now :) Any idea which plugins will bomb? I know you made a million and a half of ’em, but I’m curious to know which ones you know will break, which ones you think will break, and such.

    #62273
    Radium
    Member

    Yeah, sorry for not updating on this. Since the forums are completely empty anyway I plan to move into bbpress as soon as 1.0 RC1 is released. My goal was to integrate the forums and the blog, but at the time I originally created the forums it was not possible without heavy modification which proved too time consuming. I have moved my testing of BBpress and wordpress integration to http://www.ridelegend.com/community/ however :)

    #70320

    First, you can’t use bb .9 with WP 2.6. It won’t work right becuase they changed login stuff (I’m vague cause I need more coffee). So you have to use bb 1.0-alpha6 with WP 2.6 (or 2.7 etc).

    If you don’t have a SECRET_KEY that’s okay.

    What you MUST have are:

    wp-config         bb-config
    AUTH_KEY BB_AUTH_KEY
    SECURE_AUTH_KEY BB_SECURE_AUTH_KEY
    LOGGED_IN_KEY BB_LOGGED_IN_KEY
    NONCE_KEY BB_NONCE_KEY

    AUTH_SALT BB_AUTH_SALT
    LOGGED_IN_SALT BB_LOGGED_IN_SALT

    It’s okay that your KEYs are in the options page. You can set those in wp-config.php if they’re not already there. Which I think they should be.

    #71437
    chrishajer
    Participant

    Change this:

    #sidebar h2

    to this:

    #main #sidebar h2

    and it will work.

    #70313

    I have to disagree there, chrisgoat

    I have WordPress in /blog and bbPress in /forums and I have had WordPress on my site for a couple years before integration.

    I did set my cookies to all be treated as from root, mind you, but I do that for both bbPress and WordPress, and it works fine.

    #57886

    In reply to: Changing the header

    circuit – Try TextWrangler ( http://www.barebones.com/products/textwrangler/ ) instead of textEdit on a Mac. It’s MUCH better and handles my php files perfectly.

    Also it’s free :)

    #71436
    mzimmers
    Member

    OK, I’m almost ready to deal with compressing the middle of the page. First, I want to track down the final glitch in my sidebar presentation. I’m attempting to add some padding to the text “ScopedIn’s Sponsors” at the top, which is formatted as h2. (I do this on line 822 of my style sheet.)

    For some reason, though, line 822 seems to be being overridden by some code *earlier* in the stylesheet (on line 315), that undoes my padding. I thought css interpreted from top to bottom; what am I missing here?

    Thanks.

    #71633
    slambert1971
    Member

    Believe me, the keys I posted in the pastebins are NOT the keys I am using – I changed them after I posted the code. The integration did not work either when I used the integration speedup or not, in fact, it never worked. The secret keys for AUTH_KEY in wp and BB_AUTH_KEY in bb are identical, but they still do not work. It’s just frustrating because if I use an older version of WP (2.6.5) and and older version of BB (0.9.0.4), I can get it to work, but not with WP 2.7 and BB 1.0 – something is broken in the code, I am sure of it.

    westpointer
    Member

    I had WordPress mu alpha 6 setup with bbpress integration. I went into bbpress admin -> settings -> WordPress integration. When I saved the settings I get an error message that admin cannot connect to the sql server. Now, I can’t log into bbpress. Here’s the error:

    mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in /home/greath6/public_html/bb/bb-includes/backpress/class.bpdb.php on line 123

    I know I can delete my bbpress install, remove the bbpress tables, re-install and it will work again. But, I’ve already done that twice! Anyone know a real solution to this happening or why it happens?

    #71623

    In reply to: Let ask again …

    _ck_
    Participant

    Let me give you a little unofficial insight (half my opinion, half fact).

    Automattic has millions in investment funding, it’s not going away, neither is bbPress.

    But right now bbPress doesn’t make any money for Matt – in fact, it’s the opposite, it costs him to pay people to code it – so you won’t see lots of money thrown into developing it. bbPress was originally written by Matt to run the WordPress.org forums but it’s new goal is apparently to eventually power TalkPress (a forums version of WordPress.com)

    Currently Sam is the only one working on bbPress but that’s only because other resources are being diverted to other projects. There have been at one time three or maybe four developers (including Matt) on bbPress. Just because there is only one person working on it now is NOT a sign that it is going away. It’s simply because Matt has only so many coders and needs them elsewhere. (You may notice Michael is temporarily MIA).

    The people complaining were obviously not around for WordPress development and haven’t read any history about it. WordPress was nearly the EXACT same way. Until there was a commercial project based on it (ie. WordPress.com) development was in bursts. Nothing for weeks, and then a frenzy, before a new release.WordPress didn’t really make it’s mark until 2.0 – 2.1, then it took off and then Matt could justify paying lots of people to support it.

    Like I keep saying but no one listens, bbPress is PRE-RELEASE software. It’s not even 1.0 yet. And just like WordPress, people who come onboard someday at version 2.0 – 2.1 will wonder what the heck you were complaining about.

    If you are using bbPress right now, you are an EARLY ADOPTER.

    You are experiencing EARLY ADOPTER BLUES.

    Some people complain, some people try to contribute, some people go elsewhere.

    #71657
    Sam Bauers
    Participant

    The default error page is a sore spot in bbPress. It currently isn’t theme-able. That will change, but not until we get a bit further into 1.0 alpha development.

    Private forums are possible via a couple of plugins, take a look at the “Extend” area of this site.

    Adding extra profile info is pretty easy via a plugin if they are just simple text fields. You need to add the fields to the profile_info_keys. See get_profile_info_keys() function. Here is some example plugin code…

    function my_add_profile_info_keys( $keys )
    {
    $keys['ice_cream'] = array( 1, 'Favourite ice cream' );
    return $keys;
    }
    add_filter( 'get_profile_info_keys', 'my_add_profile_info_keys' );

    Adding checkboxes and dropdowns currently isn’t supported via the API.

    #71622

    In reply to: Let ask again …

    I don’t even know how to respond anymore, because really there is no way to defend myself while I’m in someone elses house. I can only speculate what Sam’s duties with Automattic are, because it’s none of my business. I can only assume from what I’ve read (where it’s been hinted at) that Sam is the sole developer behind bbPress, because again it’s none of my business who’s working on it really.

    Suffice it to say that I think it’s really sad that my above response was met with such hostility and defensiveness, especially from someone holding the responsibility of moderation, considering there never really was any offense that I see dignified that kind of response. I really didn’t mean any harm or attitude; I even mentioned that I knew I was risking sounding a little off tone, but I think the question is probably a semi valid one, and I can’t speak for anyone else but myself when I ask…

    I’m neither complaining, nor banging away. I’ve filed trac tickets and proposed solutions where I felt I qualified enough to supply one. I’ve written my own plugins and modified existing ones to work for specific situations. If what you think is that I’m pressuring or pestering anyone for anything, than I think that there’s a misunderstanding from the get go. I’m not saying it isn’t on my end, but what I will say is that I feel I’ve done my best to be friendly, contribute, and understand how the bbPress family is trying to run business here. I ask that you try to realize that to the new comer, some of what you all have come to know as common knowledge may not be for others, and that maybe… Just maybe, there are better ways to moderate a forum and still get your point across… Again, maybe it’s just me, but moderators typically wear many hats, sometimes one of which is the bouncer at the front door, protecting the crowd. I don’t see this forum as having a particularly riotous clientel, so I can’t say that much muscle is really even necessary…

    Okay I’m rambling now…

    My point being, that if Sam’s only job is to work on bbPress for Automattic, and he hasn’t been around or made any updates or changes, then I’d like to apply for his job. :)

    #4744
    slambert1971
    Member

    I was looking in the code today to see if there was a way to add fields to the forum edit screen, but it appears that without hacking the core code there is not. I am looking to create a plugin that would allow me to add icons or images to each forum, as well as add a detailed information field to each forum. I need these for a project I am prototyping for a client and would rather not change core code.

    Is it possible to override the function bb_forum_form() in the admin-functions.php file within a theme or a plugin or hook in to add additional fields? I suppose I would also need to override / hook in to the function that processes the form to handle the new fields as well. Any chance a future version of the software will have these hooks?

    #71618

    In reply to: Let ask again …

    > An employee only has to report his results to his employer

    Yes, and so what? I’m asking is he employee or not

    That information is confidential in many states. No one is required to tell someone who they work for, even for insurance (your insurance has the right to turn you down due to lack of trust in that case, but still). As such, that question can be dismissed as ‘not your business’, pardon me for the crudity :)

    So here’s my question for you. Towards what end will you go with the information of Sam’s employment? If you find out that yes, he is an Automattic employee and assigned to bbPress, will that make you react differently than if you found out, say, he was assigned to bbPress, WordPress and was asked to fill in at Akismet?

    Basically this: Why does it matter who he works for?

    If you’re asking ‘Why is bbPress development so slow?’ you could just ask that and anyone would tell you: There are few developers working on it at the moment. Cause the only other question I can find is like when you watch Survivor, and the Jury person says ‘My question for the finalists is that you suck.’ While entertaining to watch, it’s not a question. ;)

    #71615

    In reply to: Let ask again …

    Detective
    Member

    Some thoughts…

    – An employee only has to report his results to his employer. So, it doesn’t matter if Sam works for Automattic or not. In this context is that bbPress is open source: if you need anything (that can’t be done on a plugin), you are free to fork bbPress and add what you need. It’s just simple as that.

    – “code uploads” aren’t needed on a daily basis, specially when you are the only developer.

    – If you wanted only Sam to reply, then you should have used a less public medium, don’t you think?

    :)

    #71614

    In reply to: Let ask again …

    _ck_
    Participant

    The biggest problem I have with people hassling Sam is that you are distracting him from other work he can be doing to help us all, especially when for now he is the only main developer on the project. He shouldn’t have to stop to answer end-user questions each week (unless he wants to).

    It’s easy to burn out on large programming projects which is why he moves around to working on different parts of bbPress at different times and I have a low tolerance for people who can’t see the major effort he has done and just want things done yesterday, especially when it is completely free and you have plenty of other choices.

    Try writing a plugin someday and you’ll get an appreciation for what kind of concentration and knowledge it takes to develop good code. Sam has done a massive amount of work on bbPress 1.0 and should be left alone to continue in whatever pattern suits him best.

    If you have bug reports or feature ideas, make a quality report in TRAC and Sam will get to them when he gets to them. Don’t pester him here unless he solicits for the input.

    _ck_
    Participant

    Once 1.0 beta is released things will be far more solid.

    You have to understand that 1.0 is almost a 75% re-write (or re-structuring) of 0.9 so many things have changed. To an end user it seems the same but that’s because of much backwards compatibility work by Sam.

    bbPress 1.0 is 150% the code size of 0.9

    So when 1.0 goes beta, that would be a good time to start documentation.

Viewing 25 results - 25,751 through 25,775 (of 32,468 total)
Skip to toolbar