Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,576 through 15,600 (of 32,503 total)
  • Author
    Search Results
  • kbunt
    Member

    Having the same issue in a footer widget as well as the sidebar. BBPress is overriding the footer 1 and primary widgets on the /forum/. I’ve made the page forum full width via a custom CSS file to make it disappear in the sidebar as a short term solution, but can’t seem to find the issue in the code.

    See, http://www.divorcingmatters.com/forums/

    jshultz
    Member

    This would be better:

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }
    
    #116933
    MTPrower
    Member

    I want the option for it to go to a page of my choosing. People often don’t like the default forums-archive page (which ends up being the root/home page), so they create a WordPress page with bbPress shortcodes in it to be the forums’ home page. The problem is, when they do that, the breadcrumbs root link, which says “forums”, doesn’t go to that page. it goes to the archive page, or forums-index– which is the page they were trying to avoid.

    • This reply was modified 13 years, 6 months ago by MTPrower.
    AAShepAA
    Participant

    This really should be put into the original code. Great tip.

    #116905

    Topic: Bug theme

    in forum Themes
    zikadonfeur
    Participant

    Hello,i’m french 😐 (sorry)

    I use a WordPress 3.4 and a buddypress 1.5.6. With it a bbpress 2.1.2.My WP theme is Frisco for buddypressmy bbpress theme is BBpress default because I can’t select another one.

    My bug is on a “members/username/forums/“My sidebar is running out.all over pages are ok.

    How I can resolve it?

    I used a http://codex.bbpress.org/theme-compatibility/ but how I can select it in the adminpanel.

    Thank’s a lot.

    Franck

    #116904
    bryanforst
    Participant

    ok, never mind. The above code works, just the redirect needed some value, thought that blank would redirect to the home page….

    bryan

    #116898

    In reply to: Question, Help needed!

    Stephen Edgar
    Keymaster

    Yes, you can just ceate a page and add the shortcode to the page.

    Here are some docs to help get you going

    https://codex.bbpress.org/getting-started-with-bbpress/

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

    https://codex.bbpress.org/theme-compatibility/

    #116895
    tiberiusCA
    Participant

    It is possible to get permanent link to last post of topic? Something like has mybb engine ?action=lastpost for example http://www.example.com/forums/topic?action=lastpost

    • This topic was modified 13 years, 6 months ago by tiberiusCA.
    #116890

    In reply to: Private forums?

    Stephen Edgar
    Keymaster

    When you create the ‘forum you can assign the following permissions to each forum:

    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    #116889
    mooapo
    Member

    Hi….

    I am using the HTML5 Reset Blank theme, and I am designing the theme from scratch. The question I have is this, is bbPress a Theme, or is it just a Forum Page…. Sorry if I am confusing you.

    I guess what I am asking is this, can I just create a Page in my Blog called forum, add the Forum to that page using the short code?

    Thank you….

    #116876
    joethephish
    Member

    One more attempt to get the code to paste: (I guess it won’t work, oh well. It’s fairly standard.)

    get_header(); ?&gt;                        <!-- ?php comments_template( '', true ); ? -->                 <!-- .left-column -->                 <!-- .right-column -->            <!-- #content -->
    #116875
    joethephish
    Member

    Hey,

    My company’s website uses a custom wordpress theme, and we’ve been adding bbpress compatibility to it directly (rather than using a child theme). We’ve been working on a staging server initially, before installing the updated theme on the main site.

    We got everything working very nicely on the staging server, but the main one seems to have problems. Here’s an example:

    I’m very confused, because supposedly there’s no difference in setup between the staging server and the live one.

    I have a single top level template file for the forums: forum.php, which looks like this:

        get_header(); ?&gt;                        <!-- ?php comments_template( '', true ); ? -->                 <!-- .left-column -->                 <!-- .right-column -->            <!-- #content -->
    #116873
    #116862
    JayteeHong
    Member

    I’d like to be shown topic no or topic id in topic list.what should I edit in loop-single.php file? please show me getting topic id codes. thanks.

    • This topic was modified 13 years, 6 months ago by JayteeHong.
    #116846
    #116841

    In reply to: No bbpressindex page?

    MediaSVI
    Participant

    Nope I just had to make a New Page, named it Forum and then put short code [bbp-forum-index] .

    Still not sure if this plugin is going to work for me, I am not that happy with the way it is arranged, it is a bit hard to understand how to see the different forums as they are just text and no color bars to differentiate them. Plus I need to have “Youtube” & “Picture” embed buttons to make it easy for people to share.

    nickritchey
    Member

    I disabled all of the plugins and thought it was W3 Total Cache at first, but then I ended up with other errors.

    I disabled all caching and it was still broken. I addressed each problem individually, and after a few hours of trying different things, I changed

    memory_limit = 62M      ;

    to

    memory_limit = 128M      ;

    in php.ini in my root folder and re-enabled the W3 Total Caching. That seemed to fix the problem.

    Resolved!

    Thanks for your help!

    #116824
    mluther
    Member

    bbpress.org/forums/ editor messed up my child sidebar.php code in my previous post. My child sidebar.php code is pasted on http://codetidy.com/3282/

    • This reply was modified 13 years, 6 months ago by mluther.
    #116821
    mluther
    Member

    Dear Netweb and all other helpful folks,

    I looked in my Child theme’s folder and I have three files in there.

    1. footer.php
    2. sidebar.php
    3. style.css

    When I temporarily renamed my Child’s sidebar.php to sidebar.phpTEMPCHANGE, I was able to see the bbpress sidebar.

    I remember now why I created a Child sidebar.php file, and it is because I did not want any sidebar to show up when a website visitor uses the search feature. See https://wordpress.org/support/topic/archives-and-meta-widgets-show-up-on-search-results-pages for my post and people’s suggestions.

    My child’s sidebar.php contains this:

        &lt;!-- https://mail.google.com/mail/u/0/#inbox/1383cda0f1903ca0                     'monthly' ) ); ?&gt;                                                                                                                --&gt;    <!-- #secondary .widget-area -->

    What can I do to both:

    A. Keep the “Login” and “Meta” from showing up in the nonforum pages

    AND

    B. Make the bbpress sidebar appear?

    Thank you!enter code here

    #116819

    In reply to: No bbpressindex page?

    Stephen Edgar
    Keymaster

    You will need to copy the templates into a subdirectory of your theme

    https://codex.bbpress.org/theme-compatibility/

    #116817
    #116815
    Stephen Edgar
    Keymaster

    Take a look in form-reply.php/form-topic.php/form-forum.php templates.

    If your going to edit any of these I suggest you copy them to your theme folder so you don’t edit the core files and will not lose any custumizations you get bbPress updates.

    https://codex.bbpress.org/theme-compatibility/

    #116814

    In reply to: No bbpressindex page?

    Stephen Edgar
    Keymaster
    #116812
    Stephen Edgar
    Keymaster

    @capsx Those are phpBB ‘magic_url’ and phpBB by default will truncate/shorten all URL’s to 55 characters. It does this so there are not extremely long URL’s in posts. eg. This URL is 63 characters in length, phpBB will leave the ‘href’ in tact but shorten the displayed URL to 55 characters.

    <a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a>

    phpBB SQL DB stores this in the posts table with the following code

    <!-- m --><a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a><!-- m -->

    There is more info on ‘magic_url’ here and here.

    Thanks for posting your example code above.You may also want to look at https://bbpress.trac.wordpress.org/ticket/1884

    • This reply was modified 13 years, 6 months ago by Stephen Edgar. Reason: code formatting
    MTPrower
    Member

    Using WordPress 3.4.1 and bbPress 2.1.2.

    Ever since I began using bbPress, about two years ago, one thing has driven me up the wall– the forums root, or forums index, or forums archive– whatever you want to call it. It’s the page that you land on when you go to the forums, the page that you get to when you click the root page “Forums” in the breadcrumbs, the same “Forums” link after “Home” in the breadcrumbs. No other forums system except bbPress uses a slimmed-down, so-bland-it’s-not-worth-looking-at template for the root of their forums like the Forums Index.

    I tried several ways to make the root page of the forums look like a Single Forum page, in all its not-slimmed-down glory:

    • Rename the Forums Base on the settings page to “forums-index” and use a WordPress page with “[bbp-single-forum id=####]” in it for the landing page of my forums. This, however, still keeps the breadcrumbs link, “forums”, linking to the Forums Index. Since I can’t figure out how to change that link, this method doesn’t work.
    • Edit content-archive-forum.php so that it displays the content of my WordPress page with “[bbp-single-forum id=####]” in it, and nothing else but the site header and footer and whatnot. Having a custom Forum Index page like this would be ideal, but for some reason it glitches out, displaying like the normal Forums Index, but with the entire forums index, including all categories, under a single category header. For every new single-forum shortcode you add to show another forum, it just repeats what the first shortcode did, too.
    • I could rename the forums base to “forums-index” like said before, and redirect “forums-index” to my WordPress page, but it’s a little ridiculous that I would have to rely on something as sloppy as a redirect hack…

    Somebody please help me figure out what I can do. Every other forums out there shows their forums index in what bbPress calls “single forum” view. I just want to do that with bbPress too.

    • This topic was modified 13 years, 6 months ago by MTPrower.
Viewing 25 results - 15,576 through 15,600 (of 32,503 total)
Skip to toolbar