Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,976 through 21,000 (of 32,517 total)
  • Author
    Search Results
  • #89705

    Ah BackPress.

    Like Marrying my high school sweetheart it was a wonderful idea at the time, that somehow comes back to bite me on the behind every damned day ever since ;-]

    (here’s hoping she doesn’t google me!!)

    Mr Pelle,

    I truly believe that bbPress is a grand little product, it’s so flexible and extendable that it’s potential in unbridaled. if your forum doesn’t requite alot of moderation, then I can’t think of anything better than bbPress.

    It’s just hampered by no management and no communication, which I feel only exasperate/exagerate it’s problems. And this comes from the the moany SoB who points them out ;-)

    bbpress 1.0.3/1.1 (cos we’ve no-one in charge to make the decision to release anything) contains a great number of bug fixes that have plagued bbPress for too long. All small, all annoying and great to get them out of the road. Even if you don’t need the 2 new** features, it will be a good thing when this comes out and you upgrade.

    I’m all for pointing out mistakes, and keepingon top of this to geet things released, and maybe get some answers out of someone at some time (Seriously, 6 months per blog post – crazy from the company behind WordPress blogging platform) and then we’ll take stock and see what happens then.

    ** they’re not new, we’d had them for years as plugins. God himself only knows why we couldn’t have a bug fix release instead, then work on new features. But that requires stakeholders to be consulted and decisions to be made…

    #89631

    Gareth Gates earned a bit over of leway in the Gallagher household for Jordan, but Stuart McCall… y’all are going to hell of keeping him alive/busy for a while longer ;-)

    Anyway, what you want is to make sure that your bbPress config file has the same info as teh wordpress config file for each of these below

    in WordPress

    define( 'DB_NAME', 'database_name' );

    /** MySQL database username */

    define( ‘DB_USER’, ‘user_name’ );

    /** MySQL database password */

    define( ‘DB_PASSWORD’, ‘password’ );

    /** MySQL hostname */

    define( ‘DB_HOST’, ‘localhost’ );

    /** Database Charset to use in creating database tables. */

    define( ‘DB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘DB_COLLATE’, ” );

    in bbPress

    define( 'BBDB_NAME', 'database_name' );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘user_name’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘password’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘localhost’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    If they are the same, then I’m a bit clueless right now

    #89704
    mr_pelle
    Participant

    Just a quick reminder, that we’ve now reached 6 months without a blog post on bbPress (13th Jan to 13th Jun).

    And we haven’t been able to type code on the forum for the last 3 weeks, and 30% of the pages in the new theme haven’t actually been ported over; and basic links in the header and footer are no longer working.

    Geez… this makes me damn the day I chose bbPress as forum software for my company…

    #89629

    A Bradford man eh? I was down there on thursday.

    Anyway, welcome to bbPress.

    What you want to do here is look at your WordPress config file (wp-config.php) that is already on your website (i am presuming here that you’re wanting to add a forum for appertunity.com – or at least on the same server).

    You will see what it has for each of the details that you filled in for the corresponding bb-config.php file. that should give you some insight as to what the database settings should be :)

    #89703
    chrishajer
    Participant

    Makes sense. I got that error about 15 times when I made a test post at http://bbpress.chrishajer.com/trunk

    The post still went through, and the code is all messed up.

    This was the bbPress ticket:

    https://trac.bbpress.org/ticket/1283

    Closed it and made a BackPress ticket:

    http://backpress.automattic.com/ticket/25

    #89701
    chrishajer
    Participant

    Has it been 3 weeks for sure? I’d like to be able to go back and see when that problem was introduced. It seems to me it just started on new posts, but do you know if it happens when you pull up an old post that has code in it?

    #89654
    chrishajer
    Participant

    Kevin, we added the svn revision number to the version, so any theme that echos the meta generator tag will have the version, like “1.1-alpha-2440”. Checking the source here, this site is not running the very latest trunk, although it is running trunk of some revision (but a revision before 2441 – we just don’t know which one since the version tag was not changed until 2441.)

    [meta name=”generator” content=”bbPress 1.1-alpha” /]

    On my test installation http://bbpress.chrishajer.com/trunk/ you can see it’s running r2441:

    [meta name=”generator” content=”bbPress 1.1-alpha-2441″ /]

    Test posting there in code tag or backticks shows completely fubar formatting. It is apparently something we can fix in trunk. Not sure when that particular problem was introduced.

    #34492

    Just a quick reminder, that we’ve now reached 6 months without a blog post on bbPress (13th Jan to 13th Jun).

    And we haven’t been able to type code on the forum for the last 3 weeks, and 30% of the pages in the new theme haven’t actually been ported over; and basic links in the header and footer are no longer working.

    #89690

    Is bbPress going to live or morph into something else?

    Both. According to Matt, who stated it back in January in the middle of an IRC chat, bbPress will become a WordPress plugin… eventually.

    I doubt that’ll happen anytime soon though.

    With the release of WP 3.0 just around the corner (I am already running WP3 RC2), what’s going to happen with bbPress then?

    Same as what’s happening now. Some good folks will work on code (some community members, some Automattic folks), and we’ll sitin silence not knowing what tomrrow will bring.

    Do I install bbPress on WP as a forum and use BuddyPress to access it?

    If you’re using BuddyPress, you’re not talking to the people behind the bbPress you’re using. the bbpress that works with BuddyPress is a different beast, and for some reason they decided not to rename it, so we get the support questions and bad rep – constantly!

    Or is something going to change and make the combination and integration of all the plugins for each and of WP3/bbPress/BuddyPress all too much of a royal pain in the petutie?

    WP/BuddyPress plugins are never going to work with bbPress.

    There’s a long answer behind why, but basically, thats a no go.

    I wish someone could give me some clarity on the direction bbPress and BudyPress are going.

    BuddyPress actually has some great folks who are very communicative and support their community so well it’s unreal. But you’d need to be on the BuddyPress forum for that – as it’s got nothing to do with us.

    bbPress, well, we’d all like some communication – but thats never been it’s strong point. Don’t worry, thats not new, and it’s not going to change.

    Someone. Anyone?

    ECHO ECho Echo echo… etc

    #89652
    Gautam Gupta
    Participant

    Change them to forum_link( $topic->forum_id ), forum_name( $topic->forum_id ), post_author_title_link( $topic->topic_last_post_id ) (not tested, but should work).

    (Replace > with the greater than sign.)

    #34489
    driz
    Member

    I have the following code on my front page to display the topics:

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <li<?php topic_class(); ?>>

    <span class="left">
    <strong><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></strong>
    <span class="time"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?> ago</a> in <a href="<?php forum_link(); ?>"><?php forum_name(); ?></a></span>
    </span>
    <span class="author">by <a href="<?php post_author_title_link(); ?>"><?php topic_last_poster(); ?></a></span>

    </li>
    <?php endforeach; endif; // $topics ?>

    BUT the forum_link, forum_name, and post_author_title_link functions do not work. Any ideas how I can get them to work on the front page or use alternative functions to show this information.

    Thanks.

    #89281
    eduardosilva
    Participant

    Hello again _ck_, sorry for not giving any feedback earlier, but in the last few days I’ve been busy with my work and I wasn’t able to test your modification.

    I just made some tests with your modification, but the problem with bb-admin persisted.

    Anyway, I’m happy with the current achievements, the forum working with SSL is pretty nice, and normally I just use the administration part at home or work (in a safe network).

    Maybe one of us should fill a bug report for the https on the bugtracker?

    Thanks for all the help and I’m glad to see you back in the forums.

    :)

    #89561

    In reply to: How to unblock a user?

    gadamiak
    Member

    Exactly. After that I manually deleted bbpress_been_blocked from usermeta table for that user but it got back somehow.

    I just upgraded to latest revision from the trunk (2442), but the problem persists. This site is still in testing stage so I’m going to reinstall it and see if that helps.

    #89552

    In reply to: Restrict Registration

    One of the major things that bbPress doesn’t do well is make the forum easy to moderate in anyway. 7 clicks and 4 pages to delete 1 user, and no ability to mass delete is mental.

    If you have a forum that needs constant moderation for any reason, bbpress might not be the best solution sadly :(

    #89568

    I am not happy about a lot of things with bbPress, specifically it’s management and communication; which have been shockingly bad for 2 years now. I also think tht Matt really dropped the ball on bbPress and then somewhat screwed us over with his comments against the “bbpress community” in his WordCap Keynote speech.

    That said:

    1) Don’t hide behind a fake profile. We all have opinions, and we all agree and disagree on many things. If you’ve got something to say, and you believe this is the place to say it, have the common decency to put your name to it.

    .

    .

    .

    2) One has to differentiate between Matt the person, and Matt the Founder/CEO/Employee of Automattic. I have no doubt that Matt 100% wanted bbPress to succeed and he did help reinvigourate the project for a little while, he just dropped the ball again; but breaking his own rules:

    http://ma.tt/2009/08/kill-your-community/

    As I said herein the link below, Matt should have delegated bbPress to someone and kept up communication as Matt is an insanely busy dude. There is no doubt that WordPress 3.0 would take priority over bbPress, and there’s all the other pies that Matt has his finger in.

    https://bbpress.org/forums/topic/from-a-project-management-viewpoint

    It’s not for you or me or anyone really to make demands of his or anyone else’s time. We can ask for information, especially really basic information that should be on this website – but Matt the person and Matt the head of Automattic doesn’t owe you/me/anybody anything.

    .

    .

    .

    3) I think Matt got it wrong and messed up. He did so a couple of times in a row imo. I think he then did really wrong by us publicly taking a go at the folks who keep this site going – I thought that was underhanded and a total slap in the face to all the moderators (sorry the ONLY moderator) and people who didn’t jump ship. I lost alot of respect for Matt the person when that happened.

    I think he continues to allow this to spiral but not communicating with anyone in a moderator or higher position so that some of these same questions can be answered; but bbPress is not his focus, and really, thats his call to make not ours.

    It’s not like it wasn’t like this for bbpress1.0’s release and bbPress0.9 release, and as Matt said, the’ve fecked this up before and nothing changes:

    We’ve done this before. Relax. :)

    — Matt

    https://bbpress.org/forums/topic/from-a-project-management-viewpoint#post-63315

    .

    .

    .

    4) I truly think this post covers my thoughts in a nice concise manner. And before making any posts like this, I strongly suggest reading it:

    https://bbpress.org/forums/topic/whats-happening-with-bbpress/page/5#post-64410

    It followed a post by Gautam, who’s done stellar work since Matt’s departure, and was followed by the only moderator left asking a simple question and then Matt leaving the project. I think it shows the difference from where “we” the community are and where Matt is. And that’s ok, we’re all allowed to be in different places.

    But posts like this is never going to be helpful.

    .

    .

    .

    5) I think it’s very very wrong to state that Matt doesn’t have “heart, soul and brain”. The man is a really nice, wonderfully warm and smart human being. He’s just fracked up on this, and for teh first time in a long time, hasn’t looked at things objectively and help up his hands (which is one of the things I admire most about Matt over the years).

    And bro, with all due respect to _ck_, without warning she left the project too and closed down her forum so we couldn’t access the code or discussions on it. I think _ck_ is an amazing amazing developer, and knows bbPress inside out; but I’m not sure on what you’re basing this presumption that she (or any of us) would be better at leading a community based project. _ck_ has in the past shown some signs of not being the happiest bunny when people start asking questions.

    .

    .

    .

    6) I’m still laughing at how childish your fake profile name is. “wtfmatt”. Ha, you really should have just called yourself “impatient13yearold”.

    .

    .

    .

    7) I was trying to reference this earlier. I wrote this alomst 18 months ago now. Crazy how much of it still holds true:

    https://bbpress.org/forums/topic/how-to-help-us-help-bbpress

    Take care,

    Kev

    #34484
    gadamiak
    Member

    How to unblock a user, who once got blocked?

    Changing user role doesn’t unblock. Removing bbpress_been_blocked from usermeta table doesn’t either. What’s the trick?

    Running 1.0.2.

    #89489
    ghettobsd
    Member

    This is what i found:

    From: https://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes

    User: baptiste

    Post: Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:

    function get_post_text() {

    global $bb_post;

    return stripslashes($bb_post->post_text);

    }

    May be an artifact of the wordpress integration – not sure.

    The above did indeed work. But I still looked at the other posts and problems others had.

    https://bbpress.org/forums/topic/apostrophe-and-or-quotation-marks-cause-backslash-to-appear

    user: arpowers

    ok, found the answer wooooooo!

    The ‘real’ reason this wasn’t working was….

    ‘magic_quotes_gpc’ is set to ‘off’ on my server (in php.ini)

    All these other solutions are band-aids, my hunch is that making sure magic quotes is ‘on’ is the solution.

    user: jackey

    Putting “php_value magic_quotes_gpc 1” in my .htaccess file worked for me… for now.

    The above also worked. So instead of editing the bbpress code, i just modified the .htaccess file (added to it), that 1 line fixed it. So I will go with it untill I see a problem.

    Worth noting, someone said that by changing the code as per baptiste’s method could corrupt backups you make of sql. So, that was the reason I went with the .htaccess fix.

    Thank you!

    chrishajer: you are GhettoBSD Approved!

    #89488
    ghettobsd
    Member

    Thanks to zaerl this is what i did to code:

    http://pastebin.com/SAx377E4

    So yeah that’s not what is affecting this problem. I will look into the links you pasted.

    Thank you very much!

    #89487
    chrishajer
    Participant

    What is the hacking to get rid of the backtick quote problem? I’m not sure what you were trying to solve there. Was that to fix the code and backtick problem?

    The escaping of single quotes on integrated installations has been covered here before.

    Slashes being added in front of apostrophes

    Apostrophe and or quotation marks cause backslash to appear.

    https://bbpress.org/forums/topic/slash-text-issue-in-10-alpha-6-have-searched

    Sounds that that is your problem – escaping single quotes in an integrated installation. The hacking you did is unrelated (I think.) I confused backticks with quotation marks.

    I don’t think it’s related to the keys at all. They are not used that way when posting. The worst that ever happened was that bbPress did not support the complex keys (with escaped characters) that WordPress did. But that resulted in a 500 Internal Server Error.

    #88530
    Rootside
    Member

    Upgraded to WordPress RC 3, still getting the same error.

    print_r($_POST); gives me the following:

    Array ( [user_login] => hello [user_email] => xxxxxxx@rootside.com [user_url] => [from] => [occ] => [interest] => [Submit] => Register ยป )

    I obscured the email address here, but it is the one I have entered in the registration form above. So it seems that user_email IS defined.

    Thanks for that hint. Maybe it’s a freakish bug – nobody else has chimed in with the same problem so far – but I don’t know how many people are testing WP 3 with bbPress yet, so I’m not quite ready to re-install the whole sermon from scratch again. I’ll try setting up the same combo on a different server as soon as I can find the time, but I’m still hoping that this can be tracked down, so I don’t have to fear for the worst with every future update…

    Does the information above give any of you guys an idea?

    Again, greatly appreciated.

    #89435
    driz
    Member

    I think I found a much better way to get around it. Just wrap the new tag with the old tag, as it check for the forums if none then don’t run the new code.

    <?php if ( bb_forums( $forum_id ) ) : ?>

    <?php if(bb_forums(array('where' => "where forum_parent = $forum_id"))) : ?>

    #89484
    ghettobsd
    Member

    Please see above! :P

    I used a NEW (not related) db, i used both clean installs.

    So basically, the problem is reproduced on the stock installs of wp,bb with integration on mysql. So nothing, not even the themes from before were used.

    At first I thought it was because I changed the type of links (permlinks) and then did a stock install with no changes, but integration and it happened again.

    I basically did many installs under different configurations/databases. And everything ended up the same every time.

    I ruled out:

    – The theme being the problem.

    – The hacks …

    – Perm link options …

    – .htaccess …

    – The database…

    Maybe it has to do with the auth key info? That’s the only obvious thing.

    I do have wp and bb installed else where and integrated without the same problem.

    I used a generator that also generated the salt, could that be it?

    #89475
    zaerl
    Participant

    bb_update_forum is a function, not a hook. Like I said there is no way to fire custom actions when a forum is added/modified/deleted.

    #89474

    ooooh bb_update_forum. Awesome find.

    thats the difference between someone who can actually code PHP and someon like me.

    I’ll have to play with it though, and might ask you for some help, as in some re-ordering will fire that once for each forum is manually updated by an admin. I mean that won’t happen often ofc, but it’s (number of SQL calls my function makes * each function affected).

    Currently, and in no way overly optimized, the “forum_family_tree_setup” script uses 2 + (3 * parent) SQL calls per per forum.

    Even on my large football forum, (large in terms of number of forums) which has quite deep relationships, this is far less intensive than a recount. If this was to be multiplied by 3 or 4 times though (depending on how many forums are updated with a move), that might cause a hic-up.

    I’ll do some benchmarks after the weekend – I’ve got 31 non-England teams to support in the World Cup this weekend ;-)

    Cheers bro!

    #89473
    zaerl
    Participant

    So you need to hook bb_new_forum, bb_update_forum and bb_delete_forum. There is no way to set hooks after the db stuff. Or at least this is what I think after 20 mins of studying the core.

Viewing 25 results - 20,976 through 21,000 (of 32,517 total)
Skip to toolbar