Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,426 through 17,450 (of 32,506 total)
  • Author
    Search Results
  • #109183
    bobbyh44
    Member

    Hi Again,

    Ahh thanks tgiokdi, getting closer to knowing how to get this working.

    So you install it.

    Then you make a wordpress page.

    Then you add a shortcode tag to that page.

    I’m guessing you add it into the HTML view of the page or a post and it would look something like:

    [bbpress(testforum)]

    Where the name of the forum is ‘testforum’.

    I haven’t tried this but maybe its a step in the right direction. Can anyone tell me what the tag looks like to get the forum to show up… or is it a secret ;)

    #95759
    QuickCat
    Member

    I am very new to bbpress plugin for wordpress. How do I get a plugin within the bbpress plugin for wordpress? I want to use BBcode, BBVideo, UserApprove and Allow Images. Are there any plugins in for this? How does one install a plugin when bbpress is a plugin itself? Can you automatically download or do you have to install manually?

    Will the plugins for the old software work for this bbpress plugin?

    Per Carlen
    Member

    Hi!

    I run a blog on which I’d like to have a BBPress forum alongside the regular blog and some other pages. But I have ran into a few problems.

    Step-by-step background:

    1. Installed WP

    2. Installed Mingleforum

    3. Created a page called “forum” for Mingleforum (myblog.com/forum)

    4. Set the forum up and people started posting stuff on it

    5. Concluded that Mingleforum lacked several features

    6. Installed BBPress but did NOT uninstall Mingleforum or delete the page “forum”

    7. Did NOT chose any template for BBPress because I don’t know how

    8. Created a paged called “new forum” on which i simply wrote [bbp-forum-index]

    9. Created what I like to call categories, but I guess really are different “forums”

    Problem 1:

    After working on my BBPress forum for a couple of days and looking thru tutorials, I realis that there’s supposed to be an admin panel for BBPress!? I can’t find it.

    Within the regular WP admin panel I do have a menus called “Forums”, “Topics” and “Replies”. And under “Settings” in the regular WP admin panel I’ve got another menu called “Forums”. In these menus there’s really not that much to do. From what I have understood there’s a admin panel specifically for BBpress, which I can’t find.

    Problem 2:

    If I get the admin panel for BBPress to work, I will probably want to install a theme since the forum looks like crap when I just add [bbp-forum-index] to the page “new forum”. Can I use a theme specifically for BBPress or will that theme also affect my main blog and all the other pages? When I change to Twentyten under Appearance->Themes (Not sure if it’s called that in the EN version of WP. I use the swedish version) in the regular WP admin panel, my whole blog get that theme.

    Problem 3:

    Since the old forum, Mingleforum, has about 100 posts in it, I’d like to transfer these posts and their respective categories etc to my new BBPress forum. Is that possible?

    I can not express how much I would appreciate it if someone helped me with this. It’s almost 1:00 at night here and I’ve spent yesterday and the whole day today trying to get this stuff to work. I’m going crazy here, so please help me :)

    Thanks!

    #40198
    tindalos
    Member

    I have a new installation of bbPress 2.0 working great, and it’s really nice.

    However, I’m trying to migrate data from a plugin called WP-Forum 1.7 which apparently is listed as ForumPress. I can’t find much detail about this at all.

    It looks like this may be a fork off WP-Forum-Server, but I can’t find much help online anywhere on how to migrate this. SimplePress has a WP-Forum 2.2 converter, but it doesn’t appear to be online. The WP-Forum plugin creates a different structure of tables:

    INSERT INTO wp_forum_posts (id, text, parent_id, date, author_id, subject, views) VALUES

    and

    INSERT INTO wp_forum_threads (id, parent_id, views, subject, date, status, closed, mngl_id, starter, last_post) VALUES

    for example.

    Although I’m somewhat familiar with the database, I haven’t found an EASY way to manually export/import to the bbPress use of Posts, etc.

    Anyone know more about this or have any pointers? Thanks!

    Brandon

    #107346

    Both [bbp-single-forum id=ID] and [bbp-single-topic id=ID] include a reply form at the bottom.

    The code wasn’t that hard, but there doesn’t seem to be a need, since you’d really want context to your ‘make a new post in the forum’ in that thread, wouldn’t you?

    #109673
    Per Carlen
    Member

    I just wasted an hour of experimenting with turning my homepage/blogpage into a static page, creating categories etc. Then I realised that the setting amount of sidebars on blogpage was just underneath the setting you just reffered to…..

    Thanks again man! Things are just like I want them! :)

    #109672
    Per Carlen
    Member

    That got the forum looking like I want it, but my mainpage is not a “page” so I can’t find where to chose another template for it?

    For the other pages I just chose a template with left and right sidebar and they looked as before.

    So, just the startpage is messed up now :) Any ideas?

    #109671

    After I seeing above source code, I think that my previous method (that I would like to suggest you) won’t be working as suppose.

    So I download the Suffusion theme, trying on my Xampp and found simple answer. You just need to deactivate ‘Sidebar Layout’ into 0 (Zero).

    Go to your site at

    yoursite.com/wp-admin/themes.php?page=suffusion-options-manager&tab=theme-options-sidebars-and-widgets.php

    You will have a sidebar layout options, try change the default views into 0 (Zero) or no sidebar at all. You can still manage others to have sidebar(s), just find another related options.

    Default Views

    The theme is set up with one sidebar (a two-column theme) by default. You could choose to have two sidebars (a three-column theme) or none if you want. Unless otherwise overridden in the subsequent options, this will be applied to your entire blog.

    0 (Zero) -> choose this

    1 (One)

    2 (Two)

    The save by clicking Save page ‘Sidebar Layout’

    Suffusion is way to complex for code modification, and I hope above method working as suppose, since it work on my localhost.

    Hit me if you still have trouble!

    #40190
    spigi
    Member

    Hello everyone

    I’ve got a little problem with bbpress theme install. My dashboard looks like this:

    http://img689.imageshack.us/img689/1038/bbpress.jpg

    Where is my “Chenge themes” button? I create “my-templetes” in directory:

    wp-content/plugins/bb-press and give 755 permission.

    Any help, please? :(

    PS. Sorry for my english :)

    #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!

Viewing 25 results - 17,426 through 17,450 (of 32,506 total)
Skip to toolbar