Search Results for 'bbpress'
-
Search Results
-
Topic: Several domains
Hi, i hope someone can help me with this.
I have several domains pointing to the same bbpress forum. For example, during the installation, i installed bbpress with the domain name setting of “domainA.com”. Now, when i get a visitor from “domainB.com”, he will be redirected to “domainA.com” pretty fast, like when he’s clicking the “Home” link on the forum.
I have managed to change this, by replacing, in the header file of the template, the:
<?php bb_option('uri'); ?>
.. to:
http://<?php _e($_SERVER['HTTP_HOST']) ?>
And it works. However, bbpress use the ‘uri’ alot, and for example, if the user is not logged in, and is trying to post, he will be redirected to domainA.
What i’m asking for, i guess, is if it’s possible, in the php files somewhere, to specifically define the uri to be the server’http_host’ instead of the domainA? Where can i find and change this, and how?
Thank you very much.
Mike
Hi all,
I’ve just installed a bbpress and used a ready found theme for it(Superbold for bbpress), but it doesn’t seem to be displaying one of the elements correctly.
I’ve only spotted this error on the following page – click here.
Just above the users post there is a half showing input box and ‘Add’ button. If you notice on the right hand side the border of that particular element ends about 30px short of the themes width. I’m not sure what it’s even meant to be showing there, nor do I know what to edit to push that element back in its place.
Thank you in advance.
I upgraded bbpress after upgrading my wordpress site to the latest version (2.5.1). The install complained that there were already forums/threads in the database, but said the install went OK. The problem I’m having, however, is that when I go to the forums, I get a t_string error referring to line 20 of the bb_config.php file.
This line is the prefix used for the tables.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
So, I’m guessing that it thinks it is a new install instead of merely an upgrade. How do I get the updated version to simply read in the existing forums and threads?
Thank you so much for any help. These are busy forums and there will be limited patience with this problem.
Topic: Redirects to old domain name
We previously setup WordPress/BBPress on a different domain. When we switched domains, I changed every reference of the old domain to the new one by exporting the database and doing a search/replace then reimporting the database.
Everything seems to work except for one minor issue: When you go to the BBPress main page, it redirects the URL to the old domain name. Everything works fine except it does not maintain the session. Once you click on a forum or topic title, it goes back to the new domain name. I cannot find any reference to the old domain name anywhere in config files, htaccess or the database – what else could it be?
I have the latest version of bbpress installed to my own server, and it is integrated with wordpress (also the latest).
I added one new forum a few weeks ago, but today I tried and it gave me the error: “Something strange happened. Try reloading the page.”
I did reload the page several times, but it still doesn’t work! I am completely stuck…I can’t add new forums or categories…please HELP!
These plugins I have installed and activated:
Use Display Name
Wordpress Integration
Allow Images
Avatar Upload
bbPress Avatars
bbPress Signatures
That’s all…anyone know how to fix this problem?
Thanks in advance!!!!
Topic: PHP Injection
I like the idea of adding a BB to a WordPress website and BBPress offers good integration but, having had one website previously screwed with a Visitor’s Book, I am a bit paranoid about PHP Injection.
Since there is actually an invitation to put code between backticks, how secure is it against injection?
Is there a simple hack to exclude backticks?