Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 12,176 through 12,200 (of 32,521 total)
  • Author
    Search Results
  • #144891
    tharsheblows
    Participant

    You can take out <?php bbp_forum_subscription_link(); ?> in content-single-forum.php . I have a bbpress directory in my theme (eg mytheme/bbpress/) where I’ve copied the entire default template and those files overwrite the default theme which I got from templates/default/bbpress in the plugin.

    So you’d have something like yourtheme/bbpress/content-single-forum.php. I’m looking at this https://codex.bbpress.org/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/ and getting confused but I have a feeling you’ll work it out! Anyway, that’s where that code is.

    #144888

    In reply to: Forum Ranks

    matthewa761
    Participant

    Thank you, where do I insert this code though. I’m new to this whole wordpress thing.

    #144887
    tharsheblows
    Participant

    For the topics archive showing all topics, you can use the shortcode [bbp-topic-index] on a normal WordPress page.

    “All replies” is slightly different. You could use the Recent Replies widget (https://codex.bbpress.org/widgets/) if you had a page with a widget for the content but if you wanted a proper archive page, I think you’d have to make a new template for it. I think it’s one of those things that if enough people ask for it, it might get prioritised for future versions but that’s just a guess. If you are comfortable making page templates, I can post how I did a “latest posts” page (posts = new topics + replies).

    I’m not sure what part of the menu you mean, I’m sorry. Do you mean how “support” (with a link to /forums) is highlighted above even when you’re on a topic page? They use a custom nav file:
    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/header-nav.php

    If I were trying to replicate that, I would use jQuery to add the current-menu-item class to the top forums list item – not that it’s is the right way to do it, it would just be the easiest for me to do and to maintain. You’d need to add it to a javascript file in your template or make one and then include it. If you’re interested, I can post that code – you will need to add a custom class to your forums menu item too.

    Sorry, I know that wasn’t too terribly helpful!

    #144877

    In reply to: Forum Ranks

    From bbPress.org:

    bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true, 'size' => 100 ) );

    To set a good expectation, these forums move relatively slowly. If you’re anxious about replies to this topic, tick the “Notify me” box and you’ll get an email when someone replies without the need to bump the topic.

    #144872
    Jason
    Participant

    What are some options that serve the same function as these two buttons and that don’t require custom code? What plugin will I need? Thank you.

    #144868
    mlocke90
    Participant

    I’ve been looking through code and settings for a few hours now.

    I actually found that I can manually set topics to private by editing their visibility in the dashboard. This provides the exact functionality I need, other than it being manual. Is there anyway to let users set their topics as private when they publish them? Or automatically set topics in a certain forum to private?

    #144860
    Bicho
    Participant

    Hi,
    I’m running a WP site along with bbPress and BP. My problems began when I accidentally disabled bbPress and enabled it back again. From then on TinyMCE shows a blank space, no buttons and visual/text tabs are just dead, so users can hardly post a new topic.

    I’ve tried nearly every possible trick known to man (cache, plugins, code lines..) but after 6~7 hours of failure I’m exhausted and frustrated. And what’s even worse: now the login bar (on top) and Twitter widget aren’t visible unless I (you) log in. Both were visible before the incident.

    I hope anyone can help me sort this thing out. I’m not exactly an expert, so please keep that in mind before telling me what to do. Thanks in advance.

    I’m using:
    WP 3.8.1
    bbPress 2.5.3-5249

    my site: grafiscopio.com
    Note: bbpress content is restricted for non-registered visitors

    #144857
    mlocke90
    Participant

    I would like users to be able to create a topic inside the applications forum, once the topic is published only the user who made it and admins can view it.

    After some more searching I’ve found;
    http://codecanyon.net/item/bbpress-private-content-wordpress-plugin/6390878

    This is essentially what I would like but to do, but would have it auto enabled inside the applications forum.

    #144850
    Stephen Edgar
    Keymaster

    Start here https://codex.wordpress.org/Editor_Style
    Then here https://codex.wordpress.org/Function_Reference/add_editor_style

    There are also quite a few WordPress plugins that will do the ‘PHP’ part for you, creating the correct functions and the like and you then just add the CSS you want.

    #144847
    Matoca
    Participant

    Robin,
    I am not exactly sure what you mean here. I do know what the permalink for the forum is and /forums/ is part of it, but it doesn’t end the permalink. This is the permalink, with the website and forum name made generic for posting purposes:
    http://www.mywebsite.com/forums/forum/ourgroup/

    Is the second “/forum/” the issue? If I change this now, after many months, won’t this mess things up like bookmarks, menu links within the site and google records? There are three forums under /forums/ with different names.

    The topic that the person would like to reply to is this (a topic she started on a desktop):
    http://www.mywebsite.com/forums/topic/needadvice/#post-3735

    To repeat, she was able to start topics and reply to topics in the text field prior to the ios upgrade. I guess I don’t understand how the permalink is conflicting with the display of the keyboard when she wants to enter text in the form on the page.

    I do understand that js probably plays a role in how taps and drags operate on tablets and phones. In this case these are not triggering the code to display a keyboard but I wouldn’t know where to look for that code and determine what the issue is. Is it a general theme function or is specific to bbPress forms?
    my best, matoca

    #144843

    Unfortunately these type of features will require custom code, likely in the form of a plugin to power them, and theme changes to display them.

    #144832
    Jason
    Participant

    Thanks, John. I’d like for the page to show two buttons before visitors register or log in. The first button is a post button. The second button would give visitors the option of being updated about new posts and edits by email. These two buttons would direct visitors, who aren’t logged in, to a register or log in screen. Is this possible to do without creating new code?

    carterlongbeach
    Participant

    Hi. I’d like to automatically include a hyperlink to users’ groups (Buddypress) or a custom profile field (BBpress) in all of their topic and response posts in forums. It would be something like a signature, but would be automatic, not a choice.

    Any suggestions? I’m not a coder.

    I’ve searched support and plugins to no avail. Thanks.

    Running WP Version 3.8.2 , BP Version 1.9.2, BBpress Version 2.5.3

    #144825
    leopolds
    Participant

    Thanks for the reply, but it didn’t seem to work.

    How can I make http://leopolds.com/discussions/ look like http://leopolds.com/bbs/ (created using shortcode)?

    #144817
    akkkarki
    Participant

    Hi,

    I think I have some theme compatibility issues with my freshly installed bbPress. I’ve just installed bbPress to my new WordPress site, and when I’m trying to open the forum index page, it will show only a mostly blank page with my theme’s top menu. However, the title of the page and the body part of the HTML source seems to be OK – my body tag looks like this:

    <body class="forum bbpress single single-forum postid-30 logged-in admin-bar no-customize-support">

    I’ve tried to use [bbp-forum-index] shortcode in a page, and it shows the index, but of course I can’t use the forum in this way neither, since if I try to navigate to one of my forum topics, it will also show the blank page.

    I’m using Academica theme (the free one), but I’ve found a solution for an other theme (http://bbpress.org/forums/topic/non-functional-index-page-when-bbpress-2-1rc4-is-used-with-woothemes-canvas-5-05/) and it seems that fixing my issue would evoke some PHP coding, which I’m not so familiar with. So if you have some tips or solutions, share with me, I’d be very thankful. 🙂

    Thanks in advance! 🙂

    Ohh, and here is the link to my only forum: http://homeschooling.hu/?forum=probaforum
    …and to the page with the shortcode: http://homeschooling.hu/?p=38

    #144815
    Robin W
    Moderator

    what shortcode are you trying to add?

    html is easy just echo it in brackets eg

    echo '<br>that was a break<div>a div</div></br>' ;
    
    #144814
    hscoder
    Participant

    I know this is old thread. But my reply can be useful for the others.

    You can change the font-size in your bbpress forum through editing your bbpress.css like as :

    #bbpress-forums ul.bbp-lead-topic,
    #bbpress-forums ul.bbp-topics,
    #bbpress-forums ul.bbp-forums,
    #bbpress-forums ul.bbp-replies,
    #bbpress-forums ul.bbp-search-results {
    font-size: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 20px;
    clear: both;
    }

    In this article writer is explaining step by step. See this:

    How to increase the font-size of the content in bbpress forums

    thanks

    #144813
    leopolds
    Participant

    Hi,

    I have just installed bbpress on my site, which is using the latest Twenty Fourteen child theme (only some simple css modifications.)

    I want the forum listing page http://leopolds.com/discussions/ to look like this http://leopolds.com/bbs/ (created using shortcode).

    There should be:

    No right-hand sidebar and centered content. I created a bbpress.php in my child theme folder and copied the full-width page template code to it. But it still looks different. Contents are not centered.

    No post-like forum listing. All forums I created are displayed under the usual forum listing section like posts.

    Please help. Thank you very much.

    #144811
    varma
    Participant

    That’s gud.
    Actually i needed to add a shortcode along with some html customization just after the first post of the topic only.
    How to do that?

    #144808
    Robin W
    Moderator

    nothing bad in doing that

    as bbpress has different custom post types for topic and reply, you could also link to the action bbp_theme_after_reply_content action and put a topic condition on
    something like

    function display_after_topic() {
    	if( get_post_type() == 'topic') {
    	$text="hello mother" ;
    	echo $text;
    	}
    	else {
    	return ;
    	}
    }
    
    add_action ('bbp_theme_after_reply_content', 'display_after_topic') ;
    #144805
    Robin W
    Moderator

    I suspect this is not related, but always worth checking

    Do you have a forums page with shortcode.

    If not another poster did the following with success for a twentyfourteen theme.

    So let me restate what you found to work:

    1. When creating a menu item for forums, do NOT use the automatically available permalink that ends in “/forums/”
    2. Instead, create a page that has the shortcode [bbp-forum-index] in the body. There could also then be other content or links in the body.
    3. Make sure the page you created does NOT have a permalink that ends in “/forums/”. In my case I had a page Title of “Forums”, but I changed the permalink to end with “/allforums/”.

    I suspect that this will not fix for you, but give it a try anyway !

    #144799

    In reply to: No toolbar available

    gobeyond
    Participant

    I think I figured out how to make the toolbar appear. In my original theme, I didn’t include:

    <?php wp_footer(); ?>

    Apparently, that is what is needed to load all the javascripts to make the toolbar working. Hope this helps!

    Terry

    #144798
    varma
    Participant

    Ok.. so i found out a way to do it while checking the bbpress functions.

    You can enable the bbpress show lead topic using this function

    bbp_show_lead_topic

    and then easily add any code to the content-single-topic-lead to display anything after the first post in a thread.

    Is there bad side doing this?

    #144795
    Phoenix
    Participant

    Hi there.
    I have installed BBPress.
    But I want to: Remove the sidebar
    The calling code is a sidebar (plug-ins) in the footer template
    How can I remove only the sidebar, but keep the footer (with counters)?
    I can remove the sidebar, but remove all counters calling code (including the footer, too)
    My site: Medical Books 24
    http://med.gn24.net
    Thanks in advance.

    #144794
    varma
    Participant

    Hi

    I would like to insert a custom code or eco a shortcode after the first post in a topic. ( or say adsense after first posts)

    I have tried to implement this – https://bbpress.org/forums/topic/displaying-adsense-ads/

    But seems to be not working correctly.

    When posting the code in loop-sing-reply, its getting showing below all replies.

    Anyway to show only after the first posts.

    Hope to get an help soon.

Viewing 25 results - 12,176 through 12,200 (of 32,521 total)
Skip to toolbar