Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,551 through 14,575 (of 32,506 total)
  • Author
    Search Results
  • #127903
    faeleena
    Participant

    My goal is to share one DB between wp and bbpress, one registration, seamless for users. The process of accomplishing this seems to have changed.

    There’s all sorts of documentation on this topic and I’ve spent the last five hours trying to find my answer before bothering the good people of the internet, so I would greatly appreciate a hand now. It would appear that in recent changes, bb-config.php no longer exists? Installation process where you can fill out DB details in an easy form process seems to be gone?

    Integrating with WordPress

    So the settings must be in a config file somewhere! This infamous “WordPress Integration” section must be somewhere!

    I’m using WordPress 3.5.1 and BBpress 2.2.4

    Thanks.

    #127895

    In reply to: pdf embed

    Sam Rohn
    Participant

    you need to use something like GD bbPress Tools to enable shortcodes for bbpress

    https://wordpress.org/extend/plugins/gd-bbpress-tools/

    sam

    #127893
    sambedingfield
    Participant

    @rewindcaz I actually disabled all of the default avatar systems that WordPress provides and created my own with a few small functions. I needed a custom made plugin because each avatar on the site is unlocked when you receive a new card to your collection.  Users can also customize their chosen avatar with nine alternative colours, which helps provide individuality.

    As I’ve received a ton of feedback from the Rats Clan bbPress forum I’m going to start blogging about my code – I’ll make sure this is one of my posts! 🙂

    #127889
    graftedin
    Participant

    Has anyone figured out how to sort topics, discussions, or replies? I would think that would be some basic functionality that would be built in. Or at least easy enough to find in the code to change.

    I need to sort topics by topic name. Using version 2.2.4.

    Gökay
    Participant

    Hello all.

    I’ve just deleted Simple Press, because I couldn’t import editor except plain editor.

    I’ve installed this bbpress forum and I have no information about change or basic development.

    For example I have a page that was installed simple press upon it. http://www.oyundragon.com/forum

    And it is full-width. That’s why I want to use that page to show bbpress forum. Inserted shortcoded, good, it works But what a pity there is a bbpress forum page as you know http://www.oyundragon.com/forums

    What should I do ?

    Secondly how can I change “forum” title in the top of every forum sections in the content ?

    #127876
    #127871
    Yakir Gottesman
    Participant

    http://www.may81.com/forums/forum/may81/

    Again, you shouldn’t put the dir=”ltr” in the code. It is better to be inherited from the defaults of the website.

    #127869
    vanmanuel83
    Participant

    Hi all, is there a way or snipped, or a type of code to send an email to admin (or or a specific email) everytime a user open a new discussion in a forum.

    I think it’s something to add in a function.php file on eventi post_publish.

    Thanks!

    #127860
    jcangler
    Participant

    Hi, I apologize in advance because it seems like this would be a commonly asked question (and one with a straight-forward solution), but I just can’t seem to find an answer.

    How do I grant forum participants permission to use IMG tags? I don’t need to allow users to upload images inline, I just want to give them the same ability as the Administrator has to embed images using the IMG tags.

    Unless I’m a total idiot, there doesn’t seem to be a built in UI to adjust this user permissions. Is there a simple line of code I can add in somewhere, or does this require a plugin? I prefer a non-plugin solution if possible.

    I am using the User Role Plugin, but not sure how I could use this to enable the permission I’m looking for.

    #127859
    akgt
    Participant

    Will this feature be in the next update, or could I add a bit of code to functions ?

    I did have a look but nothing that it will work with bbpress, ill keep looking .

    #127848

    In reply to: Full Size Forum

    SupernaturalBrews
    Participant

    @mercime anything related to bbpress I would like to have full width without sidebar.

    I’m using triton lite.

    I put the above code into the child theme css and it got rid of the sidebar but its not full width.

    Here is the link to the forums:
    http://www.kcnanobrews.com/forums/

    #127827
    stefano62
    Participant

    here a picture of the code that i can overwrite with css

    https://docs.google.com/file/d/0BwksXWvLU0H4R183dFI0NTZYakU/edit?usp=sharing

    #127826
    stefano62
    Participant

    yeah normaly you can do that but it dont work becouse that the php code has a element.style and a element.style can’t be overwrited be an css style

    #127822

    In reply to: Full Size Forum

    @mercime
    Moderator
    #127814
    Stephen Edgar
    Keymaster

    Just follow the steps in the document https://codex.bbpress.org/bbpress-in-your-language/

    Set `define (‘WPLANG’, ‘fr_FR’);` in your WordPress `wp-config.php`

    Download the .po & .mo files

    Rename the files

    • bbpress-plugin-fr-fr.po to bbpress-fr_FR.po
    • bbpress-plugin-fr-fr.mo to bbpress-fr_FR.mo

    Upload both files to `/wp-content/languages/bbpress/ `

    I would suggest you use the following page to ask if anyone in the French WordPress community has fully translated bbPress as the translations linked above are 0% & 11% https://fr.wordpress.org/contact/

    If you are trying to translate the theme DynamiX or ‘codestyling localization’ plugin then they are issues with their respective authors.

    #127808
    Stephen Edgar
    Keymaster

    I’d suggest taking a look at the code in the bbPress ‘Login Widget’ included with bbPress.

    It behaves in very much the same way you are looking to have in your header.

    What you are probably after starts at line #137 and depending on your needs use either `bbp_user_profile_url( bbp_get_current_user_id() )` or `bbp_user_profile_link( bbp_get_current_user_id() )`

    #127798
    blognerd
    Participant

    Sorry guys, I didn’t think that the code wouldn’t post properly.

    #127796
    blognerd
    Participant

    Hi everyone,

    Hope someone can help me out with this, I’ve been searching around for several days and I can’t seem to find a solution.

    I’m using bbpress (obviously) on my 3.5.1 WP install. I have code in a fixed header that allows my users to login to the website. Here’s the code I have in my header.php

    display_name.’ | ‘, wp_loginout(); } else { ?>
    or <a href="/wp-login.php?action=register”>Join

    Basically this generates Login | Join when the user is not logged in and username | logout when they are logged in.

    My question is this, when a user is logged in I’d like to have the username link directly to their bbpress profile. For the life of me I can’t find any info on how I would do this.

    Does anyone have any info or could point me in the right direction so I can could get this done? Maybe it’s not even possible?

    Thanks to anyone who can help.

    Cheers.

    #127787
    stefano62
    Participant

    hi there

    my problems is that im trying to style the reply section but there is some script there are styling the element.style so i cant overwrite it with the style.css i cant find the code there are doing the element.style

    i have located the code to the “loop-single-reply.php”
    in the file the code refers to code i cant find?


    div class=”bbp-reply-content”
    ?php do_action( ‘bbp_theme_before_reply_content’ ); ?
    ?php bbp_reply_content(); ?
    ?php do_action( ‘bbp_theme_after_reply_content’ ); ?
    /div

    are there anyone there know where it gets styled?

    #127759
    iamnotadoll
    Participant

    I modified the code in includes/common/template-tags.php as outlined on this page and (for now) it seems to have fixed the issue.

    `
    function bbp_redirect_to_field( $redirect_to = ” ) {

    // Rejig the $redirect_to
    //if ( !isset( $_SERVER[‘REDIRECT_URL’] ) || ( !$redirect_to == home_url( $_SERVER[‘REDIRECT_URL’] ) ) )
    // $redirect_to = wp_get_referer();

    // Make sure we are directing somewhere
    if ( empty( $redirect_to ) )
    $redirect_to = home_url( isset( $_SERVER[‘REQUEST_URI’] ) ? $_SERVER[‘REQUEST_URI’] : wp_get_referer() );

    // Remove loggedout query arg if it’s there
    $redirect_to = (string) esc_attr( remove_query_arg( ‘loggedout’, $redirect_to ) );
    $redirect_field = ”;

    echo apply_filters( ‘bbp_redirect_to_field’, $redirect_field, $redirect_to );
    }
    `

    Initially it wasn’t working because I didn’t remove the //Rejig the redirect part (can’t believe I didn’t see it the first time).

    Now my question is, where (and how) would I put this modified function to stop any future updates from overwriting it?

    I tried using add_filter(‘bbp_redirect_to_field’) in my bbpress-functions file but it makes the site really slow. Is there a better way to do it?

    `
    add_filter(‘bbp_redirect_to_field’, ‘bbp_redirect_to_field_filter’);

    /**
    * Filter to fix the reply redirects
    **/
    function bbp_redirect_to_field_filter( $redirect_to = ” ) {

    // Make sure we are directing somewhere
    if ( empty( $redirect_to ) )
    $redirect_to = home_url( isset( $_SERVER[‘REQUEST_URI’] ) ? $_SERVER[‘REQUEST_URI’] : wp_get_referer() );

    // Remove loggedout query arg if it’s there
    $redirect_to = (string) esc_attr( remove_query_arg( ‘loggedout’, $redirect_to ) );
    $redirect_field = ”;

    echo apply_filters( ‘bbp_redirect_to_field’, $redirect_field, $redirect_to );
    }

    `

    #127755
    iamnotadoll
    Participant

    I’m having this issue as well. Something is happening to my URLS when posting replies.

    The site is running on ISS 7, the URL Rewrite Module has been installed at it is working perfectly fine with pretty permalinks on my posts and categories.

    Posting a new topic will redirect me to that topic’s page, so that’s working.

    The only thing that’s not working is the redirect when posting a reply – it’s redirecting me all over the place, sometimes back to the parent forum, sometimes to an error page, sometimes back to the main forum index.

    Is there some code that I can modify so that when someone hits ‘submit’ to post a reply, it just refreshes the page or something, instead of redirecting to random places?

    #127734
    Philumptuous
    Participant

    That’s exactly what I did but I couldn’t figure out how to display more than the user’s url. Your code doesn’t show up still so I don’t know how you got the AIM field to show.

    #127726
    koreancandy
    Participant

    Thank you very much for your help.

    I have added the code you gave me into my themes style.css and nothing changes, Admins can still see the IP addresses of users 🙁

    #127723
    xmasons
    Participant

    [solution removed because I have no clue on how to provide code examples]

    #127712
    zilveer
    Participant

    You will need to add that code to your template CSS-file.

Viewing 25 results - 14,551 through 14,575 (of 32,506 total)
Skip to toolbar