Search Results for 'code'
-
AuthorSearch Results
-
March 1, 2011 at 12:41 am #99598
In reply to: bbPress Plugin Templates
John James Jacoby
KeymasterThe /forums folder in the bbp-twentyten folder is new as of a few hours ago. The bbPress plugin is programmed to look in a few places for its template files, two of which are “/forums” or “/bbpress”
Eventually BuddyPress and bbPress will play nicely together, but until then there’s a bit of a disconnect since BuddyPress currently has no idea the bbPress plugin exists.

If you have forums installed as part of your existing BuddyPress installation, eventually the bbPress plugin will include a script to migrate those forums over. Until then, they are two totally disconnected and separately functioning forums.
March 1, 2011 at 12:41 am #104698In reply to: bbPress Plugin Templates
John James Jacoby
KeymasterThe /forums folder in the bbp-twentyten folder is new as of a few hours ago. The bbPress plugin is programmed to look in a few places for its template files, two of which are “/forums” or “/bbpress”
Eventually BuddyPress and bbPress will play nicely together, but until then there’s a bit of a disconnect since BuddyPress currently has no idea the bbPress plugin exists.

If you have forums installed as part of your existing BuddyPress installation, eventually the bbPress plugin will include a script to migrate those forums over. Until then, they are two totally disconnected and separately functioning forums.
March 1, 2011 at 12:07 am #95008In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterFebruary 28, 2011 at 8:58 pm #99612In reply to: Best bbpress solution now ?
Ashish Kumar (Ashfame)
ParticipantActually its the most quiet I have seen it in the last 3 years except the bbPress plugin sticky!

Moreover we are only a few who hit replies to topics.
February 28, 2011 at 8:58 pm #104712In reply to: Best bbpress solution now ?
Ashish Kumar (Ashfame)
ParticipantActually its the most quiet I have seen it in the last 3 years except the bbPress plugin sticky!

