Search Results for 'bbpress'
-
AuthorSearch Results
-
December 18, 2007 at 8:11 pm #62089chrishajerParticipant
If 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
chrishajerParticipantIt 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 & FeedbackdrewsdesignMemberCan 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
livibetterMemberAre you using bbPress 0.8.3?
December 18, 2007 at 3:55 am #61889In reply to: Limiting RSS Feed to First Post Only
DoobusMemberHere 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 #60855chrishajerParticipantWhen 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.
livibetterMember745 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 UlsbergMemberThere is still a set of problems with this. The value of
$this->$dbhname
isn’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 UlsbergMemberI have the same problem and overwriting
db-mysqli.php
withdb.php
didn’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 73
I suspect bbPress of having hard coded a connection to
localhost
and thus configuringdefine('BBDB_HOST', '...')
to be something else thanlocalhost
doesn’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 thuslocalhost
won’t work.December 17, 2007 at 9:09 am #60926In reply to: DB access problem in the first installation step.
Sam BauersParticipantThe 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.
chrishajerParticipantI 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
chrishajerParticipantWhy is your bbPress calling a WordPress function?
wp-includes/functions.php
Is 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 InstallationhapikarMemberHello,
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
livibetterMemberIs 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
DoobusMemberAfter 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
livibetterMemberThe 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
default
as 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
citizenkeithParticipantRunning 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
livibetterMemberSorry, 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 BauersParticipantstreams.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
livibetterMemberThis 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.
December 16, 2007 at 10:51 pm #62046In reply to: Having trouble integrating WP functions
ixray2MemberWell, basically all of them, including plugins. I want to use my WP header, sidebar etc. and I am planning to build some custom functions that make use both of WP and bbPress functions. So I really do need integration.
Did you find out anything on what exactly is causing the hick-up?
December 16, 2007 at 10:40 pm #62044In reply to: Having trouble integrating WP functions
livibetterMemberI think this needs to change bbPress core and even WordPress’.
What’s the WordPress function that you are planning to use?
December 16, 2007 at 9:55 pm #62040In reply to: Having trouble integrating WP functions
livibetterMemberThen, you should trace in bbPress’ code to find out where causes an exit.
BTW, you can also test
error_log(get_option('blogname'));
to make sure WordPress loaded database correctly.PS. debugging with no debugger is a crazy thing. You have to guess by experiences for best shot.
December 16, 2007 at 9:40 pm #62038In reply to: Having trouble integrating WP functions
livibetterMemberI don’t have any clues to solve you problem.
If I were you, I will
1. put
error_log('WordPress loaded');
after thatrequest_once
to make sure wp has been loaded.2. check error log for
WordPress loaded
, if I get that, that means the problem should be on bbPress, or on WordPress.3. keep using error_log, find out where causes a program end.
This is my no-debugger-debugging method.
December 16, 2007 at 9:14 pm #62037In reply to: Having trouble integrating WP functions
ixray2MemberBtw, I just deactivated all bbPress plugins and switched to the standard theme, but still no luck.
-
AuthorSearch Results