Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,451 through 3,475 (of 6,813 total)
  • Author
    Search Results
  • #141256
    piccart
    Participant

    ok, I’ve figured it out.

    the files which have to be edited are:
    bbpress/templates/default/bbpress/content-single-forum.php
    bbpress/templates/default/bbpress/content-single-topic.php

    in the first one you’ll have to cut off this line in each place it comes:
    <?php bbp_get_template_part( 'form', 'topic' ); ?>

    and substitute with something like this, to make the new-topic link:
    <a href="http://mywebsite.com/form-new-topic/?forum_id=<?php bbp_forum_id(); ?>

    then you create a new template page (which you’ll assign to a page called “Form New Topic”) copying your theme default page, and adding at the top /* Template Name: Form New Topic */ . then you can substitute the function which displays the content, or just add this below it:

    $forum_id = $_GET['forum_id'];
    echo do_shortcode("[bbp-topic-form forum_id=$forum_id]");

    at the same you can edit the second file (the topics list) substituting this:
    <?php bbp_get_template_part( 'form', 'reply' ); ?>

    with something like this:
    <a href="http://mywebsite.com/form-new-reply/?topic_id=<?php bbp_topic_id(); ?>

    and then create a new template called “Form New Reply”, and add a code similar to the other one but using the shortcode to display the reply form. unfortunately the shortcode for the reply form seems to don’t have a topic id attribute, according to this list: https://codex.bbpress.org/shortcodes/

    I’ll make some test to see how it react, the only other solution I see is to make a spoiler with the reply form, so it’s hidden till you click.

    p.s. you can also store the ids into variables, using these functions:

    $forum_id = bbp_get_forum_id();
    $topic_id = bbp_get_topic_id();
    #141255
    Deepak Mahendru
    Participant

    Hi,

    I am looking for a solution for this:

    After activating “Allow users to subscribe to forums and topics” we see subscribe option by default so that interested user can subscribe.

    But what I want is an unsubscribe option by default in place of subscribe after activating “Allow users to subscribe to forums and topics”. So that by default every user receive notifications for new posts and replies as they will be treated as subscribed by default. Every user will have unsubscribe option so that if they want to unsubscribe from the post they can any time.

    Please help…Any help would really appreciated.

    Thank you;

    #141249
    mosaicrob
    Participant

    Hi Stephen,

    I’m having similar issues to @aje_1985, however my theme does not have a page.php file. Is there any other way to get the index page to show?

    My forum index should be showing at: http://rad.mosaicearth.com/gatherings/

    I’m using a minimal child theme, whose parent theme is the default theme from pagelines.com. Their templating system is a little different than traditional wordpress themes, and hence there is no page.php.

    Just to try, I duplicated page.php from the twentyfourteen WP theme, and renamed to bbPress.php and put directly into my child theme folder. (Is this the right place to put it?) The result was my forum index page became white, and nothing showed.

    Next I tried copying the whole bbpress templates folder to my child theme and again no luck. I’d really appreciate any advise here, as I’m reaching a dead end for what to try.

    Thank you.

    #141234
    AJD
    Participant

    I have tried the plugin that is supposed to do this, but it didn’t work. In frustration I edited the core file: includes/core/capabilities.php But sadly nothing has changed, participants still can not delete their own topics. Clearly I’m missing something.

    
    		// Participant/Default
    		case bbp_get_participant_role() :
    		default :
    			$caps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
                                    // manually added this
    				'delete_topics'         => true,
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
                                    // manually added this
    				'delete_replies'        => true,
    
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    #141220
    Martyn Chamberlin
    Participant

    Bingo! Finally getting some traction here, Stephen. I installed that plugin, pulled up a user who was a Participant, and changed “View hidden forums” from “Default” (which was set to “Denied”) to “Allowed.”

    And then boom, the Participant account could then view the forums.

    Here’s the odd part though: we have 3 forums and they are all set to Private, not Hidden. So changing this setting shouldn’t have made any difference. Private forums are visible to Participants by default.

    Any ideas why this might be the case?

    I am now off to find a way to make a universal fix for our users so we don’t have to do this one by one…

    Thank you for your help, super appreciate it.

    #141210

    In reply to: Visual bbpress

    NarOneR
    Participant

    I just tried with a default theme but it does not work either.

    My plugin enable are :
    bbPress
    bbPress Enable TinyMCE Visual Tab
    Light – Responsive LightBox
    NextGEN Gallery by Photocrati
    Regenerate Thumbnails
    Relevanssi
    Responsive Lightbox
    Sidebar Login
    Theme My Login
    TinyMCE Advanced
    User Role Editor
    WP-PageNavi
    WP Minify
    WP Wall

    You can test on http://www.lsa-clan.fr/wordpress/forums (register is open)

    #141178
    Stephen Edgar
    Keymaster

    Try installing the plugin I linked below and compare the roles of your users in particular ‘keymaster’ to what the defaults should be in the codex.

    https://github.com/johnjamesjacoby/bbp-capabilities
    (Open a users profile from the Users section in wp-admin and scroll down)

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #141150
    piccart
    Participant

    Hi there!

    Thanx for answering! I’ve read your answer to a similar issue in an old post and I’ve already checked that, but unfortunately it seems that in the new versions, or at least in this installation, the bbpress class is added to the body of the post content and not to the page wrapper, so the sidebar is outside and I can’t target it with that class..

    it’s a bit weird though, cause it seems that the shortcode which calls the forum archive in the post content, is actually overriding the template chosen with the page attributes. it’s set as default template, but in the theme default page should be displayed the default sidebar, and in the forum page is displaying the forum sidebar instead, even if is set on default template and there is just a shortcode into the post content..

    walkingmiller
    Participant

    In case anyone else out there is having similar issues, I figured out a work-around. It is very hacky and I would love it if someone happened to have a better solution. In essence, the problem was with bbpress/templates/default/bbpress/form-topic.php. For some reason, the labels that were associated with bbp_stick_topic, bbp_topic_status, and bbp_topic_title were not wanting to adhere to the forms or drop down menus and the titles were being printed up by the forum title. To work around the issue, I just deleted the titles of the form and drop down menus. It is only a temporary solution, so I would love it if anyone had any ideas about why the labels might be breaking. I uninstalled every other plugin and reinstalled bbPress but still had the issue. Thanks for the help!

    #141134

    In reply to: The Keymaster

    James Dilworth
    Participant

    Same problem.

    I solved this by :

    Going into the BBPress Plugin settings
    Check Auto Role : Give everyone default access to Keymaster role. (Still available here)
    Update
    Change it back to the way you had it.
    The Keymaster role should now be available for individual users again

    #141132
    James Dilworth
    Participant

    I solved this by :

    Go into the BBPress Plugin settings
    Check Auto Role : Give everyone default access to Keymaster role.
    Update
    Change it back to the way you had it.
    The Keymaster role is now available for individual users again

    #141083
    mth75
    Participant

    Hello all,

    On my website i’m trying to use the wp-editor as editor for my bbpress forum (always latest stable version). I use the same code as I use for my WP comments section (to keep the appearances the same).

    The code I use does show the tinymce, doesn’t “parse” the content though (with an “ERROR: Your reply cannot be empty” as result.

    My guess is that I haven’t found the right parameters (***) in the wp_editor function. Help is much appreciated.

    Regards.

    Marc

     
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    function bbp_enable_visual_editor( $args ) {
    	wp_editor( '****', '****', array(
    		'media_buttons' => true, // show insert/upload button(s) to users with permission
    		'textarea_rows' => '10', // re-size text area
    		'dfw' => false, // replace the default full screen with DFW (WordPress 3.4+)
    		'tinymce' => array(
            	'theme_advanced_buttons1' => 'bold,italic,underline,strikethrough,bullist,numlist,code,blockquote,link,unlink,outdent,indent,|,undo,redo,fullscreen',
    	        'theme_advanced_buttons2' => '', // 2nd row, if needed
            	'theme_advanced_buttons3' => '', // 3rd row, if needed
            	'theme_advanced_buttons4' => '' // 4th row, if needed
      	  	),
    		'quicktags' => array(
     	       'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close'
    	    )
    	) );
    }
    
    #141070
    piccart
    Participant

    Hello!

    I am using the default template of bbpress and I’d like to customize it

    My issue is divisible in 3 parts:

    1- I’d like to cut off the “add your reply form” from the bottom of the comments list
    2- I’d like to make a custom page with the form, which I’ve seen I can make with a shortcode
    3- I’ll need to build up a button “post reply” on the topic page, which I think it will have to pass to the form page a variable with the id of the topic, otherwise it won’t be possible for that form to append the reply to the correct topic, isn’t it?

    I think I’ve found where to cut off the displaying of the form but I’d like you to confirm before I make mess. is it in this file:
    bbpress/templates/default/bbpress/content-single-topic.php
    and if I’d like to cut off the form from the topics archive lists as well, the file should be this:
    bbpress/templates/default/bbpress/content-single-forum.php

    point 2 should be easy, but I am wondering how I’ll have to pass the variable of the topic which has to be commented.. anyone can explain me how this works?

    in point 3 I have no idea.. I’ve browsed millions of files today and found millions of functions and hooks so I don’t know which I have to use and how. by instance I’ve found a bb_get_forum_id() and a get_forum_id() and who knows if there are more similar that I’ve missed. which has to be used to retrive the current topic id? and how it has to be used?

    Thank you very much for reading this topic, I hope someone will help me.
    Cheers!
    Andrea

    mallika12
    Participant

    I tried this using while creating forums page with the tag [bbp-forum-index], i selected the dropdown of page template to my custom page template but its not reflecting in the topics page and reply page and when point the forumindex page using the breadcrumb also its coming with default tempalte.

    Please can any one help regarding this. I feel there should be code where its picking default template page if you know where its picking i can manually put custom page template there

    Thanks in advance

    #141040

    In reply to: Last post by

    Stephen Edgar
    Keymaster

    It looks like the ‘Freshness’ column has been removed from your templates or your theme has custom bbPress templates that have removed the ‘Freshness’ column.

    What theme are you using and/or have you modified the default bbPress templates?

    #141037

    In reply to: Topics Freshness

    Stephen Edgar
    Keymaster

    The default ‘freshness’ is calculated by the last reply.

    Have you run each of the repair tools after your import?
    https://codex.bbpress.org/repair-forums/

    #141028

    In reply to: YouTube Embed Issue

    Stephen Edgar
    Keymaster

    The ONLY thing you need to do is make sure embeds are turned on for bbPress, that’s it and it is I believe enabled by default (I thought there was a setting in WordPress for this but the setting was removed and is enabled by default)

    Essentially you shouldn’t have had to do anything, just post a YouTube link in a topic or reply in your forum and it should work as you expect it should.

    #141027
    Stephen Edgar
    Keymaster

    Here’s the permalink to the translation ‘Search’ in GlotPress for English Australian.

    If you click ‘Details’ (you might have to be logged in) you will see each place ‘Search’ is listed for translation, one of those is templates/default/bbpress/form-search.php:17 and that is the one you are looking for.

    #141018
    synergywp
    Participant

    Hello,

    I think this may be a new issue, but, on line 134 of the default template bbpress-functions.php, and on line 141 for RTL, the script is loading with a relative path and therefore not adding https when necessary.

    Of course, when accessing site via https, this is giving a “insecure content” warning.

    I made a quick edit which is replacing line 134 with:

    'file' => get_home_url() . '/wp-content/plugins/bbpress/templates/default/css/bbpress.css',

    Keep in mind that may not work with every single install, but likely 99%. (those who have a custom wp-content or plugins dir)

    Thanks.

    wiste
    Participant

    The codex page for this is outdated and a lot of the threads are for older versions so here is a version for WP 3.8, bbPress 2.5.2.

    Resources

    Here are the pages from which I pieced this together.

    http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/
    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://perishablepress.com/bbpress-theme-template-files/
    http://www.hongkiat.com/blog/wordpress-child-themes-dev/

    WordPress Child Themes – What, Why & How

    Initial Setup

    Install WordPress and bbPress.

    Step #1: Create a child theme of your WordPress theme.

    Even though what you’re wanting to change is bbPress and not your WordPress, there are not separate themes for plugins, so you need to create a child theme of whatever WordPress theme you are using to have a place to put the bbPress plugin child theme files. This will ensure that any updates to bbPress or your WordPress theme will not overwrite your changes. Here is how you create a child theme:

    1. FTP to your website
    2. Go to ../wp-content/themes
    3. Create a new folder for your child theme. Name it yourtheme-child for the sake of organization.
    4. Create a new file called style.css and add the below, changing the valuesto the value for your child theme. The critical fields are Theme Name, Template, and the the parent theme directory name (which should be the same as “Template”) in the @import. Everything else is used by wordpress.org for categorizing templates so don’t stress if you don’t know what to put there:

    /*
     Theme Name: Your Theme Name Child
     Theme URI: Your website if you don't intend to publish a separate site just for your theme
     Description: A brief description of your child theme
     Author: your name
     Author URI: your website
     Template: parent-theme-directory
     Version: 1.0.0
     Tags:  whatever tags you might want to use for your child theme
    */
    
    @import url("../parent-theme-directory/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    5. FTP your newly created style.css to ../wp-content/themes/yourtheme-child

    Step #2: Add your bbPress Child Theme files to your WordPress Child Theme

    1. Create a folder called “bbpress” on your local machine.
    2. FTP to ../wp-content/plugins/bbpress/templates
    3. Download the contents of the “Default” folder to the “bbpress” folder on your local machine
    4. Edit the files you want to change for bbPress (see bbpress-theme-template-files link under resources above).
    5. Delete any files you haven’t changed. You can skip this step if it’s confusing, but you should try to only upload files you’ve changed.
    6. FTP to ../wp/content/themes/yourtheme-child
    7. Create a folder called “bbpress” inside yourtheme-child
    8. Copy the contents of the “bbpress” folder in your local machine to the “bbpress” folder inside your child theme folder.

    Step #3: Activate your Child Theme

    Once you have created your child theme and made changes to the bbPress files in the child theme, you need to activate the child theme in order to see the changes on your site.

    1. Log into your WordPress admin panel
    2. Go to Appearance -> Themes
    3. Find your child theme. It would be the same as the “Theme Name” you gave it in the first line of the style.css you created in Step 1.
    4. Click “live preview” and make sure nothing has gone horribly wrong.
    5. Activate the child theme.

    Since you didn’t change any files from your wordpress theme, the theme for the site will be inherited from the parent theme so the only changes you should see are the changes you made to the bbpress files that you uploaded to your child theme. The only problem I encountered was that because it was a new theme, my custom “header top menu” was not associated with the theme, so I just had to go into the menu and check the box to tell it to use that custom menu as the header menu.

    #140975
    Shawn74
    Participant

    Hello,
    thanks for the tip, it’s working perfectly…now i have a picture before the Forum Title…excatly what i need…

    Anyway i need to know how to edit it’s CSS style…

    I’m using Firebug and i was able to edit the CSS style for the topic’s thumbnails to get identical as the buddypress one…with a circle box as border…
    You should see here hxxp://www.thepanicroom.it/forum/forum/panics-room-forum/

    Unfortunately when i analyze the picture your code added, i have no idea on how to find a CSS line to modify…i get only html div span body etc etc

    I tried to change the class name to ‘Thumbnail’ and i got a perfect thumbnail…. i changed it to Avatar but no result…i also declred it exactly like the Buddypress do…but nothing to do, the picture come back to the default one…

    Please sorry for my really wild and bad english 🙂

    Thank you so much…

    Stephen Edgar
    Keymaster

    You should use define(‘WPLANG’, ‘ar’); as both WordPress & bbPress Arabic translations use ar

    https://translate.wordpress.org/projects/bbpress/dev/ar/default
    https://translate.wordpress.org/projects/wp/dev/ar/default

    #140953
    artkahlich
    Participant

    Regarding the current Forum subscriptions:
    1. Do they apply only to the current forum, or to sub-forums as well? I am seeing behavior that a subscription to a forum does ”’not”’ subscribe you to all sub-forums as well. Will I and all my moderators have to go and subscribe to each sub-forum in the entire forum tree?
    2. Do they apply only to new topics? Or to ask another way, do they also apply to all of a forum’s existing topic replies? Here again, I am seeing behavior that leads me to believe that I will only get a single new topic notification, but I will have to go and ”’manually subscribe”’ to each individual topic if I want to see replies to that topic. For administrators and moderators this would be nastily inconvenient behavior.

    The wording at https://codex.bbpress.org/forum-settings/ for precisely what subscriptions do appears ambiguous to me in these areas.

    Even though RSS for the entire forum is currently implemented, I still have a great interest in a simple email subscription that is equivalent. Simply put, the reason is simplicity for my users, moderators, etc., as well as for me as an administrator/implementer. While I can setup something using the RSS feed that would generate email notifications to all my moderators, I don’t want to for a variety of reasons including time to implement and potential security holes.

    A thought: you may decide to implement both “forum local” and “forum with sub-forums” subscriptions. When unsubscribed, the links would display as:
    ”’Subscribe”’ – if there are no sub-forums
    ”’Subscribe with sub-forums”’ – if there are sub-forums (the default)
    ”’Subscribe without sub-forums”’ – if there are sub-forums (user selectable)
    where the ”’without sub-forums”’ versus ”’with sub-forums”’ are 2 faces of a toggle link (similar to your Subscribe/Unsubscribe toggle link) controlling what the ”’Subscribe”’ link in fact subscribes the user to.

    If you choose to implement only a single behavior for forum subscriptions, I am ”’strongly”’ in favor of including all sub-forum new topics and replies. I can see every bbPress site administrator and forum moderator wanting this functionality.

    I also think it extremely counter intuitive to not include existing topic replies in a forum subscription. I hope you do already, but I have not experimented with it enough to know precisely how the forum subscriptions behave.

    NB: The “unsubscribe” bug may have clouded my observations of real forum subscription behavior.

    #140885
    AtlasCatalina
    Participant

    The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”.

    After I did that it worked.

    #140884

    In reply to: First post not showing

    AtlasCatalina
    Participant

    The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”.

    After I did that it worked.

Viewing 25 results - 3,451 through 3,475 (of 6,813 total)
Skip to toolbar