Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 601 through 625 (of 1,687 total)
  • Author
    Search Results
  • #159752
    Robkk
    Moderator

    bbPress doesnt output shortcodes use something like this

    https://wordpress.org/plugins/bbpress-do-short-codes/

    #159643
    Robkk
    Moderator

    use the bbPress shortcodes

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

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    this plugin will help you out find any posts ID

    https://wordpress.org/plugins/reveal-ids-for-wp-admin-25/

    go to forums>all forums and you should see the ids

    #159498
    Robkk
    Moderator

    are you using shortcodes in templates or pages??

    #159434
    Robkk
    Moderator

    there is no shortcode for recent replies

    you could try this??

    https://wordpress.org/plugins/amr-shortcode-any-widget/

    you could follow this tutorial to create a recent replies shortcode , i tried it and i didnt get the results i wanted before

    http://www.daggerhart.com/bbpress-recent-replies-shortcode/

    other things you could do is use get template part, then make a shortcode for a template

    https://codex.wordpress.org/Function_Reference/get_template_part

    you could do some custom query in a new template , put a custom sidebar in the template and place the widget there.

    then if you want follow this tutorial to use get_template with a shortcode

    kovshenin.com/2013/get_template_part-within-shortcodes/

    spespam
    Participant

    Hello,

    What is the shortcode to display the recent replies in a page instead of a widget ? I want the appearance of the recent replies to be just like in a widget (that means a simple LIST), so none of the shortcodes here (http://codex.bbpress.org/shortcodes/) corresponds to my request.

    Thank you for your help.

    #159331

    In reply to: Image code question

    Mizagorn
    Participant

    I am looking at why the ‘img’ shortcode is making URLs have encoding in them so that the browser will not load an image.

    Anyway, the shortcode code is in bbcodes.php in lines 487-502. That might get you started, but I don’t think that has the part where it actually generates the “src” and “alt” tags.

    What I usually do is use “Inspect Element” in FF or Chrome, find the class or ID for the element, then use grepWin to search for that within the WP code files. That would work only if you have FTP’d the files to your local rig, though.

    #159228
    Kolya Korobochkin
    Participant

    I’ve posted the long article about this question on my blog with source codes, examples and screenshots (on Russian language): https://korobochkin.wordpress.com/2015/02/10/rukovodstvo-po-sozdaniju-stranicy-registracii-v-multisajte/

    #159217
    Pewit
    Participant

    If I add an image with a caption using the tinyMCE editor it generates the code below which is displayed properly in the WP editor and if I preview the post from outside the forum.

    [caption id="attachment_683" align="alignnone" width="300"]<a href="/wp-content/uploads/2014/08/IMG_0089.jpg"><img class="size-medium wp-image-683" src="/wp-content/uploads/2014/08/IMG_0089-300x225.jpg" alt="An image description" width="300" height="225" /></a>My image caption[/caption]

    However, once the post is added to the forum, I get the image but the caption codes are ignored.

    [caption id="attachment_683" align="alignnone" width="300"]
    <my image here>
    My image caption[/caption]
    

    I have tried switching Themes to Twenty Fiifteen and Twenty Thirteen but the problem persists.

    My site here
    WP Version 4.1.1
    BB Press Version 2.5.4

    #159141
    Marion Peterson
    Participant

    Unfortunately, deactivating all plugins did not help. I did not test a default theme.

    If I create a child theme and install the bbpress codes, will I still potentially have a problems with this, or will this no longer be an issue then?

    #159129
    Robkk
    Moderator

    the bbcodes notice i think you can turn that off in the plugin your using, i think its gd bbpress tools.

    you can remove the unrestricted html notice with some CSS if you want its only displayed to Admins/Keymasters only, so its not that big of a deal.

    you can use this PHP code to remove the notice above the topics/forums

    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 '';
    }
    Alice Kaye
    Participant

    Hi guys!

    I was wondering if it was possible to remove the info boxes from within forums. One of which announces how many topics have been created recently, with an avatar, and the other says “You can use BBCodes to format your content,” etc. etc, though that may be something from a plugin (for all I know).

    Example: http://screencast.com/t/zo2nX63Q

    Any help, especially on the blue box at the top, is so, so appreciated! Thanks!

    #158931
    Robkk
    Moderator

    see if the shortcode works in a default theme first

    as a test switch to a default theme such as twentytwelve, and see if this fixes.

    if it still doesnt see if its a plugin issue

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the issue

    if its not a plugin issue and is working in a default theme then your right about it being your theme

    do the other shortcodes work fine?? if so see if you only messed up this file below

    did you do any customization to this file content-archive-forum.php

    Robkk
    Moderator

    that plugin probably still works its just not maintained by the developer anymore

    its still here for anyone to fork though https://github.com/mravaioli/wp-modal-login

    there are also many alternatives for a modal popup form

    this plugin assigns menu items without additional code plus it has a facebook login option

    https://wordpress.org/plugins/zm-ajax-login-register/

    there is also others with captcha support

    wordpress.org/plugins/ajax-bootmodal-login/

    and also a very simple one but would need to activate the CSS class option in the menu settings

    wordpress.org/plugins/simplemodal-login/installation/

    there is also cool tutorial for developers that could probably just hook up the bbPress shortcodes

    http://www.blueleafstudio.net/create-responsive-pop-login-box-wordpress/

    #158684
    WilRC
    Participant

    When using shortcode bbp-topic-index with other shortcode (bbp-forum-index)pagination returning url is different than using topic-index by freshness.
    => with multiple shortcodes: ../forums/page/2/
    => with topics by freshness: ../forum/forumname/page/2/
    How to solve this?

    #158673
    Robkk
    Moderator

    shortcodes do not post in bbPress

    use this plugin

    https://wordpress.org/plugins/bbpress-do-short-codes/

    #158666
    bandormen
    Participant

    Hi,

    I started to setup my first forum.
    For me it is necessary to share files.
    I’m using the WordpRess Download Manager PlugIn
    https://wordpress.org/plugins/download-manager/
    to share files and I have the following problem:

    I would like to use the Short-Codes (e.g. [wpdm_package id=’120′])
    of the Download Manager to insert files into a Topic, but ist doesn’t work.
    The Topic displays only the commands and doesn’t display the designed download buttons.

    Is anyone able to help? Or should I use an other PlugIn to share files?

    Thx for your help.

    #158645
    miglaraujo
    Participant

    Hi there,

    I’ve been working around bbpress for the past 5 hours, and i’m now using the plugin bbpress addition shortcodes to build my forum.

    This is my forum:
    http://invaderz.pt/community/?page_id=29

    As you can see, i have multiple forum indexes, but they all have the same name. But i need them to have different names from each other.
    Is there anyway to do this?

    Thank you for you time,
    Miguel

    #158626

    In reply to: profile page links??

    Robin W
    Moderator

    yes but you’ll need to do some coding

    see

    http://generatewp.com/shortcodes/

    the code would go in your functions file

    Functions files and child themes – explained !

    and the code you’ll be seeking to shortcode is in

    wp-content/plugins/bbpress/templates/default/bbpress/

    in particular

    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    #158624
    Seo45
    Participant

    Hello everyone, I’m having a problem. I am using something called uerpro, and I integrated it into bbpress, but it now makes it where the profile links to the userpro profiles. This is what I want, but I was wondering if the things like: New posts, replies, signature and everything that was in the bbpress profile page can be put into the userpro profile page. It uses a single page as the template, so if there are shortcodes or something, that would be perfect. Thank you for any help!

    Robkk
    Moderator

    use the shortcodes

    here is the one for the new topic form

    [bbp-topic-form]

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

    #158595
    WilRC
    Participant

    Any news on this?
    using several shortcodes breaks the paginationfunction! I have these shortcodes:

    [bbp-forum-index]
    [tabs type="horizontal"] [tabs_head] [tab_title]Recente Topics[/tab_title] [tab_title]Ongelezen Topics[/tab_title] [tab_title]Zoeken[/tab_title] [/tabs_head] [tab][bbp-topic-index][/tab] [tab][bbp-single-view id="no-replies"][/tab] [tab][bbp-search-form][/tab] [/tabs]

    Clicking on page2 gives a no resultpage!

    #158442

    In reply to: Layout in progress

    peter-hamilton
    Participant

    Hi Robkk, thanks for having a look again.

    I agree with the profile nav and am changing that next, have just downloaded the plugin you mentioned and will have a look at it, looks a lot bigger then the code I am using…but has a lot more functions I like to include like sharing those backgrounds on activity etc, will use it tomorrow.

    I also removed all Epicweb stuff so the forums page looks normal again, I was long focused on creating the right category/forum list, but ended up using a page with shortcodes in the end, so that code was just clutter anyway, so thanks again.

    Peter Hamilton

    #158397
    DuncanMarshall
    Participant

    It seems this is a known issue for WordPress when ordering by meta query. BBPress does this to order by “last active” which is the default (and in my case, desired).

    Loading a forum index, on my site, takes about 20 seconds.

    Here is the offending SQL:

        [9] => Array
            (
                [0] => SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1  AND wp_posts.post_parent = 9  AND wp_posts.post_type = 'topic' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'closed' OR wp_posts.post_status = 'private' OR wp_posts.post_status = 'hidden') AND (wp_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_posts.ID ORDER BY wp_postmeta.meta_value DESC LIMIT 0, 15
                [1] => 19.448324918747
                [2] => require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), apply_filters('template_include'), call_user_func_array, bbp_template_include, apply_filters('bbp_template_include'), call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_forum, bbp_get_template_part, bbp_locate_template, load_template, require('/themes/xx/bbpress/content-single-forum.php'), bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
            )

    There’s a ticket which seems to be addressing my problem here: https://bbpress.trac.wordpress.org/ticket/1925

    Unless I’m misreading it, the upshot is “We should probably be using post_modified on the topic instead of a meta value for ‘last activity’, so as to avoid using the JOIN… but we haven’t yet”.

    So how do other sites do it? This one, for instance? Or WordPress.org? They have more posts than I do, but have got around this issue somehow.

    Any solution?

    Thanks.

    #157916
    Robin W
    Moderator

    yes, just create a wordpress page and put one of the following shortcodes in it

    [bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
    [bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.

    #157686
    Twist360
    Participant

    Hi Guys,

    I am trying to have a page in WordPress which shows two sections:

    1) posts with 20 or more replies
    2) posts with 19 or less replies

    I have created a page with the following shortcodes:

    [bbp-single-view id="twentyplus_posts"]
    [bbp-single-view id="lesstwenty_posts"]

    I have added the following into my themes functions.php file:

    
    // Add Custom View - Forum Home
    
    add_action( 'bb_init', 'view_twentyplus_posts_init' );
    
    function view_twentyplus_posts_init() 
    {
    	$args = array( 'post_count' => '>19' );
    	bb_register_view( 'twentyplus_posts', __('Popular Posts', 'example'), $args, false );
    }
    
    add_action( 'bb_init', 'view_lesstwenty_posts_init' );
    
    function view_lesstwenty_posts_init() 
    {
    	$args = array( 'post_count' => '<20' );
    	bb_register_view( 'lesstwenty_posts', __('Forum Posts', 'example'), $args, false );
    }

    However all I get in response is:

    Oh bother! No topics were found here!

    Oh bother! No topics were found here!

    Any idea what I am doing wrong here?

Viewing 25 results - 601 through 625 (of 1,687 total)
Skip to toolbar