Search Results for 'bbpress'
-
AuthorSearch Results
-
June 20, 2007 at 4:33 am #1985
Topic: New posts deleted
in forum Troubleshootinggostallion
MemberHi, I just successfully installed bbpress and I love it to bits!
I’m not sure why but new posts are automatically deleted from my forum. Is this part of a spam preventive feature? Or did i miss something?
Thanks for everything!
June 20, 2007 at 3:21 am #58472In reply to: bbPress 0.8.2
karaboga
ParticipantThanks for your explanations, i hope bbPress will be as clever as WordPress.
June 20, 2007 at 12:17 am #58459In reply to: Problems installing.
Trent Adams
MemberDid you put the .htaccess file in your http://bqtrademark.com/bbpress/ from the instructions? I see that you are using ‘slug’ based entries. Maybe try putting the config.php back to false instead of slugs and see if that helps you. Since it is getting your wordpress installation, i am thinking it is the wordpress .htaccess file and not the bbPress file.
Trent
June 19, 2007 at 11:09 pm #56049In reply to: Latest WordPress & bbPress in another language!
c00l2sv
MemberFor error: “Cannot redeclare class streamreader …”, read this…
antonskey
Memberlike i said, i haven’t implemented this plugin as of yet (haven’t even installed bbpress, just planning to in the near future), but will this plugin allow me to put the “Add this topic to your favorites” link on the wordpress post page? i would like to have that capability to allow the users who don’t comment to create a list of their favorites without having to follow the link to the thread in the forum to do so.
June 19, 2007 at 10:11 pm #58527In reply to: bbPress 0.8.2.1: Security Release
fel64
MemberBut it’s cool that you got the fix out as soon as you found out.
June 19, 2007 at 9:16 pm #58407In reply to: bbpress info in wordpress?
Kahil
MemberI got to thinking… being that it renames the image to their usernames, I thought that the following might work, but it doesn’t…
<img src=”http://yourkahil.com/forum/avatars/<?php echo $strtolower($user->user_identity); ?>.jpg” alt=”avatar” />
Shouldn’t that work? I’m trying to get it to display the current username of the person visiting the site, provided they are logged in. If they aren’t logged in it shouldn’t display anything. Later I’d like to figure out how to do an if else statement so that if the visitor isn’t logged it, it will display a default image.
June 19, 2007 at 9:07 pm #58496In reply to: “Already Installed.”
Michael Adams (mdawaffe)
MemberDo you have a (possibly hidden) .htaccess file in bbPress’ parent directory (one directory up from /bbpress)?
June 19, 2007 at 8:47 pm #58495In reply to: “Already Installed.”
quigley05
Participantthe .htaccess file isnt in the main folder and i try to create it and my computer automatically hides it. here is what the contents are:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /bbpress/
RewriteRule ^forum/(.+)/page/([0-9]+)$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/(.+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/(.+)/page/([0-9]+)$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/(.+)/?$ /bbpress/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]
RewriteRule ^profile/(.+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/(.+)/?$ /bbpress/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /bbpress/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /bbpress/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /bbpress/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /bbpress/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /bbpress/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z-]+)$ /bbpress/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /bbpress/rss.php?profile=$1 [L,QSA]
</IfModule>
June 19, 2007 at 8:40 pm #1981Topic: bbPress 0.8.2.1: Security Release
in forum InstallationMichael Adams (mdawaffe)
Member0.8.2.1: Just look at all those periods!
This is bbPress 0.8.2 with a security fix included. Everyone should upgrade (if you’re upgrading from 0.8.2, you can take a shortcut if you’re comfortable doing so. See the above blog posts.
June 19, 2007 at 8:38 pm #58471In reply to: bbPress 0.8.2
Michael Adams (mdawaffe)
Memberdo you mean that “after upgrading and changing the permalink structure of a forum; the old permalinks does not redirect to the new one” ?
No, I just meant that with the current code, if you’ve somehow managed to change the slug, you’ve broken the old links. But, as you point out, bbPress knows how to move “sideways” across different kinds of permalinks.
WordPress allows you to change the slug and automatically redirects your old links to the new slug; it’s more clever than bbPress is at the moment
June 19, 2007 at 8:36 pm #58470In reply to: bbPress 0.8.2
csl749
MemberFantastic – thank you very much!
June 19, 2007 at 7:54 pm #58536In reply to: BBPress / WordPress – Same Prefixes?
drift82
MemberThanks! I went ahead and put the two as different prefixes. Can you make sure the developers put a note about that in config.php!
June 19, 2007 at 7:40 pm #58535In reply to: BBPress / WordPress – Same Prefixes?
fel64
MemberYes, it will. WordPress has (what is usually) wp_posts and bbPress has (ditto) bb_posts, with a different table structure, so there’d be issues.
What are the dis/advantages of putting tables in the same database, does anyone know?
June 19, 2007 at 7:14 pm #58469In reply to: bbPress 0.8.2
karaboga
Participantkaraboga, permalinks should be permanent. Perhaps we can work on redirecting old permalinks to the new ones. Better yet, that’d be a great plugin
mdawaffe, do you mean that “after upgrading and changing the permalink structure of a forum; the old permalinks does not redirect to the new one” ? In this forum, for example we if write
https://bbpress.org/forums/topic/100
it is redirected to the 100th topic with the new permalink structure.
—
Yes, permalinks should be permanent. But, in WordPress we can change the post slug, and then the permalink of the post is changed. Why cannot we do so in bbPress?
sneakym
MemberSorry fel but that piece of code isnt in there. This is what it looks like
‘<?php
function felblogtotopicid( $felpostID ) {
global $table_prefix, $wpdb;
$posts_table = $table_prefix . “bbpress_post_posts”;
$topic_id = $wpdb->get_var(“SELECT topic_id FROM $posts_table WHERE post_id = $felpostID LIMIT 1;”);
return $topic_id;
}
global $post, $wpdb;
if( $forumtopic = felblogtotopicid( $post->ID ) ) {
$bbprefix = get_option( ‘wpbb_bbprefix’ );
$replies = $wpdb->get_results( ‘
SELECT poster_id, post_text, post_time
FROM ‘ . $bbprefix . ‘posts
WHERE topic_id = ‘ . $forumtopic
);’
I think it has something to do with ‘$table_prefix, $wpdb;’ and ‘$posts_table = $table_prefix . “bbpress_post_posts”;’. My table prefix is not wpdb (where wpdb = database name) it is just wp. Plus that ‘.’ in there is throwing it off as well as the error reads:
[Table ‘databasename.posts’ doesn’t exist]
SELECT poster_id, post_text, post_time FROM posts WHERE topic_id = 6
“.posts” That ‘.’ is getting into the code and appending itself to the db name…
I think…
You are the master though….
June 19, 2007 at 7:01 pm #56048In reply to: Latest WordPress & bbPress in another language!
ganzua
Member“But after what I’ve integrated both of api’s: the wordpress and bbpress; this resulted in the following error:
Fatal error: Cannot redeclare class streamreader in /var/www/pm/forum/bb-includes/streams.php on line 26″
-> same error here
June 19, 2007 at 6:54 pm #1982Topic: BBPress / WordPress – Same Prefixes?
in forum Installationdrift82
MemberBefore I break things, I wanted to know if I can use the same table prefix for both BBPress and WordPress? The reason I ask is because I have several sites in the same database and I’d like to pick a convention. Anyone know if this will cause any problems?
June 19, 2007 at 6:31 pm #58468In reply to: bbPress 0.8.2
peter-b
MemberThink our posts crossed! Solution implemented but thank you!
June 19, 2007 at 6:28 pm #58467In reply to: bbPress 0.8.2
Michael Adams (mdawaffe)
Memberpeter-b, there are a number of things that depend on the table prefix being non-empty.
The best solution would be to use a table prefix and rename all your tables.
June 19, 2007 at 6:25 pm #58494In reply to: “Already Installed.”
Michael Adams (mdawaffe)
MemberIs there a file in bbPress’ main directory called
.htaccess
? Depending on how you’re accessing your server and because that file starts with a period, you may have to ensure that you are viewing hidden files when looking for that file.If you find that file, paste its contents to a pastebin.
If you don’t, create a file with that name and put into it the text generated when you visit http://www.bqtrademark.com/bbpress/bb-admin/rewrite-rules.php
June 19, 2007 at 6:23 pm #58429In reply to: Access bbPress login info from existing site
kehlers
MemberWell, your guess was correct! Your tip got me to thinking about cookies – I’m a little rusty on my setcookie() syntax! Anyhow, I decided to install WordPress, even though I don’t need it just now, because if I could get that to integrate across directories, then I could surely do what I’m hoping for with the gallery.php page.
That helped me to understand the interactions of the cookies and directories and domains. All that to say, I was able to get it to work using the following in config.php:
$bb_cookiepath = "/";
$bb_cookiedomain = ".mydomain.com" ;I believe that if cookie domain is not specified, then it will default to be the root of the directory in which the script is running, i.e. mydomain.com/forums/, making it unavailable to any other directory, including parent directories. You probably already knew that, but just putting it out there in case someone else has the same issue.
June 19, 2007 at 5:55 pm #58466In reply to: bbPress 0.8.2
peter-b
MemberI’m getting this error message
You must specify a table prefix in your config.php file
This is using the same Config.php file I used for 0.8.1, the enty in the config.php is
$bb_table_prefix = ”; // Only letters, numbers and underscores please!
(I don’t use table prefixes)
Edit
OK the workaround – use PHPmyadmin to rename all the tables with a prefix (I used the default bb_) and then update the config.php file.
June 19, 2007 at 11:00 am #58465In reply to: bbPress 0.8.2
Null
Member– Fantasy mode on –
How about an “upgrade me” button in the admin area?
This button is only clickable when there is an upgrade. Clicking it will upgrade you bbpress (downloading and installing the nessecairy files)
– Fantasy mode off –
June 19, 2007 at 9:25 am #56047In reply to: Latest WordPress & bbPress in another language!
c00l2sv
Member -
AuthorSearch Results