Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 3,126 through 3,150 (of 6,813 total)
  • Author
    Search Results
  • boblebad
    Participant

    Hi

    I’m at the part of my coming website, where i need to fit bbPress layout to my needs.

    It’s a dating/friending site where i use Sweet Date theme, which uses Buddypress for members and bbPress for forums.

    As per default bbPress posts status’s at the top and bottom of every forum. I have some forums that only serves as main forum for sub-forums, and therefore in these i don’t want/need the notifications, that there no forums/topics in this forum.

    How is this done the right way, and if, what files do i need to copy and edit to make it work ?

    It would also be nice if members could comment on a post, but not create new topics.

    I tried using the page.php template, but it uses different styling, so the text is another font and weight, i need the bbPress layout šŸ™‚

    EDIT: Forgot that i need to be able to have right sidebar on the pages as well.

    All the best
    Carsten

    #146389
    Stephen Edgar
    Keymaster

    Sorry my dump wasn’t successful in helping you out here…

    Your dump was fine, it was just for quicker for me to install the plugin and have the examples included, if I wasn’t so tired the other night I would have done that in the first place and not asked. šŸ˜‰

    Slug vs. stub, I missed that one, I tried your version on my test install and it works !! It converted forum / topics / replies. Thanks! Couple of issues, questions, comments…

    Awesome

    In WPS terminology, there’s one forum made of categories. They can be nested. Along with subforums, they may contain topics with replies. One of these cats may be made the ā€œdefault categoryā€ which users will be prompted with when posting in the forum frontpage, that’s ā€˜symposium_cats.defaultcat’. If not set, the first of the list will be the default. I’m not sure what happens if two or more cats are made default…

    Cool, for example per this picture is what you are saying if I understand correctly is that I could choose the ‘Sun Dreesses’ forum to be the default forum selected when clicking ‘New Toipic’ from the WPS forums hopme page it will default to showing the ‘Sun Dresses’ forum as the destination for my topic unless I select another forum?

    If that is the case then we can ignore this as we do not have that functionality in bbPress.

    ā€˜Allow new topics’ will basically close the category to new topics. Likewise, in a topic there’s a checkbox to allow new replies or close the topic.

    I already implemented this for topics and partially for forums, I will fix this for forums shortly.

    ā€˜remote_addr’ is for monitoring spammers, I don’t think it deserves much interest in importing forum content as it’s mainly a short-time asset.

    We do use IP addresses for Akismet and spam protection, we have some upcoming updates for this that will also take into account the users existing history on the site and from emory this can include the users IP address so I will take a look and see what can be done to add support for IPv6 as currently we only support IPv4.

    I’ll go through your callback functions tomorrow, but a quick comment about values in WPS: they are either ā€˜on’ or anything else, possibly not set, so it’s better to revert the switch and test against the ā€œcase ā€˜onā€™ā€ and any other ā€œdefaultā€ ?

    That is what I have done for closed topics and will do the same for closed forums.

    The group forum post from my demo install was converted. In the list of topics it is indicated as ā€˜no forum’ which is true (as per my previous post). We should either create a forum (named like the group itself for instance) or discard group forums topics altogether (WHERE symposium_topics.topic_group != 0).

    phpBB has a similar sceanrio for a special sticky post, it is not assigned a forum. bbPress supports topics not having a forum so this technically doesn’t break things but we don’t have a ‘view’ that can show us topic s that are not in a forum.

    I haven’t tried the WPS groups but I will create one and see what we can (or cannot) do with them.

    About importing users, you raise an interesting point. I’d like to understand if this tool is a converter or an importer. Being located in a folder called /converter/ I had assumed it should work within the same WordPress install and convert it from one plugin to another, but you seem to move it towards the import of data accross platforms. Incidentally, I have been wondering why I need to fill the ā€˜Database Settings’ with db name / user / password / prefix, while I’m converting an existing forum within the same base. I’m happy with both, although I would tend to consider that most WP-to-WP imports will be performed within the same site…?

    I would say it is more importer than converter though interchanging those terms is not much of a stretch as we do not only import stuff we also convert stuff then import :/

    In total aside from WPS the only other importers that are also plugins ontop of WordPress are Mingle and SimplePress, the other 23 in most sceanarios would be a seperate database from the WordPress database. To extend the same issue I stated previously on how to handle users the same case applies, you are not explicitly limited to adding the bbPress plugin to your existing WP/WPS install and importing your data, you can also create a fresh WordPress install with a fresh database and import your data into that. So in theory we could ‘hide’ the database settings IF we knew your intented scenario before the fact. It would be nice in a future iteration to make the importer a ‘step by step wizard’ and we could then do such things and many more things to make the process a little less daunting…

    The other topics I’d like to bring at some point in our discussion are the attachments and the avatars. I’m not sure yet how bbPress handles attachments, for WPS they are physically stored in a location set from the ā€œparamsā€ tab, and displayed either online or as links (depending on a setting). As far as avatars, once WPS is deactivated they are all gone, is anything possible or is this too dependent upon the plugin the admin may install for avatars ?

    There is a post in the Kunena importer thread where @cybnet has written an attachment importer with details on how to change it for your own Kunena forum. The source is here and no doubt could be adapted for WPS.

    Kunena converter for bbPress 2.4

    Kunena converter for bbPress 2.4


    https://github.com/cybnet/kunena-attachments-to-bbpress/blob/master/kunena-attachments-to-bbpress.php

    Edit: I should have added that bbPress does not include support for attachments, there is one or two plugins that do add support for attachments so I would look to using one of those and use that plugins architecture to facilitate how the attachments are handled. We’d like to support attachments in bbPress ‘one day’ though we have some bigger implementation details to work out before we have a crack at this.

    Avatars are a bit trickier as bbPress nor WordPress do not support custom avatars for user profiles out of the box. There are many plugins for this so at the moment this is not something we can support. We can’t make avatar import support the hundres of avatar plugins available.

    #146384
    lagrou
    Participant

    Sorry my dump wasn’t successful in helping you out here…

    Slug vs. stub, I missed that one, I tried your version on my test install and it works !! It converted forum / topics / replies. Thanks! Couple of issues, questions, comments…

    In WPS terminology, there’s one forum made of categories. They can be nested. Along with subforums, they may contain topics with replies. One of these cats may be made the “default category” which users will be prompted with when posting in the forum frontpage, that’s ‘symposium_cats.defaultcat’. If not set, the first of the list will be the default. I’m not sure what happens if two or more cats are made default…

    ‘Allow new topics’ will basically close the category to new topics. Likewise, in a topic there’s a checkbox to allow new replies or close the topic.

    ‘remote_addr’ is for monitoring spammers, I don’t think it deserves much interest in importing forum content as it’s mainly a short-time asset.

    I’ll go through your callback functions tomorrow, but a quick comment about values in WPS: they are either ‘on’ or anything else, possibly not set, so it’s better to revert the switch and test against the “case ‘on'” and any other “default” ?

    The group forum post from my demo install was converted. In the list of topics it is indicated as ‘no forum’ which is true (as per my previous post). We should either create a forum (named like the group itself for instance) or discard group forums topics altogether (WHERE symposium_topics.topic_group != 0).

    About importing users, you raise an interesting point. I’d like to understand if this tool is a converter or an importer. Being located in a folder called /converter/ I had assumed it should work within the same WordPress install and convert it from one plugin to another, but you seem to move it towards the import of data accross platforms. Incidentally, I have been wondering why I need to fill the ‘Database Settings’ with db name / user / password / prefix, while I’m converting an existing forum within the same base. I’m happy with both, although I would tend to consider that most WP-to-WP imports will be performed within the same site…?

    The other topics I’d like to bring at some point in our discussion are the attachments and the avatars. I’m not sure yet how bbPress handles attachments, for WPS they are physically stored in a location set from the “params” tab, and displayed either online or as links (depending on a setting). As far as avatars, once WPS is deactivated they are all gone, is anything possible or is this too dependent upon the plugin the admin may install for avatars ?

    #146363
    Robin W
    Moderator

    The approach should be to get to a ‘clean’ site – ie one that works, and then add back theme, and then plugins until you find which is conflicting with bbPress.

    Some plugins and themes delete database stuff when they are deleted, but many/most just leave it behind, so deactivating should do it.

    If you have a local dev, then I’d deactivate ALL plugins, and change to a default theme.

    Then test if this works. if it does then you have a good start point.

    Then add bbPress and see if this produces an issue.

    a) If it does, then come back with what theme, and confirm versions of bbpress, wordpress and theme and exactly what you are doing to test – ie user set to… go into… select…. and I’ll try to replicate.

    or

    b) If your base version above works, then add theme next. Don’t worry about the extend plugin, as you’re seeing if the issue is with a post, not bbPress !

    Then add extend and re-test

    Then each plugin and retest

    #146355
    Robin W
    Moderator

    ‘I might be missing something, but if deactivating the bbPress plugin solves the problem, the bbPress plugin is probably causing it.’

    Depends how you define ’cause’

    bbPress is tested against the default themes (twentyten, twentyeleven etc.) and latest versions of wordpress, and should be fully functional against that.

    Since bbPress is just a plugin, it ranks equally alongside all other plugins and all non core themes. All of these have the capability to conflict with each other as theme and plugin authors use tweaks and add-ons to WordPress. The ability for two authors of plugins/themes to try to change an element is actually quite large, and changes can have unexpected results.

    So if two authors both make a change and one overwrites the other, both can argue it is the other’s fault.

    So I cannot get bbPress with a default theme to have your issue for authors or above.

    If without any other plugins, and using a default theme, you get this issue, then please come back with what levels of access and I’ll look further.

    #146327
    Robin W
    Moderator

    yes that is the default – see

    Layout and functionality – Examples you can use

    to change it

    #146312
    lagrou
    Participant

    I’ve added a WPS install to one of my test sites. By default WPS has 3 forum categories, and one topic with two replies. I’ve added two topics, to populate all categories, and made one category child of another. So it should look like what you expect.

    I’ve also created a group. In WPS, groups can have a forum, with no category hierarchy, so they are not listed in the table symposium_cats. I wasn’t using groups myself, but my proposal is, if we can, to make the converter gather the content as a subforum in bbPress, then the admin may decide to delete or restrict its content ? So, I’ve also created a group on that test install, with a topic and a reply.

    As I’m not sure what you call a MySQL export I’ve dumped it using a page template where I perform a succession of queries, then var_dump( $wpdb->last_query, $result ); and copy/pasted the page content as a text file, added to my repository above. I hope it’ll be fine.

    #146278
    Robin W
    Moderator

    Suspect it is theme or plugin related!

    Normally I’d just post the standard text viz

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    but with 29 plugins that could take you a while ! and it could even be a combination.

    Think I’d start with a quick theme change to eliminate that and then I suppose it depends on who needs access as non admin but able to add links as to whether you plough through and work out where it is failing.

    #146249
    ozziecoin
    Participant

    Your sneaky suspicion is correct. I reverted to default permalinks and the forum functions as it should.

    Thanks for your help.

    #146232
    Robin W
    Moderator

    If you want a quick solution to this

    create a directory within your theme called bbpress

    ie wp-content/your-theme-name/bbpress

    And into this folder copy the following file

    bbpress/templates/default/bbpress/form-reply.php

    Then alter this file to have a new line 175 as follows

    <p> <?php echo do_shortcode ('[bbp-login]') ; ?>
    

    so that

    <div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
    		<div class="bbp-template-notice">
    			<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>
    	</div>
    	</div>
    

    becomes

    <div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
    		<div class="bbp-template-notice">
    			<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>
    		<p> <?php echo do_shortcode ('[bbp-login]') ; ?>
    		</div>
    	</div>
    

    Save this file, and bbpress will use this and a login panel will be displayed.

    #146219
    sicky_brazz
    Participant

    Hi, I am using the following code to hide my menu/navbar and search form from my site.

    ‘/* Remove nav bar and search form */
    .page #nav-bar {
    display: none;
    }

    .page #s {
    display: none;
    }’

    It seems to work wonders on all pages except BBPress pages.

    Now when I set my permalinks to “Default” the navbar and search form are removed on bbpress pages, but when I have them to anything else, the navbar shows up again (but only on bbpress pages).

    Does anyone have an explanation for this?
    Or can someone point me in the direction of how to remove it without having to have “Default” permalinks set (which I can’t due to buddypress)

    #146203
    Stephen Edgar
    Keymaster

    Except for the default BBCode [b], [i], [u], [img], [url] etc the vBulletin importer only has [quote], [mention], [youtube] BBCodes added at this time. You would need to manually edit your topics and replies for any SoundCloud embeds.

    To test this any further I will need your vBulletin version you importing from so I can take a closer look, firstly to see if I have a copy of a vBulletin ‘version xyz’ to test against and then to see if I can see any reason why it would not be importing everything correctly.

    #146200

    In reply to: bbpress editor

    Stephen Edgar
    Keymaster

    I would suggest you upgrade to WordPress 3.9.1.

    Ultimate TinyMCE is NOT compatible with WordPress 3.9.x and is being replaced by WPEdit (it is worth reading the info via that link and the alternatives it offers)

    I would suggest switching to Twenty Thirteen or Twenty Fourteen themes and disable all your plugins except bbPress to narrow things down.

    Once you see bbPress working with the code in your original post to enable bbPress Visual Editor then go from there… Enable your theme, does it still work? Next try one of the TinyMCE plugins with the default options, does it still work? Now update any settings in that plugin, does it still work? Now enable your other plugins one by one, does it still work?

    #146199
    Robin W
    Moderator

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #146177
    tavOu
    Participant

    Hello All !
    I need to list the last 8 topics in this widgets, and have a link to the next page of 8 topics, and so on.It would be like a pagination for every 8 topics.
    I think the file is widgets.php in lines :

    case 'newness' :
    default :
    $topics_query = array(
    'post_type' => bbp_get_topic_post_type(),
    'post_parent' => $settings['parent_forum'],
    'posts_per_page' => (int) $settings['max_shown'],
    'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
    'ignore_sticky_posts' => true,
    'no_found_rows' => true,
    'order' => 'DESC'
    );

    I know that ‘posts_per_page’ show the last topics, in my case 8, but i dont know how to access to 8 before.

    Any help or idea please?

    #146147

    In reply to: Multiple revisions log

    Robin W
    Moderator

    could be plugin or theme related

    try

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    Robin W
    Moderator

    Sounds like you’re further through hacking the code than most people get !

    ok, just in case you haven’t already seen it, if you’re changing the template files, you should create a bbpress directory in the root of your (child)theme, and copy the files there. bbPress will then use these instead, and they won’t get overwritten by upgrades to bbpress. You should also have a child theme, and put them in there rather than someone else’s theme, and then theme updates won’t overwrite them either!

    see

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

    and

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3

    I presume you’ve tried the code? That’s the other great thing about using the bbpress folder in your child theme, you can just delete the server version and it goes back to the default one.

    If so where is it falling over?

    can you copy the lines between

    <?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
    

    and

    `<?php do_action( ‘bbp_theme_after_topic_started_by’ ); ?>

    and paste them into here, and I’ll take a look

    I’m out today, but if I get a chance later I’ll then run it and debug for you.

    #146113
    Robin W
    Moderator

    ok, lets start with eliminating plugin and theme conflicts

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #146112
    ozziecoin
    Participant

    I created a forum with WP 3.8.1 and bbPress 2.5.3. Here: http://ozziecoin.com/index.php/forums

    When I press edit, I get a 404 error. When I press on username, I also get a 404 error.

    Topics seem to work ok. Can anyone offer any hints where I should start looking?

    I’ve tried modifying .htaccess to include: Options FollowSymlinks and AllowOverride All

    Also, tried resetting permalinks to default and back to current setting of /index.php/%postname%

    Thanks in advance for your further suggestions.

    #146084
    Neosnc
    Participant

    Turns out to be some kind of permission error. I see this in the Chrome console. Will look into it further.

    GET /wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.5.3-5249 403 (Forbidden) localhost/:30
    GET /wp-content/plugins/bbpress/templates/default/js/editor.js?ver=2.5.3-5249 403 (Forbidden)

    Hello,

    I’ve installed bbPress 2.5.3 onto WP 3.9.1 but am not seeing any css stylesheets loaded for bbPress. Even when switching to the Twentyfourteen theme the forums are completely unstyled.

    Has anyone come across this issue? Looking at resources in the chrome console I can see that bbpress.css is not being loaded.

    elaborate
    Participant

    Actually, there is a link to the topic by default, in which case it’s the number in the top right corner of the reply.

    Here on the bbPress support forum, it’s the time stamp to the left of the reply, underneath the user’s profile information.

    Linking to replies, posts, etc. like it’s done here is fairly common practice throughout the web, although not at all intuitive in my opinion.

    #146074

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    @landshark I wouldn’t say you were being ignored, we are all volunteers here and if and when people have the time to help others they do, myself included.

    What is the BBCode for images on your SMF forum?

    bbPress converts these default BBCode [img] to `<img src=”…”>
    [img]http://www.google.com/intl/en_ALL/images/logo.gif[/img]
    [img=http://www.google.com/intl/en_ALL/images/logo.gif]
    If you have any custom BBCodes this will not work and you could either fix this in your SMF forum before importing or if your comfortable with MySQL you could update these in your database directly.

    #146073

    In reply to: Layout changes

    Stephen Edgar
    Keymaster

    1.: Move post count under rank (red arrow).

    bbPress does include post counts at the moment, in bbPress 2.6 it will though.

    You must be using a plugin for this or a custom theme with bbPress support.

    2.: Move date of creating a post upside (blue arrow).

    Same as above

    3.: Translate ā€œreplyā€ – it is translated in language files but it is still in english. All other words are fully translated in my language. (red square).

    This also could be an issue with any custom plugins or themes you are using.

    Disable any plugins except bbPress and switch to a default theme eg Twenty Thirteen and let me know if you still see ‘reply’ as untranslated.

    #146068
    siobhan61
    Participant

    Hello,

    I’ve created two sidebar widgets to use with bbpress forums (v. 2.5.3) — one for the landing page and the other for bbpress interior pages (forums, topics, etc.). I made a page called bbpress.php (copied from my index page) and have put that in my child theme. From that page I’m calling the bbpress sidebars I created.

    The problem is that I can only call one of them — the secondary widget. The widget I created for the forum homepage (which is what I was assuming bbpress.php is) doesn’t appear when I call it (defaults to another sidebar I have set up on the website for page.php).

    http://innovativeapprenticeship.org/community/

    Does anyone know how to set up two sidebars for bbpress, and the template files from which I should call them?

    Thanks, Cheryl

    #145980
    Robin W
    Moderator

    Within the default bbPress you cannot do this – forums are either visible or not depending on whether you’re logged in, and you cannot assign users to forums

    However the following plugin allows you to assign users to one of up to 8 groups, and have multiple forums belonging to those groups, so should probably achieve what you want.

    bbp Private Groups

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