Search Results for 'bbpress'
-
Search Results
-
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 ;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(); ?>Topic: Forum Icons?
Topic: Create new topic via script
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.4Hi 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
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)Topic: Login and register
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