Moreover we are only a few who hit replies to topics.
February 28, 2011 at 8:48 pm #99611In reply to: Best bbpress solution now ?
Kasparas
ParticipantThanks for fast answer Ashfame. I see that bbpress community became more active since last year beginning i think…
February 28, 2011 at 8:48 pm #104711In reply to: Best bbpress solution now ?
Kasparas
ParticipantThanks for fast answer Ashfame. I see that bbpress community became more active since last year beginning i think…
February 28, 2011 at 8:42 pm #99610In reply to: Best bbpress solution now ?
Ashish Kumar (Ashfame)
Participant1.0.3 is the best right now. You can do a lot more with it. Also you can switch over to plugins when they are ready with a upgrade script and at that time, I will be ready with a downgrade script too
February 28, 2011 at 8:42 pm #104710In reply to: Best bbpress solution now ?
Ashish Kumar (Ashfame)
Participant1.0.3 is the best right now. You can do a lot more with it. Also you can switch over to plugins when they are ready with a upgrade script and at that time, I will be ready with a downgrade script too
February 28, 2011 at 8:40 pm #99511In reply to: WordPress Multisite Single Forum
Ashish Kumar (Ashfame)
ParticipantPut these two lines in bb-config.php (located in bbPress root) to make bbPress use WordPress user tables.
$bb->custom_user_table = 'wp_users';
$bb->custom_user_meta_table = 'wp_usermeta';And similarly you can make bbPress to use another bbPress user tables.
$bb->custom_user_table = 'bb_users';
$bb->custom_user_meta_table = 'bb_usermeta';All installations should be in the same database for this to work
February 28, 2011 at 8:40 pm #104611In reply to: WordPress Multisite Single Forum
Ashish Kumar (Ashfame)
ParticipantPut these two lines in bb-config.php (located in bbPress root) to make bbPress use WordPress user tables.
$bb->custom_user_table = 'wp_users';
$bb->custom_user_meta_table = 'wp_usermeta';And similarly you can make bbPress to use another bbPress user tables.
$bb->custom_user_table = 'bb_users';
$bb->custom_user_meta_table = 'bb_usermeta';All installations should be in the same database for this to work
February 28, 2011 at 8:34 pm #37607Topic: Best bbpress solution now ?
in forum InstallationKasparas
ParticipantI used bbpress quite a long time ago and just want to ask what is the best bbpress version ? Is it trunk, 1.0.3 or plugin plugin (wathing from here http://trac.bbpress.org/browser#branches)
Thanks for answers ! long live bbpres !
February 28, 2011 at 4:54 pm #99595In reply to: Replace bbpress logo with mine.
Giowizzy
MemberPerfecto Zaerl,
Now if you look at the forum “plainzine.com/forum” what is the code that call the site name? You will see 2 of them actually right now.
Forgot to mention previously I’m using “kakumei blue” theme
Again thanks for your help.
Gio-
February 28, 2011 at 4:54 pm #104695In reply to: Replace bbpress logo with mine.
Giowizzy
MemberPerfecto Zaerl,
Now if you look at the forum “plainzine.com/forum” what is the code that call the site name? You will see 2 of them actually right now.
Forgot to mention previously I’m using “kakumei blue” theme
Again thanks for your help.
Gio-
February 26, 2011 at 4:51 pm #99545In reply to: Copy the navigation bar form wordpress to bbpres
ajz
MemberI’m not pro at this but include your css file for your wordpress site on your forum site, then you just copy the code for you bar and paste it into the forum header.
February 26, 2011 at 4:51 pm #104645In reply to: Copy the navigation bar form wordpress to bbpres
ajz
MemberI’m not pro at this but include your css file for your wordpress site on your forum site, then you just copy the code for you bar and paste it into the forum header.
February 25, 2011 at 8:14 pm #99577In reply to: Unwanted Anonymous Posts?
Ashish Kumar (Ashfame)
Participanto_0
Yes, this is important to figure out. If there is a backdoor, world is again at risk. Lol, I have a weird mood right now
February 25, 2011 at 8:14 pm #104677In reply to: Unwanted Anonymous Posts?
Ashish Kumar (Ashfame)
Participanto_0
Yes, this is important to figure out. If there is a backdoor, world is again at risk. Lol, I have a weird mood right now
February 25, 2011 at 8:08 pm #99568In reply to: Cookies, Salt, User Database
mwdewitt
MemberI followed the directions to a “T” on your website. The install went fine until I wanted to finish everything up. Then it spits out this error message:
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
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 ‘utf8’;
>>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersADD PRIMARY KEY (ID);>>>>>> Multiple primary key defined
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaADD PRIMARY KEY (umeta_id);>>>>>> Multiple primary key defined
Key master email not sent!
I checked both the wp-config and bb-config file and the keys match up perfectly. I do not know what I am doing wrong here!
February 25, 2011 at 8:08 pm #104668In reply to: Cookies, Salt, User Database
mwdewitt
MemberI followed the directions to a “T” on your website. The install went fine until I wanted to finish everything up. Then it spits out this error message:
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
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 ‘utf8’;
>>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersADD PRIMARY KEY (ID);>>>>>> Multiple primary key defined
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaADD PRIMARY KEY (umeta_id);>>>>>> Multiple primary key defined
Key master email not sent!
I checked both the wp-config and bb-config file and the keys match up perfectly. I do not know what I am doing wrong here!
February 25, 2011 at 12:22 pm #99548In reply to: Modifying a BB_query on the fly?
[removed]
ParticipantSo apparently you can change
$obj->request, which is actually the entire parsed query ready to go. I just split it at the WHERE and added some stuff in there before returning the entire object.Works like a charm.
February 25, 2011 at 12:22 pm #104648In reply to: Modifying a BB_query on the fly?
[removed]
ParticipantSo apparently you can change
$obj->request, which is actually the entire parsed query ready to go. I just split it at the WHERE and added some stuff in there before returning the entire object.Works like a charm.
February 25, 2011 at 7:30 am #95000In reply to: bbPress 2.0 – Updates
ch8rt
MemberActually, that is where I’ve been looking, the trouble is that it is feed a query before being called. Like…
<?php bbp_set_query_name( 'bbp_user_profile_topics_created' ); ?>The above example doesn’t work when I try it on another page (specifically my hacked up Buddypress Profile page).
February 25, 2011 at 4:50 am #94998In reply to: bbPress 2.0 – Updates
mralexweber
ParticipantOkay, I hate to be ‘that guy’ but I’ve gotta ask…
I created forums through the admin interface, created a page (named “forum”) and set the page template to bbPress index. So far, so good. The page loads and I can see the forums I created.
However, when I click on one of the forums, for instance, “General Discussion”, I get a 404.
I’m using the DynamiX theme and I have added the various page templates, loop templates, css, etc. from the plugin. I tested on a different subdomain and it was working, but now it’s not.
Does Twentyten somehow “create” the
/forums/forum/and/forums/topic/topic-name/pages when it’s initialized? I looked at the functions.php included and didn’t see anything like this going on.I have also made sure to network activate the plugin, it was previously only activated on this site. Could that be the source of the problem?
Thanks again, everyone.
February 25, 2011 at 1:21 am #99566In reply to: Cookies, Salt, User Database
mwdewitt
MemberOkay, I figured out I had to go to my wp-config file where I installed WordPress to find all that stuff. Okay, now I have a new problem. Now that I have bbPress installed, it is giving me this error:
SQL ERROR!
>>> Database: acidhouse-forums (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
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 ‘utf8’;
>>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usersADD PRIMARY KEY (ID);>>>>>> Multiple primary key defined
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaDROP PRIMARY KEY;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: acidhouse (localhost)
>>>>>> ALTER TABLE
wp_usermetaADD PRIMARY KEY (umeta_id);>>>>>> Multiple primary key defined
Key master email not sent!
And when I try to go to bb-login it gives me a 404 error, saying that the page was not found. Okay, what did I do wrong?
I am running…
Windows XP SP3
Apache 2.2.17
PHP 5.3.5
MySQL 5.5.8
-
AuthorSearch Results