Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,326 through 26,350 (of 32,466 total)
  • Author
    Search Results
  • #69643

    In reply to: bbPress Facebook page

    Sam Bauers
    Participant

    Setting up the Facebook page took about 15 minutes. It was just a whim. Part irony… :)

    @johnjamesjacoby

    The “deep” integration you talk about and have had trouble with is a known problem. But it is not the focus of my development time at the moment. There is also a chance support for it will be dropped completely if there are too many blockers leading up to 1.0, I’m not a fan of the method which is basically only accidentally a possibility at the moment. I’ll look into it but I have to warn you, it will be last on my list leading up to 1.0

    Integration of user tables and cookies is a priority on the other hand, as is creating a full XML-RPC interface for those who want to pull data into a WordPress install. I know of only one problem with cookie sharing which has no solution at the moment (admins who login via WordPress have no access to bb-admin), and I will be working on a solution for that soon (it requires a WordPress plugin to be authored, which opens up the possibility to make a few other steps during integration on the WordPress side easier).

    Integration only became a real “feature” of bbPress with 0.9 when it was brought front and centre during install and got it’s own admin options page. Unfortunately WordPress is a moving target and it is difficult to keep up with all it’s changes (especially when internally at Automattic we still use 0.9). It’s a little unfair to say that bbPress isn’t usable. We use it for some very big forums ourselves, all of which have some level of integration going on.

    Anyway, don’t get me wrong, your comments are welcome here and I’m glad you are a real fan and not just a Facebook fan.

    #69676

    In reply to: Generating secret keys

    Sam Bauers
    Participant

    I almost forgot…

    If you have an urge to hard code the secret salts in there as well then you can go here:

    https://api.wordpress.org/secret-key/1.1/salt/bbpress/salt/

    The salts are usually generated for you and stored in the database. Few people have to add them manually to the file.

    #4391
    Sam Bauers
    Participant

    WordPress has had an online tool available for a while to generate random strings in a format suitable for the wp-config.php file. It is at:

    http://api.wordpress.org/secret-key/1.1/

    This has just been extended to return code appropriate for bbPress as well. Just go to:

    http://api.wordpress.org/secret-key/1.1/bbpress/

    Enjoy! Sam.

    #69602
    TechGnome
    Member

    YEaaah….. two different databases… in fact the databases will be on different servers… in two different parts of the country… both behind firewalls…. not a long story, but that’s the setup.

    Maybe if I explain a little more, it’ll put it into context – the web site is for a radio station. The main part of the web site will be used for initial announcements, browsing albums and making requests.

    What I want to be able to do from the website is three things:

    1) include the login from as needed (or greet the user if logged in)

    2) allow the user to make requests – if they are logged in. If they aren’t then I want to redirect them

    3) store the username with the request when made (if I can get to the user name, then I can store it in the other database – there’s a place for it already.)

    Other than that, there’s nothing I need directly from the bbPress database. I don’t need to access the database, just need to get their UserID/UserName if they are logged in (presumably if the UserName is set, they are logged in, or is that too easy? :P )

    I’d like to note that I’ve been using bbPress off and on for the last couple of years, WP for even longer and I am a programmer by trade… so don’t be afraid to the lay the technology on me, I can take it. I’m decent in PHP, but by no means an expert, and I don’t have trouble figuring out the stuff I don’t know… especially if I’m just pointed in the right direction.

    If I include the following at the top of the pages where I need it… will it give me what I need to do this:

    <?php

    require('./bb-load.php');

    $bb_db_override = false;
    do_action( 'bb_index.php_pre_db', '' );

    ?>

    I know I would need at least the first require for bb-load.php (naturally changing the path to the correct location). But would I also need the other two lines? (I will be searching the documentation for those two settings to see what I can find.)

    -tg

    #69642

    In reply to: bbPress Facebook page

    I think you summed it up awesomely. I know that I’ve only recently discovered bbPress, and that right now my contributions are minimal and certainly don’t justify the attitude that came out of my fingers. I do sincerely apologize for venting my frustrations, but Chris is totally right as far as login and theme integration go.

    I graduated to WordPress from phpBB and the CHBB categories hierarchy spin-off of phpBB2.x. What I love about WP, I hate about phpBB, and what I love about phpBB, I hate about WordPress. What the phpBB team always did well, was catalog and document their code and coding guidelines, almost always and from the start. Even though different authors wrote different pages, the code always looked the same and worked the same, but WP and BBP aren’t like that. Finding and repairing WP/BBP issues is becoming increasingly difficult as there are functions hidden within functions that add one extra capability just to echo other functions.

    If I could have a dream job right now, it would be to get paid to be the code janitor to the automatic teams code for the wp3.0 and bbpress 2.0 milestones. To refresh the codebase for the major revisions. Also coming from phpBB, I’m surprised to see WP uses so many echo statements all over the place. I feel the template engine that the phpBB Categories Hierarchy uses was just so amazing and worked so well that moving to WordPress felt like a step sidways.

    Anyhow, I’ve taken this topic way off topic, and I don’t mean to vent my ill feelings in what should be a celebration topic. If you mods want to clean this up or split this apart I would totally understand.

    Cheers!

    #69510
    chaslie
    Member

    Just had another idea !!!!! Would this scenerio work?

    Using 0.9.0.2

    In the KAKUMEI theme, can this line (Line 43): <?php if ( bb_forums() ) : ?>

    be replaced to to just call up on the front page only the forums that have a certain ID?

    Something like: <?php if ( bb_forums(ID=1,2,3,4,5) ) : ?>

    I don’t know PHP that well to be able to guess the actual code required. What do you think?

    Have tried what zappoman suggested here (https://bbpress.org/forums/topic/hide-subforums-on-main-page#post-21413) but cannot get it to work.

    #69640

    In reply to: bbPress Facebook page

    _ck_
    Participant

    I just disagree with promoting a product before it’s even usable.

    bbPress is very usable, just not finished. But it’s certainly *not* being promoted. All we have is this support forum. If it was being promoted, it would be listed on WordPress.org/WordPress.com and there would be hundreds of thousands of users. bbPress currently has less than 10,000 active installs. That should change by this time next year.

    bbPress was originally written by Matt to simply give a support forum for WordPress (WordPress.org). Everything from there was just Matt releasing the source. There never was a general plan after that until Matt started talking about TalkPress which is still very far away by my best guess.

    bbPress’s greatest strength is it can be integrated in many websites easily and made to look like them easily. But it’s still a growing child and very young. If you are looking for a polished product, you need something with over half a decade of development like phpBB, vBulletin or SMF. The downside to them is they are very rigid and hard to develop for. bbPress is incredibly easy to develop for, I only learned PHP a few years ago and look what I’ve managed to do. Just imagine what a person who knew what they were doing could do ;-)

    #69212
    _ck_
    Participant

    If you have your own server make sure you setup your mysql cache properly and even more importantly make sure you install some kind of PHP opcode cache (eaccelerator, xcache or APC). Even the fastest server will greatly benefit from an opcode cache.

    #69211
    techypenguin
    Member

    hi u all. sorry for the late reply. i’ve got it sorted. it’s because of my server cache level is not enough for handling newer version of server software. I recently bought a hp proliant server and all the issues been sorted. thanks for the reply. i’m thinking to develop a plugin for bbpress now since i’m happy with my server.. ;)

    #4392

    I’m trying to improve on some breadcrumb code in the Edit Post section, and need to retrieve the forum ID from the post ID. Is this possible?

    #69634

    Perfect!

    …in theme/topics.php…

    <?php If (ceil($topic->topic_posts/bb_get_option('page_topics'))>1) { ?>
    <div class="topic-page">
    <?php topic_pages();?>
    </div>
    <?php } ?>

    #69638

    In reply to: bbPress Facebook page

    Well, I’m not missing the point of final products, but WordPress is at version 2.7 and isn’t quite a final product either. The result of the community driven open source product is that pre 1.0 alpha/beta software isn’t really any more or less stable than the next “stable” version, because even if development stops for a moment to celebrate the next milestone, there is still more to do.

    I also get how bbPress was introduced and how the developers have chosen to support it. I just disagree with promoting a product before it’s even usable. I guess I take more pride in my product than that. I run the trunk version of both WP and BBP on a relatively small website. I update them nightly. It’s really the best way for me to stay involved and report back problems. I just feel this integration issue is way more important than the attention it gets. It just seems to me like it’s never really worked right ever. :/

    And I also choose personally to not believe that just because a product is graciously delivered to someone for free, that there aren’t certain expectations placed on the quality of that product. I could give someone a cookie, but if it’s stale or poisoned doesn’t really make me a good friend.

    Also, the last thing I want to do is bite the hand that feeds me. I really love bbPress and WordPress, promise. I just find the development cycle frustrating some days.

    (Off topic: We’ve called animal control, the police, and the condo association. The police say they can’t give her a ticket if she isn’t home, and when she’s home the dog doesn’t bark so they can’t ticket her then either. They’re useless. Animal control told me that if I do not have proof of cruelty in terms of the dog not having adequate food and water, they will not pursue the owner. The condo association is writing her their third letter asking her to correct the issue. Writing a letter is less effective than posting on a forum. ;) )

    #69670
    _ck_
    Participant

    The full template can be confusing to non-coders.

    This concept has been covered several times around here, it’s quite simple.

    Just replace

    <?php topic_last_poster(); ?>

    with

    <a href="<?php topic_last_post_link(); ?>"><?php topic_last_poster(); ?></a>

    in the front-page.php, forum.php, view.php and tag.php templates

    #69633
    _ck_
    Participant

    To figure out pages is easy.

    You lookup how many posts are in the topic and then you divide by the page_topics setting which also happens to be the posts per page setting.

    something like:

    $pages=ceil($topic->topic_posts/bb_get_option('page_topics'));

    #4389

    Topic: bbPress Romania

    in forum Showcase
    silvers
    Member

    Hello people and hello to all the people in Romania that are using bbPress.

    I made a support forum for bbPress in romanian language .

    Forum address : http://bbPress.webshow.ro

    I have also made a installation tutorial with pictures : http://bbpress.webshow.ro/topic/instalare-bbpress

    Hope you like it and you will join the romanian forum also :)

    #69619

    In reply to: New forum layout

    Hold down shift and refresh. WHAM it’s wide screen (I thought I was loosing my mind yesterday).

    I like it :)

    #4388
    Bharat Karavadra
    Participant

    Sometimes forum topics are so interesting that they get many replies and bbPress v0.9.0.2 does not have any links to the latest reply when you go to a topic.

    So I created one as you will see when you go to any of the topics in the Set Forever forum.

    Here’s a link to the code update to the Kakumei theme for the topic.php file:

    http://www.setforever.org/blog/2008/bbpress-v0902-how-to-add-a-link-to-the-latest-posted-reply-message-in-a-topic/

    #69618

    In reply to: New forum layout

    Olaf Lederer
    Participant

    Ok I see the avatars but else it looks the same to me :)

    maybe I should visit this forum more often …

    #69613

    In reply to: New forum layout

    If a guy wanted to try and go for the gold and make the new official bbPress.org theme, who would he talk to about such things? :)

    #69612

    In reply to: New forum layout

    chrishajer
    Participant

    Much better :-)

    #69611

    In reply to: New forum layout

    chrishajer
    Participant

    How about the spacing after a code block?

    10 PRINT "HELLO WORLD"

    20 GOTO 10

    How much space is there above this line, after the code block?`

    #69610

    In reply to: New forum layout

    chrishajer
    Participant

    Nope :(

    #69608

    In reply to: New forum layout

    Much better so far! The width was a major issue and it’s good to see gravatars again! :)

    #63015
    chaslie
    Member

    Guys – all your ‘pastebin’ code has disappeared from that site. Eight months has elapsed since the post before this one. Any chance it can be added back again please? Or is there documentation somewhere else. Thanks for the trouble.

    #69589

    Oh, so true! So true! That’s what she keeps me around for ;) nice new Gravatar, BTW.

Viewing 25 results - 26,326 through 26,350 (of 32,466 total)
Skip to toolbar