Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,776 through 16,800 (of 32,503 total)
  • Author
    Search Results
  • #42148

    Hi all, just put together a video tutorial on how to theme bbPress 2.0.

    Check it out here: http://futurewebblog.com/ultimate-bbpress-theming-guide-video/

    The timing is quite ironic seeing as the codex was released just today, so some things may have changed. If so let me know and I’ll update the video.

    #111753

    In reply to: POT file request

    You can’t, but I can. :)

    #42144

    Topic: bbPress Codex

    in forum Troubleshooting

    Testing out the new bbPress codex at http://codex.bbpress.org.

    I’ll be adding some documents and moving things around soon. Wanted to give a heads up that it’s coming and I’m working on it before officially announcing anything on the blog.

    If for some reason you’re not able to edit pages and would like to, drop me a note here and I’ll add you.

    _ck_
    Participant

    0.9 users should upgrade to (or start with) the 0.9 branch

    which was the final version of 0.9

    but 0.9.0.7 appears to simply be a copy of the final 0.9 branch

    browse https://bbpress.trac.wordpress.org/browser/branches/0.9

    zip https://bbpress.trac.wordpress.org/changeset/3730/branches/0.9?old_path=%2F&format=zip

    svn co http://svn.automattic.com/bbpress/branches/0.9/

    From what I can tell, JJJ just copied the branch over to make “0.9.0.7”

    https://bbpress.trac.wordpress.org/changeset/3517

    https://bbpress.trac.wordpress.org/changeset/3535

    https://bbpress.trac.wordpress.org/log/tags/0.9.0.7/bb-includes?rev=3535

    That’s all he did, there were no other changes, improvements or fixes.

    But there really are some fixes in the final 0.9 branch over 0.9.0.6

    There were 12 files changed from 0.9.0.6 to 0.9.0.7 (aka 0.9 branch)

    https://bbpress.trac.wordpress.org/changeset?old_path=%2Ftags%2F0.9.0.6&old=2338+&new_path=%2Ftags%2F0.9.0.7&new=3715

    bb-includes/default-filters.php (1 diff)

    bb-includes/wp-functions.php (2 diffs)

    bb-includes/pluggable.php (1 diff)

    bb-includes/functions.php (3 diffs)

    bb-includes/registration-functions.php (1 diff)

    bb-includes/template-functions.php (3 diffs)

    bb-includes/compat.php (1 diff)

    search.php (1 diff)

    bb-plugins/akismet.php (4 diffs)

    bb-admin/bb-do-counts.php (3 diffs)

    bb-admin/admin.php (1 diff)

    bb-admin/admin-functions.php (2 diffs)

    It’s hard to be 100% positive but I am pretty sure they addressed the base64 decoding bug.

    Those with 0.9.0.6 can replace just these files to upgrade to 0.9.0.7

    https://bbpress.trac.wordpress.org/changeset?format=zip&new=3715&old=2338&new_path=%2Ftags%2F0.9.0.7&old_path=%2Ftags%2F0.9.0.6

    (those running versions before 0.9.0.6 will need more files from a fuller upgrade, do not use just the above files as it will break your install)

    Everyone should still use my mini-plugin to protect bbpress and wordpress for yet-unidentified security issues. It’s better than nothing. You can even remove the header and just copy the one IF block to your bb-config.php and wp-config.php

    If 256 characters turns out to be too short of a URL restriction, some may need to raise it as high as 1024, for example in WordPress where it stupidly uses GET now to mass delete posts, which was a dumbfounding move on their part.

    <?php
    /*
    Plugin Name: Block Long/Bad Queries (for bbPress and WordPress)
    */

    if (strlen($_SERVER['REQUEST_URI'])>1024 ||
    preg_match('@(eval|base64|unescape)[^a-zA-Z0-9]@si',$_SERVER['REQUEST_URI']))
    {
    header('HTTP/1.1 414 Request-URI Too Long');
    header('Status: 414 Request-URI Too Long');
    header('Connection: Close');
    exit;
    }

    #42137
    Martin
    Participant

    Hi,

    For the sake of consistancy, I’d like to use the WP Socializer plugin to display Social Media buttons at the top of my forum Topics.

    The plugin author said this:

    “Please note that WP Socializer works in all pages or places where there the <?php the_content(); ?> function is called in the theme.

    Simply make sure that the theme you use or the page of the custom post has the above function mentioned.

    Instead, you can also use WP Socializer’s template functions also.

    Use <?php echo wp_socializer(‘template-1’); ?> anywhere in the template which is used by the custom post type.”

    Since I didn’t find reference to <?php the_content(); ?>,I’ve tried inserting it into the default theme and the single-topic.php file however the buttons fail to load.

    I’m presuming this is because bbPress actually isn’t recognising the php code reference – would this be the case?

    Any help would be appreciated.

    #111628
    Daxx
    Member

    Hi again,

    the theme author is a developer from themeforest.net, so i don’t think i can ask them to code the theme individually form me so that my forum fits in…

    Is there a documentation on how to set up the style sheet in a way that i can set up the forum that i posted above in my theme? Because right now my them doesn’t get supported for bbpress…

    Thank you John!

    #111711

    In reply to: Why bbPress sucks!

    SK
    Participant

    I understand that you could use some help with the large volume of work that bbPress generates. I also appreciate the good work that the team has already put in.

    However, bbPress is already a very good script. Some of my suggestions e.g. #1 #2 and #5 are almost completely non-technical and basically require some manual labor, which I am happy to provide.

    I beg to differ with you on documentation. You are right that technical documentation, esp. for plugin developers etc would require an understanding of the codebase. However, I am talking about end-user documentation…in moving to bbPress, that is one of the hurdles I faced. I have also noted a pattern of big concerns of prospective and new users, both here and on WordPress.org

    I think if the non-technical parts are dealt with, along with ONE technical part (migration), that would make an immense difference to the adoption of the software. And, of course, a significant number of users will generate interest among developers.

    #111710

    In reply to: Why bbPress sucks!

    Can’t change your login, sorry. It’s linked everywhere throughout the .org sites, so it will break other things if we change it.

    It’s hard if you can’t code, since the things you’re mostly emphasizing are things that need to be coded, or documentation that requires understanding the code base. It’s one of those times where there’s no shortage of opinions and ideas, but there’s a huge shortage of labor.

    #111709

    In reply to: Why bbPress sucks!

    SK
    Participant

    JJJ,

    Will create the tickets.

    Will check out #bbpress.

    Unfortunately, I can’t code, so won’t be much help on that front. But I’ll be more than happy to help with the website cleanup, end-user documentation, etc.

    Please can you change my login name to OC2PS? Thanks!

    #111722

    Create a page with the same slug as your forum root. It will appear as an empty page. Then use the Shortcode [bbp-topic-index] to show the topics index. :)

    #42129
    Jan David Hanrath
    Participant

    Hi,

    We – http://www.onemorething.nl – are integrating our forum – http://www.onemorething.nl/community – with an external search engine, that builds an index directly from our database. We run into a problem if we want to link directly to a post on page x that have been retrieved by the search engine. We can only link to the first page from a topic.

    Is there a method stored in de bbpress-code that we can use to construct the proper paged url?

    sample from a huge topic on our forum:

    http://www.onemorething.nl/community/topic/mijn-ontdekkingen-van-vandaag/page/3148#post-2361033

    What we want to retrieve/create: /page/3148

    Our recent-post list does something familiar, but how?

    We are running BBpress version 1.0.2

    #42047
    Daxx
    Member

    Hi there,

    I would like to have a simple support forum like this in this site here:

    http://purerover.com/forum/index

    but when I install my site the forum plugin isn’t compatible with my used theme.

    The forum isn’t displayed well and also I can’t set it up in pages (i tried short codes but they don’t work

    properly)

    So two question:

    1. Is there a PDF documentation on how to set up a forum like this: http://purerover.com/forum/index

    2. Do I other plugins to let my “support forum” be like this one: http://purerover.com/forum/index

    or just bbpress?

    Thank you and a good night from auckland! (saturday mornign 4:40am)

    Satish
    Participant

    I want to allow all my forum members to use this tag <pre name=”code” class=”cpp”> tag.

    Now only I (admin) can use it; but I want to allow any registered member to use it.

    I have some css + js files to make the code written inside this specific tag display differently.

    Hope you got it.

    Please help..

    #108133
    SK
    Participant

    https://wordpress.org/support/topic/plugin-bbpress-help-me

    Tried this?

    .bbp-forum-info .bbp-forums li {display:block;}

    #63096

    Hello,

    It’s the same problem for me.

    External links are broken. The href=”externallink.com” disappear after using the code.

    I am not a developer, just a blogger who is looking for solutions, but something seems strange to me In this line :

    $text = preg_replace('|]+http://))(?!([^>]+'.$domain.'))(.+)>|iU', '', $text);

    It seems that all the content of ‘ a ‘ is replaced by ‘ a rel=”nofollow” target=”blank” ‘

    So, the href=”…” disappear

    #52037

    In reply to: Post Moderation

    morio
    Member

    Simple bbpress topic moderation,this would go in your functions.php

    <br />
    /*<br />
    * all topics published by guests<br />
    * must be approved by admin<br />
    */<br />
    add_action( 'save_post', 'pending_guest_topics' );<br />
    function pending_guest_topics( $post_id ) {<br />
    if ($parent_id = wp_is_post_revision($post_id)) {<br />
    $post_id = $parent_id;<br />
    }</p>
    <p> if(!is_user_logged_in() && current_user_can('manage-options')==false) {<br />
    // unhook this function so it doesn't loop infinitely<br />
    remove_action('save_post', 'pending_guest_topics');<br />
    wp_update_post(array('ID' => $post_id, 'post_status' => 'pending'));</p>
    <p> // re-hook this function<br />
    add_action('save_post', 'pending_guest_topics');<br />
    }<br />

    #42114
    SK
    Participant

    Actually, it doesn’t. I think bbPress is a pretty good piece of software.

    But while I have your attention, allow me to share my perspectives as someone who has been using Opensource Bulletin Board software for many years, but is just starting off with bbPress.

    It’s great that bbPress can leverage WordPress’s autoupdate function to update itself and its plugins. phpBB (http://www.phpbb.com/mods/automod/), SMF (http://docs.simplemachines.org/index.php?topic=93) etc. are still trying to figure it out…they have some rudimentary patches, but nothing as elegant as WordPress’s system.

    Another brilliant thing is the ability to use seo/pretty URLs/permalinks. Amazingly, at phpBB (http://area51.phpbb.com/phpBB/viewtopic.php?f=105&t=35616) they are fighting over whether this is even desirable!

    But what’s pure genius is the ability to use any WordPress theme! bbPress ships with a bbPress TwentyTen theme, and if your active WordPress theme does not have special support for bbPress, that is ok, because bbPress will use bbPress TwentyTen’s styling to present the forums in your active theme. Genius! Pure genius!

    Add to this the fact that because bbPress is a WordPress plugin, there are additional benefits such as: SSO with WP, ability to use WP plugins (like Use Google Libraries), extendability, lightness, etc.

    It is a massive shock to me that the number of people are using bbPress is incredibly smaller than what it should be.

    I’ve thought about my experience, and think that the following factors could be critical in this regard:

    1. Discovery: Discovery is an issue. I don’t know what the relationship is between Automattic/Wordpress/bbPress/BuddyPress, but I am sure you have considered putting bbpress.org link in wordpress.org’s “See also:” footer and decided against it. But what I do struggle to understand is wy wordpress.org would not even permit you to put a credit line (Powered by bbPress) in wordpress.org forums. That is a bit harsh. To add insult to injury, if I search for forum on wordpress.org forums (http://wordpress.org/search/forum?forums=1), Mingle is at the top and Vanilla forums show up on page 1, but bbPress doesn’t.

    Google SERPs aren’t much better. bbPress is not on 1st page for any of “forums script”, “opensource forums script” and “php forums script”. I’m sure that would change if you could convince wordpress.org to show you a little more love.

    2. Freshness: Even if someone chances upon bbPress plugin on wordpress.org (http://wordpress.org/extend/plugins/bbpress/), there is little joy. The bubble is burst as soon as the explorer clicks on forum posts (http://wordpress.org/tags/bbpress?forum_id=10). There doesn’t seem to be any support and users appear to be completely lost without a paddle.

    Of course the main reason for that is that you handle most support here at bbpress.org but the poor visitor doesn’t know that. He looks at wordpress.org forums for bbpress, concludes there is lack of support and goes away.

    I think unifying support in one place (at wordpress.org forums), will be good for the community. You can have a clearcut, loudly stated division – bbpress WP plugin support at wordpress.org forums, legacy bbpress standalone support at bbpress.org

    http://bbpress.org/forums/topic/why-separate-forums

    http://wordpress.org/support/topic/plugin-bbpress-why-separate-forums

    3. Migration: bbPress needs to face the fact that most people who want a forum, have already had a forum. The *new* market for forums is much smaller than the *installed base* of forums.

    Consequently, most of the people who would want to use bbPress probably are already using another forum script and need help migrating. It is collossal mistake to leave this for community plugins.

    If I have a forum software in a production environment, then one of the major factors influencing my decision regarding migration is whether or not there is a robust, stable, tried and tested and reliable migration path to the target software. This is extremely important for me. In fact, I would suffer a somewhat inferior software willingly rather than move to a better software if there is no clear migration path or there is a high degree of risk in migration.

    It is a mistake on part of bbPress to leave migration to community plugin developers. Even if there were some plugins out there that did the job, it would be much less reassuring to prospective users compared to a migration/import path created by the bbPress team. As it happens there are only 2 import plugins (http://wordpress.org/extend/plugins/forumconverter/ and http://wordpress.org/extend/plugins/bbconverter/) out there and both of them are broken and not supported.

    WordPress does it right in building an importer directly into the core.

    I think it would be greatly beneficial to the project if the bbPress team build a bbPress importer that supports the top 4 forum software: phpBB, Invision, SMF and vBulletin.

    Over the next 18-24 months, I expect to see a mass exodus from phpBB as they rewrite the software from ground up (http://area51.phpbb.com/phpBB/viewtopic.php?f=75&t=41583). If bbPress provide a good migration path, it stands the chance to capture some of fleeing population.

    4. I18n: 80%+ translations of bbPress are available in 13 languages, which is nothing to be scoffed at. But delivery is shambolic.

    It is a nightmare trying to figure how to get bbPress working in a language other than English, even if you do the translation yourself.

    There are 2 places to find translations: http://svn.automattic.com/bbpress-i18n/ and http://translate.wordpress.org/projects/bbpress/plugin

    You can also use the .pot file found in /wp-content/plugins/bbpress/bbp-languages folder to create a translation, or you can translate at http://translate.wordpress.org/projects/bbpress/plugin with proper access.

    It still doesn’t work. Very frustrating.

    As it turns out, what you need to do is go to http://translate.wordpress.org/projects/bbpress/plugin, download language file by exporting to .po file, use poedit to covert to .mo, and upload it to wp-content/languages/bbpress/ (not to /wp-content/plugins/bbpress/bbp-languages which has the .pot file or /wp-content/plugins/bbpress/languages as most other plugins would). And the name of the file should be somewhat like bbpress-de_DE.mo not the standard de_DE.mo

    Who would be able to figure that out? There’s not a single word about this in the documentation.

    What a mess!

    While some of the sharpest web developers comes from non-English-speaking countries, a high proportion of non-English-speakers are quite venturesome and decide to handle the technical aspects themselves as site owners, instead of farming them out to expensive developers, who are busy charging high rates for remote work.

    These are the people that greatly appreciate the simplicity of WordPress. And these are the people who are a captive audience for bbPress, only if bbPress could make life a little bit easier for them.

    bbPress should either be delivered in multiple language-specific packages like WordPress, or should be delivered with all translations included like most other plugins.

    The .pot as well as language .po .mo files should be located in /wp-content/plugins/bbpress/languages

    5. Documentation: This is another disaster area that is dragging a good software down. Documentation is just plain bad.

    First of all, bbPress should clearly mention on the home page (http://bbpress.org/) and the download page (http://bbpress.org/download/) that while standalone version continues to be supported, it is not being actively developed.

    Secondly, all the current documentation (http://bbpress.org/documentation/) is about the standalone version, and doesn’t say anything helpful for plugin users. This should be reversed.

    6. Lack of basic features: Forum users, whether or not they own/manage forums, have come to expect certain basic features like:

    – quote, multiquote

    – topic view stats

    – unread posts link

    – Signature

    – Profile photo/avatar

    – bbcode

    – WYSISYG editor

    – forum search, context search

    – uploading images

    – members online

    – private messaging

    – smilies/emoticons

    – forum moderation

    – user registration approval

    etc.

    I understand that bbPress is built to be modular, and I think bbPress is right in leaving this functionality to plugins.

    However, there are 2 problems:

    – On wordpress.org plugin directory (http://wordpress.org/extend/plugins/) there is no good way of listing all bbPress plugins. Perhaps you should create a special nomenclature or special tag that bbPress plugins should use?

    – If you look at bbPress plugin browser (http://bbpress.org/plugins/), most plugins are quite old…updated in 2010, 2009, even 2008! This is not very reassuring or confidence inspiring. Now, many of the old plugins may still be working fine, but when I see the “last updated” date is June 2010 for a plugin, I assume it is outdated, not developed and not supported anymore. I perceive that this will be a trouble plugin if I install it, and consequently end up with less functionality than I want. And I blame bbPress for it, saying bbPress doesn’t have all the features I want.

    My suggestion is this: Every time there is a new version of WordPress or bbPress, the bbPress plugins should release a new version too, even if the only difference is to add a comment line that says “compatible with version so and so”. This will go a long way in reassuring prospective users that can install the plugin with confidence.

    7. Forum sidebar: There is a plugin called bbPress WP Tweaks (http://wordpress.org/extend/plugins/bbpress-wp-tweaks/). What it proposes but in my experience fails to do should be part of the core software. bbPress WP Tweaks was created so that the admin could relace the WordPress standard sidebar with a forum-specific sidebar on forum pages. This, in my estimation, would be useful for 90%+ of all bbPress users.

    8. Custom fields: One of the most powerful features of WordPress is custom fields. bbPress should not disable this for forum pages.

    9. Custom headers code field: bbPress should have provision for a custom header code field, wherein the admin can put in some code, which bbPress then inserts in the header on forum pages. In one flick, this would make bbPress customization so much more powerful.

    To sum up, it takes a lot of persistence and determination to love bbPress. This is not great to attract new users. The software has a lot of potential, and I believe the number of installations can be increased multifold if the above issues are tackled in earnest.

    Thanks for listening to my ramblings. And if you went tl;dr I have only myself to blame.

    #111298
    boriskourt
    Participant

    Upgrading to the latest version from track has fixed this issue.

    Just a quick question about my theme, is it okay for me to leave the existing files from the old bbpress theme within my theme? Or should I recode it from your new theme files?

    #42091
    deanparkr
    Member

    Hi,

    I’m running bbpress Version 2.0.2. I am thinking about trying out some of the plugins but I am not able to install any of them..

    I have created a folder called “my-plugins” in the root of the bbpress folder.

    However, I cant see anywhere to actually install the plugins? The documentation says “Click the plugins tab”. However, in WordPress all I can see is “Forums”, “Replies” and “Topics” with no “Plugins” tab?

    I am logged in as the admin account (the same account that installed the forums).

    Hoping someone can point me in the right direction :)

    Thanks :)

    #42090
    maryjan
    Member

    Hello,

    I have one question about forum bbpress on multisite.

    I have community site about few games and i have the main site where are buddypress and 6 subsites in subdirectories.

    On main site I have 7 forums for each subsite, and I would like to know how to show latest active topics from each section on specific subsite.

    Is that possible ?

    For example: main site have forums for subsites: Blizzard and EA Games. I want to show on Blizzard subsite latest active topics from specific section on main site forum.

    Please help me :)

    #111490
    Ph0eniX2018
    Member

    Disable any bbpress related, not the actual, plugins. I had several and problem resolved by disabling plugins. Possibly bbPress2 BBCode, bbPress Threaded Replies, or bbPress Topics for Posts.

    #111136
    Dan Milward
    Member

    We’ve made what you described into a Plugin. At least a good chunk of it – will keep you posted :)

    #111633
    monkey28
    Member

    nevermind:) figured it out:)

    i used:

    border-collapse: collapse;

    border-spacing:0;

    and no more borders :)

    #111621
    itryit
    Member

    thanks for your reply, however viewing all of these I did not see one of the bbPress widgets that displays the Topic headlines from a specified Forum, could you point me in the right direction.

    Ph0eniX2018
    Member

    I found a workaround for displaying a Twitter Tweet Me button inside individual topics on bbPress 2.0 and using WP 3.x.

    Open up: wp-content/plugins/bbpress/bbp-includes/bb_user_template.php

    Under // Default arguments on line 451 after: ‘after’ => ‘)<include tweet me js script here>

    The above will display your twitter button directly under the topic posters name/ip address (if enabled). Use line breaks as needed.

    This is likely not the best solution, but given the utter arse-circus of using bbpress plugin, and a bbpress template, and since support is very limited for bbpress, this might work for you as well.

    See it in action here: http://alienlikeproductions.com/forums/topic/welcome-to-the-end-of-our-age/

Viewing 25 results - 16,776 through 16,800 (of 32,503 total)
Skip to toolbar