Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,451 through 17,475 (of 32,522 total)
  • Author
    Search Results
  • #95753
    folgerj
    Participant

    Well I went through and liked the plugin and then kept it plain vanilla but when I got to the theme change I was going to keep my theme but clicked save and finish and now I have a buddy press themed blog but with no way to get into the back-end of my site… :-( I take it back now I can’t get to the front end either… Oh fun… Now I have to do a rebuild from outside the system…

    Now I have to go and rebuild from last nights back up…

    I get this error

    John is this one of those other plugins conversations that I need to take elsewhere?

    I reuploaded from last nights backup and it still won’t let me into the site. I can see it for a minute with the BBpress theme running but if I try to log in or anything It won’t let me go any further?

    I would have thought when I overwrote all the files it would have changed back… Does the plugin change the database also?

    #109670
    Per Carlen
    Member

    Your english is fine dude! I’m from Sweden myself.

    This is Suffusion’s template “no-sidebars.php”:

    <?php
    /**
    * Template Name: No Sidebars
    *
    * @package Suffusion
    * @subpackage Templates
    */

    get_header();
    ?>

    <div id="single-col">
    <?php
    suffusion_page_navigation();
    suffusion_before_begin_content();
    ?>
    <div id="content">

    <?php
    global $post;
    if (have_posts()) {
    while (have_posts()) {
    the_post();
    $original_post = $post;
    ?>
    <div <?php post_class('fix'); ?> id="post-<?php the_ID(); ?>">
    <?php suffusion_after_begin_post(); ?>
    <div class="entry-container fix">
    <div class="entry fix">
    <?php suffusion_content(); ?>
    </div><!--/entry -->
    <?php
    // Due to the inclusion of Ad Hoc Widgets the global variable $post might have got changed. We will reset it to the original value.
    $post = $original_post;
    suffusion_after_content();
    ?>
    </div><!-- .entry-container -->

    <?php suffusion_before_end_post(); ?>
    <?php comments_template(); ?>
    </div><!--/post -->
    <?php
    }
    }
    ?>
    </div>
    </div>
    <?php get_footer(); ?>

    #109669

    More explanation..

    Your forums_index page is located at myblog.com/forum and displayed full-width or no sidebar. That is what you want and displays perfectly.

    But when you accessing a topic or reply it will show sidebar, it happen due each forum specific page is using specific ‘page template’ that belong to bbPress theme.

    Here example:

    myblog.com/forums – default forums will using ‘single-forum.php’ page template

    myblog.com/forum – your custom page that you use now (in my case I create custom template ‘page-forum-home.php’ to show page without sidebar. On your case just using ‘No Sidebar’ template page)

    But when you browse into (forum)

    myblog.com/forums/forum/general/ – it will using ‘single-forum.php’ page template

    When you browse more (topic)

    myblog.com/forums/topic/rules-and-ethics/ – it will using ‘single-topic.php’ page template

    And that also applies when you edit something or doing something else, it will use different page template that belong to bbPress theme.

    How to solve this?

    I want you to understand that your WordPress theme (not bbPress theme) have page templates, such as

    page.php - default page
    page-full.php - page to show full width or no sidebar
    page-blog.php
    page-contact.php
    page-gallery.php
    page-login.php
    page-search.php
    page-sitemap.php
    page-template-portfolio.php
    etc ... (the number varries and depend on each WP theme)

    You need to copy page-full.php or whatever page to show full width or no sidebar content (html and php styles) and replace (about 75%) for your others bbpress theme.

    That what I going to by owning your the content of “No Sidebars” page template of yours.

    So your forum will display the same layout and styles.

    #109668

    I’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.

    Yes, that what I meant and you already do that.

    The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/

    Then the sidebars show up.

    Its using another page template that I will describe later if you can provide me the content of “No Sidebars” page template. It will be modified to suit another template for use in bbPress.

    Did I just answer your question? :)

    I really appreciate that you’re taking your time to answer me!

    Please don’t give up on me yet :)

    For your notes, English was not my mother language. I’m Indonesian and I do love to help, since it took my two days to understand bbPress (and I still confused a lots) and able to start my own forum site. I browse this forum, since this is the only help available.

    #109667
    Per Carlen
    Member

    I’m not sure I’m getting you. If I’m creating a new page I can chose “No Sidebars” as template, which I have done for the page where I’ve put my bbpress shortcodes (myblog.com/forum) That page looks fine.

    The problem is when I click on a topic or whatever on that page and gets taken to another page. Like myblog.com/forums/forum/topic/

    Then the sidebars show up.

    Did I just answer your question? :)

    I really appreciate that you’re taking your time to answer me!

    Please don’t give up on me yet :)

    If your php code work and displayed the date as “THU JAN 1970”, it happen due php code ‘D M Y’

    You should refer this page http://php.net/manual/en/function.date.php to change code that will suit your display need.

    <?php global $post;

    $lalaposttime = date( 'CHANGE THIS', strtotime( $post->post_id ) );

    echo $lalaposttime; ?>

    #109666

    I’m not using Suffusion theme, so I not really sure if Suffusion have full-width page template. Do they have it?

    How about trying to create empty page or with some dummy content and publish it. Do the published page have sidebar?

    If yes, try change page template to ‘full-width’. If you don’t have it, post here just maybe I can help you create it. I will find Suffusion theme later, it’s free isn’t it?

    If no, then you should be okay. Just replace the dummy content with shortcode.

    #109181
    tgiokdi
    Member

    perhaps in the bbpress installation, there should be a suggestion to add a page with the shortcode already on it, or create a link in the menu. It took me a while to figure out just where the ‘new’ forum was.

    #109303
    demonboy
    Participant

    Permalinks doesn’t come into it as this was working before I started uploading a theme. However I think I have solved the issue, and of course it was very straightforward! Quite simply I had not copied the bbpress folder into my theme’s folder as I assumed this was a theme in itself.

    Of course I wouldn’t have worked this out if I had not attempted to follow through your suggestions, so thank you for helping me work out my own stupid mistake ;)

    #109300

    I have version 2.0 but can’t for the life of me get my theme to be picked up. I have followed the guide here: bbpress.org/forums/topic/bbpress-20-theme-compatibility as best I could but there are some things not well explained. This is what I have done so far:

    Great, you find that!

    1. Copied all the files from /bbpress/bbp-themes/bbp-twentyten/ and placed into the root of my theme (wp-content/themes/mytheme/)

    Correct, beware of replacing files by accident. Usually you will have 2 file left style.css and functions.php

    2. Copied the .js and .css files from the /bbpress/bbp-themes/bbp-twentyten/css/ and /bbpress/bbp-themes/bbp-twentyten/js/ folders into the root of my theme (wp-content/themes/mytheme/)

    Correct!

    3. I also copied the content of style.css from the bbp-twenty-ten theme into my own css file, which also sits in wp-content/themes/mytheme/

    Yes, add it at the bottom of the file.

    4. I copied the entire contents of functions.php from the bbp-twenty-ten folder to my own theme functions.php, which also sits in the root of my theme folder.

    Don’t do that. Just add this to your functions.php file:

    add_theme_support( 'bbpress' );

    All that displays is the ‘Forums’ header but no content.

    You need to make some forum first withing WordPress admin dashboard then you will have some content when you display the forum itself..

    What am I doing wrong? Have I placed something wrong somewhere? Should I have copied the whole bbp-twentyten folder itself into the root of my theme folder? What is that first page that gets served up when hitting http://www.mywebsite.com/forums/? Is it page-front-forums.php and should that be sitting in the root of my theme as it is currently?

    I’m also confused my the functions.php where it says:

    // Setup the theme path

    $this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;

    // Setup the theme URL

    $this->url = $bbp->themes_url . ‘/bbp-twentyten’;

    Following this, I’ve tried copying bbp-twentyten folder into the root of my theme, but still nothing.

    Yours, quite confused.

    Don’t do that. Skip this.

    After you do above that I recommend, tell me the result.

    #109299
    Andre
    Participant

    So far I’ve only set up forums using shortcodes, but I’d guess you need to change the code listed

    // Setup the theme path

    $this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;

    // Setup the theme URL

    $this->url = $bbp->themes_url . ‘/bbp-twentyten’;

    to

    // Setup the theme path

    $this->dir = $bbp->themes_dir . ‘/mytheme’;

    // Setup the theme URL

    $this->url = $bbp->themes_url . ‘/mytheme’;

    Again, I’m guessing and haven’t attempted what you are doing.

    #109581
    Andre
    Participant

    Put [bbp-forum-index] as the content of the page if you want a list of forums displayed.

    Put [bbp-topic-index] as the content of the page if you want a list of topics displayed.

    Other shortcodes are listed at https://bbpress.org/forums/topic/bbpress-20-shortcodes.

    #109580

    Ok, I try to help.

    You should read this https://bbpress.org/forums/topic/bbpress-20-shortcodes

    Then if you still encounter problems, just reply again. I will be here.

    miruru
    Member

    Most forum software displays the actual date for the freshness. I have used the following code as an example:

    <?php global $post;

    $lalaposttime = date( 'D M Y', strtotime( $post->post_id ) );

    echo $lalaposttime; ?>

    This worked to a point, however it displays the date as “THU JAN 1970”.

    I assumes that it will be different for the bbpress plugin itself.

    Could anyone help get me started with this?

    Thanks in advance.

    #109322

    In reply to: Where is my Forum?

    How to access your forum? (please create some forums first)

    – After you installed bbPress, sitename.ext/forums/ will always display your forum site.

    – If you are not merge bbPress theme with WordPress theme, you can create a page and use shortcode [bbp-forum-index] to show the forum index/archive

    – If you are merge bbPress theme with WordPress theme, you can create a page and choose page template bbPress – Forums (index)

    and you will see your forum.

    #109663

    ..

    I changed this in mypage.com/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten

    But I don’t use that theme. I use NO theme. So where do I remove the sidebars?

    Hi, AFAIK every bbPress usage always use ‘bbPress default theme’ located within …/wp-contentpluginsbbpressbbp-themesbbp-twentyten folder (except you integrated it with your WordPress theme or you are using custom theme already).

    So you are using ‘bbPress theme’ already and there are no sidebars within that default theme. Sidebars if from your WordPress theme, that you should edit.

    Things looks okey so far! Now I want to remove the sidebars from the forum (not the page, I know how to do that) and I have read a couple of tutorials but still don’t get it.

    Some theme have page template to display ‘full width page’, you must choose it. If your theme don’t have it try create it.

    Here are sample of page using shortcode [bbp-forum-index]

    -> http://themescommunity.com/forums-index/

    I’m newbie too!

    #40192
    Per Carlen
    Member

    I have a blog with the Suffusion-theme on wich I just installed bbpress. I don’t need a fancy theme for bbpress.

    * Created a new page for the forum (blablabla.com/Forum)

    * Set up all the forums/subforum etc.

    * Used the shortcode for showing the forum = [bbp-forum-index]

    Things looks okey so far! Now I want to remove the sidebars from the forum (not the page, I know how to do that) and I have read a couple of tutorials but still don’t get it.

    I don’t want to use a theme or childtheme, I want the forum to have the same coloring etc. as the Suffusion theme I use. So where do I remove the sidebars?

    I have removed <?php get_sidebar(); ?> from:

    * single-forum.php

    * single-topic.php

    * single-reply.php

    as described in another thread in here. I changed this in mypage.com/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten

    But I don’t use that theme. I use NO theme. So where do I remove the sidebars?

    Please let me know what I’m doing wrong here! :)

    #109643
    amirsaam
    Member

    If you wanna use bbPlugin (bbPress 2.0) you may want to make a plugin that do what you want. But by using bbPress you can use this plugin: Hidden Forums :)

    #109321

    In reply to: Where is my Forum?

    thruxton
    Member

    Hi BJ, I’m afraid I’m none the wiser and have had no success getting the link on the menu. When I create a new Forum, from the bbPress plugin menu, the option of selecting the homepage template is not available. I’m not sure which page to call ‘page-front-forums’. I’ve no idea about shortcodes and from what I’ve tried to find out there’s nothing related to bbPress that can help with this problem.

    General Comment: I got rid of another forum plugin because bbPress seemed to get better reviews and simpler config. The one I got rid of took 5 minutes to install and configure and it worked but just not the way I wanted it to. bbPress seems weirdly complicated requiring levels of knowledge beyond that of the ‘common user’ to even get it visible!

    #109591

    In reply to: disabling breadcrumbs

    @binarymoon – nicely done! PayPal okay? :)

    #95749
    amirsaam
    Member

    Before installing bbPlugin do you see activity stream?

    Install WordPress again, then set up the BuddyPress. After that install bbPlugin on it.

    If you saw issue again write it down again here

    Maziyar is a Persian name. Are you Persian? Email me then… :)

    #109590

    In reply to: disabling breadcrumbs

    amirsaam
    Member

    I like that smile :))

    #109589

    In reply to: disabling breadcrumbs

    binarymoon
    Participant

    easier than I imagined.

    function bm_bbp_no_breadcrumb ($param) {
    return true;
    }

    add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');

    How would you like to send me my dollar? :)

    Now if only I could work out why this isn’t working properly – https://bbpress.org/forums/topic/remove-default-template-styles?

    #105799

    In reply to: bbPress 2.0 – FAQ

    Great link BJ, thanks!

    I also waiting for the upcoming codex by JJJ.

    I have manage to administrate a bbPress forum at http://themescommunity.com/ , but still lots of question in minds. I will compile it first then ask at ones.

    #100699

    In reply to: bbPress 2.0 – FAQ

    Great link BJ, thanks!

    I also waiting for the upcoming codex by JJJ.

    I have manage to administrate a bbPress forum at http://themescommunity.com/ , but still lots of question in minds. I will compile it first then ask at ones.

Viewing 25 results - 17,451 through 17,475 (of 32,522 total)
Skip to toolbar