Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,301 through 10,325 (of 32,504 total)
  • Author
    Search Results
  • #153738
    Robkk
    Moderator

    you can use this plugin

    https://wordpress.org/plugins/bbpress-bbcode/

    but this also needs to be used with

    https://wordpress.org/plugins/bbpress2-shortcode-whitelist/

    and you can also this plugin which has bbcode and alot of other functions added to it.

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

    #153737
    Robkk
    Moderator

    install this code into your bp-custom.php or functions.php

    https://gist.github.com/imath/5a3c4ac645ec765863f2

    #153730
    hypnoscribe
    Participant

    I am using Thesis 2.1 theme and adding .css changes in the custom css section where all my other site customizations are.

    This is the info in the css crib :

    #bbpress-forums .submit {
    background-color: #a0668d;
    color: #FFFFFF;
    float: center;
    vertical-align: middle;
    border-radius: 10px;
    height: 35px;
    width: 80px;
    font-size: 18px;
    }

    But what i want to do is change all the submit buttons individually beacause .bbp_user_edit_submit button is not showing proprely.

    But i have yet to find the right path to change the submit buttons.

    Any help would be appreciated.

    Also, in the user edit section. When on profile, the avatar is grayed out. How can i fix this?

    And… how do i fix avatar size in topic section.

    Sorry for typo mistakes, im french canadian speaking.

    #153728
    atfpodcast
    Participant

    Is there a plugin that adds this? I would love to see this. I have the latest worpress (4.0) and bbpres(2.5.4)

    #153719
    Robin W
    Moderator

    my plugin

    bbp additional shortcodes

    creates that list

    either use the plugin, or crack the code open to see what parameters I set

    #153710

    In reply to: Problem with shortcode

    Robin W
    Moderator
    #153709

    In reply to: Problem with shortcode

    Harry1951
    Participant

    I didn’t change any code. I tried other themes but with always the same result.

    #153708

    In reply to: Problem with shortcode

    Robin W
    Moderator

    ok, by default bbpress shows this format

    La Vie En France (1, 0), Bouwen en verbouwen (1, 0),

    So you must have changed some code to get the display as per the permalink

    Can you explain what you have done so far, as it should show the same in both

    #153706
    tharsheblows
    Participant

    Hi – the 1000 posts thing is a known issue which will be fixed in 2.6.

    In the meantime do these two steps in order (but test them first! always test first):
    1. change this code: https://bbpress.trac.wordpress.org/ticket/2615
    2. run the “Recalculate the position of each reply” tool in Tools -> Forums

    Again, test it all first before doing it to your live site.

    Are you using bbPress 2.5.4? Prior to that, sending subscriptions was slowing things down, too.

    #153702

    In reply to: Problem with shortcode

    Harry1951
    Participant

    Herewith the link to the (test) website:
    http://test.chez-philipaud.nl

    In the menu choose for forum and you get the forum as it should be. This one is with the permalink.
    If you choose forum1 you get the output when using the shortcode.

    I hope that it helps to solve the problem.

    #153700
    galiulinr
    Participant

    https://bbpress.org/forums/topic/shortcode-on-the-page-php
    I added [bbp-single-forum id=$forum_id] page post_type, how to make that outputs only 5 replies.
    I added this code here:

    
    function bbp_single_topic_query() {
    		if(is_singular( 'download' )) {
    		if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) )
                    bbp_get_template_part( 'loop', 'latest-topics' );   
          }
    return;
    	  }
    add_action('bbp_template_before_topics_loop','bbp_single_topic_query');

    it does not work for me. I maybe doing wrong?

    #153695

    In reply to: Problem with shortcode

    Robin W
    Moderator

    Since you don’t show us what the permalink looks like, it’s hard to answer

    can you post a link to the permalink and one to the page with the shortcode

    #153694
    Robin W
    Moderator

    closest you’ll get is my plugin

    bbp additional shortcodes

    If you can do some coding, you should be able to refine this further to your needs

    #153692
    Robkk
    Moderator

    this is the css to customize the color , i already put purple in, you can change that to a specific color.

    if you are using the bbpress-new ui plugin , i dont know if that will cause a conflict or not.

    copy this css anywhere where you can put custom css

    jetpack custom css module
    custom css plugin
    bbpress.css file

    HEADER

    #bbpress-forums li.bbp-header {
    background: purple;
    }

    i also put the footer css just in case you want to edit that too.

    FOOTER

    #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer {
        background: purple;
        border-top: 1px solid #EEE;
        font-weight: bold;
        padding: 8px;
        text-align: center;
    }

    Links that might help

    Step by step guide to setting up a bbPress forum – part 2

    bbPress Styling Crib

    Step by step guide to setting up a bbPress forum – part 3


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

    Codex

    #153691
    Robkk
    Moderator

    @terriswiatekyahoocom

    do mess with the templates in the plugin folder they will just be gone when you update the bbpress plugin.

    just copy the templates to your child theme and edit those.

    do not do inline styles, you can just add a class to the link and add the css to the bbpress.css file that you should copy to your child theme in a folder called css.

    i would recommend not to put the code into your pagination template. it would be fine if you just put it into content-single-topic.php you can just put it i think under
    <?php bbp_single_topic_description(); ?>

    i gave you the wrong code earlier actually so my bad, the one i had takes you to the forum index.
    this is the final code should be this exactly

    <?php if ( bbp_is_single_topic() ) : ?>
    
    <a class="bbp-back-to-forum" href="<?php bbp_forum_permalink(); ?>">Back to <?php bbp_forum_title(); ?></a>	
    	<?php endif; ?>

    what this does is only show the link on a single topic, so it wont show it on topics started page a subscribed/favorited topics page.

    it takes you to the forum of any topic you have, so if you have multiple forums you wont have to write the exact link everytime.

    it adds a class which is a.bbp-back-to-forum

    and the link shows the actual name of the forum.

    then you can style the link by using.

    a.bbp-back-to-forum {
    float:left;
    }

    drop the css into your bbpress.css in your child theme.

    also please read the codex, it has alot of very useful information about bbPress.

    Codex

    #153690
    atfpodcast
    Participant

    I want to change the color background for the table where it says Forums, Topics , Replies and Freshness. i don’t know css or php I am using dreamweaver to try to figure out these short color codes. This is what I want to do: (photoshop was used to create the effect)

    Screenshot

    Like how the new ui plugin for bbpress does it but my color scheme. I just cant find the table

    #153689
    emjnkr
    Participant

    I’d like to display the recent posts on the forum without all the extra stuff, so just plain text. Preferably where I can customize what I want to show (e.g subject, time, by whom etc). That way I can make my own list.

    For example:

    Selling some stuff for things! By: ThatPerson Time: 13:37pm
    Where did my stuff go? By: OtherPerson Time: 04:20pm

    Doing for example:

    <?php echo do_shortcode('[bbp-topic-index]'); ?>

    Shows way too much information and also shows part of the theme etc.

    #153684

    Thanks @Robkk it wasn’t loop-replies.php but I found it. pagination-replies.php was the one.

    I added it in right after bbp-pagination-count

    <div class="bbp-pagination-count">
    		<a style="float:left;" href="http://intranet.skmgroup.com/forums/forum/skm-forum/">Back to Forums ></a>
    		<?php bbp_search_pagination_count(); ?>
    
    	</div>

    I floated it left too so it was positioned where I circled in red.

    Also this only seemed to work when I created a bbpress folder for the files in my child theme. Overwriting the template files in the plugins folder didn’t seem to do diddly.

    #153681
    freshwater
    Participant

    making a post in my bbpress/wordpress forum site, i click the “link” in the wysiwig editor, add link and title then post, all the text, images put in with “img” button work except the front end post ignores the anchor tag. i can see the tag is there when i go back to edit the post.

    here is the copied tag which bbpress generated:
    ++<+a href=”http://earthjustice.org/blog/2014-october/turning-the-tide-of-history-for-maui-s-four-great-waters&#8221; title=”Turning the Tide of History: Maui Waters Flow Again After 150 Years” target=”_blank”></+a>++ (i had to put plus sign + in the code because this post/bbpress.org forum is ignoring the tag too)

    here is the post http://theboatpeople.org/forums/topic/maui-waters-flow-again-after-150-years/
    you can see the above anchor tag in the page source using a web browser.

    i can’t remember if i’ve ever used the button before in the last years. this id is the admin so it’s got to have authority to use this tag, it shows up in the wysiwig editor.

    thanks for any help!

    #153678
    Harry1951
    Participant

    Hi I’m new on bbPress.
    I have the following problem with the shortcode.
    When I use the shortcode [bbp-forum-index] the forum shows up like this:
    Forum
    La Vie En France (1, 0), Bouwen en verbouwen (1, 0), Het franse dossier (1, 0), Het kopen en verkopen van een huis in Frankrijk (1, 0), Alles over deze website (1, 0), Recepten (1, 0), Chez Jo-Jo (2, 0)

    When I use the shortlink it shows up as it should be.
    How can? and what to do, because I prefer to use the shortcode.

    Wordpress 4.0
    bbPress 2.5.4
    Theme Twentyeleven

    #153674

    In reply to: CSS issues

    CodingMachine
    Participant

    Hi @andrecgro just do one thing create a folder named ‘css’ in themes/child-theme/ and copy bbpress.css from wp-content/plugins/bbpress/templates/default/css and paste the file in the css folder and then edit any element you want to… u can try those css too

    https://codex.bbpress.org/bbpress-styling-crib/

    #153672
    Vadim
    Participant

    I did so:
    Font was larger, but the design has changed.

    /* Я */
    #bbpress-forums ul.bbp-lead-topic,
    #bbpress-forums ul.bbp-topics,
    #bbpress-forums ul.bbp-forums,
    #bbpress-forums ul.bbp-search-results {
    	font-size: 15px;
    }
    #bbpress-forums .bbp-forum-info .bbp-forum-content,
    #bbpress-forums p.bbp-topic-meta,
    #bbpress-forums .bbp-forums-list li,
    div.bbp-template-notice p,
    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
    font-size: 15px !important;
    }
    #subscription-toggle { 
    background: #E7FFE8;
    margin-left: 5px;
    padding: 0px 3px 0px 1px;
    border-radius: 2px;
    font-size: 15px;
    }
    /* /Я */
    #153670

    Topic: CSS issues

    in forum Themes
    andrecgro
    Participant

    First of all, congratulations of your plugins, you guys did a real good job, again.
    I’m trying to customize the theme of my bbPress forum and I can’t figure out how to edit some things.
    For example, how can I edit,individually, the itens “Author” and “Post” on the section 5 of http://codex.bbpress.org/bbpress-styling-crib/

    Thank you guys for helping me.

    #153661
    Nicolas Korobochkin
    Participant

    @pooledge just update my super-duper plugin 🙂 now it works fine with all permalink setups. Checkout and update — https://github.com/korobochkin/bbPress-permalinks-with-id

    Known issue
    If permalink looks like site.com?p=123 (not pretty permalink), the topic and reply edit links looks like:

    site.com/?post_type=topic&p=814&topic=TOPIC_SLUG&edit=1
    // TOPIC_SLUG — I dont known right now how to delete it but works fine with this parameter.
    #153658
    kendorama
    Participant

    I have a developer that has been trying the same code on his test site without it removing the reply/topic counts either.

Viewing 25 results - 10,301 through 10,325 (of 32,504 total)
Skip to toolbar