Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 18,301 through 18,325 (of 64,516 total)
  • Author
    Search Results
  • #153014
    Stephen Edgar
    Keymaster

    The code /includes/admin/converters/SMF.php#L717 is replacing [tt] and [/tt] respectively with <tt> and </tt> and a quick lookup of the “teletype” HTML tag shows we should not really be using it all πŸ˜‰

    http://www.w3.org/wiki/HTML/Elements/tt

    Can you post the HTML raw source of the post from SMF for me, this will allow me to see if it is currently doing it correctly, which I think it is per the details and screenshot below.

    SMF Source: [sup]superscript[/sup]<br />[sub]subscript[/sub]<br />[tt]teletype[/tt]
    bbPress Converted Source: <sup>superscript</sup><br><sub>subscript</sub><br><tt>teletype</tt>

    https://i.cloudup.com/jnMQwRKTXA.png

    We probably should rather than converting them <tt> / </tt> convert them to a span and/or p HTML elements:

    e.g.

    <span style="font-family: monospace;">
    This is a sample.
    </span>
    
    #153013
    Stephen Edgar
    Keymaster

    I had a quick look around to see if I could find if it was a port or fork of another forum project but very little info was around.

    I’d suggest taking a look at either the phpBB or SMF importers, they are pretty much the top two importers that are included with bbPress and have the best “import” feature support for bbPress.

    The ‘Example.php” importer also tries (I know it can/could/should be better) to explain some of the field mappings.

    I made a start on guessing the field mappings for the forum section based on the phpBB importer:

    Using a table prefix deluxebb_ should work fine with the field map 'from_tablename' => 'forums',, as the converter joins these staements together giving you deluxebb_forums πŸ™‚

    https://gist.github.com/ntwb/da6466dc2b057942f0fa

    I’ll let you have a crack at the topics, replies and users and then I’m more than happy to tweak it with some of the newest updates that will be included in the next release of bbPress.

    #153012
    brittonk
    Participant

    I’m moving a social site into BuddyPress and the forums used a now defunct DeluxeBB. It doesn’t seem to be one of the options for the Importer Tools. Do any of you know if the structure of DeluxeBB matches that of one of the options listed?

    Here are the forums, threads, and posts tables which contain most of the information needed for this migration.

    --
    -- Table structure for table <code>deluxebb_forums</code>
    --
    
    CREATE TABLE IF NOT EXISTS <code>deluxebb_forums</code> (
      <code>ordered</code> int(5) DEFAULT '0',
      <code>cid</code> varchar(225) DEFAULT NULL,
      <code>name</code> varchar(225) DEFAULT NULL,
      <code>fid</code> int(6) NOT NULL AUTO_INCREMENT,
      <code>topics</code> varchar(225) DEFAULT NULL,
      <code>replies</code> varchar(225) DEFAULT NULL,
      <code>viewstatus</code> varchar(10) DEFAULT NULL,
      <code>poststatus</code> varchar(10) DEFAULT NULL,
      <code>replystatus</code> varchar(10) DEFAULT NULL,
      <code>lastpost</code> varchar(225) DEFAULT NULL,
      <code>lastpostby</code> int(10) DEFAULT '0',
      <code>description</code> tinytext,
      <code>lastpid</code> int(6) DEFAULT '0',
      <code>lastpidtime</code> varchar(255) DEFAULT NULL,
      <code>password</code> varchar(32) DEFAULT NULL,
      <code>userlist</code> mediumtext NOT NULL,
      <code>moderators</code> mediumtext NOT NULL,
      <code>ficon</code> varchar(25) NOT NULL,
      PRIMARY KEY (<code>fid</code>),
      KEY <code>cid</code> (<code>cid</code>),
      KEY <code>lastpostby</code> (<code>lastpostby</code>),
      KEY <code>lastpid</code> (<code>lastpid</code>)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table <code>deluxebb_posts</code>
    --
    
    CREATE TABLE IF NOT EXISTS <code>deluxebb_posts</code> (
      <code>pid</code> bigint(10) NOT NULL AUTO_INCREMENT,
      <code>tid</code> bigint(10) NOT NULL DEFAULT '0',
      <code>author</code> int(10) NOT NULL DEFAULT '0',
      <code>subject</code> varchar(285) CHARACTER SET latin1 NOT NULL,
      <code>message</code> text NOT NULL,
      <code>picon</code> varchar(50) CHARACTER SET latin1 NOT NULL DEFAULT '',
      <code>postdate</code> int(10) NOT NULL DEFAULT '0',
      <code>ip</code> varchar(50) CHARACTER SET latin1 NOT NULL DEFAULT '',
      <code>smiliesoff</code> smallint(1) DEFAULT '0',
      PRIMARY KEY (<code>pid</code>),
      KEY <code>author</code> (<code>author</code>),
      KEY <code>tid</code> (<code>tid</code>,<code>postdate</code>,<code>ip</code>)
    ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=495424 ;
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table <code>deluxebb_threads</code>
    --
    
    CREATE TABLE IF NOT EXISTS <code>deluxebb_threads</code> (
      <code>tid</code> bigint(10) NOT NULL AUTO_INCREMENT,
      <code>fid</code> int(5) NOT NULL DEFAULT '0',
      <code>author</code> int(10) NOT NULL DEFAULT '0',
      <code>subject</code> varchar(285) NOT NULL,
      <code>picon</code> varchar(50) NOT NULL DEFAULT '',
      <code>views</code> int(3) NOT NULL DEFAULT '0',
      <code>replies</code> int(3) NOT NULL DEFAULT '0',
      <code>closed</code> smallint(1) NOT NULL DEFAULT '0',
      <code>pinned</code> smallint(1) NOT NULL DEFAULT '0',
      <code>moved</code> int(10) unsigned DEFAULT '0',
      <code>flame</code> tinyint(1) NOT NULL DEFAULT '0',
      <code>lastpostby</code> varchar(255) NOT NULL DEFAULT '0',
      <code>lastpostdate</code> int(10) NOT NULL DEFAULT '0',
      <code>hiddenby</code> text NOT NULL,
      <code>likedby</code> text NOT NULL,
      PRIMARY KEY (<code>tid</code>),
      KEY <code>fid</code> (<code>fid</code>),
      KEY <code>pinned</code> (<code>pinned</code>),
      KEY <code>lastpostdate</code> (<code>lastpostdate</code>),
      KEY <code>author</code> (<code>author</code>),
      KEY <code>moved</code> (<code>moved</code>),
      KEY <code>ashouts</code> (<code>fid</code>,<code>tid</code>,<code>author</code>)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=406651 ;
    #153011
    Stephen Edgar
    Keymaster
    #153010
    Stephen Edgar
    Keymaster

    Thanks for the ticket in Trac, we will work on adding either of the plugins mentiooned in the Trac ticket to bbPress.

    https://bbpress.trac.wordpress.org/ticket/2698

    #153008
    ttmt
    Participant

    Hi all

    I’m using a WP multisite. One of the sites is a bbpress forum.

    On another site I’m pulling through the lastest post using the code below

    The only thing I can’t seem to find is the shortcode to show an extract of the post.

    Is there a shortcode to show an extract of the post.

    
    <?php
        switch_to_blog( 3 );
        $topics_query = array(
          'author'=> 0, 
          'post_type'=> bbp_get_topic_post_type(), 
          'post_parent'=>'any', 
          'posts_per_page'=>3, 
          //'post_status'=>join(',', array(bbp_get_public_status_id(), bbp_get_closed_status_id()), 
          'show_stickes'=> false, 
          'meta_key'=>'_bbp_last_active_time', 
          'orderby'=>'meta_value', 
          'order'=>'DESC', 
          'meta_query'=>array(bbp_exclude_forum_ids('meta_query'))
        );
        
        $widget_query = new WP_Query($topics_query);
    
        if ($widget_query->have_posts()) :
          $widget_output = $before_widget;
          $widget_output .= $before_title . $title . $after_title;
          ob_start();
    
        while ($widget_query->have_posts()):
          $widget_query->the_post();
          $topic_id = bbp_get_topic_id($widget_query->post->ID);
          $author_link = bbp_get_topic_author_link(array('post_id'=>$topic_id, 'type'=>'both', 'size'=>60));
          $forum_id = bbp_get_topic_forum_id($topic_id);   
      ?>
    
      <div class="col-sm-4"> 
        <div class="post">
          <h4><a>"><?php bbp_topic_title($topic_id); ?></a></h4>
          <p class="date"><span><?php bbp_author_link($topic_id); ?></span> <?php bbp_topic_last_active_time($topic_id);?></p>
          <p> <!--show post extract--> </p>
          <a href="">Read more</a>
        </div>
      </div>
    
      <?php 
        endwhile; 
        endif; 
        wp_reset_postdata();
      ?>
    
    #153002

    In reply to: Forum Icons?

    Robin W
    Moderator

    just tested worked fine on my twentyten test site

    suggest 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 twentyten to prove your code works.

    #152996

    In reply to: Picture

    Icaroferreira
    Participant

    My bbPress codes have many other plugins mixed with it, so I can not make these changes.

    I want to modify only these three items photo already do one weeks and I can not. =(

    I give you my username and password, you can get into my wp-admin to do these three changes? Please.

    3 items

    #152995

    Topic: Forum Icons?

    in forum Troubleshooting
    LaunchFocus
    Participant

    http://www.kristarella.com/2013/04/bbpress-forum-icons/

    Above link does not work. What is the best way to add forum icons?

    Our forum URL – http://launchfocus.com/forums/

    #152992

    Searching the internet, I found https://github.com/pippinsplugins/bbPress-Export-and-Import

    This plugin is designed to create an CSV export file per forum and allows you to import it to another forum.

    1. Download the zip from github and install it like a regular plugin on both sites.

    2. On the donor site, open a forum for editing and find the Export link on the right under Forum Attributes. Click it and you will receive the CSV file.

    3. Go to the recipient site and create a new forum. Now on the right side under Forum Attributes (again) you’ll find the Choose File and Run Import buttons.

    This does import topics and replies and on the front end, all seems to work well except for the number of posts per topic is too high. On the back end, Topics appear to be disassociated from the forum — it says (No Forum) — and the All Replies page turns up blank again.

    Happily, heading over to Tools > Forums and running the top two “Recalculate…” and the “Count replies in each topic” options fixed things this time instead of making it worse πŸ™‚

    I really hope bbPress can be fixed to work with the normal WordPress Export/Import at some point but until then, the above steps should get you some good results.

    #152991

    Hi @treb0r23 – I just ran into the same issue. Wanting to move bbPress forums from one WordPress 4.0 to another 4.0 site, I tried WordPress’ own Tools > Export feature to create three export files, one with forums, one with topics and one with replies.

    After importing them in the same order, it looked like everything was fine. All forums, topics and replies where imported successfully and seemed to be correctly assigned to their ‘parents’.

    However, when visiting the front end, it turned out that only a two topics where visible in one forum. All other topics where missing and all other forums where empty. Replies where nowhere to be found either.

    Even though topics and replies are marked as correctly associated in the back end, it does not appear to be the case at all.

    I went to Tools > Forums to try to fix that. First, I tried “Recalculate the parent topic for each post” but even though it responds with “Recalculating the topic for each post … Complete!” after that, I can’t even open the All Replies list anymore. I get a blank page…

    Then I tried “Recalculate the parent forum for each post” but this simply removes all evidence of association between all topics and their forum πŸ™

    This is just awful.

    #152990
    Omiya Games
    Participant

    Here’s a weird question: is it possible to create a new topic via a script run by a continuous integration server? To provide more context, I’m trying to create a private forum so selected playtesters (users I manually entered, as you can’t register to this forum) can test my games. Ideally, I’d like to configure my Jenkins server to upload a Unity webplayer to my server, then create a new topic with the first post being the webplayer and the change log to a specified forum. I’m wondering if there’s an automated way to make this happen. Preferably, I would not like to rely on WordPress posts, since again, I’d like to keep these work-in-progress private.

    Thanks for the help!

    Quick stats:
    Wordpress 4.0
    bbPress 2.5.4

    #152989
    Jamie
    Participant

    Hi there,

    I have been reading through the forums, and can’t find anything for more recent versions so was wondering if I could request some help.

    I am working on a project called GameDevelopers.ie, a 12 year old site. We recently ported over their old, bespoke CMS into WordPress, and the our forums which were on phpbb after paying cms2cms which did a great job.

    The forum has 60,000 posts among several thousand threads and two thousand users. Our server is woefully underresourced, and the site is crashing when bbpress is enabled. So we have it disabled, and are just organising to get a better server with more cpu’s, tons of ram and space.

    I was wondering what else we can do to help reduce the load? Is there some way that we can mass archive parts of the forum, or other tactics to help make things run a little better?

    Any help would be GREATLY appreciated.

    Cheers

    Jamie

    #152985
    arno8
    Participant

    Sorry to come back late to this @robkk , I got this working with

    #bbpress-forums .type-reply.user-id-6 {
        background:url(https://www.primeknights.com/wp-content/uploads/2014/09/Naamloos-2.jpg) repeat;
    }
    #bbpress-forums div.odd.user-id-6 {
            background:url(https://www.primeknights.com/wp-content/uploads/2014/09/Naamloos-2.jpg) repeat;
    }

    Thnx for your help πŸ™‚

    #152984

    In reply to: Picture

    Robkk
    Moderator

    you can also add more padding for the space between the post and avatar

    #bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-reply-content, #bbpress-forums div.bbp-topic-content {
        margin-left: 150px;
        padding: 12px 12px 12px 20px !important;
        text-align: left;
    }

    if you say that the reply author details are not as wide as avatar photo and such .

    #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
    width: 150px;
    }

    and yeah if you need more help with styling bbpress id say look at these tutorials

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

    Functions files and child themes – explained !


    https://codex.bbpress.org/creating-a-test-site/

    bbPress Styling Crib

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

    #152982
    Robkk
    Moderator

    try this

    i think this should work now

    #bbpress-forums li.bbp-body .user-id-1,
    #bbpress-forums li.bbp-body .user-id-2 {
    background:yellow;
    }
    #152981
    KostRev
    Participant

    Somewhat related… anyone else have an issue where no anchor is generated for bbp_topic_subscription_link?

    In the loop-replies.php template I have:


    <div class="reply-content">
    <button type="button" class="btn btn-default btn-sm" title="Set as Favorite"><?php bbp_user_favorites_link(); ?></button>
    <button type="button" class="btn btn-default btn-sm subscribe" title="Subscribe to Topic"><?php bbp_topic_subscription_link(); ?></button>
    </div>

    If you view source on the webpage there is no anchor present.
    Subscribing to Forums works as expected.

    Probably related to these:

    Subscribe to topic link is no longer displayed

    BBP: Topic Subscribe Not Working

    I think I found a bug in bbp_topic_subscription_link


    https://bbpress.trac.wordpress.org/ticket/2581
    https://bbpress.trac.wordpress.org/ticket/2480

    #152980
    delvebelow
    Participant

    I’m getting emails from some of our forum users reporting that the topic page refreshes while they are in the middle of writing a reply. It happens after about two minutes, so many people are finding it difficult to use the forum for lengthy replies/explanations. However, I can’t recreate this problem on any browser. At least one user experiencing this is using Chrome.

    Any thoughts?

    WordPress 3.9.2, bbPress 2.5.4
    http://ccinfo.unc.edu/forums/ (no anonymous posting allowed)

    #152979
    jugoretz
    Participant

    I can document this exact problem on our Multisite install. Seems like some problem with the roles/permissions in multisite? And in fact, even with the direct link, site admins can’t create forums (although super admins/network admins can).

    Meanwhile the workaround of network-activating is effective, but that’s not a good long-term solution. We have thousands of sites in the network and only a fraction of them need to use bbPress. (thanks, @nathanegraham for the tip on that workaround, though!)

    Robin W
    Moderator

    If you want forums to be visible but not accessible to non-logged in users then you need my plugin

    https://wordpress.org/plugins/bbp-private-groups/

    which gives you loads of options on how your forums display

    The admin bar (called the toolbar) can be disabled apart from admins

    add

    //disable toolbar for non-admins
    if (!current_user_can('manage_options')) {
    show_admin_bar(false);
    }

    to you functions file

    Functions files and child themes – explained !

    #152976

    In reply to: Picture

    Robkk
    Moderator

    try this the size => auto probably doesnt work or it just defaults to 80px

    in loop-single-reply.php in your bbpress folder in your child theme.

    change

    <?php bbp_reply_author_link( array('show_role' => true, 'type' => 'role' ) ); ?>
    <?php bbp_reply_author_link( array( 'show_role' => false, 'type' => avatar , 'size' => auto ) ); ?>
    <?php bbp_reply_author_link( array( 'show_role' => false,'type' => 'name' ) ); ?>

    to this

    <?php bbp_reply_author_link( array('show_role' => true, 'type' => 'role' ) ); ?>
    <?php bbp_reply_author_link( array( 'show_role' => false, 'type' => avatar , 'size' => 100 ) ); ?>
    <?php bbp_reply_author_link( array( 'show_role' => false,'type' => 'name' ) ); ?>

    now to test it upload an avatar bigger than 100px in width

    #152971

    In reply to: Picture

    Robkk
    Moderator

    try this css code i forgot about min-width for a second.

    im setting a minimum width of the picture to be at least 100px just like this forum has.

    #bbpress-forums div.bbp-reply-author img.avatar {
    border: medium none;
    min-width:100px!important;
    max-width: 150px!important;
    padding: 0px;
    margin: 12px auto 0px;
    float: none;
    max-height: 150px!important;
    }
    #152970

    In reply to: Picture

    Robkk
    Moderator

    you could try this.

    #bbpress-forums div.bbp-reply-author img.avatar {
    border: medium none;
    width:auto!important;
    max-width: 150px!important;
    padding: 0px;
    margin: 12px auto 0px;
    float: none;
    max-height: 150px;
    }

    and the other code wasnt suppose to increase the avatar images, it was just suppose to be for the space between the post and avatar.

    if you still cant get it , post a link to a forum post on your website.

    #152969

    In reply to: Picture

    Icaroferreira
    Participant

    This CSS below did not increase the width and height of the photo:
    #bbpress-forums div.bbp-reply-author img.avatar {
    border: medium none;
    max-width: 150px;
    padding: 0px;
    margin: 12px auto 0px;
    float: none;
    max-height: 150px;
    }

    This CSS increases the space between the photo and the post, but does not increase the size of the photo (does not increase the width and height of the photo):
    #bbpress-forums div.bbp-forum-content,
    #bbpress-forums div.bbp-reply-content,
    #bbpress-forums div.bbp-topic-content {
    margin-left: 150px;
    padding: 12px 12px 12px 0;
    text-align: left;
    }

    So I wish I could increase the size of the width and height of the picture, and also the space between the picture and the post.

    #152967
    Ced
    Participant

    Hello everybody πŸ™‚ !

    I have a few questions regarding to how bbPress handles the login/register side and the admin access too.

    I’ve just installed bbPress. Right now, There is a Sign Up page and a Sign In page. When people enter wrong credentials, they are redirected to wp-login. If they enter good credentials, they are redirected to the WordPress admin, or they can have access to the WordPress admin.

    Here is what I want / don’t want :
    – When users enter wrong informations on sign in / sign up page, I want them to stay on the same page. The errors have to be displayed on that page.
    – Users will edit their profile directly in the front end.
    – People who are not admin can’t access WP admin at all.

    How can I do all that things ?

    Thank you very much,
    CΓ©dric

Viewing 25 results - 18,301 through 18,325 (of 64,516 total)
Skip to toolbar