Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 626 through 650 (of 1,696 total)
  • Author
    Search Results
  • #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?

    #157684
    Robin W
    Moderator

    For those who have been asking a new plugin which hopefully will help

    https://wordpress.org/plugins/bbp-style-pack/

    Changing style items – now in this plugin so no need to create child themes and post complicated code into style sheets

    Changing how the forum looks, the most asked for items, such as vertical sub forums, hiding counts, adding ‘create new topic’ links, removing ‘private’ prefix, adding forum descriptions, changing breadcrumbs and more

    Login – create simple menu items to help with logging in, registration and changing profiles

    Shortcodes – 3 useful new shortcodes to help your display

    Feedback both positive and ‘needs improvement’ welcomed !

    #157495
    netposer
    Participant

    The main forum page (created during the install process using Method 1 or Method 2 shows no forum info.

    If I create a new topic (admin) and go directly there I can see the post, reply and see other forums

    I created a forum called “t-forums” and added “For Sale” and “General” under that. Everything works just great except the parent (Forums).
    Home › Forums › t-forums › For Sale

    So the parent (Forums) seems broke and doesn’t show the forum items on it’s page.

    I’ve removed the plugin and added it back with the same results.

    #157410
    nicholmikey
    Participant

    After installing BBPress nothing was working, I could see a list of forums if I went to /forums/ but nothing appeared to create a new forum or post, and no form appeared to enter a reply. I rebuilt the pages using the shortcodes and this worked great, but if I click “Edit” on a reply I get a page with no content.

    Here is the code I am using in my main template to make the BBPress items show up:

    				<?php if (is_bbpress()) : ?>
    				<section id="content" class="grid-block"><h3 class="page-subtitle"><?php echo $this['config']->get('Subtitle'); ?></h3>
    				<?php 
    				if(!is_user_logged_in())
    				{
    				    echo do_shortcode("[bbp-login]"); 
    				} else {
    				echo 'bbpress page';
    				$forum_id = get_the_ID();
    
    				if( get_post_type( $forum_id ) == 'page')
    				{
    					echo do_shortcode("[bbp-forum-index]");
    				}
    				echo do_shortcode("[bbp-single-forum id=" . $forum_id . "]"); 
    				echo do_shortcode("[bbp-single-topic id=" . $forum_id . "]"); 
    		
    				}
    				?>

    I can’t find a shortcode for the reply edit form. How can I made the reply edit form appear on a page?

    Also none of the forms worked until I added this to the functions.php:

    add_filter( 'bbp_verify_nonce_request_url', 'my_bbp_verify_nonce_request_url', 999, 1 );
    function my_bbp_verify_nonce_request_url( $requested_url )
    {
        return 'http://localhost:8088/mySite/' . $_SERVER['REQUEST_URI'];
    }

    I am using a woo-theme with their warp system, I think it does not work well with bbpress.

    Please, how can I made the edit form appear? There appears to be no shortcode for that.

    #157316
    Stagger Lee
    Participant

    Shortcodes Ultimate API overview

    I would like to implement this for all those boring long quotes, and quote inside quote, inside quote, etc…
    It would make reading forum topics much more pleasant.

    One click and long quote opens at whole. There is scroll if you dont want to click.
    I managed this easy with CSS3 and transitions, but there is very nasty problem on mouse out and page jumping, confusing to know where on page you are after this.

    #157294
    Robin W
    Moderator

    Is there something that I’m missing?

    possibly.

    but the rest of the codes don’t work.

    This again isn’t really helpful. What do you mean by ‘don’t work’ – nothing shows? something shows but it is not what you want? a picture would be useful.

    I cannot help unless I get detailed problems 🙂

    #157293
    DevilWoIf
    Participant

    Sorry. I mean, I tried the shortcodes in my page but the forums aren’t separating the way I need them to like in my picture. The codes dont seem to work… I added the stat code that shows how many users and that works but the rest of the codes don’t work.

    I put the correct forum ID and everything and they weren’t showing. Is there something that I’m missing?

    #157276
    Robin W
    Moderator

    I know nothing about visual composer, but a quick google produces

    http://codecanyon.net/item/bbpress-shortcodes-for-visual-composer/9073637

    which suggests that standard shortcodes don’t work?

    #157273
    Robin W
    Moderator

    my plugin

    bbp additional shortcodes

    has a code

    [display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes

    which lets you organise the order of forums

    #157254
    peter-hamilton
    Participant

    I had no knowledge of PHP when I started a few months ago and made it by cutting and pasting, copying and changing plugin codes, lot of topicsand tutorials read and many sleepless nights.

    Deffo a lot of work but I hope it is paying off.

    I have a dummy account for people who want to see members only functions like a “like” system and lots of profile functions

    username : demo
    password : demo

    Now working on @media queries so it is easier to use on mobiles

    Touda
    Participant

    After having installed, configured and started some forums and subforums with the initial threads (topics), suddenly I found some issues, maybe related with some new plugins I’ve been installing on the same site:
    – Forums URLs give 404 errors
    – Topics URLs are found OK
    – No reply is possible to those topics even when logged as Admin (Keymaster). BBPress shows this error:

    ERROR: You do not have permission to reply.

    ERROR: This forum is private and you do not have the capability to read or create new replies in it.

    When testing shortcodes on a test page it gives the following results:

    [bbp-forum-index] -> No forum is listed

    [bbp-single-forum id=6] -> Forum is shown with its topics

    [bbp-topic-index] -> Topics are listed OK

    Any idea?

    Thanks in advance for any help.

    #156922

    In reply to: New replies first

    Robin W
    Moderator

    If I needed to control when the replies are asc or desc, what would you recommend? I’m using a custom post type; could I just add a meta box that calls the change_reply_order if checked for desc?

    No you really woul;d need to use filters. These work with some shortcodes.

    Where they don’t, you’d need to create a new shortcode, but if you need that come back with which and I’ll work on that.

    #156921

    In reply to: New replies first

    hamncheez
    Participant

    It works great with the shortcodes I used ([bbp-single-topic id=whatever]), not sure which shortcodes SandyRig used. If I needed to control when the replies are asc or desc, what would you recommend? I’m using a custom post type; could I just add a meta box that calls the change_reply_order if checked for desc?

    #156916

    In reply to: New replies first

    Robin W
    Moderator

    Let me know which shortcodes you are looking to use, and try the

    function change_reply_order() {
    $args['order'] = 'DESC';
     return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    

    first to see if it works

    #156899
    EmilieMarie
    Participant

    Hello,

    It’s my first time on this forum…
    This is my problem :
    I don’t want to insert a Connection widget on a side bar.I’d rather like to use short codes.
    I already know these following shortcodes :
    [bbp-login] – Display the login screen.
    [bbp-register] – Display the register screen.
    [bbp-lost-pass] – Display the lost password screen.
    But I’d like a shortcode to sign out. I didn’t find it. Does it exist ?
    Thank you very much for your help…

    #156838
    jeffacubed
    Participant

    Thanks so much @korobochkin for sharing this in such detail! I’m going to test this out from start to finish on a 100% fresh bbPress, multi-site setup over the next few weeks. I’m thinking this is ‘finally’ a rock-solid sol’n to managing bbPress on multi-site, particularly in situations where the root site has no obvious visual/branding/etc relationship to the other sites on the network.

    This sol’n looks very solid, much better than what I was previously doing with the Login With Ajax (lwa) plugin, wp-members (plugin) & hard-coded redirections (which while worked, seemed very ‘hacky’) & would not work with the [bbp_register] shortcodes, etc.

    Thanks again Koyla!

    -Jeff

    #156824
    Robkk
    Moderator

    the bbcodes one i think you can deactivate the message in gd bbpress tools settings.

    go to the bbcodes section find BBCodes New Topic/Reply Notice and deactivate that.

    the unrestricted HTML content message shows up for only keymasters so its not really worth messing with since you are the only one seeing it.

Viewing 25 results - 626 through 650 (of 1,696 total)
Skip to toolbar