Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 426 through 450 (of 1,687 total)
  • Author
    Search Results
  • #174504
    zimmermann.c
    Participant

    I was not aware that shotcodes even existed for bbp.
    Further to your advice I seached and found the documentation of all the SC’s. This is a great step for me.
    Thank you for your help

    #174209
    cigar07
    Participant

    Hi,

    [bbp-topic-form] is not working. I am able to use others shortcodes and they work fine but not the new topic form.

    Please can someone tell me the cause this shortcode isn´t working?

    #174098
    Pascal Casier
    Moderator

    OK, now I see !
    How about [bbp-lost-pass] ?
    Check out https://codex.bbpress.org/features/shortcodes/

    Pascal.

    #173948
    Robkk
    Moderator

    Well not a bbPress specific plugin, but there are a few plugins that can work with custom post types (bbPress uses custom post types).

    A plugin I found and tested is called NS Featured Posts, but like I said many other plugins could possibly work too.

    After installing the plugin make sure to go to Settings > NS Featured Posts and make sure to add the topic custom post type from bbPress in the plugin’s settings.

    Now we can go to Topics > All Topics and see a new column that says Featured. Make sure to click the checkbox near the topic you would want to feature.

    Now we are going to make a custom view to display these featured topics in a topic list, and also be able to display them in pages with a shortcode.

    Add this php code snippet into your child themes functions.php or insert this snippet into a custom plugin like functionality.

    This function displays about 10 featured topics on a single page, change 10 to whatever you want.

    function rkk_register_featured_view() {
     bbp_register_view( 'featured', __( 'Featured Topics' ),  array( 'meta_key' => '_is_ns_featured_post', 'meta_value' => 'yes', 'posts_per_page' => '10', 'max_num_pages' => '1'), false );
    }
    add_action( 'bbp_register_views', 'rkk_register_featured_view' );

    Now in a custom page or widget area that has a widget text area that can handle shortcodes, insert this shortcode.

    [bbp-single-view id='featured']`

    #173857
    Stephen Edgar
    Keymaster

    Probably the most noticeable issue after the import are the attachments. They are basically a number with opening and closing ATTACH bbcodes.

    I’m not quite sure what to do with attachments as bbPress import system does not yet support attachments ¯\_(ツ)_/¯

    I could add some code to “hide” the BBCode whilst still keeping it as a refernce?

    Also I’ve added support for YouTube, Daily Motion and Vimeo BBCode conversion

    Then there are the quotes to other posts. These simply just come in as text and the post IDs don’t match those in bbpress. In xenForo, the quoted posts link back to the post that was quoted.

    I’ve added some styling to the quotes now, so it wraps that quotes in “blockquote” and cites the authors name, e.g “wendellh wrote:”

    For now we can’t link to the quoted post, this is on my radar to do but requires some pretty big changes, maybe bbPress 2.8.

    I’ve also noticed that soft deleted posts (only viewable by mods and admins) in xenForo are coming in as public posts.

    Ah, I didn’t know about these types of posts, I’ve now done this, for topics/threads replies/posts that were “soft deleted” these are now imported with bbPress/WordPress “pending” status.

    #173853
    gdelle
    Participant

    Im trying to create a sub forum list style.

    Ive tried the bbstyle plugin and the various codes I found searching here.

    Only one to work at all was this. But its not what I want. The theme is Kleo with bbpress/buddypress.

    .bbp-forum-info a.bbp-forum-link {
    display: block;
    }

    #173842
    Wendell
    Participant

    Hey Stephen,

    I really appreciate your help! 🙂

    Probably the most noticeable issue after the import are the attachments. They are basically a number with opening and closing ATTACH bbcodes. For example:
    [ATTACH=full]872[/ATTACH]
    In xenForo, this links to attachments/photo-jpg.872

    Then there are the quotes to other posts. These simply just come in as text and the post IDs don’t match those in bbpress. In xenForo, the quoted posts link back to the post that was quoted. For example, here is an imported post with a quote:
    http://surveyorconnect.com/portal/index.php/forums/topic/july-2015-photo-submittal/#post-1647874
    and here is the original post in xenForo:
    http://surveyorconnect.com/threads/july-2015-photo-submittal.323039/#post-331560

    I’ve also noticed that soft deleted posts (only viewable by mods and admins) in xenForo are coming in as public posts.

    I realize I may be asking for too much, but I figure it doesn’t hurt to ask. 😉 I do understand though if it’s just not possible. I’ll keep looking around for other bbcodes as well.

    Thanks!

    #173604
    Pascal Casier
    Moderator

    Hi Biorn,

    Create a standard WordPress page and put the slug ‘forums’. Creating this page will override the standard page that comes out.

    You can then add the [bbp-forum-index] shortcode on that page (see https://codex.bbpress.org/features/shortcodes/) and change the title of your page.

    Pascal.

    TKServer
    Participant

    Nice plugin you created. Do you think it would be possible to create shortcodes in the next update? My theme is so old it does not have widget areas LOL.

    Thanks, cool plugin BTW.

    That’s an interesting suggestion. It would not be hard but for the settings. Since the widget settings are set inside the widget itself, I’d have to redo the settings and make them part of the plugin settings.

    I’ll see what I can do…

    tech55541
    Participant

    Hey @tkserver,
    Nice plugin you created. Do you think it would be possible to create shortcodes in the next update? My theme is so old it does not have widget areas LOL.

    Thanks, cool plugin BTW.

    #173410
    Pascal Casier
    Moderator

    You can put any of these codes into your functions.php of your (child) theme.

    #173347
    tech55541
    Participant

    Thanks @robkk, that worked.

    I was aware of the shortcodes, I just did not know you could use that value there.

    #173300
    Robkk
    Moderator

    This issue is theme related, because bbPress is just inheriting the CSS styles from the themes stylesheet. Same thing with the other themes, there are just some styles that could affect some classes in the code that can make the layout look different.

    In the theme compat code in bbPress, has it where you can use default WordPress conditionals like is_single() which should show up for each single forum and topic, and is_archive() for the forum archive (forum root page) and topic archive (usually at yoursite.com/topics or forum root).

    So while you did create a single forum page using shortcodes as an easy to do workaround, as the code for the “indentation” is created by your themes CSS and only for single pages using ,while you created a simple page. When you enter the normal forum url in 2016 you will see the same “indentation” you see on topics.

    You are on the money on what CSS to use to fix the issue, there is just some media queries that you need to add is all. There will be a slight margin to the right around 700px width when the sidebar goes under the content, but a page has that same margin in your theme and for consistency I just say leave it in.

    This CSS should help your help solve your issue.

    @media screen and (min-width: 61.5625em) {
    .bbpress .entry-content {
      float: none;
      width: auto;
    }
    }
    #173297
    Robkk
    Moderator

    You can place this view shortcode into a page and just link to it anywhere.

    [bbp-single-view id='no-replies']

    More information on shortcodes.

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

    #173290
    tech55541
    Participant

    Hello,
    I would like to add a link to Unanswered topics. I have seen the widget page, but cannot use it because I need a link. Is there any shortcodes or other ways to do this?

    Thanks.

    #173268
    Stagger Lee
    Participant

    I did it very nice with activated TinyMce for bbpress (simple one) and media upload button.
    Then with one snippet limmited users to se only own uploads. It is easy to find on Google.

    Now with Shortcode UI (Shortake) it is very easy to make plenty of visual shortcodes for forum. So play with it and use it for attachments.There is allways way to remove other media modal tab items.

    I will play a bit with it in future. BBC codes as shortcodes, etc.

    #173126
    Pascal Casier
    Moderator

    Hi,
    Is this the standard /forums ? Then start creating a standard WordPress page and add the [bbp-forum-index] on it. Now you can add any other shortcut or text on this same page.

    Pascal.

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

    #172823
    DamnDramaQueen
    Participant

    Hi Robin,

    Correct, both shortcodes I tried it doesn’t show the widget?

    #172778
    Robin W
    Moderator

    I wasn’t worried about what was showing in the body, I was only interested in whether the widget in the footer disappeared.

    Can you confirm that it does with both the codes you tried?

    #172756
    Robin W
    Moderator

    ok, I can now see the issue, and have looked at both a forum page and a non forum page.

    From the web browser tools available to me, I can’t immediately see what the core issue is.

    as an experiment can you try on of the other bbpress shortcodes eg `[bbp-topic-index]
    `

    to see if this is bbpress or just that shortcode

    #172619
    Robin W
    Moderator

    ok I wouldn’t worry about the structure, just create the forums and use multiple shortcodes to build your page

    eg

    [bbp-single-forum id=3] 
    [bbp-single-forum id=6] 
    [bbp-single-forum id=8] 
    
    

    That way you control the flow

    I’d then switch off breadcrumbs and use the sidebar as navigation.

    #172516
    angeljs
    Participant

    I’m running a WordPress Multisite install and have bbPress setup on the main site. However, logged-in users can’t access the main forum. Admins and guests can see them, which doesn’t seem to make sense. Users can see group forums, but not the main page, they just get a page not found error. I’ve even tried creating the forums page and adding the shortcodes, but still get the same error.

    New users are supposed to have the participant roll, which I’ve checked. I’ve also tried repairing the forums, but nothing works.

    #172510
    leev
    Participant

    Hello, I’m looking for a way to hide something that will be with the <?php bbp_forum_freshness_link(); ?>. Whenever there’s a topic for the forum, <?php bbp_forum_freshness_link(); ?> will display a link. If there’s no topic in the forum or it’s empty, then there will be no link. How do I add the same function to some custom added codes.

    Examples, I’m looking for something like this:

    <?php don’t display if there’s no topic or it’s empty ?>
    topic title
    by author
    <?php bbp_forum_freshness_link(); ?>

    <?php endif;?>

    #172065
    RONO2
    Participant

    Pascal, so where exactly would I put those particular 3 codes at in the wordpress? or actually in the css section of the theme editor?

    #171926
    Robin W
    Moderator

    but yes as Pascal says, you do need to list the forums that you want to include

    and I have just updated the plugin for a technical error which should not affect you, but you may want to load the latest version from my site

    http://www.rewweb.co.uk/bbpress-additional-shortcodes/

Viewing 25 results - 426 through 450 (of 1,687 total)
Skip to toolbar