Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for ' . default . '

Viewing 25 results - 3,326 through 3,350 (of 6,759 total)
  • Author
    Search Results
  • #142401
    barnabe
    Participant

    Hello,

    I install a bbPress forum for a support website. Our customers should be able to register to the forum, but should not have access to the WP admin. So I have few questions about that:

    – How to separate customer users who have only access to the forum, and admin users who have access to WP admin panel?
    – How to hide the WP toolbar by default when a user registers?
    – I use the bbPress’ form register template, how to redirect users to a specific page after submit and not to the WP’s form login?
    – In the mail with password, how to change URL by a specific page and not to the WP’s form login?

    I think that’s all for now…

    Thanks!

    #142399

    In reply to: Can no longer post.

    Robin W
    Moderator

    Ok, I’d try deactivating all the plugins (except bbPress!) and see if it then works.

    If it doesn’t work with all the plugins disabled, switch to default theme such as twentyten and see if it then works.

    If it works with plugins disabled, add back the plugins one at a time and see which one is causing the conflict.

    #142386

    In reply to: Importing from Vanilla

    Stephen Edgar
    Keymaster

    There is a broad outline here: https://codex.bbpress.org/import-forums/

    Some more Vanilla specif info here: https://codex.bbpress.org/import-forums/vanilla/

    Essentially you should be able to open up your Vanilla Config file in a text editor:

    eg. /public_html/dev/vanilla/conf/config.php

    `
    // Database
    $Configuration[‘Database’][‘Name’] = ‘ntwb_vanilla2’;
    $Configuration[‘Database’][‘Host’] = ‘localhost’;
    $Configuration[‘Database’][‘User’] = ‘ntwb_wpdev’;
    $Configuration[‘Database’][‘Password’] = ‘abc123’;
    `

    Use the values you have in the bbPress importer screen.

    To get the table prefix you might have to open phpMyAdmin on your hosting providers control panel (cPanel)

    In this image my table names have a gdn_ prefix, this is what you would use.

    I am pretty sure gdn_ is the default and used by most installs.

    #142371
    thajskyraj
    Participant

    Thanks Robin, I guess I understand you completely. I did exactly what you advised me to do and it actualy works, however I am not certain what exact code of bbpress theme should I put there.

    The code of page.php looks as follows:

    <?php get_header(); ?>
    <?php get_template_part(‘loop’, ‘page’); ?>
    <?php get_footer(); ?>

    The questions is what piece of bbpress template code should I put between the header and footer. Now I put there code copied from bbpress/templates/default/extras/page-front-forums.php, and its some improvement, however it is still not correct as it put the sidebare widgets under it instead of its correct location.

    If you can advise what code should I put there, then it will be perfect solution.

    Thanks a lot for your efforts and time.

    #142346
    Robin W
    Moderator

    it’s coming from bbpress stylesheet.

    there may be a quicker way to remove this, but one that should work is as follows.

    I don’t think you have a childtheme, and now may be the time to consider having one, see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2/ for more details

    once done you need to navigate to

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

    copy this file into a folder called css within your theme, so you end up with
    wp-content/themes/mychildtheme/css/bbpress.css

    where mychildtheme is the name of your childtheme

    Then edit every line that has

    background-color : xxxxxxx

    change to

    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);

    NOTE it goes from background-color to background
    and it is only the background color that you’ll be changing, not lines which just have color: as that’ll be text!

    eg

    #bbpress-forums div.bbp-forum-header,
    #bbpress-forums div.bbp-topic-header,
    #bbpress-forums div.bbp-reply-header {
    	background-color: #f4f4f4;
    }
    

    becomes

    #bbpress-forums div.bbp-forum-header,
    #bbpress-forums div.bbp-topic-header,
    #bbpress-forums div.bbp-reply-header {
    	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
    }
    

    This will make the background transparent, but with a darker tint shading that you have in your sidebar (the amount of difference is on the 0.4 bit, 0.1 is the lightest, 1.0 the darkest).

    Come back if that doesn’t fix it, or for further help

    #142310
    Robin W
    Moderator

    hmmm…

    Should work !

    Are you changing it in wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php?

    or in your child theme?, and if the latter can you detail the path from wp-content/ onwards

    #142308
    Ilya
    Participant

    For participant user search results doesn’t not show topics from private forums.

    If I add to default capabilities in bbp_get_caps_for_role() at /wp-content/plugins/bbpress/includes/core/capabilities.php line 191 the follow line 'read_hidden_forums' => true, then it works, but forum has visibility “Private” not “Hidden”.

    How can I override bbp_get_caps_for_role() without modifying core files?

    #142287
    Stephen Edgar
    Keymaster

    @kris35 wrote… There are 68 replies to replies and 68 of them are locked this way

    This shouldn’t be an issue unless edit_lock has incorrect timestamps.

    @kris35 wrote… I had to go into the backend and edit the “Reply To” box to zero.

    We have just done some testing trying to reproduce “Incorrect Reply To’s” but couldn’t.

    Setting them to 0 will force the replies to be ‘Not Threaded’ and sorted by date (default)

    @shanebp wrote… …any edit to a reply pushes it to the bottom and destroys the threading. Any threaded replies become ‘flat’.

    I can’t reproduce this, any edit I make to a ‘threaded reply’ in the frontend or backend keeps the correct ‘replyto’ value and works as expected.

    #142251
    crzyhrse
    Participant

    Hi Robin,

    Adding the !important, I have placed the below into the theme’s child, and then just to see what would happen when that didn’t do anything, placed it at the bottom of the bbpress.css file, here- /wp-content/plugins/bbpress/templates/default/css/bbpress.css

    Neither attempt made the change I am looking for, to increase the font size of all the forum text in general, which is presently about the same size as this text is here… I’ll tweak the number once something I try is effecting a change… I am always clearing all caches when I ever do any changes, just to confirm that…

    bbpress-forums .bbp-topic-content p,
    bbpress-forums .bbp-reply-content p {
    font-size: 16px !important;
    }

    I am going to keep looking and playing with it but wanted to report this now… I am accepting your offer of help. Some feedback is that in a lot of searching in the past I hadn’t come across the pages your links above sent me to, and they are helpful, though still with some vagueness and gaps that can leave on a bit floundering… I you want to hear more let me know…

    Anonymous User 13302461
    Inactive

    I have noticed a few bugs.

    The freshness is displayed wrong sometimes, seeming to point to the time the thread was made and not the latest activity, or perhaps to recent activity on the wrong thread, because:

    Some topics I click on “recent post by” next to the freshness, it takes me to a completely different topic!

    The forum “subscribe” link is missing

    The topic “subscribe” or “unscubscribe” links make a popup box saying “Undefined”

    Shame because default bbpress layout for multiple forums, categories and sub categories is awful.

    #142233
    Robin W
    Moderator

    Apart from breadcrumbs, the rest seems to be working fine.

    Suspect breadcrumbs is related to the theme you are using. Try a default theme and see if they appear. If they do, then you will either need to send some time resolving, or just ignore that you don’t get them.

    Sorry, but I don’t quite understand your second questions “Also, is it possible to get all the topic pages, forum pages (basically all pages that are related to the forum) on a custom page?” as the link take you back to the same page as your first link, so I canlt see what you want differently. Come back with further info, and I’ll try to help you.

    #142217

    In reply to: Menu link to Profile

    lee990
    Participant

    hi I used a plug in called theme my log in by amending the code it only displays when the user is logged in. I don’t know if it works with other login modules or the same theory applies, but only took 10mins to do and I know nothing about php.

    Good luck

    and the added the code as suggested by Robin W on this thread

    <p>edit” >Amend Profile/Change password</p>

    I edited the file in theme my login, wp-content/plugins/theme-my-login/templates/user-panel.php
    and added the code in, so the whole file looks like;

    <?php

    /*

    If you would like to edit this file, copy it to your current theme’s directory and edit it there.

    Theme My Login will always look in your theme’s directory first, before using this default template.

    */

    ?>

    <div class=”login” id=”theme-my-login<?php $template->the_instance(); ?>”>

    <?php if ( $template->options[‘show_gravatar’] ) : ?>

    <div class=”tml-user-avatar”><?php $template->the_user_avatar(); ?></div>
    <p></BR>edit” >Amend Profile / Change password</p>

    <?php endif; ?>

    <?php $template->the_user_links(); ?>

    <?php do_action( ‘tml_user_panel’ ); ?>

    </div>

    it looks really good, well I think so.

    #142212
    Robin W
    Moderator

    There are probably much cleverer ways to do this but find the following file

    wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php

    On line 19 you’ll find the following

    <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>

    change the ‘Forum’ to whatever you want it to read.

    If you just change it in this location, it will be overwritten each time bbpress updates.

    What you really need to do is to put it into your theme – see

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

    item 3 for how to do this, and part 2 of the guide (go to the codex home for this) discusses how to set up a child theme

    #142191
    Debayne
    Participant

    If anyone else has this problem

    This is an issue with bbPress, it loads the content-search.php template from the theme directory, which is wrong. An easy fix is to rename the content-search.php file in your theme directory to content-searchresults.php and then change this line in search.php:
    get_template_part(‘content’, ‘search’);
    to this:
    get_template_part(‘content’, ‘searchresults’);

    A big thanks to Trevor over on the Artisteer Forums

    #142187
    FlyFishersCorner
    Participant

    EDIT note: Running bbPress 2.5.3 on WordPress 3.8.1
    My theme does not support sidebar widgets, so I instead created a page to house my forums. Additionally, I like the idea of being able to add some content above the forum index. I am running everything through a child theme.

    EDIT note: The breadcrumbs display in the bottom right of the header, in case it’s not obvious when looking.

    As it stands, I’ve added a login box and some content to the page, then used the [bbp-forum-index] shortcode to add my forum index. See the page here.

    Clicking into the first forum, “General Fishing Discussion” (my site is a fly fishing related one), I have no issues. The breadcrumbs can get me perfectly back to the page where the index resides. See here.

    Finally, I have created a couple test topics. Once I click on one of those topics, this is where my problem arises. Instead of the breadcrumbs being Forum>General Fishing Discussion>Topic Title, they switch to Home>Topic>Topic Title. Clicking the Topic link takes me to a 404 page. See it here.

    I’ve been tinkering with this for days, trying several different solutions from this site that I thought might work. The most recent was a fix suggested about two weeks ago whereby I copy the page.php file from my theme folder and rename it to bbPress.php to force bbPress to use it. I have seen no change. I will note that I tried placing it in the theme-child folder as well as the theme-child\bbPress\default folder. Neither worked.

    The other fix I tried that I thought might get me there was one posted here about 4 months ago that offered a replacement code for the loop-forums.php. Unfortunately, that didn’t work either.

    Does anyone have any other ideas? I really appreciate any help you guys can offer! I love the look and integration of bbPress, I just can’t have users running into walls after reading a topic and trying to navigate back out to other forums.

    Thanks in advance!

    #142153
    Robin W
    Moderator

    Suspect you have a conflict somewhere. bbpress and buddypress will work, so it is something else.

    Suggest you start by disabling all your plugins, and switching to a default theme. Add bbpress, buddypress and test that works (it should). Then add woocommerce, again it should work. Then switch to your normal theme, and test again. If that all works, then add back the other plugins one at a time to see which is causing the conflict.

    #142121
    cremissimo
    Participant

    Hello,
    I am new to bbpress and trying to set up a forum for my website. I have major difficukties with the right sidebar. With the help of older topics and posts I wasn’t able to get the bbpress-sidebar with bbpress tweaks going but with the plugin widget logic I finally had success (partially).
    The problem I still have is, that the chosen widgets do show on the default forum index page, but do not show on any further bbpress pages (forum, topics, …)
    Can you help?

    The link to my (german) website is: http://brasilien2014fussballwm.de/forum/

    Thanks!

    Shmoo
    Participant

    I would like to start this discussions because I have no idea what to think of the adding tags to topics feature in bbPress.

    First, Tags are taxonomies like Categories are also. Each Post Type ( or custom PT ) can be added with those taxonomies Categories or Tags right?

    Looking that the Core of WP and how they’re designed to work Categories and Tags where always designed to be added by editors or authors on content – people who understand how to own or maintain a website through the WordPress admin.
    Somebody who writes a blog post can define what categories and-/or tags they want to add against their blog posts – bbPress also uses Custom Post Types for Forums – Topics and Replies because they’re great for adding those kind of structural elements only there is a huge difference in the way how those work and who uses them.

    bbPress Forums have categories as taxonomy attached to them while bbPress Topics have tags attached to them. It seems pretty normal this way but if you look at how Forums and Topics are created at your WordPress site you’ll see that Forums are created by owners of the website ( like Blog Posts ) and topics are created by random users of the website.

    Topics are more like comments compared to WordPress Core functionality because their added by external users not editors or authors like Forums are – you don’t want people who write comments to your blog posts also have the ability to add Tags to them , right ?

    The main reason why I look at it like this is because I always switch the Tags functionality off in bbPress because it doesn’t work the way it should work to be honest. I think Tags are great for fast navigating and filtering-/grouping specific topics with the same errors at a forum the only difference is people who write topics have in general a problem with ‘something’ , else they don’t start a topic at your site at all. Those people often don’t know anything about blogging or maintaining a website and how Tags and Categories work. A Live example of how bad Tags in bbPress work if you let them get added by users who don’t know how they should work is the Tags Cloud on the sidebar at bbPress.org.

    Just look at the Tag Cloud in the sidebar, the bigger-sized words are most often used. BuddyPress + WordPress + Integration + Forum + Plugin + Theme those words are often tagged by people who write topics which is crazy because those are totally not Tag-wards at all.
    How could you ever filter WordPress or something like BuddyPress or Plugin at a forum? Those words are too broad or wide to be used as Tags , maybe they’re beter as Categories. Tags should be words you could search for to solve a problem – like bbPress Core function_names() could be great Tags at a forum like bbPress.org but we all know most people who write topics don’t understand this so they add more ‘sloppy’ (with al respect) words as Tags or even more worst they’re used as SEO keywords or something like that.

    My main problem with this feature is, IF you enable the Tags feature in bbPress you Moderation-activity goes up very fast because you’re always editing topics, removing bad words and adding better words. Okay we all know this is fun at the start when you’re forums are fresh and not very active yet but after 6 months or one year you don’t become very active at maintaining your topics because it takes up too much time and your Tags Cloud grows to something totally un useful as seen at bbPress.org.

    My idea is to keep the bbPress Tags feature for sure, but adding a Filter system who checks at existing Tag-words.
    There’s a Plugin called auto-tagger ( or something ) It only works at WP Posts, but what it does is it check for similar words in Post titles, content and excerpts – if a word matches a Tag-word it automatically adds the Tag to the Post.

    My opinion is we need this option by default at bbPress. Remove the adding Tags from the front-end – keep them add the back-end where some Moderator or site owner can create a list of Tags and whenever some user writes a topic and X word involves that topic the Tag will be added.
    Knowledge boards like Stock-overflow uses those kinda of systems, they don’t let people write their own tags, especially not New users, you need at least X rate before you can add your own Tags.
    Some other Great example is Zurb’s new Forum, they also add Tags automatically based on the words in the content. They’ve Pre-Tagged Foundation’s elements so whenever somebody uses one of those elements in their topics because they have a problem with this elements it becomes a Tag without doing anything. People who’s looking for support can click on those Tags and group similar topics together very easily.
    http://foundation.zurb.com/forum

    It’s a long story, but I believe this would make the Core Tags function inside bbPress a lot better and people could really use it as a great feature instead of disabling it because it’s a pain in the * to maintain in the end.
    Maybe we can use excising WordPress Plugins and change them a little bit because Blog Posts and Topics have the same structure, their both Post Types connected with a Tags taxonomy.

    What do you think ?
    Thanks for reading.

    #142009
    CoeyCoey
    Participant

    Hi all, I am an extreme amateur at any coding, so please bear with me.

    I am having a few issues with the default template.

    First, I have a missing breadcrumb separator. When I am viewing all topics, this is what I get.

    When I am viewing a single topic, the separator appears, but a space is missing after the last separator.

    Also, when viewing all forums, there is a space missing from between the topic name and date in the Freshness box.

    Those are the little issues. The big issue is that the forum seems to mess up something with the style sheet and fades the background. I think the transparency setting of the columns in the theme style sheet is somehow being applied to the background.

    Here is what it should look like.

    And here is what the forum does to it.

    We are a new non-profit, so any help would be greatly appreciated!

    Thank you!

    Mike
    Participant

    I added a simple check in bbpress/inlcudes/users/capabilities.php to see whether the current user has a role in the current blog, before giving them a forum role:

    	/** Ready *****************************************************************/
    
    	// Load up bbPress once
    	$bbp         = bbpress();
    
    	// Get whether or not to add a role to the user account
    	$blog_role = bbp_get_user_blog_role( $user_id );
    	$add_to_site = bbp_allow_global_access() && $blog_role != false;
    

    With that in place I can reset all my previous changes so that the default setting for global access is true.
    I’ve edited the text in Forums -> Settings to show that ‘global access’ is really now just ‘site access’.

    Ideally this would be a separate option in Forums -> Settings, to limit automatic forum access to site members. I will submit a patch if I get the time.

    The problem with the default settings is that in a large Buddypress-type site, every time I visit a new site when logged in, that site is added to my My Sites list.

    Mike
    Participant

    OK, thanks.
    Any thoughts on giving the site users bbPress roles automatically, rather than the network users?
    And on running:
    Tools -> Forums -> Repair Forums -> Remap existing users to default forum roles
    for all blogs too?

    #141977
    leromt
    Participant

    For what it’s worth, here is what I ended up doing:

    1. I left my “parent” forum as a category.

    2. Around line 847 of bbpress/includes/forums/template.php, I added “true” to the if statement to force the “category” parent forum to be shown, as follows:

    // No link for categories until we support subscription hierarchy
     // @see https://bbpress.trac.wordpress.org/ticket/2475
    if ( true || bbp_is_forum_category() ) {
    $retval = bbp_get_user_subscribe_link( $r );
    }
    

    3. In bbpress/templates/default/loop-single-forum.php I replaced line 44 with the following:

    
    <?php 
    		
    $subForumList = bbp_forum_get_subforums();
    		
    if(sizeof($subForumList) > 1){
    
       echo "<ul style='margin-left: 20px;'>";
    
       foreach($subForumList as $currForum){
    
       // Create the arguments
       $r = bbp_parse_args( $args, array('forum_id' => $currForum->ID,
            'user_id' => 0,
            'before' => '',
            'after' => '',
            'subscribe' => __( 'Subscribe',   'bbpress' ),
            'unsubscribe' => __( 'x', 'bbpress' )
             ), 'get_forum_subscribe_link' );
    
        $isSubscribed = bbp_get_forum_subscription_link($r);
    
        // see if the returned html has 'is-subscribed' in it
        // if it does, then the user is subscribed to the forum
    
        if(strpos($isSubscribed, 'is-subscribed') != 0){
        echo "<li>" . $isSubscribed . "&nbsp;&nbsp;<a href='" . bbp_get_forum_permalink($currForum->ID) . "'>" . $currForum->post_title . "</a></li>";
        }
    			
       }
    
      echo "</ul>";
      } // end > 1
    ?>
    

    Feel free to criticize, pick apart, or provide feedback as you see fit…it works for me.

    Mike
    Participant

    Well I set the default value for ‘allow global access’ to false in the options file:

    function bbp_allow_global_access( $default = 0 ) {
    	return (bool) apply_filters( 'bbp_allow_global_access', (bool) get_option( '_bbp_allow_global_access', $default ) );
    }

    Hopefully that together with my other changes will have done the trick.

    #141969

    In reply to: Topic Thumbnails?

    assylumn
    Participant

    Hi,

    The plugin I am referring to is this one:

    https://wordpress.org/plugins/bbpress-topic-thumbnails/

    The issue is that this one only pulls the thumbnail from the first image in the post. I want a default image to be used for all posts regardless so that the branding of the site remains consistent.

    There must be a way to do this through PHP, just I do not know where to start (and I have a limited knowledge of PHP).

    Cheers

    #141956

    In reply to: forum url conflict

    DudeSchmitti
    Participant

    I think I solved it. Changed the premalinks from default to post-name.
    Unfortunately the whole link is now displayed. Is there a way to shorten or hide the url?

Viewing 25 results - 3,326 through 3,350 (of 6,759 total)
Skip to toolbar