Search Results for 'bbpress'
-
AuthorSearch Results
-
December 18, 2007 at 10:27 pm #62085
In reply to: Extended descriptions for forums?
livibetter
MemberKeep our eyes on https://trac.bbpress.org/ticket/663
December 18, 2007 at 10:18 pm #62083In reply to: Extended descriptions for forums?
alderete
MemberYeah, I guess it would work for now, we only have a few forums. But I’m reluctant to put that kind of thing into the templates, where it’s hard to update, and prone to typo problems, etc., if the conditional code gets accidentally mucked up.
Is there any way to add arbitrary meta attributes to things in bbPress, the way you can add them to posts in WordPress?
December 18, 2007 at 9:40 pm #62092In reply to: define database name ? – config.php
livibetter
MemberCheck Step 2 of https://codex.wordpress.org/Installing_WordPress#Detailed_Instructions
It’s written for WordPress, but you can use it for installing bbPress.
December 18, 2007 at 8:29 pm #62077In reply to: Installation woes
chrishajer
ParticipantIt doesn’t look like you upgraded the installation properly. But your issue so far has nothing to do with bbPress. All those errors are from WordPress.
That looks to be a pretty common error:
http://www.google.com/search?hl=en&q=Table+*wp_terms+doesn%27t+exist
December 18, 2007 at 8:21 pm #62066In reply to: Email all users from bbpress
chrishajer
ParticipantYou could extract all the email addresses from the database with a tool like phpMyAdmin. I don’t know of a plugin that does this. If it’s a onetime thing, I would just grab the email addresses from the database with a query like:
SELECT DISTINCT user_email
FROM bb_users
ORDER BY user_email ASCWith all the email addresses, then just send out a mass email with your email client putting their email addresses in the BCC field.
Are you looking to do this regularly, and are you thinking this should be a plugin? I guess you’d need to know if the installation were integrated or not, then query the correct table, and also if it is an integrated installation, you’d need to separate out the bbPress registrations from the WordPress registrations.
December 18, 2007 at 8:11 pm #62089chrishajer
ParticipantIf you want multiple forums, you need to do multiple installations, and each bbPress installation will be in a directory of its own, and the config.php in each individual directory should have a unique table prefix, as Sam suggested, like bb1_, bb2_.
In that case, each forum would be access with a different URL as well.
Maybe your site is at http://www.website.com . A normal bbPress installation would be in something like http://www.website.com/forums/ or http://www.website.com/bbpress/ . To have multiple forums, you would access them like this:
http://www.website.com/forum1/
http://www.website.com/forum2/
http://www.website.com/forum3/
or
http://www.website.com/football/
http://www.website.com/baseball/
http://www.website.com/hockey/
and the associated directories on the server would be
/var/www/htdocs/yourname/football/
/var/www/htdocs/yourname/baseball/
/var/www/htdocs/yourname/hockey/
If you just want multiple forums or subforums in your bbPress installation, you just need to install one time, then set up the forums/subforums within bbPress. You don’t need multiple forum installations.
December 18, 2007 at 8:06 pm #62091In reply to: define database name ? – config.php
chrishajer
ParticipantIt needs to be a database that already exists and you need to use that name, then bbPress will create the tables in that database. bbPress will not create the database.
December 18, 2007 at 8:35 am #2710Topic: Email all users from bbpress
in forum Requests & Feedbackdrewsdesign
MemberCan anyone help me find a way to send a mass email to all users that have registered to my bbpress forum. Any suggestions to do this easy would be much appreciated.
Thanks
December 18, 2007 at 4:02 am #61890In reply to: Limiting RSS Feed to First Post Only
livibetter
MemberAre you using bbPress 0.8.3?
December 18, 2007 at 3:55 am #61889In reply to: Limiting RSS Feed to First Post Only
Doobus
MemberHere is the source:
<?xml version=”1.0″?><!– generator=”bbPress” –>
<rss version=”2.0″
xmlns:content=”http://purl.org/rss/1.0/modules/content/”
xmlns:dc=”http://purl.org/dc/elements/1.1/”
>
<channel>
<title></title>
<link>
<b>Fatal error</b>: Call to undefined function bb_option() in <b>C:wampwwwwrdp2bbp1rss.php</b> on line <b>12</b>
December 17, 2007 at 4:08 pm #60855chrishajer
ParticipantWhen using a socket, you need something like this:
https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434
It’s OK to start a new topic as well. All these recent topics dredging up old problems that are sort of close make it hard to solve the latest problem, your problem. A lot of the earlier advice in this thread doesn’t apply to your specific problem.
December 17, 2007 at 11:45 am #60928In reply to: DB access problem in the first installation step.
livibetter
Member745 is not for fixing unix socket connection.
Try this: https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434
December 17, 2007 at 11:07 am #60927In reply to: DB access problem in the first installation step.
Asbjørn Ulsberg
MemberThere is still a set of problems with this. The value of
$this->$dbhnameisn’t checked before it’s used inmysql_get_server_info()on line 75 indb-mysqli.php. If the connection fails, the error won’t be echoed to the user because the use of@on themysql_connect()call and then the script just continues, assuming the connection went fine, which in my case, it din’t. Also, the call should be tomysql<b>i</b>_connect()and notmysql_connect(), as far as I can understand.The patch doesn’t fix these problems and they need to be fixed for bbPress to work on my host. I’d write these comments on the associated ticket, but there doesn’t seem to be any way to register or comment anonymously there.
December 17, 2007 at 10:41 am #60854Asbjørn Ulsberg
MemberI have the same problem and overwriting
db-mysqli.phpwithdb.phpdidn’t help. Just for completeness, here’s the error messages I encounter:Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/<snip>/bbpress/bb-includes/db-mysqli.php on line 73I suspect bbPress of having hard coded a connection to
localhostand thus configuringdefine('BBDB_HOST', '...')to be something else thanlocalhostdoesn’t really matter. I don’t have MySQL and Apache installed on the same physical server, so I have to access MySQL through a hostname and thuslocalhostwon’t work.December 17, 2007 at 9:09 am #60926In reply to: DB access problem in the first installation step.
Sam Bauers
ParticipantThe very latest trunk [988] is a little unstable.
You are better off with [980] the zip download of [980] can be found at the bottom of the following page:
December 17, 2007 at 6:38 am #60925In reply to: DB access problem in the first installation step.
chrishajer
ParticipantI hope there’s a new release soon as well, but it doesn’t look like a date has been set yet?
https://trac.bbpress.org/milestone/0.8.4%20%26%20Pings
raygene: you can always download the latest development release which generally has all the discussed patches applied:
https://trac.bbpress.org/changeset/988/trunk?old_path=%2F&format=zip
There is always a link to the zip archive at the bottom of the trac browser.
December 17, 2007 at 6:26 am #62069In reply to: Installation woes
chrishajer
ParticipantWhy is your bbPress calling a WordPress function?
wp-includes/functions.phpIs there more to your setup than it appears?
Actually, I just went to your forum and it is working?
December 17, 2007 at 5:31 am #2711Topic: Installation woes
in forum Installationhapikar
MemberHello,
I have installed bbPress and it’s working all except for this fatal error im receiving.
Fatal error: Call to a member function on a non-object in /var/www/vhosts/hapikar.com/httpdocs/wp-includes/functions.php on line 1491
December 17, 2007 at 5:13 am #61876In reply to: Limiting RSS Feed to First Post Only
livibetter
MemberIs this close to what you want? Topic Feeds
If so, just be patient.
December 17, 2007 at 4:15 am #61875In reply to: Limiting RSS Feed to First Post Only
Doobus
MemberAfter all my slicing and dicing with bbPress, I’m finally coming close to completing everything, except one thing. This RSS thing is really killing me
. I’m wracking my brain trying to explain this the best way possible. So here I go. Each forum has a feed, how do I only show the topics in the feed? As it stands right now, the feed is showing the replies as well, I just want topics to show.
Sorry for sounding redundant, but I’m desperate >_< to complete. Thanks in advance.
December 16, 2007 at 11:22 pm #62054In reply to: Having trouble integrating WP functions
livibetter
MemberThe workaround won’t work for plugins.
@sambauers: I think there is no complete working solution if you don’t touch the core files.
First, load_default_textdomain and load_plugin_textdomain are WordPress version, they only look language files in WordPress directories. So, in bbPress, all text won’t be translated since language file are not loaded because WordPress load_*_textdomain won’t find language files in bbPress’ directories.
Second, WordPress and bbPress both use
defaultas textdomain when calling __() or _e() without assigning textdomain, that means we can only use either WordPress’ or bbPress’ language files at the same time, not both.(edit: plugin’s problem can be solved by add a bb_load_plugin_textdomain, but bbPress’s part. If we don’t want to use something like bb__(), bb_e(), maybe we can try to merge bbPress translations into WordPress’ in runtime? or search bbPress’ first, then WordPress’ if can’t find)
December 16, 2007 at 11:16 pm #52695In reply to: Plugin: [REL] Signature
citizenkeith
ParticipantRunning the latest version of bbPress and the latest version of ck’s plugin.
Signatures won’t update when you try to change them in Edit Profile. No error messages to be found.
December 16, 2007 at 11:11 pm #62052In reply to: Having trouble integrating WP functions
livibetter
MemberSorry, didn’t read bbPress source carefully. Replace first if clause with
if ( defined('BBLANG') && '' != constant('BBLANG') ) {
if ( function_exists('load_default_textdomain') ) {
global $l10n;
$locale = BBLANG;
$mofile = BBPATH . BBINC . 'languages/' . "$locale.mo";
if ( is_readable($mofile) ) {
$input = new CachedFileReader($mofile);
$l10n['default'] = new gettext_reader($input);
}
}
else {
include_once(BBPATH . BBINC . 'streams.php');
include_once(BBPATH . BBINC . 'gettext.php');
}
}PS. That “..” is how you put variable to be parsed in string in PHP ( Variable parsing )
December 16, 2007 at 11:01 pm #62049In reply to: Having trouble integrating WP functions
Sam Bauers
Participantstreams.php and gettext.php are just libraries, so if they are loaded by WordPress, then they don’t need to be loaded again. Although “include_once” should take care of that.
The problem with the language file not loading is because of the next couple of lines. They say that if WordPress is loaded not to load the kses.php and l10n.php files. This means it is looking for yor language file for bbPress in the same place as the WordPress language file.
It’s possible (but I don’t know enough about how gettext works) that just dropping the bbPress mo file into the same place as the WordPress mo file will work… just call the bbPress mo file bbpress-de.mo or something like that.
I think someone solved this before… search a little harder through the forums I think.
December 16, 2007 at 10:51 pm #62045In reply to: Having trouble integrating WP functions
livibetter
MemberThis is a quick workaround:
if ( defined('BBLANG') && '' != constant('BBLANG') ) {
if ( function_exists('load_default_textdomain') ) :
global $l10n;
$locale = BBLANG;
$mofile = BBLANGDIR . "$locale.mo";
load_textdomain('default', $mofile);
else:
include_once(BBPATH . BBINC . 'streams.php');
include_once(BBPATH . BBINC . 'gettext.php');
endif;
}
if ( !( defined('DB_NAME') || defined('WP_BB') && WP_BB ) ) { // Don't include these when WP is running.
require( BBPATH . BBINC . 'kses.php');
if ( !function_exists('load_default_textdomain') )
require( BBPATH . BBINC . 'l10n.php');
}It should drops WordPress’ language file, and replaces with bbPress’. That means translations need to be done in WordPress won’t be translated since this code drops language file. This wont happen when you read your blog. However, I don’t have any language files, so this is coded by guessing.
This is not a solution, just a temporary fix. I will file a ticket.
-
AuthorSearch Results