Search Results for 'test'
-
Search Results
-
I have successfully merged bbpress with my website and it works fine sharing user data and logging in/out… very almost.
When a user first moves to the forum it shows them as not logged in, though if they click a forum link or refresh the page they are then shown as logged in.
I only modified pluggable.php a little to make the cookie easier to handle and I’ve tried adding a function (below) in index.php and template header. Very crude , checking a cookie is set and calling the login function, but it’s just a test:
if (isset($_COOKIE[bbpres...]) && isset($_COOKIE[IHuser...]) && isset($_COOKIE[IHpass...])){
$login = decode($_COOKIE[IHuser...]);
$password = decode($_COOKIE[IHpass...]);
bb_login($login, $password, $remember = false);
}Really I’m looking for where bbpress first checks to see if a user is logged in and sets headers but so far I’m out of luck. Where do I need to put my function so a user will be shown as logged in as soon as the navigate to the forum?
P.S. I will build a more solid function so a users password isn’t in a cookie, like I say – just a test!
I have the blog and forum installed (example.com/blog and example.com/forum) using the same database. I’m in the process of creating a Community homepage similar to the feel of the WordPress support page at http://wordpress.org/support/ – with the exception that I want my blog posts on the left above the search section. I simply want the forum homepage to read and display the blog posts – with links back to the blog.
How do I get this to happen? I’ve searched everywhere and nothing on this. Ideally, I want to work from the forum, but if it’s easier, how can I get my blog to read my forum topics? (the Latest Discussion plugin works, but I don’t want latest discussions…I want forum topics.) Any help is greatly appreciated.
I cannot access my admin since I turned on integration with wordpress. I have the latest versions of wordpress and bbpress. Everything worked great until I turned on integration and now I can’t get to the admin area at all. It just redirects me back to the main bbpress page.
anyone know how to fix this?
Or can someone tell me how to manually shut down integration in the files without admin access?
Topic: Database error
When trying to post I get this message:
bbPress database error: [Unknown column ‘post_title’ in ‘field list’]
UPDATE bb_posts SET post_title=’Testy mctest test’ WHERE post_id=’11
I am using the wordpress database (different prefix for bb stuff) but there doesn’t seem to be a post_title column, here’s the output from mysql:
mysql> describe bb_posts;
+
+
+
+
+
+
+| Field | Type | Null | Key | Default | Extra |
+
+
+
+
+
+
+| post_id | bigint(20) | NO | PRI | NULL | auto_increment |
| forum_id | int(10) | NO | | 1 | |
| topic_id | bigint(20) | NO | MUL | 1 | |
| poster_id | int(10) | NO | MUL | 0 | |
| post_text | text | NO | MUL | | |
| post_time | datetime | NO | MUL | 0000-00-00 00:00:00 | |
| poster_ip | varchar(15) | NO | | | |
| post_status | tinyint(1) | NO | | 0 | |
| post_position | bigint(20) | NO | | 0 | |
+
+
+
+
+
+
+9 rows in set (0.00 sec)
I have looked around, but can’t seem to find anything about it on here. The forum/topic actually shows up when I go back to the page, but this is rather inconvenient. Thanks to anyone willing to help out with this.
WP version = 2.51
MySQL version = Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution
bbPress version = latest (just got it 3 or 4 days ago) so 0.9.0.2
Thanks,
-Scott.
Topic: Left SideBar – Right Sidebar
Since the latest Trunk changes (Changeset 8069) in WordPress Core, the bbPress Login (if shared with WordPress) is not working anymore.
I think its because of the logged_in cookie, isn`t it?
I know, trunk.. but 2.5.x will sure come soon

Have a nice day
Chris
Can someone help?