Search Results for 'code'
-
AuthorSearch Results
-
February 28, 2011 at 4:54 pm #99595
In 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 #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 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 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: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: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 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 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 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 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 #104666In 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
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
February 25, 2011 at 12:52 am #104657In reply to: google site summary
intimez
ParticipantSPAM post? Unless somehow your site is bbpress related.
February 25, 2011 at 12:52 am #99557In reply to: google site summary
intimez
ParticipantSPAM post? Unless somehow your site is bbpress related.
February 24, 2011 at 11:32 pm #94996In reply to: bbPress 2.0 – Updates
mralexweber
ParticipantHey JJJ/everyone!
Just got the plugin working on our server and for the most part, everything works. Exciting!
However, something that puzzled me was the “profiles”. My guess is that this version they are going to be separate pages from BuddyPress profile pages (yes, we’re also using BP) and later be merged when BP provides new profile functionality?
In the mean time, it looks like we’ll have to overload the
bbp_author_linkfunction… that, or hack out every instance of it, which I would prefer not to do.If anyone could comment or guide me in the right direction, I’d be very grateful. Thanks for the great work everyone!
-mrA
February 24, 2011 at 9:41 pm #104587In reply to: Installation Epic Fail..Help
Cordelia0704
MemberI have a password protected directory on a sub domain. wordpress is the only thing installed on it. I want the forums to fall under the same password protection so that my members don’t need to use 2 logins to use what *should* be a functional part of the site their used to. so I tried uploading it into a directory called bbpress on that sub domain with wordpress installed.
I guess my post was a little confusing, but trust me, so is my server set up
February 24, 2011 at 9:41 pm #99487In reply to: Installation Epic Fail..Help
Cordelia0704
MemberI have a password protected directory on a sub domain. wordpress is the only thing installed on it. I want the forums to fall under the same password protection so that my members don’t need to use 2 logins to use what *should* be a functional part of the site their used to. so I tried uploading it into a directory called bbpress on that sub domain with wordpress installed.
I guess my post was a little confusing, but trust me, so is my server set up
February 24, 2011 at 9:33 pm #94995In reply to: bbPress 2.0 – Updates
ch8rt
MemberAny ideas on pulling users favourite/created/subscribed topics somewhere other than the users page?
This is the code for created from the users page which shows 0 results elsewhere, presumably because it doesn’t know what user I want.
<?php bbp_set_query_name( 'bbp_user_profile_topics_created' ); ?><?php if ( bbp_get_user_topics_started() ) :
get_template_part( 'loop', 'bbp_topics' );
else : ?>
<p><?php bbp_is_user_home() ? _e( 'You have not created any topics.', 'bbpress' ) : _e( 'This user has not created any topics.', 'bbpress' ); ?></p>
<?php endif; ?>
<?php bbp_reset_query_name(); ?>
I’ve had success going the custom post types route with…
<?php query_posts( 'post_type=bbp_topic&posts_per_page=5&author_name=' . $username ); ?><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
" title="<?php the_title(); ?>"><?php the_title(); ?>
<?php endif; ?>
Which works, if all I want is the title, but not the correct way I’m guessing
February 24, 2011 at 9:17 pm #104596In reply to: How can I see members IP adress?
Ben L.
Memberhttps://bbpress.org/plugins/topic/nospamuser/

bbPress doesn’t store IP addresses of users when they register. The Project Honey Pot plugin will block the spammers from every page on your forum, including the login page, so there’s no reason to worry.
February 24, 2011 at 9:17 pm #99496In reply to: How can I see members IP adress?
Ben L.
Memberhttps://bbpress.org/plugins/topic/nospamuser/

bbPress doesn’t store IP addresses of users when they register. The Project Honey Pot plugin will block the spammers from every page on your forum, including the login page, so there’s no reason to worry.
February 24, 2011 at 5:05 pm #37575Topic: emoticons question
in forum PluginsYukon Cornelius
ParticipantHi,
Apologies, because i know there are lots of posts out there on the subject, but I am kind of new to bbpress, and I’m a little confused.
My client wants emoticons installed on his bbpress installation (1.02), but the only plugins I can find seem to work only up to around bbpress 0.9.
Even the forum topics discussing the need for emoticons and smilies seem to tail off around 2009. Weird.
Did emoticons get integrated into bbpress core around that time? If so, I can’t seem to find any options for it.
Did emoticons become so uncool people stopped using them?
Or is there a way to implement them into bbpress 1.02???
If anyone can point me in the right direction, I’d be really grateful
[insert giant cheesy winking emoticon here]Jimmmy
February 24, 2011 at 4:30 pm #37574Topic: Modifying a BB_query on the fly?
in forum Plugins[removed]
ParticipantHey all,
I’m trying to intercept certain (pre-defined bbPress) queries and filter a few results out. I figured I’ll need to register an action on ‘bb_query’, but I can’t seem to modify the actual query.
Say I want to filter all topics by myself from the recent posts view, I registered the following:
add_action('bb_query', 'filter_query');And then the code:
function filter_query(&$obj) {
if($obj->type == 'topic' && $obj->query_id == 'get_recent_posts') {
//ADD "AND topic_author != 'Litso'" to the query here
}
}Can anyone point me in the right direction?
February 24, 2011 at 10:30 am #37573Topic: Copy the navigation bar form wordpress to bbpres
in forum ShowcaseSredna
MemberHello
I’m trying to fit my Superbold bbpres style to my modified Twenty10 WordPress style. Basically I would like to copy the navigation bar of the Twentyten to the bbpress forum. Any idea on how to do that?
My wordpress http://krusty.dk/
My forum http://krusty.dk/forum/
Any help is greatly appreciated

Sredna
-
AuthorSearch Results