Search Results for ' . default . '
-
Search Results
-
Topic: Mingle BBpress Import issue
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
BidhanI notice this happens to others too, but appears to not have an absolute solution yet…I’ve experienced this once before but no follow up solution resulted, so I thought I would try once again with this new and recent instance of this ongoing problem.
In a nutshell, when I go to log into the WP Dashboard, it redirects me to the site’s front-end and not to my dashboard. I have to manually type in an admin url location to access it.
I have a fresh install of WordPress that I’ve been developing my theme with. So when this happened yet again, I did the following to troubleshoot:
- Replaced my WP files with a fresh download
- Tried two WP default themes
- Disabled plugins one-by-one
- flushed my browser’s cache and also used the default permalinks setting
Once again, it points to the bbPress plugin because when I disable it, I can log back into the dashboard just fine. However, enabling it once again, the problem comes back. And before you ask, this happens with the default WP themes too.
Long story short, I did a Google search and this happens to various people over the years, and this is the third time in 2 years for me…the 1st time I just simply dropped bbPress, then the second time, I had to do the same, now this 3rd time, I may have to.
Any ideas what could be doing this?
Topic: Templates problems
Hi, I have some problems to create my custom layout.
In practice, the problem is that my theme has the feature to create templates through pages.
Now, when I create a new page and use [bbp-forum-index] shortcode, I see the page themplate like I want, but when I click on a topic, the layout change.
This, probably, because URL changes, in fact topics always follow root forum setted on forum settings. And, if i leave the check (that one that set root default root for all contents) I got a 404.
Instead, if I set forum root like page permalink the layout is the standard one.Maybe is my theme, but the code is really hard to understand, so I just need that all contents follow the page url and template.
my page code:
<?php get_header(); ?> <?php $layout_obj = new C5_theme_layout(); $layout_obj->build_layout('page'); ?> <?php get_footer(); ?>I hope that someone can help me, thanks and sorry for my english
Hello.
I want to chande default size of text area for new topic creation and reply. Didn’t find any working solutions for that simple task. Can you help me?
Note: I am using bbPress Enable TinyMCE Visual Tab plugin. So I need solution that will work with visual editor too.