Search Results for 'code'
-
Search Results
-
first off all: … hi!

i installed bb and now i try to use parts of it on other areas of my website (outside of bbpress). i still found out, that i can get a lot of informations when i include
require_once('/path/to/bbpress/bb-load.php');i also found an “api-plugin”, but unfortunately it won’t work with the latest version of bb (1.xxx)
now i’am very interessed how you work width functions and plugins outside your bbpress-installation.
for example: i will have an contact-form. if the user fill out the form, he will automatically get a board account.
so i need to include the sign-in functions within the validation and stuff.
how would you do it…?
greets from hh/germany
I’m currently testing the bbpress plugin with the trac version. It’s going great however, i’ve noticed that the front page only displays the main forums but not the subforums/subsubforums. For example:
MAIN FORUM 1
MAIN FORUM 2 etc.
Now within these forums I have subforums and subsubforums.
MAINFORUM 1
-Subforum
MAINFORUM 2
-Subforum
–subsubforum 1
–subsubforum 2
What is the code, if any, to allow the front page to display all the forums/subforums/subsubforums?
If there isn’t, i assume that I will have to wait until the trac version is updated, however any help would be most appreciated.
I want to change the label over the new topic post form from:
“New Topic in this Forum”
to
“New Topic in ‘Forum Name'”
I see the change needs to be made in file /bb-includes/functions.bb-template.php on line 276:
$h2 = __( 'New Topic in this Forum' );I tried this:
$h2 = __( 'New Topic '.forum_name() );And the topic name does show on the page but it is outside of the
<h2></h2>tags. Why is that?I am trying to install bbpress for my website and unfortunately it doesn’t seem to matter what I put in the boxes I get the following error(s). Now I am not trying to integrate it with WordPress just yet so it should be fairly straight forward (however it apparently is not). Any help and suggestions would be greatly appreciated. Oh, and I have tried disabling all my security features and that didn’t work either. Knowing my luck it is something stupid and it will work like a charm in two seconds but whatever it is, I’m not seeing an immediate solution to the problem.
Here is the code:
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_forums(forum_idint(10) NOT NULL auto_increment,forum_namevarchar(150) NOT NULL default ”,forum_slugvarchar(255) NOT NULL default ”,forum_desctext NOT NULL,forum_parentint(10) NOT NULL default 0,forum_orderint(10) NOT NULL default 0,topicsbigint(20) NOT NULL default 0,postsbigint(20) NOT NULL default 0,PRIMARY KEY (
forum_id),KEY
forum_slug(forum_slug)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_meta(meta_idbigint(20) NOT NULL auto_increment,object_typevarchar(16) NOT NULL default ‘bb_option’,object_idbigint(20) NOT NULL default 0,meta_keyvarchar(255) default NULL,meta_valuelongtext,PRIMARY KEY (
meta_id),KEY
object_type__meta_key(object_type,meta_key),KEY
object_type__object_id__meta_key(object_type,object_id,meta_key)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_posts(post_idbigint(20) NOT NULL auto_increment,forum_idint(10) NOT NULL default 1,topic_idbigint(20) NOT NULL default 1,poster_idint(10) NOT NULL default 0,post_texttext NOT NULL,post_timedatetime NOT NULL default ‘0000-00-00 00:00:00’,poster_ipvarchar(15) NOT NULL default ”,post_statustinyint(1) NOT NULL default 0,post_positionbigint(20) NOT NULL default 0,PRIMARY KEY (
post_id),KEY
topic_time(topic_id,post_time),KEY
poster_time(poster_id,post_time),KEY
post_time(post_time),FULLTEXT KEY
post_text(post_text)) TYPE = MYISAM DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_terms(term_idbigint(20) NOT NULL auto_increment,namevarchar(55) NOT NULL default ”,slugvarchar(200) NOT NULL default ”,term_groupbigint(10) NOT NULL default 0,PRIMARY KEY (
term_id),UNIQUE KEY
slug(slug),KEY
name(name)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_term_relationships(object_idbigint(20) NOT NULL default 0,term_taxonomy_idbigint(20) NOT NULL default 0,user_idbigint(20) NOT NULL default 0,term_orderint(11) NOT NULL default 0,PRIMARY KEY (
object_id,term_taxonomy_id),KEY
term_taxonomy_id(term_taxonomy_id)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_term_taxonomy(term_taxonomy_idbigint(20) NOT NULL auto_increment,term_idbigint(20) NOT NULL default 0,taxonomyvarchar(32) NOT NULL default ”,descriptionlongtext NOT NULL,parentbigint(20) NOT NULL default 0,countbigint(20) NOT NULL default 0,PRIMARY KEY (
term_taxonomy_id),UNIQUE KEY
term_id_taxonomy(term_id,taxonomy),KEY
taxonomy(taxonomy)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
SQL ERROR!
>>> Database: taylordarcy_com (mysql.taylordarcy.com)
>>>>>> CREATE TABLE IF NOT EXISTS
wp_7w6sfp_bb_topics(topic_idbigint(20) NOT NULL auto_increment,topic_titlevarchar(100) NOT NULL default ”,topic_slugvarchar(255) NOT NULL default ”,topic_posterbigint(20) NOT NULL default 0,topic_poster_namevarchar(40) NOT NULL default ‘Anonymous’,topic_last_posterbigint(20) NOT NULL default 0,topic_last_poster_namevarchar(40) NOT NULL default ”,topic_start_timedatetime NOT NULL default ‘0000-00-00 00:00:00’,topic_timedatetime NOT NULL default ‘0000-00-00 00:00:00’,forum_idint(10) NOT NULL default 1,topic_statustinyint(1) NOT NULL default 0,topic_opentinyint(1) NOT NULL default 1,topic_last_post_idbigint(20) NOT NULL default 1,topic_stickytinyint(1) NOT NULL default 0,topic_postsbigint(20) NOT NULL default 0,tag_countbigint(20) NOT NULL default 0,PRIMARY KEY (
topic_id),KEY
topic_slug(topic_slug),KEY
forum_time(forum_id,topic_time),KEY
user_start_time(topic_poster,topic_start_time),KEY
stickies(topic_status,topic_sticky,topic_time)) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;
>>>>>> Unknown character set: ‘DB_CHARSET’
Database installation failed!!!
