Search Results for '"wordpress'
-
AuthorSearch Results
-
December 20, 2007 at 7:42 pm #55388
In reply to: Pretty Permalinks Not Working
djuggler
MemberThis is the most recent .htaccess based upon /bb-admin/rewrite-rules.php:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([^/]+)/?$ /topic.php?id=$1 [L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]
RewriteRule ^rss/?$ /rss.php [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]
</IfModule>
I also tried:
Options +MultiViews
And here’s the config.php
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘CORRECT’); // The name of the database
define(‘BBDB_USER’, ‘CORRECT’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘CORRECT’); // …and password
define(‘BBDB_HOST’, ‘CORRECT’); // 99% chance you won’t need to change these last few
define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does
define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them
// If you are installing for the first time, leave them here
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://talk.tnlotteryresults.com/’;
// What are you going to call me?
$bb->name = ‘Discuss the Tennessee Lottery’;
// This must be set before you run the install script.
$bb->admin_email = ‘juggler@gmail.com’;
// Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.
$bb->mod_rewrite = ‘slugs’;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -5;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = ‘0123456789ab’; // Example: ‘0123456789ab’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ”; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://new.tnlotteryresults.com’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://new.tnlotteryresults.com’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
//The following allow users from the WordPress blog to mix with the bbpress users
define(‘USER_BBDB_NAME’,’CORRECT_BUT_DIFFERENT_THAN_ABOVE’);
define(‘USER_BBDB_USER’,’CORRECT_BUT_DIFFERENT_THAN_ABOVE’);
define(‘USER_BBDB_PASSWORD’,’CORRECT_BUT_DIFFERENT_THAN_ABOVE’);
define(‘USER_BBDB_HOST’,’CORRECT_BUT_DIFFERENT_THAN_ABOVE’);
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Thanks for gandering!
December 20, 2007 at 4:10 pm #55386In reply to: Pretty Permalinks Not Working
djuggler
MemberI have now installed wordpress2.3 at http://new.tnlotteryresults.com/ and bbpress 0.8.3 at http://talk.tnlotteryresults.com/ They are located in two physically separate directories using two different databases with no .htaccess in any parent directory. Matter of fact, all parent directories between root and each of the sites are empty. Pretty permalinks work on http://new.tnlotteryresults.com/ and fail on http://talk.tnlotteryresults.com/
I have edited the .htaccess with both methods shown in the installation instructions as well as making sure that I had ‘slugs’ in the config.php
Why does WordPress implement pretty permalinks so easily and bbpress is so resistant?
December 20, 2007 at 3:15 pm #60865chrishajer
ParticipantUsing the currently available packaged release of bbPress has got to be frustrating a lot of people. Most people, I would guess, just want to download something and have it work, not deal with patches or trying to guess which revision is best suited (is it 980 or 971?) to their situation based on the WordPress version and whether or not they’re integrated.
At the very least, it should be a FAQ or sticky that explains how to do it, before the questions come…
December 20, 2007 at 3:11 pm #60864chrishajer
ParticipantThanks for the correction Sam. Any thoughts on this post I made with regard to a new bbPress release to fix all these database issues people are having?
December 20, 2007 at 2:10 pm #60863Sam Bauers
ParticipantRevision [971] is the best option to integrate with WordPress 2.3.1 in my opinion.
Trunk will not be compatible with WordPress 2.3.1 again. Maybe not ever. It will be compatible with the upcoming WordPress 2.4 when that is released (or soon after).
December 20, 2007 at 1:01 pm #60862Asbjørn Ulsberg
MemberAs I’ve written elsewhere, I’ve gotten everything up and running with trunk. As it might not be compatible with the release of WordPress I’m using (2.3.1), I’m wondering when a release of bbPress that fixes these problems and is compatible with WP 2.3.1 (or with the then latest available release of WP) will be available?
December 20, 2007 at 12:19 pm #2723Topic: Url Rewriting Problem
in forum Troubleshootingfikirbozan
MemberHow can we get rid of topic or forum in the permanent links
My links like
http://www.mysite.com/topic/wordpress-theme/
But i want like
http://www.mysite.com/wordpress-theme/
and
my forums links
http://www.mysite.com/forum/wordpress/
but i want like
http://www.mysite.com/wordpress/
how can i do this
December 20, 2007 at 1:41 am #55487In reply to: Pagination on main page
fooddude
MemberAnyone ever figure a way to do this? As I’ve got lots of topics, I’d love for users to be able to click through pages going back in time, as you can in WordPress.
December 19, 2007 at 4:53 pm #60861Sam Bauers
ParticipantI’m not sure that’s the right advice. The latest development versions will definitely break integration as they are geared towards integration with the current WordPress trunk. There are lots of differences in password hashing and cookie storage.
Revision [971] might be OK to use for this specific problem, but I can’t guarantee it. And it won’t fix socket connection under MySQLi.
December 19, 2007 at 2:45 pm #2719Topic: Let’s collaborate on bbPulp.org
in forum Requests & Feedbacklivibetter
MemberI have kept reading this forums for about a month. I saw many similar processes of solving the same problem.
Not long ago, I asked Sam Bauers a question about bbpulp.org on IRC:
<livibetter> can we (users) expand it? like FAQ, troubleshooting, theme modifications?
<livibetter> there are many questions asked again and again on forums. If we can systematically organize a collection of these, then may be easily to give a solution for their questions.
<sambauers> Yeah, go ahead.
<sambauers> It is a wiki after all
<sambauers> Although it was focused on being a developers resource.
<livibetter> Thanks! I will post a post for this, and hope many other user will do the same thing.
<sambauers> If you wanted to look at the actual bbPress.org documentation
<sambauers> you are welcome to suggest additions and edits of the pages there
<livibetter> I see
<sambauers> It makes more sense to compile FAQs there for instance
<sambauers> And installation/integration notes
<sambauers> Which will soon need updating anyway
<livibetter> means 0.8.4 coming soon?
<sambauers> Probably not until WordPress 2.4If we can collect and organize these solutions well, we can be more easier to help. I did a small change on the main page, not really start to write something. I took a while to write those new entries, it’s harder than I can imagine. I can’t make them systematic. And that’s still not good, but collaboration can correct mistakes and build a great stuff.
December 19, 2007 at 1:26 pm #60860chrishajer
ParticipantIt is fixed in the latest development version, I believe. There just hasn’t been a release that includes that functionality.
December 19, 2007 at 7:58 am #60859Asbjørn Ulsberg
MemberThe problem is; I’ve never explicitly told bbPress to connect via a local socket, and since I’m not a Unix expert, I didn’t really comprehend the error message. I now understand a bit more of what it says and that I should instruct bbPress to connect via TCP/IP instead. However, isn’t this something bbPress should have available as an option in the
config.phpfile somehow? Or even just as an automatic switch it figures out based on whetherBBDB_HOSTis set (or is different fromlocalhost) or not?December 19, 2007 at 2:28 am #60858livibetter
MemberYes, you surely can’t, cite from
man mysql· --socket=path, -S path
For connections to localhost, the Unix socket file to use, or, on
Windows, the name of the named pipe to use.No remote IPC, if you can communicate via TCP/IP from remote, why use unix socket?
December 19, 2007 at 2:16 am #60857livibetter
MemberI don’t think you can connect to a remote MySQL server via unix socket. Please use TCP/IP.
And don’t forget to grant the user for connecting from remote IP.
December 19, 2007 at 1:15 am #61968In reply to: Broken Profiles for users with spaces in the names.
Sam Bauers
ParticipantYou can have it now if you use trunk.
At the moment revision [980] is the most stable.
ZIP file is at the bottom of this page:
https://trac.bbpress.org/browser/trunk?rev=980
If you are integrating with WordPress at the moment I don’t recommend using trunk though.
December 19, 2007 at 1:09 am #60856Sam Bauers
Participant> I suspect bbPress of having hard coded a connection to localhost and thus configuring define(‘BBDB_HOST’, ‘…’) to be something else than localhost doesn’t really matter.
That’s simply not the case.
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 17, 2007 at 10:14 pm #62076In reply to: Installation woes
livibetter
MemberWell I updated WP…
You probably need to ask in WordPress Support.
Here is a document: https://codex.wordpress.org/Upgrading_WordPress_Extended#Detailed_Upgrade_Instructions_for_1.5.x.2C_2.0.x.2C_2.1.x.2C_or_2.2.x_to_2.3.1
December 17, 2007 at 6:39 pm #62075In reply to: Installation woes
hapikar
MemberHere are the errors I’m getting now.
WordPress database error: [Table ‘hk-wp.wp_terms’ doesn’t exist]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN (‘category’) AND tr.object_id IN (0) ORDER BY t.name ASC
Warning: Cannot modify header information – headers already sent by (output started at /var/www/vhosts/hapikar.com/httpdocs/wp-includes/wp-db.php:160) in /var/www/vhosts/hapikar.com/httpdocs/wp-includes/pluggable.php on line 391
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:08 am #62055In reply to: Having trouble integrating WP functions
ixray2
MemberOkay, here is another problem:
Ever since I’ve integrated WordPress as detailed above, I can’t access the bb-admin .. it’s just a blank page.. as soon as I remove WordPress integration, it’ll work again.
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. -
AuthorSearch Results