Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,901 through 17,925 (of 64,516 total)
  • Author
    Search Results
  • #154132
    bidhan.baruah
    Participant

    Hi,

    We had a custom forum created through a .NET application. Its a legacy application built in 2006.
    Now client is migrating to wordpress / bbpress. For forum migration I have created a application to import data from .NET application (Sql Server database) in a format where I can use mingle importer to import.

    The tables we have created are wp_forum_forums, wp_forum_threads; wp_forum_posts;

    Table definition are
    CREATE TABLE wp_forum_forums (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    name varchar(4000) NOT NULL,
    parent_id bigint(20) NOT NULL,
    description text,
    sort int(11) DEFAULT NULL,
    PRIMARY KEY (id)
    ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;

    CREATE TABLE wp_forum_posts (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    parent_id bigint(20) NOT NULL,
    subject varchar(2000) DEFAULT NULL,
    author_id bigint(20) unsigned NOT NULL,
    text mediumtext,
    date datetime NOT NULL,
    PRIMARY KEY (id),
    KEY fk_wp_forum_posts_wp_forum_threads_idx (parent_id),
    KEY fk_wp_forum_posts_wp_user (author_id),
    CONSTRAINT fk_wp_forum_posts_wp_forum_threads FOREIGN KEY (parent_id) REFERENCES wp_forum_threads (id),
    CONSTRAINT fk_wp_forum_posts_wp_user FOREIGN KEY (author_id) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
    ) ENGINE=InnoDB AUTO_INCREMENT=69731 DEFAULT CHARSET=latin1;

    CREATE TABLE wp_forum_threads (
    id bigint(20) NOT NULL AUTO_INCREMENT,
    parent_id bigint(20) NOT NULL,
    starter bigint(20) unsigned NOT NULL,
    subject varchar(4000) DEFAULT NULL,
    status varchar(100) NOT NULL,
    date datetime NOT NULL,
    last_post datetime NOT NULL,
    closed varchar(50) NOT NULL,
    PRIMARY KEY (id),
    KEY fk_wp_forum_threads_wp_forum_forums_idx (parent_id),
    KEY fk_wp_forum_threads_wp_users_idx (starter),
    CONSTRAINT fk_wp_forum_threads_wp_forum_forums FOREIGN KEY (parent_id) REFERENCES wp_forum_forums (id),
    CONSTRAINT fk_wp_forum_threads_wp_user FOREIGN KEY (starter) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
    ) ENGINE=InnoDB AUTO_INCREMENT=9303 DEFAULT CHARSET=latin1;

    Through our custom code we populated these tables.

    Everything works fine, but while importing the wp_forum_posts (which has got 69K records) the importer hangs between 35600 to 35699. I tried atleast 5 / 6 times but same result every time.

    Can you kindly help us in this?

    Thanks and Regards
    Bidhan

    #154130
    x5tuts
    Participant

    For some reason I can’t import from vanilla to bbpress, I have filled out all the details correctly but nothing is working.

    cheers

    #154127
    Robin W
    Moderator

    If you are using the shortcode

    [bbp-forum-index]

    on a page, then the template that page is using can be called but sub pages will use bbpress.php

    See if that is your issue

    toomba
    Participant

    Hello,

    My index (archive?) forum page is grabbing a different template from the one specified in the bbpress.php files I made. Well, I used debug bar, and it said the forum index page was serving the same template (bbpress.php) as the normal forum pages. However, it clearly isn’t as it’s displaying it has different elements + css working on them.

    The problem is huge, as it’s grabbing the template I use for the main page, which has a sidebar (‘.twocol’) which I’ve reduced the width to 33.2%. This means the box the forum page is appearing in is totally squashed. I can’t amend the css for the forum index page without ruining my front page.

    Can anyone help me figure out which template is being called by the forum index page, and how to make sure it just refers to the bbpress.php file?

    #154115
    readwriteandedit
    Participant

    I don’t know if this is a question for bbPress, bbPress WP Tweaks, or iThemes Exchange Membership, but I’ll start with bbPress.

    I have multiple forums, one private. I’m using the bbPress WP Tweaks plugin for my forum sidebar and restricting access to all forums through Exchange Membership.

    The private forum is hidden from the forum list, which is what I expected and what I want.
    The private forum cannot be accessed from my menu link (although I need to figure out how to get rid of the “oops message), which is also expected behavior.

    However, recent topics and recent replies in the sidebar both show links to a topic from the private forum to non-members of the forum. That is, the sidebar shows topics for every forum, even the private one, and even to non-members. Clicking the links for topics/replies from the private forum returns the “oops message” and so non-members can’t actually link to the forum that way, but I don’t want anyone who’s not a member of the private forum to even see topic titles. Everything in the private forum should be private.

    Additionally, using the search box in the sidebar brings up both topics and replies to content from the private forum–not merely links, but the topics and replies themselves, as if they weren’t part of a private forum. This is true whether or not the user is logged in.

    Exchange Membership allows me to restrict access to replies and topics, but only globally; topics and replies can’t be restricted on a forum-by-forum basis.

    1. So, is there a setting I’m missing in bbPress to make replies and topics private inside a private forum? Is it standard for members of other forums to be able see the titles of topics of a private forum or allow access through search? (Or if you think this is being caused by the bbPress WP Tweaks plugin and you have any ideas for a fix, that would be great.)

    2. Also, can I change the “oops, that page can’t be found” message or redirect users to another page when they click on the link to a private forum? Exchange Membership already has something set up to prevent access to protected pages/posts (with a message I can change), and that works if a non-member tries to access a public forum. But something about the private forum settings/setup produces a different redirect. I’m open to suggestions.

    Thanks for your help.

    Wordpress: 4.0
    bbPress: 2.5.4
    bbPress WP Tweaks: 1.3.1
    iThemes Exchange: 1.10.6
    Exchange Membership Add-on: 1.2.8
    My site: The Editor’s Blog Members

    The Member Forum is public, the Pro Forum private. The topic–Can Sally See This Topic–is from the Pro Forum and shouldn’t be seen by or accessible to the Member Forum.

    #154111
    #154106
    Robkk
    Moderator

    well i cant see the links on your site because its only shown if you are logged in.

    but i just looked up the css selectors on here.

    see if this changes the color.

    a.subscription-toggle,
    a.favorite-toggle {
    color:328c00;
    }

    if you want to change the color of other links like for example the reply author link use inspect element in your web browser, and try to find the class/id then style it from there.

    if sometimes some css doesnt work you would have to probably go add the parent class/id in the css or add !important to the end.

    like

    li.bbp-header a.favorite-toggle {
    color:#328c00;
    }

    search up on google/youtube on how to use inspect element in your browser

    more info here

    Step by step guide to setting up a bbPress forum – part 2

    bbPress Styling Crib

    #154105
    bsilverop
    Participant

    Thanks for the update. I have a file called full-width.php in wp-content/themes/twentyfourteen/page-templates. And I apologize, I don’t think I was clear in my original post. I want the forum to extend the width of the page beyond the content sidebar on the right side of the page. I do want the left sidebar to remain.

    I modified the copy of bbpress.php taken from page.php, and I removed

    <?php get_sidebar( 'content' ); ?>

    I was already hiding the content sidebar on forum pages, so the result there is the same. The forum is cut short where the content sidebar on the left normally appears.

    I tested the full width page template on one of my pages to make sure it extends beyond the content sidebar on the right, and it does. I am hoping to get the forum to do the same. Thanks again,

    #154102
    Robin W
    Moderator

    my twentyfourteen theme doesn’t have a full-width.php.

    Suggest you make a copy of page.php – rename it bbpress.php

    then remove

    get_sidebar();

    near the end

    and save it and let us know if that works

    #154096
    Robkk
    Moderator

    if you want your bbpress forum links to be different than your sites links use this

    #bbpress-forums div.bbp-topic-content a, #bbpress-forums div.bbp-reply-content a {
    background: none;
    border: none;
    display: inline;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: red;
    }
    gvasilis
    Participant

    When i create topics from the Dashboard with greek names, the title in the link is sanitized automaticaly, and there is no problem. But when a user creates a topic from the bbpress interface then the link remains in greek and the topic returns a 404 page not found error.
    I dont understand if i need to put some code in bb-post.php and bb-edit.php, where and what exactly i should change.

    #154079
    Robkk
    Moderator

    1. the login issue , i cant do much about since its about the design of bbpress.org , i can pitch some desgin ideas like just showing login and register links in the admin bar instead of the anonymous user profile dropdown so that it could be more like the wp admin bar as it is now.

    2. i dont think bbpress login shortcode/widget have a referrer login redirect , use this plugin to get that kind of functionality.

    https://wordpress.org/plugins/peters-login-redirect/

    if it doesnt work , i dont know how else to help you on this issue.

    3. i think you should create a new topic for this, i dont really know much about this.

    #154077
    jlaks
    Participant

    Wow Rob, I really feel stupid now. Spent 4 hours coping bbPress files to child theme and finessing the php.

    Thanks for the share.

    #154076
    Robkk
    Moderator

    @atfpodcast well i dont know what to tell you then, i got it to work fine on my side.

    i cant help from here maybe you should contact your theme author , and also gd bbpress tools.

    or try finding the issue yourself, because i have no idea.

    #154075
    jlaks
    Participant

    Thx Rob,

    Missed it as well my eyes are weary. Thank You for the quick response. Setting new forum for my eccomerce site https://www.boatpartsforless.com/. Learned quite a bit about bbPress in a day. Last thing really needing attention before it goes live is a login re-direct and one piece of code color of font forum titles. Really like bbPress but two a few quirky things.

    First: when I registered today for bbPress forum I really had to look for log in then finally figured out it was the icon top right. Seems like logging in and registering should not take that much effort.

    Second: Quirk. After log in site does not redirect back to page you where on. That disappointed me earlier today when searching for info and had to register to add to this topic. Again while I am really liking bbPress so far, seems weird two paramount conveniences are not incorporated in out of the box.

    Last one: is a little scary. If someone inputs incorrect log in information it redirects to WordPress main login in screen. Really have to work on that one before forum goes live. While most hackers know where log in in is for WordPress sites still seems stupid to advertise it like that.

    Or it could just be me, frustrated with having to learn something new.

    #154073

    In reply to: CSS Problem

    Robkk
    Moderator

    the css from this code is affecting the whitespace

    #left-area ul, .entry-content ul, .comment-content ul {
    list-style-type: disc;
    padding: 0 0 23px 16px;
    line-height: 26px;
    }

    maybe creating a bbpress.php file could fix this or just adding #bbpress-forums to the selector with reduced padding-left .

    #bbpress-forums #left-area ul, .entry-content ul, .comment-content ul {
    list-style-type: disc;
    padding: 0 0 23px 0px;
    line-height: 26px;
    }

    heres info on creating a bbpress.php file.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    umm i dont know what to tell you about the sidebar going the profile and tag pages, it might be because of the template you are using for bbpress currently so maybe making a bbpress.php could fix it but i dont know

    #154072
    Robkk
    Moderator

    you guys could use this plugin

    bbPress Login Register Links On Forum Topic Pages

    #154063
    jlaks
    Participant

    Hi blueberry cove,

    Would you mind sharing how you got your login/register, lost password links at top of your forum page. I have created these pages wordpress already. But each time I try and add a button or link to the top of the wordpress forum page. Button or link is added but breaks the bbpress forum itself and forum itself does not show only newly added link or button.

    Thanks in advance

    #154062
    jlaks
    Participant

    Hi robkk,

    I have tried every way I can to get the link to show, but no matter what I do it won’t. I can easily change the text “You must be logged in to create new topics” but no luck adding a link there. I have been working with the files form-topic.php, form-reply.php and form-forum.php. Here is the piece of code in each file I am working with including your snippet above. Any help will be much appreciated.

    <div class="bbp-template-notice">
    			<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.<a href="http://mysitename.com/login" title="login"></a>', 'bbpress' ); ?></p>
    		</div>

    I understand I have to use my url for forum login in “mysitename.com”

    Thanks

    #154060

    Topic: CSS Problem

    in forum Troubleshooting
    Schrank
    Participant

    I have a CSS Problem with bbpress
    Here ist the Forum Demo: http://zombicide.de/forum/
    I think the white space on left and at the border is not ok.

    On Profil and Tags Pages moved the sidebar under the forum.
    http://zombicide.de/forums/user/schrank/
    http://zombicide.de/forums/topic-tag/test/

    #154059
    bsilverop
    Participant

    Hi All,

    I’m having some trouble getting my forum pages to be full width. If I use the shortcode to embed a forum and set my page template to “Full Width”, it works fine. But then if you click another forum topic it goes back to what looks like half width. I have tried copying my full-width.php (twenty fourteen) and calling it bbpress.php and forum.php, but it seems to have no impact. I have also tried adding some CSS, but also seemed to have no impact:

    .bbpress-forums .col-2cl .main {
    background: none repeat-y right 0;
    padding-right: 0px;
    }

    I’m kind of at a loss as to why the forum pages are still not full width, so would appreciate any suggestions. Thanks,

    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #154053
    Robin W
    Moderator

    a /members page is not part of bbpress. Might be buddypress or because you have set a page up, but not default bbpress

    #154051
    bsilverop
    Participant

    Hello. Thanks for sharing this information. I am new to WP, so not sure I’ve done this properly. I do have custom CSS and was able to add the CSS you suggested:

    .bbpress .main {
    background: none repeat-y right 0;
    padding-right: 0px!important;
    }

    But it seemed to have no impact. I think I’m missing the part about creating the bbpress.php file. I made a copy of my page.php in my theme directory and renamed it to bbpress.php. Was that the appropriate step or have I missed something? Thanks!

    #154049
    Robin W
    Moderator

    simplest solution without me documenting alternatives would be to create bbpress roles with the same names as you member ones

    see https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#14-adding-new-bbpress-roles

    so you’d create a bbpress role called new member and give it the same capabilities as participant

Viewing 25 results - 17,901 through 17,925 (of 64,516 total)
Skip to toolbar