Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,601 through 16,625 (of 32,519 total)
  • Author
    Search Results
  • #112183
    thetalltree
    Member

    Thanks John for the heads up. This is what I did:

    1.) Open Wp-includes > kses.php

    2.) Find the following:

    $allowedtags = array(

    ‘a’ => array(

    ‘href’ => array (),

    ‘title’ => array ()),

    ‘abbr’ => array(

    ‘title’ => array ()),

    3.) Remove:

    ‘a’ => array(

    ‘href’ => array (),

    ‘title’ => array ()),

    I tried adding // but it does not work, so I removed the tag.

    Not sure if what I have done is the right method, but it seems to work.

    Some more info here:

    https://codex.wordpress.org/Answers-Configuration#Stopping_HTML_in_Comments

    #112160

    More likely it’s your theme not working with bbPress, then. Does whatever you’re trying to do, work correctly with TwentyEleven or bbPress (TwentyTen) ?

    #112217

    In reply to: Custom profile fields

    Rambomst
    Member

    They aren’t mirrored and if the extra fields are manually added into the theme then on update they aren’t set. I have looked through a lot of the bbPress files and can’t work out where I should add some custom code so on user profile update it will also update the custom entries I added.

    Any help would be much appreciated.

    #88338

    In reply to: Avatar size

    Aahan Krish
    Participant

    The size of user avatar displayed in posts/replies is defined in /wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php.

    This is the piece of code:

    function bbp_get_reply_author_link( $args = '' ) {
    $defaults = array (
    'post_id' => 0,
    'link_title' => '',
    'type' => 'both',
    'size' => 80,
    'sep' => ' '
    );

    Change ’80’ (is equivalent to 80px) to a number of your choice.

    While it’s not suggested that you modify core bbPress files, I know no other way (I don’t know PHP).

    Hope that helps!

    dorsetjon
    Member

    I’m still hacking around and have just discovered shortcodes…they do some of what I wanted and, for example, can give a similar *layout* to the .org page. Still want to change some of the way the content looks, e.g. remove the navigation path above the forums and topics lists (is that possible without a theme or code change?), and I guess that may require a theme or code change but I’ll keep investigating.

    Jimfire
    Member

    My original question was this: I have BBP 2.x. When my users click on “Forum” on my menu, I would like it to look like THIS forum that I am on right now.

    I’m not a php coder and I haven’t figuered out how to make a theme just yet. I’ve only been at this for a little while.

    I’m working on it, but I’m not there yet.

    I’m running twenty-eleven with my WordPress right now. Does anyone know a painless way to get my BBPress to look like bbpress.org when my users click on it?

    Tanks,

    JIM

    dorsetjon
    Member

    Thanks guys, really appreciate you taking the time to reply. That answered the question…I wanted to know how I could make some changes to the layout to achieve things I have seen on other sites and it appears a theme is the answer.

    I am more than happy to learn and get my hands dirty as suggested, but really need documentation for that because I don’t have time to work out how this all works by looking through the code. However, that’s absolutely no criticism and I am well aware of how long it takes to create documentation.

    Thanks again for your replies and for creating this plugin.

    #112159
    removing1
    Member

    It is the bbPress shotcodes I can’t get to work. I thenk that it is bbPress is not working with the Zeoal theme.

    I don’t really understand the question. If you want to make a theme that looks like another theme, you make it. If you don’t know how to, you either learn how and hopefully contribute what you learn back to the community via the codex or forums, or you hire someone that already knows how to do what you do not know how to do. :)

    Maybe I’m missing the point. I get that the documentation isn’t great right now, but it’s exactly the same as making a WordPress theme. The template files and their locations are already in the bbp-twentyten theme as an example.

    Making an entirely custom theme is *not* a step-by-step paint-by-numbers thing. It’s not something anyone can teach you how to do, you have to learn it yourself.

    jjj will respond when he has a chance, but I’ll say he does 3 different jobs so he doesn’t always have time to respond right away.

    He is an Automattic employee where his full time role is head of “social”. bbPress and BuddyPress are his other projects that he does on the side.

    I encourage you, when you have time, to listen to a recent interview with jjj http://wpcandy.com/broadcasts/community-interviews/002-john-james-jacoby – you’ll get an idea of just how much work he has on his plate – frankly I don’t know how he does it.

    Both bbPress and BuddyPress are maintained by volunteers like jjj and myself. We contribute and help out as much as possible, but ultimately projects that “pay the bills” come first.

    I’ll let jjj give his point of view, but I can tell you with 99% certainty that there is no easy way to make bbPress 2.x look like bbPress.org – they are simply two completely different platforms. bbPress 2.x was a total rewrite of bbPress, from the ground up, so that bbPress could be a plugin instead of a stand alone install.

    And yes, when bbPress.org is upgraded – whenever that time comes – it will adopt the new bbPress 2.x look. I understand that some people like the 1.x look better however that all comes down to personal preference – personally I like the 2.x look but that’s my preference.

    Googling for bbPress themes and plugins is hit or miss but is going almost be a miss if you are using 2.x. It’s been out only a year, so the vast majority of what you find is going to be for 1.x. Recently there has been quite a few nice plugins popping up that are for 2.x – you can find these in the WordPress.org plugin repository

    https://wordpress.org/extend/plugins/search.php?q=bbpress

    bbPress is actually quite well documented, however right now most of the documentation is in the actual code. Writing up documentation takes a lot of time and effort – WordPress.org codex is a perfect example – it’s fantastic but it is also maintained by 100s of contributors.

    I’m sure jjj could spend some time writing documentation, but then none of the bugs that come in would be addressed in a timely manner, none of the features that people are constantly asking for would ever get written. Every comes down to volunteers – we just don’t have enough. Anyone with a user account can write and contribute documentation for bbPress so i think it’s unfair to expect jjj to do that on top of the dozens of other things he already does.

    I do know that when 2.1 is released, which should be fairly soon, we are going to add some stuff to the bbP codex, however it’s night going to be something that appears overnight.

    I’m not sure what you mean by “better standard theme” – the theme that ships with bbPress 2.x works well – the one that ships with the upcoming 2.1 is even better. Logistically it’s impossible to ship with a bbPress theme that fits everyones needs and works with all WordPress theme, but we try to make it as compatible as possible.

    bbPress does a lot of great things “out of the box”. However it comes to a point that when certain customizations are needed you are either going to have to get your hands dirty with code or hire a developer to assist you – and that’s just the nature of the beast – for any open source project.

    If you are looking for a forum application that has 100s of contributors, many of which focus on the project full time, then unfortunately bbPress may not be the best fit for you. Vanilla, phpBB, along with others are some great alternatives.

    #112216

    In reply to: Custom profile fields

    bbPress uses WordPress’s user profiles code, so any new fields you add to the dashboard profile (with a plugin or otherwise) should be mirrored in the theme. If you need an easy GUI to create profile fields, try BuddyPress.

    There are a bunch of examples on how to do this with WordPress. Follow those instructions and you should be fine.

    #112223

    In reply to: What am I doing wrong?

    tilly2012
    Member

    So does that mean I can have a forum? I don’t see it anywhere on my site. Sorry, I’m not good with this tech stuff at all. Please bear with me. :)

    #112182

    To answer your question, you’ll need to put a custom filter on WordPress’s kses. A Google search should help you tremendously. If you’re not a developer or not comfortable diving into the code, you’ll want to spend some time learning, or hire someone to help you.

    #112255

    No idea what the error is to help. :)

    #112158

    Short codes are not used in bbPress, to limit their exposure from unauthorized users. Most shortcodes do not have capability checks attached to them, and since bbPress comes with its own shortcodes, we don’t want shortcodes inside shortcodes.

    Maybe in a future version.

    #112154
    robgnyc
    Member

    Is there any reason why this wouldn’t work:

    onlick="document.getElementById('bbp_reply_content').focus();

    I put this in but it does nothing. Just need the button to jump down the page to the textarea and set focus there. Should be simple.

    Aahan Krish
    Participant

    In case it helps, I have identified the code that determines the text. It’s in wp-contentpluginsbbpressbbp-includesbbp-common-template.php but it needs to be modified by adding a function in functions.php, and I don’t know how to do that.

    Anyway, this is the code:

    /** Home Text ********************************************************/

    // No custom home text
    if ( empty( $args['home_text'] ) ) {

    // Set home text to page title
    if ( $front_id = get_option( 'page_on_front' ) ) {
    $pre_front_text = get_the_title( $front_id );

    // Default to 'Home'
    } else {
    $pre_front_text = __( 'Home', 'bbpress' );
    }
    }

    Aahan Krish
    Participant

    I just installed bbPress 2.0.2 forum plugin for WordPress, and would like to change the text of link Home to iGeek (or anything else, for that matter).

    So the breadcrumb Home › Forums becomes iGeek › Forums (or something like that). How do I do that?

    #112180
    Aahan Krish
    Participant

    @thetalltree : Take a look at the forum index of bbpress.org, and you’ll notice that there are at least 2 spam posts. SPAM! And what’s even more alarming is that they are still there!

    Take my advise, ask elsewhere. (Try asking on wordpress.stackexchange.com)

    My $0.02! :)

    Aahan Krish
    Participant

    I am currently modding my own bbpress installation (and I all I know is CSS).

    My idea would be search Google for ‘free bbpress themes’, find the one with the functionality that you want – – in your case, something that looks like bbpress.org – – and then design it your way with custom css.

    You get my idea? Good luck! :)

    Jimfire
    Member

    I downloaded bbpress because the bbpress.org looked so nice. This is exactly the look I want in my forum. When I load the bbpress that I downloaded, it doesn’t look anything like this.

    I am so bummed. I’m not a great coder, so if it’s going to involve a lot of php work, I’m out of luck.

    My site is running WP 3.3.1, with the Twenty Eleven theme. Is there anything I can put my hands on to get a forum that looks like this one?

    Jim

    #42645

    Topic: Custom profile fields

    in forum Plugins
    Rambomst
    Member

    I am having an issue getting custom profile fields to work.

    I have used the following code as a wordpress plugin and a bbPress plugin:

    function set_my_profile_info_keys($myarray) {

    $myarray = array(

    ‘testfield’ => array(0, __(‘TestField’))

    );

    return $myarray;

    }

    add_filter(‘get_profile_info_keys’, ‘set_my_profile_info_keys’);

    However this doesn’t show the field on a users profile to allow them to edit it. I have also tried other variations of this code I have found on this forum and others but to no avail.

    Any help getting this working would be much appreciated.

    #112193

    Does the site homepage still come up OK? Do you get a white screen? Do you get an error message? Does /wp-admin/ still give you the WordPress login screen? What is your URL?

    Simply saying it’s broken doesn’t really help us point you in the right direction ;)

    #109326

    In reply to: Where is my Forum?

    The Newb
    Member

    I have to agree with thruxton, this all may sound like elementary settings to you tech guys but to a newb…its wierdly complicated to set up.

    I have a Themeforest template I installed my self on WP in less time LOL.

    I also agree that bbpress looks like a great set up, and still very much want to run it. Im not a quitter ;)

    so far I set up a forum page, made 5 topics with test text, added a link to my menu’s and sidebars (all while signed in to my WP site) not my bbpress persay…thats my issue, I cant seem to set up this log in page, I have no clue what this URI is

    instructions say “make a log in page” yet there is no such thing in BB as a “page”.

    So I then made a WP page and called it forum. and the log in shortcode worked! except it would let me make a log in??

    Then I wondered how the BB forum I previously made with 5 topics, was to get linked up with this new WP page called “forum”

    I bin up one side and down da udder with this thing, couple hrs a night after work for the last 3 days!! geeeez I feel re taw did

    There…I feel better now that I vented…wife doesn’t wanna hear it

    #112204

    Yes, it is still being maintained.

    The plugins listed on bbpress.org are for bbPress v 1.x.

    The current version of bbPress is 2.0.x and the plugins for it can be found on WordPress.org

    https://wordpress.org/extend/plugins/search.php?q=bbpress

    Eventually the plugins listed on bbpress.org will be archived to help avoid confusion, but the bbPress project is very much alive :)

Viewing 25 results - 16,601 through 16,625 (of 32,519 total)
Skip to toolbar