Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,576 through 15,600 (of 32,519 total)
  • Author
    Search Results
  • #117116
    amunds
    Member

    You need to find the HTML for the button, in this case it`s .
    To get the button to align to the left you then have to overwrite the align CSS with the following:

    div.bbp-submit-wrapper {
      float: left;
    }
    

    Let me know if anything is unclear.

    #117114
    folgerj
    Participant

    @andre, the shortcode link is dead. someone deleted the reference page…

    • This reply was modified 13 years, 10 months ago by folgerj.
    #117111
    rameesareno
    Member

    Hi,

    Im no css Guru. Can you throw in some sample codes for that?

    #117105
    rameesareno
    Member

    How do we align the submit button when writing a topic using the bbpress forum.

    website is: http://www.sarenosolutions.com/forums.

    where will we code the plugin to do fix this?
    Tks

    #117099

    In reply to: Not sure what to use

    RichardWantsToKnow
    Participant

    Miguel,
    Thanks. I’ll give your suggestions a run in the next couple of days. I have to decide upon bbpress or buddypress per your criteria.
    I didn’t see this info on the bbpress and buddypress sites. Is it in the codex or where?
    Thanks again.

    #117095

    In reply to: User Registration

    Lynq
    Participant

    Have you created the login and register pages using the shortcodes: https://codex.bbpress.org/shortcodes/ ?

    Are you just having trouble with getting the actual links onto the forum area or you need to create the pages aswell?

    Are you using a sidebar?

    #117085
    kpolkson
    Member

    Hi all,

    thanks for making such an easy forum solution, I’ve been quite pleased with how much functionality comes right out of the box.

    Though I am getting confused when it comes to best practices for making some typical theme customizations so that I can keep a custom look with future updates of bbpress.

    At this time, I am really only trying to change font styles and sizes and some of the coloring and minor layout items with how the forum renders to match my custom wordpress theme (built off of HTML5 boilerplate).

    I’ve reviewed:

    http://bbpress.org/forums/topic/bbpress-2-0-theme-compatibility/ &

    http://codex.bbpress.org/theme-compatibility/

    but, I don’t feel like it helped and am not sure if things have already changed since those have been written. either that or i am just lost in the number of files that seem to control the theme in bbpress with the added bbp-theme-compat files.

    For instance, i am told to copy over everything from bbpress/bbp-theme-compat/bbpress directory, yet none of those files include the bbp-theme-compat/css files. which is what I will probably doing the most modification of (right?)

    Then it says to copy over the bbpress/extras directory (optionally), but all I can find is the bbpress/bbp-theme-compat/extras directory, is this what was meant?

    Again, really just want to make minor style changes that universally affect the bbpress fonts and colors, yet still want to specifically target those bbpress items.

    Might increase the complexity of the customization, but right now just want to start small and use bbpress best practices so that I don’t lose my customization when upgrading anything.

    thanks

    Will Earnhardt
    Participant

    I’ve seen numerous threads on this very subject for the last few years and JJJ has been posting the same response every time. It more or less says “This is the way it is. If you don’t like it, come up with your own solution.”

    I understand his reasoning for saying that’s just the way it is, but IMO, I wouldn’t have released this product with the URLs in this format. How can a topic be considered part of a forum, yet the URL not represent that?

    This is the logical structure. (assuming everything exists in a forums subdirectory):

    Viewing a Single Forum:

    domain.com/forums/forum-name/
    

    Viewing a Thread (or topic):

    domain.com/forums/forum-name/thread-name
    

    With comments being this or something similar:

    domain.com/forums/forum-name/thread-name#comment-35
    

    .

    This is what we actually get.

    Viewing a Single Forum:

    domain.com/forums/forum/forum-name
    

    Then click on a Single Thread:

    domain.com/forums/topic/thread-name
    

    You lose all acknowledgement that you were in a particular forum. It’s like the threads are just floating about aimlessly…not attached to anything in particular.

    If BBPress operated like WordPress, Let’s say that “Forums” are “Categories” and “Topics” are “Posts”. Well, with WordPress, you can set your permalinks to read:

    domain.com/category-name/post-name/
    

    So why not be able to do that with BBPress? The problem is that in order to get all of the various settings applied to both Forums and Topics, they have both been created as separate Custom Post Types. The individual Posts in Topics simply have a custom field that ties them to a specific Forum.

    Now, I haven’t tested this at all, but in theory it may be possible to tap into some WordPress action and filter hooks and create our own rewrite rules to fix what I see as the biggest flaw with BBPress. I found a thread on another site recently where the user used a custom field value to generate the permalink for a custom post type. That seems to me would be exactly what we need to do here. If I can get some free time, I’ll see if I can get it working and maybe build a plugin to handle it.

    #117033

    Hey guys, using most updated WP and BP files. I’ve got this code I’m working with: But stringing together the action and max parameters is for some reason not working. The updates work, but it’s not being limited to 1. Any help is appreciated! Thanks! T

    #117013
    jshultz
    Member

    Well this is the way I ended up doing it. I created a new div above the table that lists the topics and then did me up some jquery:

    var rows = $('table.bbp-topics').find('tr.super-sticky');
    
            rows.each(function(index) {
                var headhref = $('a.bbp-topic-permalink', this).attr('href');
                var headline = $('a.bbp-topic-permalink', this).html();
                var excerpt = $('.excerpt', this).text();
                var author = $('a.bbp-author-name', this).html();
                var photo = $('a.bbp-author-avatar > img', this).attr('src');
                var replies = $('.bbp-topic-voice-count', this).text();
                var followers = $('.bbp-topic-reply-count', this).text();
                var freshness = $('.bbp-topic-freshness > a', this).html();
                var meta = $('p.bbp-topic-meta', this).text();
    
    
                var newrow = '' +
                    '' +
                    '' + author +' ' +
                    '<a href="' + headhref + '">' + headline + '</a><a></a>' +
                    '' + excerpt + '' +
                    'Replies' + replies + ' ' +
                    'Followers' + followers + ' ' +
                    'Updated' + freshness + ' ' +
                    ' ';
    
                $('#supersticky').fadeIn().append(newrow)
    
            })
    
    #117012
    viktora
    Member

    I have spent this evening by trying to install the “bbpress threaded replies” plugin. No success. I am not able to see “reply to” link in replies.

    Is some here able run it on 2.1. bbpress plugin version? Pls send a link just to see how it works. Or… just place the code what has to be modyfied to make this threaded plugin running… Thanks a lot.

    #117005
    jshultz
    Member

    I found the problem. I had a function in my functions.php was malformed. The correct way was this way:

    // Add classes to posts
    add_filter('post_class', 'my_post_classes');
    function my_post_classes( $classes )
    {
        $postType = get_post_type();
    
        if ( $postType == 'post' ) {
            $classes[] = 'clearfix';
    
        }
    
        return $classes;
    }
    
    #117004
    Erlend
    Participant

    I don’t think this should be a priority for bbPress. You’re doing the right thing by “outsourcing” it. But even that might be unnecessary. Most websites would be better served by adjusting to bbPress, not the other way around.

    Those strongly opposed to change should simply consider options such as SimplePress, which follows the traditional (legacy imo) style of forum structure.

    Maybe the teaching route is better than the development route in this case? An instructional blog post or codex page to ease people into bbPress’ new concepts could go a long way. That’s the Git approach for instance.

    #116999

    In reply to: soundcloud for bbpress

    Unconformed
    Member

    Man I tried to post here ages ago. I can’t believe no one has replied

    SoundCloud Shortcode

    That’s a plugin for wordpress I use. Will work in the forum.

    #116996
    nielsvanrenselaar
    Participant

    It’s not that hard…

                                                                     $post-&gt;ID, "links" =&gt; array("edit" =&gt; bbp_get_reply_edit_link(), "trash" =&gt; bbp_get_reply_trash_link() ))); ?&gt;
    
    #116987

    In reply to: Hide Freshness Column

    aaclayton
    Participant

    Have you taken over control of bbpress templates using theme compatibility? If so you can modify yourtheme/bbpress/loop-forums.php and remove the list item:

    li class=”bbp-forum-freshness”

    Next from yourtheme/bbpress/loop-single-forum.php remove the same section and its contents:

    li class=”bbp-forum-freshness

    Finally you’ll have to adjust the CSS of your forums to compensate the width of the remaining forum columns for the missing freshness. Hope this helps.

    EDIT: sorry, I tried to post the exact code blocks to remove, but the forum here isn’t letting me embed the code 🙁

    kbunt
    Member

    Having the same issue in a footer widget as well as the sidebar. BBPress is overriding the footer 1 and primary widgets on the /forum/. I’ve made the page forum full width via a custom CSS file to make it disappear in the sidebar as a short term solution, but can’t seem to find the issue in the code.

    See, http://www.divorcingmatters.com/forums/

    jshultz
    Member

    This would be better:

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }
    
    #116933
    MTPrower
    Member

    I want the option for it to go to a page of my choosing. People often don’t like the default forums-archive page (which ends up being the root/home page), so they create a WordPress page with bbPress shortcodes in it to be the forums’ home page. The problem is, when they do that, the breadcrumbs root link, which says “forums”, doesn’t go to that page. it goes to the archive page, or forums-index– which is the page they were trying to avoid.

    • This reply was modified 13 years, 11 months ago by MTPrower.
    AAShepAA
    Participant

    This really should be put into the original code. Great tip.

    #116905

    Topic: Bug theme

    in forum Themes
    zikadonfeur
    Participant

    Hello,i’m french 😐 (sorry)

    I use a WordPress 3.4 and a buddypress 1.5.6. With it a bbpress 2.1.2.My WP theme is Frisco for buddypressmy bbpress theme is BBpress default because I can’t select another one.

    My bug is on a “members/username/forums/“My sidebar is running out.all over pages are ok.

    How I can resolve it?

    I used a http://codex.bbpress.org/theme-compatibility/ but how I can select it in the adminpanel.

    Thank’s a lot.

    Franck

    #116904
    bryanforst
    Participant

    ok, never mind. The above code works, just the redirect needed some value, thought that blank would redirect to the home page….

    bryan

    #116898

    In reply to: Question, Help needed!

    Stephen Edgar
    Keymaster

    Yes, you can just ceate a page and add the shortcode to the page.

    Here are some docs to help get you going

    https://codex.bbpress.org/getting-started-with-bbpress/

    https://codex.bbpress.org/shortcodes/

    https://codex.bbpress.org/theme-compatibility/

    #116895
    tiberiusCA
    Participant

    It is possible to get permanent link to last post of topic? Something like has mybb engine ?action=lastpost for example http://www.example.com/forums/topic?action=lastpost

    • This topic was modified 13 years, 11 months ago by tiberiusCA.
    #116890

    In reply to: Private forums?

    Stephen Edgar
    Keymaster

    When you create the ‘forum you can assign the following permissions to each forum:

    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

Viewing 25 results - 15,576 through 15,600 (of 32,519 total)
Skip to toolbar