Search Results for '"wordpress"'
-
AuthorSearch Results
-
December 14, 2006 at 4:49 am #1094
Topic: Unclosed HTML tags
in forum TroubleshootingMatt BrettMemberI’ve got a new installation of bbPress which is integrated into a mammoth WordPress site and I’m quite pleased with the outcome. The only real roadblock I’ve hit cropped up while testing.
If a user doesn’t close an HTML tag in their post, the formatting is carried through to the rest of the site (yikes!). As you can imagine, things can get ugly real quick when this happens. And it will happen, without a doubt.
Anyone aware of a fix for this? Did some searching and browsing but didn’t find any mention of this.
December 13, 2006 at 9:17 pm #51508In reply to: FeelingGray Theme
pilksterMemberbut i think we should some how figure out a way to integrate the themes for wordpress and forums..
Great idea
December 13, 2006 at 9:10 pm #49547In reply to: Plugins for WordPress integration
pilksterMemberHi again Trent
I’ve had another go. Here are the steps I have taken:
Created a new account on my server (taxdeduct.net)
Installed WP 2.0.5 via fantastico
Downloaded BB from this site
Created database and user through cpanel. Added user to database with all privileges >> sidenote: https://bbpress.org/documentation/installation/ does not mention setting up the database. A bit confusing.
Copied config-sample.php to config.php, edited with my info
Uploaded to host
Ran bb-admin/install.php
Downloaded https://trac.bbpress.org/attachment/ticket/438/bbpress-integration.php – uploaded to WP plugins dir, activated and configured with tables prefix.
Created new user on bbpress… couldn’t log in to WP.
Created new user on WP… couldn’t log in to bbpress.
My head hurts from pulling at my hair
Another question: do you have to allow new user registrations on your blog for the plugin to work?
December 12, 2006 at 10:21 pm #52400In reply to: Posting Form Disappears
so1oParticipantin function post_form –
$page == get_page_number( $topic->topic_posts + $add )
this is probably being evaluated as false.
i say this because this your paging is messed up..
http://booksinbed.com/wordpress/bbpress/topic.php?id=3&page=2
if you go to the above link the number 1 should have link in the page navigation. in your case page 2 has..
debug the get_page_number function whats getting loose..
December 12, 2006 at 5:35 am #52397In reply to: Posting Form Disappears
Justin TadlockParticipantI’ve narrowed it down the exact problem. Well, I don’t know why, but it seems to be the source. In “header.php” I include with php a file called “menu.php.” Inside of “menu.php” I have my “recent entries” from my wordpress blog. When I delete this particular bit of code everything works fine.
<div class="menu3">
<h3 class="menuHeader">Recent Reviews</h3>
<ul class="list">
<?php $temp_query = $wp_query; ?>
<?php query_posts('cat=3&showposts=10&order=ABC'); ?>
<?php while (have_posts()) : the_post(); ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
<br />Review by <?php the_author_posts_link(); ?>
</li>
<?php endwhile; ?>
<?php $wp_query = $temp_query; ?>
</ul>
</div> <!-- menu3 -->
When the post limit exceeds 15, is the only time this seems to be a problem. This runs fine on all the other pages, or when the post limit is 15 or below.
December 12, 2006 at 1:40 am #1081Topic: Posting Form Disappears
in forum TroubleshootingJustin TadlockParticipantI just started a new site at http://booksinbed.com/wordpress/bbpress (the forum pat of the site) using bbpress.
The problem I’m having can be found on this page:
http://booksinbed.com/wordpress/bbpress/topic.php?id=3
What is happening is when I exceed “The number of topics that show on each page,” which was set at 15 in my config.php file, the posting form disappears.
I am at a loss as of what to do to fix this.
December 11, 2006 at 3:57 am #50368In reply to: Slashes being added in front of apostrophes
larmirMemberMy database is UTF-8. I also have the same database shares tables with WordPress and BBPress. WordPress does not have this problem. Though it happens with all apostrophes and quotation marks on BBPress – new posts and edits. With edits, it will keep adding slashes each time a post/thread is edited.
Any ideas where to look? I’d really like to get this solved.
BTW, what is the ‘PHP magic quotes issue?’
December 10, 2006 at 9:21 am #52323In reply to: A phpBB to bbPress database converter
spencerpMemberIMHO, the best thing to do first is, make sure you’ve imported the phpBB stuff, into a fresh bbpress install, that doesn’t have the integration with WordPress.. then, integrate it with WordPress..
As is now, *some* people are still having problems with the bbpress+wordpress integratation deal.. again, IMHO.. I would just play it safe, by doing the phpBB (import) to a normal bbpress install first.. then go from there.. ?
Trent, what do you think?
spencerp
December 10, 2006 at 6:20 am #52322In reply to: A phpBB to bbPress database converter
rablakeMemberI’ve got my bbpress install (just a simple thing to test with) integrated into my WordPress database. I’d like to be able to import selectively for testing but no screw everything up — is that possible? I note that the script calls for importing into a FRESH NEW bbpress install.
December 9, 2006 at 10:46 pm #50954In reply to: How do I create new themes (not topics)?
peiqinglongMemberDoes this help any? http://www.bui4ever.com/web-itecture/how_to_integrate_wordpress_and_bbpress/
December 8, 2006 at 5:00 pm #52067In reply to: Simply doesn’t work
Trent AdamsMemberOk….try this as it must be in main .htaccess and not seperate.
get rid of the .htaccess in bbpress directory and try this in .htaccess for wordpress.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
RewriteBase /bbpress/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /bbpress/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /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/([0-9]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /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>
Trent
December 8, 2006 at 4:39 pm #49546In reply to: Plugins for WordPress integration
Trent AdamsMemberDoes anyone else have any ideas that we might be missing here?
Trent
December 8, 2006 at 11:55 am #49545In reply to: Plugins for WordPress integration
pilksterMemberOK, done
December 8, 2006 at 7:39 am #49544In reply to: Plugins for WordPress integration
Trent AdamsMemberTake the cookie domain and path information right out for now. It should work without it anyways and let’s do some more testing.
Trent
December 8, 2006 at 7:24 am #49543In reply to: Plugins for WordPress integration
pilksterMemberTrent,
I changes the cookie domain as you recommended removing the period, then deactivated the plugin, deleted it from the server, refreshed my plugins page to ensure that it had gone, uploaded it again, activated it and set the bb_ prefix.
I’m still not having any luck with registering on either one & the account carrying to the other. Did you register both on WP and bb? because I can log into either with my admin username and the cookie carries as you say. I cannot, however, log out whilst on the bbPress dashboard.
Yours confusedly, Simon (or pilks, sorry for switching names halfway through a thread)
December 8, 2006 at 6:35 am #49542In reply to: Plugins for WordPress integration
Trent AdamsMemberSimon,
I would change the cookie domain to be just awspress.com (without the period before it).
That should get the logout link on bbPress working better. I was not able to login as TrentAdams and come back to WP with an account created in bbPress, but when I created an account Trent with WP and then went back to bbPress, the user worked and so did the integration. It didn’t matter which program I logged in Trent with, it worked going back and forth.
That seems to me that the wordpress-integration plugin in bbPress is working and the bbpress-integration plugin in WP is not. I would uninstall that plugin and reinstall it after updating the cookie information in the config.php file for bbPress.
Let me know how you make out and I can test it some more.
Trent
December 8, 2006 at 5:55 am #49541In reply to: Plugins for WordPress integration
pilksterMemberI have the following tables in my bb_ database:
bb_forums
bb_posts
bb_tagged
bb_tags
bb_topicmeta
bb_topics
wp_usermeta
wp_users
wp_users has 8 users, none of which coincide with the 3 users in my wp_users table in wordpress.
I am using wp2.05.
I can now log in/out of bbpress with no problem, maybe I was seeing things before, sorry!
Cheers – Simon
December 8, 2006 at 5:18 am #52063In reply to: Simply doesn’t work
Trent AdamsMemberThat link is the way that that it comes up. Just look at the URL of this post for instance. It seems to me that you have the .htaccess just in your main root of http://totalphysiqueonline.com right? You need the one for wordpress there and a completely seperate .htaccess file in the bbpress folder containing the bbpress part. Each system needs their own.
Try that.
Trent
December 8, 2006 at 5:02 am #52062In reply to: Simply doesn’t work
spudnutsncoffeeMemberI tried the mod rewrite and it did not work for me.
I have this in my htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /bbpress/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /bbpress/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /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/([0-9]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /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>
I still get 404 errors no matter what link I click in my blog.
Installed fine. Dashboard and all that stuff in place.
Can go to admin. and all the other places, I just cannot get links to work.
I know in my config file I made sure pretty links was enabled but it doesn’t look like it worked
Here is the default first post link
http://totalphysiqueonline.com/bbpress/topic/1?replies=1
Doesn’t look like a pretty link, does it?
December 8, 2006 at 1:54 am #49540In reply to: Plugins for WordPress integration
Trent AdamsMemberI have no trouble logging in and out of bbPress, just not integrated with the wp_users table. You are using Wp 2.05 as well?
Trent
December 8, 2006 at 1:45 am #49539In reply to: Plugins for WordPress integration
Trent AdamsMemberI would imagine that you need to check the database and see if bbpress has it’s own bb_users table or if it doesn’t exist. I created a user in bbPress and it didn’t move over to WP. That would mean that the cookies are not moving right and the plugin isn’t working. If it was working, WP would know that I exist. When I went to ‘forgot password’ in WP, the user didn’t even exist. That would mean that users are being created in bbPress.
I would check the database and see what tables exist for bbPress and report back.
Trent
December 8, 2006 at 12:25 am #49538In reply to: Plugins for WordPress integration
pilksterMemberHi Trent
I tried this, one additonal problem is that the logout function on the forums doesn’t work now, I have to log out from a WP page. Other than that, nothing has changed! Would it be easier if I were to delete the account from my server and try again, or do you enjoy the challenge?
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ”); // The name of the database
define(‘BBDB_USER’, ”); // Your MySQL username
define(‘BBDB_PASSWORD’, ”); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
$bb->cookiedomain = ‘.awspress.com’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
$bb->cookiepath = ‘/’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://awspress.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/forums/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Amazon plugin for WordPress’;
// This must be set before running the install script.
$bb->admin_email = ”;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// 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 = 0;
// 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 = ”;
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://awspress.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://awspress.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
December 7, 2006 at 9:52 pm #51467In reply to: Integration problems
Trent AdamsMemberThe plugins, especially bbpress-integration (goes in WP plugins and has option page once installed to choose bb_ as database prefix), tells bbPress to use the WordPress users. Therefore, if you login to each program (either/or), it uses the WP users. All registrations in bbPress make users in WP users. It is simple.
As for the login working in both, the settings in config.php in bbPress tells bbPress to use the WP cookies so they share the same one. Therefore, both programs know to use the same user without having to login again.
Trent
December 7, 2006 at 7:50 am #49537In reply to: Plugins for WordPress integration
Trent AdamsMemberPilks,
Just looking through the config file, everything looks good. I may try adding some cookie information into config.php
$bb->cookiedomain = '.awspress.com';
$bb->cookiepath = '/';
As well, if you are not trying to load WP functions in bbPress, you probably can do without the:
define('WP_BB', true);
require_once('/home/xxxxxxx/public_html/wp-config.php');
Maybe take it out and see if you can get it going and then add it in later. Let’s try it at the lowest common denominator….
Trent
December 7, 2006 at 7:38 am #49536In reply to: Plugins for WordPress integration
pilksterMemberHi Trent, thanks for the response
After installing WP (via fantastico) I uploaded the bbpress files to /forums/, set up database&user, ran the bbpress install script.
I then added the WP plugin as described above, activated it and configured it with bb_ (taken from my config.php).
I added a directory /forums/my-plugins/ and put the described bbpress plugin in there (although I probably didnt need to as it is a fresh install)
Below is my config.php that I edited as described (maybe I misunderstood somthing here?)
Thanks again for your help…
code
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘xxxxxx_xxxx’); // The name of the database
define(‘BBDB_USER’, ‘xxxxxxx_xxxxx’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxx’); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://awspress.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/forums/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Amazon plugin for WordPress’;
// This must be set before running the install script.
$bb->admin_email = ‘simon@xxxx.com’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// 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 = 0;
// 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 = ‘xxxx’;
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://awspress.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://awspress.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
define(‘WP_BB’, true);
require_once(‘/home/xxxxxxx/public_html/wp-config.php’);
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
/code
-
AuthorSearch Results