Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 3,676 through 3,700 (of 6,813 total)
  • Author
    Search Results
  • #137589
    Kaliceos
    Participant

    I checked the code of this plugin and it uses a filter on bbp_has_forums that tries to catch the $args from the original query but they are not transmitted through the filter in bbPress, so it uses the default ones and doesn’t take care of the post_parent argument. You should try to contact the author of the plugin, maybe he can alter the query without parsing all args again. The Codex says it is possible with $query->set().

    #137575
    vetto
    Participant

    WP 3.6.1
    BBP 2.4
    (buddypress 1.8.1 if that’s relevant)

    I am trying to style my loop-single-reply template.
    I am working on a copy placed in my wp_theme/bbpress directory…it is a copy of the default.

    The problem is in the bbp reply DIV (that contains the author div and the content div). I need to get the content function to stop automatically adding “div” tags around the content (I want to use span tags).

    I have tried to follow the rabbit trail through the files to figure out where these DIV tags are getting added, and the best I can figure is that there is a filter putting them in there.

    I only need the actual content and so I have commented out the filter applied in includes/replies/template.php around line 525, and simple replaced it with return $content

    That worked, but now bbcode is not working. Is there a way to stop this behavior without altering the bbpress plugin files (which will get destroyed during an upgrade)?

    My forum is private, but I can set a public test one up if that will help…

    #137550

    Topic: Editing

    in forum Troubleshooting
    jason103
    Participant

    I have installed bbPress forums into my Genesis/Dynamik Website Builder parent/child theme and it works nicely. However I have some confusion on how to alter the CSS of the bbPress forums.

    The general site settings have a black background with white font used. The white font is displaying on the bbPress forum pages, but not the black background.

    This will be a question for those who are familiar with Genesis/Dynamik Website Builder.
    I have put the following code into the Genesis/Dynamik Custom CSS field but it still displays with the default light background colors in bbPress posts.

    #bbpress-forums div.odd, #bbpress-forums ul.odd {
    background-color: #222222;
    }
    
    #bbpress-forums div.even, #bbpress-forums ul.even {
    background-color: #444444;
    }

    Any assistance would be greatly appreciated.
    Thanks,
    Jason Davis

    #137535
    inspirationally
    Participant

    Found out –
    you can simply use Widgets inside your template.

    I also installed the tehnik-bbpress-permissions plugin to not show the hidden forums topics and put this into my template:

    <?php the_widget( 'Tehnik_BBP_Replies_Widget', $instance, $args ); ?> 
    

    This should work with the default BBP Replies Widget, too (just need to find out the name of it)

    Will try a bit more customization today with an eye on https://codex.wordpress.org/Function_Reference/the_widget

    Another possibility is manually:

    	<?php do_action( 'bbp_template_before_topics_index' ); ?>
    
            <?php if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) ) : ?>
                    <?php bbp_get_template_part( 'bbpress/loop', 'recent-topics' ); ?>
            <?php else : ?>
                    <?php bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); ?>
            <?php endif; ?>
    
    	<?php do_action( 'bbp_template_after_topics_index' ); ?>
    #137478
    Fredriks
    Participant

    Thanks for answer!

    I’m afraid that doesn’t work. Even tried removing the total line (29) to see if the whole “title” disappears, which it didn’t. Removed booth in my theme “/wp-content/themes/my-theme/bbpress/form-reply.php” and in the plugin /wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php

    Is there something I’m doing wrong?

    #137464
    Skeary
    Participant

    forums/user/test/
    is rendering very weirdly:

    <div class="entry-content" itemprop="text"><p>Profile Topics Started Replies Created Favorites Subscriptions Edit Profile Forum Role: Keymaster Topics Started: 0 Replies Created: 1</p>
    </div>

    which looks obviously incorrect because it’s missing html tags in between things.

    I tried putting a die; at the bottom of templates\default\bbpress\user-profile.php and the page rendered properly, but all the other profile type pages are still broken. Removing everything from my functions.php doesn’t help either.

    What could be going back and stripping out the html tags?

    I am developing in a Genesis child theme and installed a bbPress Genesis Extend plugin.

    #137377
    Crayz
    Participant

    Hello, I have a default WordPress install (latest version) with a default bbPress 2.4 install using TwentyTwelve, no files have been modified. The replies pagination does not work, though the pagination for topic listings is.

    Does anybody else have this issue? I’m going to take a look at the pagination functions and see if I can come up with a fix

    Thanks.

    #137349
    elpju
    Participant

    As the title says, is it possible to select a default forum that is set when people create a new topic? The thing is I only have ONE forum and it’s just crazy that people have to choose it before being able to post.

    Right now the default choice is (No Forum) and when you click Submit with No Forum posted, you get this: ERROR: Forum ID is missing.

    Hope some bright mind comes along and sees this post.

    #137329
    BenHanna
    Participant

    The buddyypress groups have also lost their forums.

    i have gone to settings and tried to fix this but it doesnt change anything…also the forum index page is now the travel forum despite having default forum checked in settings. This all came about after I tried to repair forums. You can view all this at digitalnomadcommunity from the forum dropdown

    Please help 🙁

    #137296
    MoniqueR
    Participant

    My visitors can post new topics and replies. They don’t have to register. But, by default they can not give tags to their topics or replies. How can I enable visitors to be able to give topic-tags?
    In my opinion I think it is strange that there is no option to enable or disable this.
    BBPress give the option to enable/disable anonymous posting, so why not embed an option where you can enable/disable tags for anonymous posting

    I use BBPress 2.4 and WordPress 3.6.1.

    #137264

    In reply to: Duplicate Page Titles

    Todd – WireFlare
    Participant

    FreeWPress,

    What using this assumes:

    1 – That you are using BBPress version 2.4
    2 – That you don’t have anything else modifying these titles
    3 – That you haven’t changed the structure of the titles via the core files.
    4 – Your user slugs are as follows:
    User Base :users
    Topics Started :topics
    Replies Created :replies
    Favorite Topics :favorites
    Topic Subscriptions :subscriptions

    Following the above I have no clue why you would see “Profile Of”. The way that BBPress generates this Title is clearly shown on line 2563 of /wp-content/plugins/bbpress/includes/common/template.php which shows:

    	} elseif ( bbp_is_single_user() ) {
    
    		// Current users profile
    		if ( bbp_is_user_home() ) {
    			$new_title['text'] = esc_attr__( 'Your Profile', 'bbpress' );
    
    		// Other users profile
    		} else {
    			$new_title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$new_title['format'] = esc_attr__( "%s's Profile", 'bbpress' );
    		}

    (Note that your file may contain $title in lieu of $new_title, this is because we are using a forked version, but that doesn’t change anything.)

    Therefore, the output of this should be either “Your Profile” or “Username’s ($s’s) Profile”. No where in that is “Profile of”. If you click on your profile here on bbpress.org you’ll see that it says “Your Profile” as well.

    Please check that everything in 1-4 is correct. This is the default way that BBPress is setup.

    Hope that helps. I have also added these requirements to my blog post to help clarify.

    TaylorNotThatSwift
    Participant

    If you have BuddyPress installed, this should work: mysite.com/members/wordpressusername/

    If it doesn’t work you can just go to a forum thread and click the link to the profile of someone who has made a post.

    BuckyOHare
    Participant

    mysite.com/forums/users/johnsmith

    Where john smith = who ever is currently logged in. Is there a default url, php or otherwise, to link the user back to their BBpress profile? I would imagine mysite.com/forums/users/ should do the trick but it doesn’t and I’ve tried a ton of other things. Does anyone have any idea about this basic functionality?

    #137162
    #137104
    PureLoneWolf
    Participant

    Hi there

    The theme itself doesn’t supply any bbpress templates, so I copied loop-single-forum.php from the bbpress default theme and created a theme/bbpress folder and dropped it in there.

    http://pastebin.com/dARzjbvb

    There is no loop-forums.php file in there at the moment.

    Many thanks

    #137084
    Kaliceos
    Participant

    Don’t worry, it happened to me once, that’s how I discovered the existence of this menu ^^

    For the function, have you tried what I said a few posts before :

    Otherwise, you can edit (or create from /wp-content/plugins/bbpress/templates/default/bbpress/) your theme’s /bbpress/loop-single-forum.php and edit the bbp_list_forums() line 30 to bbp_list_forums(array (‘separator’ => ‘<br />’)). That should do the trick.

    That may work as it doesn’t require the use of bbp_parse_args() which seems to be the problem in your case.

    #137081
    inspirationally
    Participant

    Allright, another thing I need help with:

    In WBB, there's the field isClosed to create a WordPress status from it with this:
    // Topic status (Open or Closed)
    		$this->field_map[] = array(
    			'from_tablename'  => 'wbb1_1_thread',
    			'from_fieldname'  => 'isClosed',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_status',
    			'callback_method' => 'callback_topic_status'
    		);

    and

    public function callback_topic_status( $status = 0 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'closed';
    				break;
    
    			case 0  :
    			default :
    				$status = 'publish';
    				break;
    		}
    		return $status;
    	}

    But there’s also a field called “isDeleted”, so I could also use

    `// Topic status (Deleted)
    $this->field_map[] = array(
    ‘from_tablename’ => ‘wbb1_1_thread’,
    ‘from_fieldname’ => ‘isDeleted’,
    ‘to_type’ => ‘topic’,
    ‘to_fieldname’ => ‘post_status’,
    ‘callback_method’ => ‘callback_trash_status’
    );`

    and

    public function callback_trash_status( $status = 1 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'trash';
    				break;
    
    			case 0  :
    			default :
    				$status = 'publish';
    				break;
    		}
    		return $status;
    	}

    The second, though, would overwrite the first, so that even closed topics that are not trash have the status publish again. Is there any chance to combine these two?

    #137073
    PureLoneWolf
    Participant

    I’ll take a look, but I should point out that this issue is occurring with all themes, including the default BP theme. I am starting to think that something has gone screwy with bbPress, especially as I am unable to add any forums to the menu (the Forums page is no problem)

    I am going to download the theme that is working, and the bbpress plugin from the working site and upload over the top and see if that makes a difference.

    Cheers

    #137067
    Stephen Edgar
    Keymaster

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ’1′ WHERE post_author = ’2′; and it will count for the forum, too?

    If a user already exists in WordPress during the import a new user will be created called ‘Imported_Username’, you can go to wp-admins user panel and when you select ‘Delete User’ you will be prompted to delete all posts or attribute them to another user, select the later and all the topics/replies etc will be attributed to the user you selected.

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    I am going to look at passwords next week for all the importers as my skills with PHP are only just beginning so this is all a bit tricky for me at the moment. 😉

    So the best workaround is to have the users reset their password by email for now.

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    Go to bbPress tools and run the repair tool ‘Remap existing users to default forum roles’ and that will do the trick. https://codex.bbpress.org/repair-forums/

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    If the passwords are not being converted you do not need to keep it, though I don’t see any issues why you would need to delete it.

    Speaking of keeping it, can we include your WBB v3 Importer and distribute it with bbPress?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    Currently bbPress only has: https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Visibility: decide whether your forum is public, private or hidden.
    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    The translator table is not kept and the old user ID is stored in wp_usermeta as per this item in the ‘Example.php’ importer.

    https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters/Example.php#L458

                    // Store old User id (Stored in usermeta)
    459	                $this->field_map[] = array(
    460	                        'from_tablename'  => 'users_table',
    461	                        'from_fieldname'  => 'the_users_id',
    462	                        'to_type'         => 'user',
    463	                        'to_fieldname'    => '_bbp_user_id'
    464	                );

    I’ll take closer look at the importer and structure you linked to over the weekend and post back with anything else I can think of.

    #137051

    In reply to: breadcrumbs missing

    jralston
    Participant

    I have found the template tag: `/**
    * Output a breadcrumb
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    * @uses bbp_get_breadcrumb() To get the breadcrumb
    */
    function bbp_breadcrumb( $args = array() ) {
    echo bbp_get_breadcrumb( $args );
    }
    /**
    * Return a breadcrumb ( forum -> topic -> reply )
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    *
    * @uses get_post() To get the post
    * @uses bbp_get_forum_permalink() To get the forum link
    * @uses bbp_get_topic_permalink() To get the topic link
    * @uses bbp_get_reply_permalink() To get the reply link
    * @uses get_permalink() To get the permalink
    * @uses bbp_get_forum_post_type() To get the forum post type
    * @uses bbp_get_topic_post_type() To get the topic post type
    * @uses bbp_get_reply_post_type() To get the reply post type
    * @uses bbp_get_forum_title() To get the forum title
    * @uses bbp_get_topic_title() To get the topic title
    * @uses bbp_get_reply_title() To get the reply title
    * @uses get_the_title() To get the title
    * @uses apply_filters() Calls ‘bbp_get_breadcrumb’ with the crumbs
    * @return string Breadcrumbs
    */
    function bbp_get_breadcrumb( $args = array() ) {`

    But I haven’t any idea how to use it. I know I need to add the function into functions file but I need the actual function. Then I need to call that function in the template file. Suggestions?

    #137047
    Tux Kapono
    Participant

    Per @sadr’s comment, 5 comments in, what is the BuddyPress Group Forum integration improvement? I just posted difficulties I’m having with it here: https://bbpress.org/forums/topic/how-to-change-default-forum-when-posting-new-topic/

    #137046
    Tux Kapono
    Participant

    Hi all, how does one change the default Forum for posting a new topic on the /forums page? I’d like it to be a group I created called ‘General Discussion’. I had this working fine before migrating from BuddyPress forums to bbPress.

    See http://destinationli.org/forums. The default is ‘Group Forums’, and the problem with that is that when one clicks on ‘Group Forums’ within the newly posted topic, it displays all the other groups first, with the relevant topic at the very bottom.

    Ideally, I’d like to delete ‘Group Forums’ as an option, unless I’m missing something.

    #137043
    acekin
    Participant

    Will it remap the existing roles “properly” and not revert everyone to whatever he default roles is? If latter, then I have to go and change some manually. If I knew how this would work I would have tried it sooner.

    I put a check mark in the box “Automatically give registered visitors the forum role” under Forum User Settings last night. As soon as I clicked Save the Forums/Topics/Replies came back. This morning they are still visible, I am not sure if that was a fix or not.

    #137035
    Kaliceos
    Participant

    Hi,

    I’m in the process of migrating a phpBB forum to WordPress with bbPress. I don’t know if the bbPress style is better but my users are used to the phpBB style for displaying Forums on the main page. So I tried to reproduce that layout in bbPress using categories. With the default theme, I was not happy with the way it looked. After a quick search in these forums, I saw some interesting topics from @lynq (here and there) but it didn’t work as intended in the last bbpress release and ticket #1958 has been moved to 2.6.

    So after a few hours of searching codex, and a lot of tries, I managed to do what I wanted. As there is still some demand in Lynq’s topic, I thought I should share my little work.

    I’m not a developper, so my code may be a little messy, but it works as intended. I’ve tried using the bbpress functions, and commented my code. If any PHP expert would like to review it and make it better, any feedback is welcome.

    The only file to change is loop-forums.php with this code.
    You just need to create it and paste the code. Then upload it to /wp-content/your-theme/bbpress/. Use a child-theme if you don’t want to loose it on next theme update.

    The forums are not yet online, so here are some screenshots with descriptions. (In French, because, as you may have noticed, English is not my native language 🙂 )

    I’ve tested many situations (even a category inside a forum, which bbpress doesn’t consider anymore as a category, probably normal behavior) and I think everything works as intended. Feel free to report any bug.

    #137027

    Did you try repairing the roles via “Tools” -> “Forums” -> “Remap existing users to default forum roles”?

    That usually works and is a fix that sticks.

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