Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,476 through 18,500 (of 32,518 total)
  • Author
    Search Results
  • #105705
    Gautam Gupta
    Participant

    bbPress have a long tradition of “working alphas” is this the case again? I mean can I consider now that once beta and final version are released it won’t mean reconverting everything again from scrath?

    You won’t need to convert anything now, there might be normal internal upgrades. :)

    would I better off waiting for the final release and importer, specially if we plan to integrate buddypress on this installation afterwards.

    I’d recommend at least waiting for the official alpha of the plugin. :)

    #100605
    Gautam Gupta
    Participant

    bbPress have a long tradition of “working alphas” is this the case again? I mean can I consider now that once beta and final version are released it won’t mean reconverting everything again from scrath?

    You won’t need to convert anything now, there might be normal internal upgrades. :)

    would I better off waiting for the final release and importer, specially if we plan to integrate buddypress on this installation afterwards.

    I’d recommend at least waiting for the official alpha of the plugin. :)

    #95391
    tooltrainer
    Member

    I actually did wrap the code in a code tag, and it did nothing. The code just executed. Of course once I sanitized the code, it got highlighted in yellow.

    Jonathan

    #105686

    In reply to: bbPress backup!

    zaerl
    Participant

    Hi Alex,

    at line 21 you use: SHOW TABLES FROM db_name in order to retrieve bbPress tables. This is a wrong approach cause you assume that in the database there are only bbPress tables which is not guaranteed.

    You should only backup the tables with the bbPress prefix. Check the $bb_table_prefix global variable.

    #100586

    In reply to: bbPress backup!

    zaerl
    Participant

    Hi Alex,

    at line 21 you use: SHOW TABLES FROM db_name in order to retrieve bbPress tables. This is a wrong approach cause you assume that in the database there are only bbPress tables which is not guaranteed.

    You should only backup the tables with the bbPress prefix. Check the $bb_table_prefix global variable.

    alsur
    Member

    Hi everyone. I am very happy to see there is again certain activity in the future of bbPress and that the “plugin version” is already release in alpha.

    I understand much has been put into it and I’ve seen Gautam’s converter script.

    We have and old forum we managed to convert to bbPress 1 hooked together with a WordPress installation (2.8) but we got stack with the theming integration and it was never released. We now want to go ahead with the project but we are a bit uncertain which route to go with.

    I would really appreciate from developers or someone who’s had the experience comments on:

    – bbPress have a long tradition of “working alphas” is this the case again? I mean can I consider now that once beta and final version are released it won’t mean reconverting everything again from scrath?

    – would I better off waiting for the final release and importer, specially if we plan to integrate buddypress on this installation afterwards.

    Many thanks in advance and thanks to the development team for maintaining the project.

    #95388

    What happens if you wrap that code in a proper code element?

    No worries about posting security stuff here. Live and learn. :)

    I’m going to put up a sticky post here with more clear directions, and when/where to do what/why.

    #95387
    tooltrainer
    Member

    OK whew, that’s a bit of a relief. I just tried the same thing from a normal member level account and the dangerous stuff was removed so… relieved.

    Of course I’m not sure even admins should be able to post what I was able to post, or at least require it be wrapped in some special tag like <raw> or something. I am often going to need to display code for my members and obviously I can’t have it executing! I need some sort of efficient way to have it be sanitized.

    Thanks for the clarification, and sorry for posting security related stuff improperly.

    (Oh and also sorry for the multiple account posts, I didn’t realize earlier I had been logged into that other account.)

    Jonathan

    #103271

    In reply to: Just a Community

    Fartlek
    Member

    It’s from her essay, “Why I’ll Never Be An Adult” :)

    http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

    #98171

    In reply to: Just a Community

    Fartlek
    Member

    It’s from her essay, “Why I’ll Never Be An Adult” :)

    http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html

    #59841
    answerthink
    Member

    I installed _ck_’s Forum Last Poster plugin to show FRESHNESS for my forums, but I am trying to convert it to the exact time/date.

    I have tried various permutations with no luck.

    The following code doesn’t work:

    <td class=”num”><?php forum_time(“D M j, Y”); ?></td>

    The following code just gives a static date of Wed Dec 31, 1969:

    <td class=”num”><?php echo date(“D M j, Y”, bb_offset_time(strtotime($bb_forum->forum_time))); ?></td>

    Any ideas how I can do this?

    Thanks.

    #95379

    It’s come up a few times now, where people have been using

    add_theme_support( 'bbpress' );

    incorrectly. As a result, I’ve added some extra checks and failsafes to make sure that even if you incorrectly report that your theme supports bbPress, it will still fall back to the theme compatibility files. This kind of change is pretty late in the game, so be sure to update your installations and report if anything breaks. :)

    #105699

    1. Change the forums base to something else. I am running it perfectly fine over at testbp.org by changing the base to ‘discussion’

    2. The reason for the double ‘forum’ is because your root slug is ‘forum’ and the forum slug is ‘forum’ and you’re choosing to include the root slug.

    3. Don’t remove the forum slug. :)

    Widgets should work anywhere you have a widgetable area. Since your theme is mostly custom, you’ll want to research how widgets work, insert your sidebar, etc…

    #100599

    1. Change the forums base to something else. I am running it perfectly fine over at testbp.org by changing the base to ‘discussion’

    2. The reason for the double ‘forum’ is because your root slug is ‘forum’ and the forum slug is ‘forum’ and you’re choosing to include the root slug.

    3. Don’t remove the forum slug. :)

    Widgets should work anywhere you have a widgetable area. Since your theme is mostly custom, you’ll want to research how widgets work, insert your sidebar, etc…

    #105698

    Don’t use “add_theme_support()” unless your theme actually supports it. :)

    add_theme_support() doesn’t automatically add bbPress support to your theme, but the opposite – it tells WordPress and bbPress that your theme already supports bbPress. If you don’t have a /bbpress folder in your theme full of bbPress template files, then your theme does not support bbPress.

    There isn’t a core updater yet, but there will be soon. These questions are all answered numerous times in the sticky topic at the front of these forums.

    #100598

    Don’t use “add_theme_support()” unless your theme actually supports it. :)

    add_theme_support() doesn’t automatically add bbPress support to your theme, but the opposite – it tells WordPress and bbPress that your theme already supports bbPress. If you don’t have a /bbpress folder in your theme full of bbPress template files, then your theme does not support bbPress.

    There isn’t a core updater yet, but there will be soon. These questions are all answered numerous times in the sticky topic at the front of these forums.

    #38501
    Rick Lewis
    Member

    I am posting here some info from the plug in topic per the request.

    First, you can not have group forums activated and use this at the same time. Atleast I couldn’t. The base for the group forums is FORUMS. Note the S so if you try and use Forums for your page and/or forum base you are not going to get the BBP forum.

    I had to turn the global group forum directory off and use forum as the base in order to get the links pasted the forum index page to work. Otherwise all links redirected to my homepage.

    Currently though I have this structure —

    index page – using shortcode

    http://crosseyedgaming.com/forum/

    the other links have a double forum/forum

    http://crosseyedgaming.com/forum/forum/welcome-committee/

    If I remove the forum slug it changes those links to

    http://crosseyedgaming.com/forum//welcome-committee/

    Outside that things seem to be working ok. Probably need to clean up the look a little.

    How do I get the widgets working on these pages so I can list recent posts and so on?

    One last question, is using the alternated page template and theme support a better option?

    I appreciate the help.

    #95376

    @Rick – Can you create a new topic with these questions please? They are starting to pertain specifically to helping you with your site, and not with bbPress. Thanks :)

    #95375
    Rick Lewis
    Member

    I just wanted to give some feedback on what I have experienced while trying to figure out the issues with links not working.

    first, you can not have group forums activated and use this at the same time. Atleast I couldn’t. The base for the group forums is FORUMS. Note the S so if you try and use Forums for your page and/or forum base you are not going to get the BBP forum.

    I had to turn the global group forum directory off and use forum as the base in order to get the links pasted the forum index page to work. Otherwise all links redirected to my homepage.

    Currently though I have this structure —

    index page – using shortcode

    http://crosseyedgaming.com/forum/

    the other links have a double forum/forum

    http://crosseyedgaming.com/forum/forum/welcome-committee/

    If I remove the forum slug it changes those links to

    http://crosseyedgaming.com/forum//welcome-committee/

    Outside that things seem to be working ok. Probably need to clean up the look a little.

    How do I get the widgets working on these pages so I can list recent posts and so on?

    One last question, is using the alternated page template and theme support a better option?

    I appreciate the help.

    #103270

    In reply to: Just a Community

    Snat
    Member

    Many thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.

    Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.

    #98170

    In reply to: Just a Community

    Snat
    Member

    Many thanks, it took a lot of time to get the layout right. A friend of mine helped with the physical design work, I just coded the layout.

    Ps, your avatar reminds me of Allie’s drawings from somewhere I can’t remember nowadays sadly.

    #95374
    Mr.bishop
    Member

    @jjj – I must say I’m incredibly impressed with bbPress, and what you have here. I eagerly want to use the bbPress / BuddyPress plugin combo in conjunction with a few wordpress sites that I work on.

    Do you have any idea what a rough timeframe on launching the plugin would be?

    Also, what could I do to help move the process along? I don’t code myself but I do work with guys that do. We figure its a waste of time to get a bbPress standalone working only to have the plugin released soon after.

    #95370

    The header that I am using is a modified version of the default theme header file that came with wordpress. It should be in the same location and called by the same name as the default header file. I am sort of a noob at code but I thought because my header file appears at on the index/home page when the website loads that things were working. By “appropriate call to” do you mean the “get_header” php command?

    Secondly, the entire theme is located in the wp-content folder within a default theme sub folder. That is why there is no reference. Again, I am probably really confused by what you mean so it is probably something I am doing wrong.

    The entire site may be a hack job, because it is my first, but up to this point everything has worked flawlessly, including all of my plugins.

    I suspect there is a simple solution to preventing the WP css from overriding bbP css but I haven’t figured it out yet.

    #95369

    @Daily Anarchist – Your theme doesn’t use a conventional WordPress header, and it’s missing the appropriate call to

    wp_head();

    which is how WordPress themes load dynamic content in the

    <head>

    of the page.

    There is also no reference anywhere in your source to a wp-content folder, which is where your theme and any related plugins should be loading from. With something that’s this outside of the norm, you’re going to run into lots of incompatibilities with many plugins as you go. I’m actually pretty happy that bbPress looks as good as it does considering there’s no CSS applied to it at all. :)

    As a general note going forward to everyone, if you have site specific questions please post up new topics and tag them ‘plugin’ so that we keep this sticky focused on the bbPress plugin, and not supporting your sites. Thanks :)

    #95357

    It’s a fresh install with the 3167 changeset. I’m not quite sure what you mean by “check out the child theme functions.php to grab the code.”

    I’m kind of a perpetual noob so bare with me. =)

    Also, if I do already have the function.php code installed, could it be that my site’s css is overpowering the plugin’s css?

Viewing 25 results - 18,476 through 18,500 (of 32,518 total)
Skip to toolbar