Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,676 through 2,700 (of 6,788 total)
  • Author
    Search Results
  • #155512

    In reply to: Search by user

    Matthew How About
    Participant

    Hello Wookey,
    Recently I’ve done code for this. This is not the best way to search, because the user can enter a display name instead of user login so it will not work. If someone in the future will know how to get user id from first and(or) last name I’ll be thankful.

    First add this input field to page with search box (remember to put it inside <form> tag)
    <input type="text" name="bbp_search_by_user" placeholder="Input searched username" value="" />

    That snippet doesn’t worked for me, so i made it in different way. I base on @netweb (Stephen Edgar) plugin, which is very similar to sevenspark code. Just added couple things like GET field, add query args if username is set and thats it.

    add_filter ( 'bbp_before_has_search_results_parse_args', 'ha_custom_search_by_username');
     
    function ha_custom_search_by_username() {
    	//Get username from input on search page
    $username = $_GET['bbp_search_by_user'];
    	$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
    	//check if empty
    	if(!empty($username)){
    		//Make ID from username
    		$user = get_user_by('slug', $username);
    		$user_id = $user->ID;
    	$args['author'] = $user_id;	
    	}
    	$args['post_type'] = $default_post_type;
    	$args['orderby'] = 'date';
    	$args['posts_per_page'] = '5';
    	$args['ignore_sticky_posts'] = 'false';
    	$args['order'] = 'DESC';
    
    	return $args;
    }

    Add this to function.php

    #155510
    jmodine
    Participant

    the solution to this is built in WordPress not not in bbpress. First make sure you have an actual page called forums then use short code to mate it your main forums index page. Once that is confirmed check your permalinks and make sure they are not on default. ( I usually use post name). Now your forums page should be showing as a page on your site. Then go to custom menu Dashboard>appearance>menus once there you can create many different menus and label where they will show up, or even call them through the widget area. But for your particular problem find the one called Main(top primary menu) then just add the pages you want to show up on that menu and delete the ones you don’t want to show up. (Be sure to uncheck automatically add top level pages).

    #155497
    Dirk
    Participant

    I installed it after I had the problem. I tried to fix bbPress capabilities with it. In the meantime I restored the default WP capabilities. But it had no effect on the menu.
    The first thing I did was deactivating all plugins but bbPress. Nothing happened!

    Now I switched to twentytwelve. But that did not fix it either.

    If it helps, I could send you the wp_capabilities entry (table: wp_usermeta) in the database of a user with the role Moderator.

    #155496
    Robin W
    Moderator

    ok, don’t know what bbPress Advanced Capabilities does but it might be the issue

    Plugins

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

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #155491
    Dirk
    Participant

    I deleted the user on a local test-installation with MAMP, where I could reproduce the problem. It made no difference.

    Here is what I can see and do in WP frontend and backend:

    Frontend
    – Logged in as Keymaster, I can do everything. I can see all bbPress related menu items in the WP Toolbox on top of the page.
    – Logged in as Moderator, I can see the bbPress related menu items Topic and Answer in the WP toolbox, but not Forum. I can start a new forum on a page with the shortcode [bbp-forum-form] as a child-forum (same behaviour as Keymaster starting a forum with this shortcode).
    – Logged in as Contributor I don´t have any bbPress related menu item in the WP toolbox, but I can start Topics and answer in the forum itself.

    Backend (Dashboard)
    – Logged in as Keymaster I have every bbPress menu item.
    – Logged in as Moderator I only have Topics and Answers as menu items.
    – Logged in as Contributor I don´t have a bbPress menu at all.

    For me it looks like every role has the corresponding capability, but the menu items of the role below, except the Keymaster.

    What I also tried was changing capabilities with the plugin bbPress Advanced Capabilities and restoring the WP default capabilities with Capability Manager Advanced. No difference.

    Jacob
    Participant

    @Jeff – Thanks Jeff.


    @Robin
    – What I want is highlighted in the question with a blockquote. So it should be pretty obvious. I am sorry for not being more explicit in my demands – but it really wasnt my purpose to suggest on specific features – just something basic as core-developed and planned groups-functionality. The intention was to get an understanding on what to expect. A word from John James Jacoby himself – just saying for example “well in the near future things arent going to go faster than the previous years” – then I would know what to expect ….. Again I refer you to the developing roadmap. Its not exactly going fast. One of the features I was looking forward to having integrated was using bbpress for comments in wordpress. Or any kind of functional integration.

    However I did forget to put in group-based – along with the finegrained, nodal permissions. And yes, I am aware of the roles and capabilities. But thanks for that. And along with that I dont mean relying on a newly-developed plugin like bbpres private groups or installing buddypress. I meant having it default and taking into planning consideration. Speed is fairly obvious. Security is just a general concern, nothing really specific. But enough to keep me away from newly developed plugins.

    I am sorry for any thoughtlessness in formulating my intention – and again do not mean to be arrogant. But something concrete from the team behind would be nice. I am sorry for not being more specific about the groups-thing. But I am not being specific, because that is not the point. The point is highlighted in the quote.

    I can see now that it wasnt a well-formulated frustration. Wish I had made it better. So if someone could just delete it, it would be fine.

    #155435

    In reply to: 2 Separate forums

    Robin W
    Moderator

    maybe a theme or plugin issue

    Plugins

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

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #155411
    xprt007
    Participant

    Hi

    The recipe plugin seems to have had separate issue in addition as its links where not accessible at the expected urls according to default settings.
    That was dealt with.
    Around that same time as I was first using that plugin & also setting up the bbpress forum is when I noted something wrong with bbforum forum at /forums.
    That is when I turned to bbpress.
    It seems to be the case as I found after repeated testing the other day as I now need to finish the site & hence visiting the issue again, that if you install bbpress first & use default settings, and later after activating recipepress reloaded,the recipe plugin links do not work.
    I also discovered that if on the other side you deactivate bbpress, the existing recipe plugin links work.

    So to sum it up, this specific issue is still there, as described above.
    If it was possible to use the short code method you suggested & still be able access bbforum settings from its admin page, etc, I would settle for that, but the time I last tried settting up a forum, I got the impression one has to use shortcodes all thru, with no equivalent centralized settings page, which made it rather complicated to administer the forums & have an overview.

    Of course better would be if there was no apparent conflict.

    Regards

    #155400
    xprt007
    Participant

    Hi

    I’m back after a while. 😉
    After a lot of research, enabling, disabling this & that, I discovered this issue only comes up if the recipepress reloaded plugin is activated.

    It is recommended for the main recipe page to be at /recipes.
    If you first install this, then whatever you do, bbpress will not be accessible at the recommended & preferred /forums.
    Instead as explained above, if you try to access the forums at /forums, whereas the url remains correct & pointing to /forums, the content of the blog front page is loaded & if I remember well, any latest forum content appears listed as one of the normal blog posts!

    I tried however to uninstall bbpress & disabled all other plugins, including the recipe plugin, then re-installed bbpress. The set up run normally & the forums were accessible at /forums. When I reactivated recipepress reloaded, all its links, including /recipes returned a page not found error. It is only when bbpress is disabled that the recipe pages are accessible again.

    Conclusion: both plugins cannot run together, at least with default settings (?).

    Quite perplexed regarding what to do next since the site has to shortly go online & both the recipe & forum sections are integral partS. I cannot put off the issue any longer.

    In suggestion above, you suggested an alternative solution of using shortcodes.
    I discovered at the that the forum I created, or at least it seemed works independent of the settings on the bbpress settings & admin pages & everything had to be done with shortcodes(?), or is there a possibility of an equivalent central admin area?
    Or am I mistaken?

    Ideally, a solution to the apparent conflict between the 2 plugins would be great, but if it cannot be gotten (any time soon/at all), is there any equally easy way to manage forums created via shortcodes?

    Some further guidance would be very much appreciated.

    Regards

    #155325
    youi75
    Participant

    Hi everyone. I am currently working on a Turkish site which uses Buddypress as well.
    The translation here seems to be a great start, but it seems to be incomplete as well:

    https://translate.wordpress.org/projects/bbpress/2.5.x/tr/default

    Do you by any chance know of a more complete version (if I understand correctly. Cagatay has combined multiple ressources / “I download bbpress turkish files from various sources”)

    Would you mind sharing your language files with me? Maybe we can alspo work together in translating the remaining fields so we all end up with a complete set in the Turkish language.
    All the best.

    #155309
    Robin W
    Moderator

    ok, le’s start by eliminating themes and plugins

    Plugins

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

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #155289
    Robin W
    Moderator

    ok, It could be a theme or plugin issue

    Plugins

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

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #155274

    Topic: back up settings

    in forum Installation
    shahriarsau
    Participant

    I wanted to go back to default theme and not use child theme. I exported settings in back up saved. went and activated regular theme and pasted export settings in then hit import, waited for it to refreash and hit save, but all the color settings are old and not even right from old. Did i do it correctly?

    #155181

    In reply to: Import from vBulletin

    Stephen Edgar
    Keymaster

    1. Custom vBulletin BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in vBulletin or after importing into bbPress using phpMyAdmin.

    Indeed this is now fixed to work with vBulletin’s default YouTube BBCodes:
    Specifically the two following BBCodes are the only ones supported (many vB forums used to use custom BBCodes and this was primarily the main issue here)

    
    // Replace '[video=youtube;$1]$2[/video]' with '$2"
    // Replace '[video=youtube_share;$1]$2[/video]' with '$2"
    

    For example [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=MfW2UJMIQvQ[/video] will be replaced with just the YouTube link http://www.youtube.com/watch?v=MfW2UJMIQvQ, bbPress (and WordPress) will automatically embed the video using the direct URL.

    2. All ‘Ordered Lists’ will be displayed as numerical lists.

    This is also fixed

    3. You may find extra page breaks <br> and paragraph <p> elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around ‘blockquotes’ and ‘lists’

    This is fixed also 🙂

    #1 If I create the exact bbcodes in BBPress prior to the import, I assume this would rectify this area correct?

    Yes, modify your custom BBCodes to either a) Match the supported vBulletin BBCode above or b) completely strip the vBulletin BBCode so just the YouTube link remains 🙂

    I have updated the codex article and removed quite a few things that were listed there that are now fixed including full support to convert user passwords and the items in red in this image are fixed and/or supported 🙂

    With that said “some” of these features are not in the currently shipped bbPress 2.5.4 such as Forum and Topic subscriptions and guest/anonymous topic and reply support, I’m going to post an announcement here on the site in the coming day or two on the improvements and where and how to get this test release.

    #155028
    Cagatay Belgen
    Participant

    Hello,
    It has been 2 years since I couldn’t resolve this issue.
    I have a bbpress forum installed on my wordpress site. http://www.outdoorhaber.com/forum

    The site is in Turkish.

    Some information for you to eliminate errors

    I added define(‘WPLANG’, ‘tr_TR’); to wp-config
    I exported https://translate.wordpress.org/projects/bbpress/2.5.x/tr/default po and mo files
    I renamed the exported files to bbpress-tr_TR.po and bbpress-tr_TR.mo
    I put those 2 files both in wp-content/plugins/bbpress/languages and wp-content/languages/bbpress (I tried to put files only in 1 of the folders and vice versa, but did no good)

    I am about to have a complete brain meltdown, just because of bbpress language issue.

    The weird thing is; I download bbpress turkish files from various sources. 1st the official project page (by exporting), then some people translated the files.. I want to translate “Last comment” but there is no match (nothing to translate) in po file. (The one exported from here https://translate.wordpress.org/projects/bbpress/2.5.x/tr/default)
    Come one please export a po file from the link above, and ctrl+f “Last comment” in poedit. You will see, there is nothing to translate..

    Here is a screenshot for what I mean

    Screenshot

    Here are my po and mo files

    http://www.outdoorhaber.com/wp-content/languages/bbpress/bbpress-tr_TR.po
    http://www.outdoorhaber.com/wp-content/languages/bbpress/bbpress-tr_TR.mo

    The reason why I gave so much detail is to eliminate unnecessary “did you do this, that” replies.

    Please someone help me.

    #155126
    Robkk
    Moderator

    see if its a plugin or theme issue

    deactivate then reactivate your plugins one at a time to see if its a plugin issue.

    switch to a default theme like twenty fourteen and see if that fixes anything

    #155106
    phatmass
    Participant

    More specifically, does anybody have working group forums that are not using the WordPress default permalink settings?

    I have BuddyPress group forums on my site, but the topics will only show the first page. In other words, the topic pagination does not function properly, and my guess is because I am using “post name” for my permalink settings.

    I just was wondering if ANYBODY has functioning group forums because I can’t find any examples.

    #155055
    petriknz
    Participant

    In the editor I need to, at the very least remove the code button.

    Is there any way to use the default WordPress Editor where users can see the visual results of their editing instead of the html markup text.

    Users of the forum I’m creating are not HTML coders and the way this works will totally confuse them. Also switching it off in settings makes matters worse as then they are presented with an instruction box showing the HTML tags.

    #155049
    colinsp
    Participant

    I have used the code in the documentation to turn on the visual editor and it is working fine.

    However, when you start or reply to a topic neither editor is selected by default. Is it possible to enable the Visual Editor by default? If not is there any way to remove the text editor so that visual is the only option and hopefully that will select by default?

    #154982
    johnmontfx
    Participant

    I’m migrating from a vbulletin forum (3.x) and I’ve figured out how to do a bit of customization, bringing over custom fields in the user table. But one thing I’m having a tough time figuring out is how to bring in the first_name and last_name to the usermeta table.

    For some reason, the following does not work:

    		// fx: last name Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'user',
    			'from_fieldname' => 'lastname',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'last_name'
    		);

    But the following does:

    		// fx: last name Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'user',
    			'from_fieldname' => 'lastname',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'fx_last_name'
    		);

    Simply by changing “last_name” to “fx_last_name” it works. I’d prefer to have it bring it in as the WordPress defaults. I understand I can force a move into the correct field once I import, but as I’ll have about 24 hours on the migration day, i’d love to get it accomplished in the import script.

    Thanks for any insights.

    #154975
    joop.stringer
    Participant

    It’s incredible … bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem. Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972

    Except that all my othe links are not working anymore 🙁

    So I wonder where the actual problem is … WP or bbPress

    #154974
    joop.stringer
    Participant

    After a bit of digging around on the forum … bbPress seems to be in trouble when your permalinks (in WP) are set to “TopicName” and your usernames contains spaces. If you change the permalinks (in WP) to “default” there’s no problem.
    Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972

    So I wonder where the actual problem is … WP or bbPress

    #154972
    joop.stringer
    Participant

    bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem.

    So I wonder where the actual problem is … WP or bbPress

    #154900
    shabus
    Participant

    Hi,

    I have a problem where pagination is not working in my theme.

    I am doing template redirect in function.php to template file of forum, topic or reply if URL is like http://domain/forums/&#8230;
    Right templates are loaded and right content is shown, but pagination is not working, first page is always shown/loaded.
    Pagination appends …/page/{page}/ to URL when page is selected, but always first page of data loads.
    I have tried to set page manually, among others, $bbpressInstance->forum_query->paged, but no luck.

    My question is, how and where to set page that should be loaded, and how to track where is the problem. Because problem is in my theme, pagination works in WP default themes.
    How to debug this?

    I am on deadline, but stuck on this basic feature and should appreciate some pointers how to debug this.

    BBPress forum is included in my template file through shortcode
    echo do_shortcode('[bbp-single-forum id='.$id.']');
    Topics are included like
    echo do_shortcode ( '[bbp-single-topic id=' . $id . ']' );
    And Replays like
    echo do_shortcode ( '[bbp-single-reply id=' . $id . ']' );

    #154882
    Nicolas Korobochkin
    Participant

    @schrully do you use external plugin and send emails from remote SMTP server?
    I also have this problem on my multisite. Maybe it occurs because bbPress send emails with BCC (one email for all subscribed users and mail services like gmail delete emails thinking that it’s spam)?
    I remove default functions that send emails and write custom functions to send email notifications with cron and all works correctly right now.
    I don’t digg into this issue with default functions. I think the last version of bbPress have bug because previous release sends emails on my site 🙂

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