Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 501 through 525 (of 1,700 total)
  • Author
    Search Results
  • #168447
    Robkk
    Moderator

    @tkserver

    Well I think @jovito just put shortcodes in a regular WordPress static page and just wants how it looks to be across all bbPress pages, and that is where the bbpress.php would help.

    with a custom file bbpress.php in my theme, would it be directed to that page when I hit submit for a new topic or new reply, instead of the topic page mentioned above?

    The bbpress templates using theme compatibility will use a template like page.php or bbpress.php in your theme, but the topic page content will be inside of the loop of that template. Instead of using a bbpress.php file, you can put single-topic.php from the extras folder and customize it and place it in your child theme root for a template specific to a single topic page.

    Is there sth like a template for the display of topics?

    These are all the templates that are being used in a single topic. Using single-topic.php in the root of your child theme will be the main template being used instead of a bbpress.php template or a page.php template.

    Also @jovito what kind of options for shortcodes are you talking about??

    #168384
    sucre
    Participant

    Hi all you guys,
    i’ve been trying to display a specific forum in a specific category. Like all categories must have a different forum.

    To do this, i added a text field to the category with Advanced Custom Fields plugin. Then i write [bbp-single-forum id=196] in that field. (196 is the id number of the forum that i want to display for this category)

    To show this, i added this codes to category page in my theme

    <?php 
    $category_id = 'category_' . get_queried_object_id();
    $dforum = get_field( 'forum', $category_id ); 
    ?>
    <?php echo do_shortcode($dforum);
    ?>
    

    it’s working great. However, if you enter a topic (ex. a topic)the page goes to sitename.com/topic/a. But i want to read this topic in the category page. I tried to use iframe but i doesnt work. Please help.

    my site (click forum tab) : http://www.dizimoon.com/kategori/yabanci-diziler/game-of-thrones

    #168364
    Robkk
    Moderator

    It might be better to create a bbpress.php instead of a regular static WordPress page, because that 1 static page will not work for all of the bbPress pages. If you create a bbpress.php, all your bbPress pages will use that template instead.

    See if this guide helps you any.

    Getting Started in Modifying the Main bbPress Template

    Since you using shortcodes you can echo the shortcodes in the bbPRess template like this.

    <?php echo do_shortcode("[shortcode]"); ?>

    #168273
    jovito
    Participant

    Hi,
    this is in WP 4.3.1 GeneratePress child theme.
    So far I have managed to display forum indices, topics, registration, login on actual WP pages so they can easily be designed and targeted through regular hyperlinks and menus. I used plugins like bbp StylePack and CleanLogin for this, plus the bbp shortcodes on the concerned pages.
    Now there is at least one loophole that renders everything useless. e.g. when submitting a new topic the system jumps to “Topic” view where my page style settings are ignored. Is there sth like a template for the display of topics?

    Also isn’t there a list of shortcodes somewhere that show ALL attribute options, too? The bbp codex https://codex.bbpress.org/features/shortcodes/ lists only the codes, without options.

    #167951
    Pascal Casier
    Moderator

    Hi namrons,

    Check ‘bbP Private Groups’ and use the shortcodes and widgets provided by this plugin.

    Pascal.

    #167912
    zabre00
    Participant

    I know its been 3 years but just wondering if theres been any development on this? @trobee your code a script still work. Just wondering if you still after 3 years, have the single list shortcodes available? I would really appreciate it!

    #167857
    gin_marcin
    Participant

    I found now a solution with bbp Stylepack and the provided shrotcodes:

    [bsp-display-topic-index show=’5′ forum =’10’ show_stickies=’true’ template = ‘short’]

    now only the topics from one forum are displayed

    thx for help !
    Marcin

    #167760
    Pascal Casier
    Moderator

    Technically possible as Robkk indicates, ok, but just make sure to keep it under control.
    I’m not sure what maximum number of forums has been tested for visualization and handling inside the different shortcodes and functions.

    Pascal.

    #167759
    Robkk
    Moderator

    There is a shortcode you can put in a page to allow users to create forums.

    [bbp-forum-form]

    Shortcodes

    You can also use this PHP code snippet, and place it in your child themes functions.php file or in a functionality plugin to allow admins/keymasters to create a forum right from their bbPress forum profile.

    function ntwb_bbp_forum_form() {
    	if ( bbp_is_user_home() && current_user_can( 'edit_others_forums' ) ) {
    		echo do_shortcode( '[bbp-forum-form]' );
    	}
    }
    add_action( 'bbp_template_after_user_profile', 'ntwb_bbp_forum_form' );

    To delete and edit you have to do it in the backend for now. There are plans to add more frontend moderation tools though.

    #167617
    Pascal Casier
    Moderator

    Hi,

    If it can help, check shortcodes. The 2nd one could be your starting point:
    [bbp-topic-tags] – Display a tag cloud of all topic tags.
    [bbp-single-tag id=$tag_id] – Display a list of all topics associated with a specific tag. eg. [bbp-single-tag id=64]

    See https://codex.bbpress.org/features/shortcodes/

    Pascal.

    #167577
    Tecca
    Participant

    Does the plugin not work as intended @utahman1971, or you haven’t tried it because it hasn’t been updated for a while? From what I see, it probably hasn’t been updated because bbPress hasn’t changed enough to warrant the plugin being updated (ie, it stills works with the current version).

    If that’s not the case and it simply doesn’t work or has some sort of vulnerability, you could always ask which templates to paste your ad codes in. I prefer doing that over adding yet another plugin that might break during upgrades. With ad codes being touched so little, template edits seem appropriate enough for the job.

    #167356
    Robkk
    Moderator

    Are you trying to use the bbPress shortcodes in pages for logging in and registering??

    These forms are really incomplete in functionality, they don’t redirect back to the login form and show error messages above that form, it just redirects to the default WordPress form to show the error messages. I think using the default WordPress forms or other frontend forms are better for now.

    #167182
    Robkk
    Moderator

    Use wanguard for a question captcha. Manually approving users can be done with a plugin listed in this guide or if you use BuddyPress too, a plugin listed in their guide possibly. Approving based on a certain field, I am not sure.

    Theme my login is probably the best to use for frontend forms. bbPress has some form shortcodes you can use but they might not work as great because there is functionality missing.

    Dealing with Spam

    #166916
    yoshimitsu1234
    Participant

    I tried various permutations and combinations. Following codes worked for me.

    
    	add_theme_support( 'post-thumbnails', array( 'post', 'forum', 'topic' ) );
    	add_post_type_support('post', 'thumbnail');
    	add_post_type_support('forum', 'thumbnail');
    	add_post_type_support('topic', 'thumbnail');
    
    #166860
    project_subdomain
    Participant

    tested commenting out above part several times which gave me correct titles and wrong titles when active. Did a systematic check then by deactivating plugins one after one and custom codes one after one and reversed, also refreshed the page title via backend (no caching in use). Nothing found to make the titles correct except commenting out above part.
    I cannot reproduce it as well.

    #166853
    Robkk
    Moderator

    I think this plugin will allow you to customize how the notifications look in Settings > Forums. There might be shortcodes to change the content to use excerpt instead.

    https://wordpress.org/plugins/bbpress-custom-reply-notifications/

    #166837
    Kasi Salyer
    Participant

    Hi,

    Here is what I see using codestyling localisation :

    Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.

    Thanks.

    #166820

    In reply to: Groups and Forums

    Robkk
    Moderator

    [bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.

    Shortcodes

    #166718
    AilyRoot
    Participant

    just want to add that

    editing bbpress/includes/common/shortcodes.php method resolve our problems of cloud size is too big

    Robkk
    Moderator

    bbPress uses the WordPress registration process, they are unified. THe bbPress shortcodes for lost password, registration, and login are there for frontend forms but they are incomplete in functionality, there shouldn’t be a problem with using the default WordPress registration form by default.

    You can customize the default the WordPress forms by a plugin, or using some PHP functions too.

    yorcht
    Participant

    Hi, thanx but what I want is to not to have to select a forum when create a new one. Like in wordpress admin panel. Just create the new forum with short codes at the same level that others. On top. Is it possible?

    #166360
    Robkk
    Moderator

    See if this plugin helps/still works.

    bbp additional shortcodes

    Also Robin’s other plugin might have the same functionality somewhere in it.

    https://wordpress.org/plugins/bbp-style-pack/

    #166296
    Bapple
    Participant

    I am making a new website for a parent group which would use a forum in its core design. The site would consist of a main page with a blog which has comments that are tied to a forum topic. Similar to something like http://www.macrumors.com/. It would also have custom permission levels beyond the generic moderator, sub, and admin roles via plugins, and be locked with access codes. We are also planning on making a custom App for iOS and Android, or maybe even Windows using core tools like Xcode and Android Studio, Visual Studio, or Xamarin down the line. Right now I am trying to decide on what would be the best foundation for our site. Does bbPress have some sort of API that we could use, or do we need to look elsewhere?

    #166292
    DevynCJohnson
    Participant

    @robkk , thanks for everything. I appreciate the fact that you took the time to read my ideas and such. The BuddyPress and WordPress community does not seem to notice my suggestions.

    Your summary is right. However, when I say “topic auto-suggestion”, I am referring to the “bbPress Live Topic Suggestions” plugin (https://wordpress.org/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/).

    1. As for the oEmbed cache code that I use, the code is below. This is not a real fix/solution since I remove/disable auto-embedding and three shortcodes. Basically, I am making it impossible for oEmbed cache to form.

    remove_filter('the_content',array($GLOBALS['wp_embed'],'autoembed'),8);
    remove_shortcode('audio');
    remove_shortcode('video');
    remove_shortcode('playlist');

    By the way, the BBPress developers may want to consider designing the “bbp-topic-description” to look similar to the code below. I use that format on my website; the code snippet below was taken from http://dcjtech.info/topic/directx-introduction/ . The below code uses Microdata (like Hentry/Hatom and others) and is used by many search engines.

    <p class="bbp-topic-description">This topic was published by <em><span class="p-author h-card fn author post-author" itemprop="author">DevynCJohnson</span></em> and viewed 201 times since "<time itemprop="datePublished" class="dt-published published entry-date uploaded" datetime="2015-07-28">July 28, 2015 @ 06:00UTC</time>".</p>

    The BBPress developers are more than welcome to ask me for code or ask how I created/added some particular feature.

    #166285
    AilyRoot
    Participant

    This codes does allow both admin and normal user to search for both wp and forum contents fine.

    However normal user with no permission to certain forum could search for those articles in hidden forum too! and they could view the full fine from click link on search results, this is privacy alert!

Viewing 25 results - 501 through 525 (of 1,700 total)
Skip to toolbar