Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,351 through 5,375 (of 32,505 total)
  • Author
    Search Results
  • #182980

    Topic: Copyright

    davidnator
    Participant

    Hi, I have a question about copyright. Is the code in the support forums free to use on my commercial site? Is there a license for this code?

    Also, is the code on this page free to use as well for my commercial site as I am not completely sure? Page: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    Thanks,
    David

    #182965
    Kristian Yngve
    Participant

    Okay, so i noticed it’s to do with the shortcode missing.

    The issue now is editing that page, which is being treated as an internal plugin page that cannot be edited.

    #182932
    ddevries
    Participant

    My search results don’t show the topic name…

    When the keyword is found in a topic, the search result shows the forum name and the topic description (no topic name).

    When the keyword is found in a reply, the search result shows just the reply and who wrote it. No forum, no topic. So, there’s no context. You can link via topic # in the upper right corner, but that’s not very user-friendly.

    Is this wacky display because of my theme? I’m using Razor. I have the latest bbPress. Can I change the code to display the search results similar to how you do it here on this support site, where it says “in reply to <topic name>”? If so, where can I do that?

    Thank you in advance for your help. 🙂

    Darlene

    #182919

    In reply to: Responsive Issue

    arusli
    Participant

    i believe your theme css bypass responsive setting. find your theme css that especially control responsive css. could be in responsive.css. then find setting for:

    @media screen and (max-width: 480px) {
      .my {
         display:inline-block
      }
    }

    and replace to:

    @media screen and (max-width: 480px) {
      .my {
         display: block;
      }
    }
    #182914

    In reply to: Responsive Issue

    PrancingHorse
    Participant

    Does anyone know if this code still works? Also where do I post this to test it?

    Thank you! 🙂

    #182912
    Mary
    Participant

    Sorry. I’ve been looking for this for hours now.
    And right after posting this I found solution.

     <?php the_widget( 'BBP_Forums_Widget'); ?> 
    

    And names for ready useable widgets can be found in bbpress/includes/common/widgets.php

    🙂

    #182911
    Mary
    Participant

    Hi
    I’d like to list all forums like widget does (nice looking list), but I’d rather do that in template. So how I should do it? Seems like there’s not suitable shortcode for that.
    Widget also recodnize user priviledges, so all users is not seeing all forums in list. That code or shortcode should also do that. Any advice?
    Regards, Mary

    oise73
    Participant

    Hi there,

    1. We have a parent forum with a bunch of child forums. I did check the “Allow forum wide search” box. On the main forum page, which is a regular WP page using the forum shortcode, the search bar is there. Screenshot: https://www.screencast.com/t/Rv4EB6POOG But on all of the actual forums, including the parent forum, the search bar is not there. Screenshot: https://www.screencast.com/t/byZD2Ua8h How do I make them show up?

    I did deactivate all plugins but bbpress, but the issue was the same.

    2. In each topic, there is the word “by”. Screenshot: https://www.screencast.com/t/XVRBrBIiz
    How do I make that go away? I am hesitant to do a display:none; in the CSS, because other parts of the site need that .entry-meta tag.

    Your help would be greatly appreciated!

    thanks!

    WordPress 4.7 changed the way that the logged-in user is loaded. More specifically, it changed the execution point in the code, in such a way, that bbPress needed a change to meet the new requirement.

    haddlyapis
    Participant

    Just to let you know, I pasted the shortcode for Prisna in the BBPress file ‘content-archive-forum.php’ in order to display the language options on the main forum page http://www.apis.de/forum

    haddlyapis
    Participant

    Hi, I have added the shortcode on my main forum page http://www.apis.de/forum to implement the Prisna Google Translator. This displays a drop-down list of languages to choose from. The problem is that it only translates that page and if i click on a forum topic, it reverts back to the website language.
    The advice from Prisna is to create a WordPress category for the forum. But I can’t do this, as BBpress doesn’t seem to provide this option on the topic pages.
    Any ideas?

    #182864
    steini92
    Participant

    Hello,

    I have insert the forum with a shortcode into a subpage:
    https://picload.org/image/rlicaiar/bild1.png

    But I don`t know who I can get the automatic generated subpages from bbpress into the same Design. I created the subpages with the Visual Composer, since they all look different. The forum should be displayed within the frame (see picture above).
    Currently, however, it looks like this:
    https://picload.org/image/rlicaiaa/bild2.png

    I hope you can help me.
    Thanks

    #182851
    DragoWeb
    Participant

    Hi Robin, and thanks a lot for your answer. I spent thours trying to achieve this but without success. The search just always returns results from all forums. I must confess I’m a beginner with PHP… But, is there any chance that this feature could be added in your “bbp additional shortcodes” plugin. Something like [bbp-search forums='10,12,15']. I just discovered your plugins on your website and you did an amazing work. Of course I’m ready to give some donation for that but I like to know if this is possible or not first 🙂 But maybe it’s not as simple… Thanks

    #182834
    Stefan Sebechlebsky
    Participant

    I am experiencing exactly the same problem. BP Group Moderators do have capabilities like edit, close, merge, split topics or replies in the Group Forum but they do not see the textbox to assign or edit tags. I tried to show the box by hacking the files
    /wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    and
    /wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    by removing the condition “&& ( current_user_can( ‘assign_topic_tags’ )”
    but then the tags assigned in the box have not been saved, anyway.
    There must be a bug in the capabilities mapping from BP group moderator to bbP forum moderator. The capabilities like ‘assign_topic_tags’, ‘edit_topic_tags’, etc. are missing there.
    For BP group admins and ordinary members it works well, they can assign and edit topic tags in their group forum.
    But where is the code of this mapping? I cannot find it.

    Stephen Edgar
    Keymaster

    Since switching to HTTPS you need to update your siteurl and homeurl to use HTTPS at /wp-admin/options-general.php

    For multisite @ragir it depends how you have your site setup, this article covers your options on what you can, and can not do to switch to https for multisite 🙂

    How to Set Up HTTPS on WordPress Multisite Without Headaches

    #182828

    In reply to: bbp_reply_admin_links

    theredeclipse
    Participant

    Nvm, got solution:

    <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => false, 'type' => 'name' ) ); ?>

    and

    <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true, 'type' => 'avatar' ) ); ?>

    #182824
    Pascal Casier
    Moderator

    Guten Abend,

    This should explain you the way to go: https://codex.bbpress.org/custom-capabilities/

    Pascal.

    #182822
    Pascal Casier
    Moderator

    Hi Diana,

    To deactivate the bar for everybody, you could add in your functions.php :
    add_filter('show_admin_bar', '__return_false');

    If you want to hide it for all, except for administrators :

    add_action(‘after_setup_theme’, ‘remove_admin_bar’);
    
    function remove_admin_bar() {
    if (!current_user_can(‘administrator’) && !is_admin()) {
    show_admin_bar(false);
    }
    }

    Hope that helped.

    #182816

    In reply to: Forum Subscribers

    Pascal Casier
    Moderator

    If you want to code it yourself, this is one of the possibilities:

    $users_arr = bbp_get_forum_subscribers($forum_id);
    $subscriber_count = count($users_arr);

    I have just added it to my ‘bbP Toolkit’ plugin, so you can find it in the next version in some days.

    repyourhood619
    Participant

    Hey Robin and Kajzh, did you ever get this to work? I am having the exact same problem. the custom made role is showing up under the forum role dropdown on the user profile but when the profile is saved after selecting the new role it does the default message when no role is assigned “No Role For These Forums”. Robin I did what you suggested by deactivating plugins and changing the theme but to no avail. Please see the function below.

    
    function np_add_custom_role( $bbp_roles ) {
     
    	$bbp_roles['beta_tester'] = array(
    			'name' => 'Beta Tester', 'bbpress',
                'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    	);
    	return $bbp_roles;
    }
    add_filter( 'bbp_get_dynamic_roles', 'np_add_custom_role', 10 , 2 );

    Thanks in advanced!

    #182803

    In reply to: Problem translating

    Pascal Casier
    Moderator

    Hi,
    But you should not need to run anything from https://codex.bbpress.org/getting-started/bbpress-in-your-language/ . If you have a standard WordPress install, the language files are downloaded automatically.

    How about other plugins that have translations available, do they work ? Like SEO or something ?

    #182802

    In reply to: Problem translating

    Amelia
    Participant

    Hi,

    I tried to start back from 0. I reinstalled wordpress 4.7.3, deleted loco translate, deleted and reinstalled bbpress. I then followed this guide : https://codex.bbpress.org/getting-started/bbpress-in-your-language/ to download and install a translation which is apparently 100% complete for my language. Still it’s not completely working. I verified in /wp-admin/update-core.php and I have no updates. You cannot blame loco translate this time as it’s not even installed anymore on my website. Also, I can know my wordpress language is correctly setup because some translation does work as you can see on the following image :

    problem

    Please help me, this really seem like a bug with your plugin…

    Thanks

    #182797
    quandasim
    Participant

    hello
    first i wana thank you for this awesome software
    but right now i have problem
    i use stable archlinux 64 bit with nginx and after upgrading to php 7.1, the bbpres forum dont work anymore.

    here is link to my page, use top menu and click on “forum”:
    https://darktime.cz

    here is log msg:

    Mar 15 16:05:39 archrulez nginx[221]: 2017/03/15 16:05:39 [error] 721#721: *1536 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home/http/www/darktime.cz/wp-content/plugins/bbpress/includes/forums/functions.php:1800

    when u go directly to topic, then it works:
    https://darktime.cz/topic/waclav-assassination/

    i searched litle with google and i discovered, that there is some beta bbpres package, which dont have this problem, but when i downloaded it and tried install, i got error that bbpress folder already exist.
    so i have questions:
    can i delete the bbpres folder and then install the beta package?
    can i upgrade normaly from beta version to stable version after it will be released?

    thanks for answers and sorry for my bad english

    #182774
    Stephen Edgar
    Keymaster

    You would need to create some custom code for this, maybe a plugin or two

    One of your wishes, changing Freshness to Last Post is included in bbPress 2.6 🙂

    #182770
    Stephen Edgar
    Keymaster

    It’s also worth searching the forums, many of the issues that pop up surrounding the importing of forums are quite similar.

    Try looking at some of these to help:

    https://bbpress.org/forums/topic-tag/mybb/
    https://bbpress.org/forums/topic-tag/import

    Also our docs:

    Import Forums

    Import Troubleshooting

Viewing 25 results - 5,351 through 5,375 (of 32,505 total)
Skip to toolbar