Have you got the code at the top of your config file? That was the problem I ran into. I was able to use a relative path once I did that too. So the start of your config file should look something like this:
<?php
require_once('../wp-blog-header.php');
Looking in the code, yes this is as intended.
I have been experiencing the following issue after moving my install from a staging server:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bb_template_scripts’ was given in /home/tdsegvth/public_html/thepoolparties/bb-includes/wp-functions.php on line 586
I have tried disabling all plug-ins, combing through the code to figure out what it could possibly be, and doing everything I can imaging to the database. The entire setup seems to be working perfectly aside from that error.
Obviously the site can’t go live until this is fixed, so any suggestions would be appreciated.
You can see the site here: http://thepoolparties.jellynyc.com/
The version that isn’t experiencing the error is here: http://thepoolparties.wearefamiliar.com/
Thanks for any help!
Oh, I’ve just noticed this all written by the plugin!! Ha. I’ll remove it and see what happens.
Edit: strange, I’ve deactivated the plugin and remove the code from the .htacess file, and the forum is accessible. But I was also expecting to start getting the 404 errors again, and I’m not.
I expect I have not got to the end of this problem
Edit 2: Indeed, my WP permalinks aren’t working now. This integration thing really is an up hill battle.
Hi Chris, I’ve got access to access logs, if that would help.
It appears to be .htaccess related. If I remove the .htaccess file from the WP directory my forum is accessible.
I’ve forgotten the timeline of what I was working on now (can’t multitask very well!) but it’s possibly related to this plugin that I’ve installed to get rid of a 404 problem: https://bbpress.org/forums/topic/strange-redirections-and-404s-after-wp-integration
Although when I deactivate this plugin it doesn’t make any difference. Here’s the htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^forum/topic /forum/topic.php [QSA,L]
RewriteRule ^forum/forum /forum/forum.php [QSA,L]
RewriteRule ^forum/tags /forum/tags.php [QSA,L]
RewriteRule ^forum /forum/index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I tagged the thread modlook which means a moderator will look at it.
Solved, my problem was I needed to change <?php bb_get_header(); ?> to <?php get_header(); ?> in the bbPress theme files, but I also needed to move require_once('../wp-blog-header.php'); up to the top of my config file.
It would be useful if both these aspects were mentioned in the Functions section of https://bbpress.org/documentation/integration-with-wordpress/
Who can I contact to suggest these changes to that page?
Do I need to add some code to the bbPress theme to call the header maybe?
Interestingly, these headers are in this message:
X-Assp-Re-Spamlover: Password
X-Assp-Received-DNSBL: pass
X-Assp-Whitelisted: Yes
X-Assp-Tag: DNSBL
X-Assp-Envelope-From: root@admin2.byetcluster.com
Looks like the host is doing some outbound spam filtering?
I received the message at gmail after 10 minutes total:
from Jessians' Forum <xxxxxxxxxxxxx@gmail.com>
to xxxxxxxxxx@gmail.com
date Wed, Jun 25, 2008 at 11:27 AM
subject Jessians' Forum: Password
mailed-by admin2.byetcluster.com
11:27 AM (17 minutes ago)
Message-Id: <20080625162901.E5B6B194CD@node2.byetcluster.com>
Date: Wed, 25 Jun 2008 12:29:01 -0400 (EDT)
Your username is: xxxxxxxxxxx
Your password is: abcdefgh1jkl
You can now log in: http://jessians.co.cc/forum/
Enjoy!
Spam Filtered (ID:1971432)
That last line, “Spam Filtered” is not normally in my gmail messages. That got added somewhere along the way, before it got to gmail.
I still don’t have the other message.
When you are logged in as keymaster, do you have a link next to your profile link that says “admin”?
It looks something like this:
Welcome, admin! View your profile (Admin | Log out)
If not, it sounds like you lost the keymaster capabilities.
https://bbpress.org/forums/topic/lost-key-master
https://bbpress.org/plugins/topic/fix-admin-access/
You can search the forum for keymaster and find many more related topics.
Users on my forum are able to use the following url to edit posts:
http
/www.cairoshell.com/forum/edit.php?id=
How do I fix this? I suspect this is an available bug in every bbPress forum.
Interesting. Do you have access to any sort of MySQL logs? I doubt you will be able to see this from a browser since the script is just timing out.
I have not tried to upgrade my old installation to a current one so I have not experienced this. Now I’m scared
I have the allow images plugin as well, and I can post code just fine. I am using an older version though, maybe yours is newer.
finally, the backticks work after I deactived the Allow Images plugin .. so I can’t use that plugin for it purpose then
ps : thank you Chrishajer and Geekgirl89
In THEORY you could use the forum database table for the blog. A blog would be a new topic in which people could reply. Adding a filter would seperate the blog-forums from the normal forum.
This way, the database doesn’t have to be extended, a simple filter would do… plus it would be easier to code as a plugin
Well in theory
Just filter it:
blog name = forum name
blog topic = forum topic
blog reply = forum reply
blog is filtered from the forum and only topic owner can add/edit here.
To make it more simple, when a user makes a blog a forum called “userblogs” (must be unique so a series of numbers could be added) is created and filtered (hidden). Then when loading a profile page it checks the forum “userblogs” where topic starter = profilename and it shows the “blogs” of that profile name…
Hope you understand what I mean, goodluck
_Null
I don’t know what’s wrong, when I use backtick between code, the code disappear
, when I use only one backtick in front or after the code, only word “Google” appear (I’m trying your with example code Chrishajer)
is there any options to allow html on post ?
mciarlo: back to the original problem then. When a user registers in bbPress, they’re not registered in WordPress?
Have you searched the forum for either cookie or role?
A couple things sounded interesting:
https://bbpress.org/forums/topic/wordpress-integration-logout-problem
https://bbpress.org/forums/topic/integration-how-to-do-it
You need to enclose your post in backticks. On my keyboard, that’s the unshifted key to the left of the number 1, upper left corner of the keyboard. When you use a backtick `, the code looks like code:
<a href="http://www.google.com" title="use backticks to show code">Google</a>
actually I need to show the hyperlink code like a href=”….”
so the members can see what they must put on it
That’s what the purpose of code is, to show code the way you type it in.
I’m currently trying to get the database extended (have never coded in my life). And yes, people will be able to reply, just haven’t added the code yet. To be honest, I’m just mixing all sorts of code together to see what I get. I went through a lot of trail and error and this was my result. I think I’m going to have to get a couple of people to hep me in this project.
Hi,
why if I use the
it didn’t show the real code that I want to show to members ? like hyperlink codes or br
it always converted to html ..
how to fix it or what plugins I must install ?
I already installed bbcode Lite n Buttons Toolbar