Search Results for 'code'
-
Search Results
-
A few days ago, out of the blue, users of my bbpress forum reported that submitting a new topic/post resulted in an error. Previously, my bbpress forum was working perfectly. However, over the last few days, I have verified that if you submit a new post or leave a comment, the browser takes you to bb-post.php, where the page hangs. You can verify this on my forum using user “testuser” and password “test123”.
There are a few weird things about this:
- I hadn’t touched the server for some time prior to this sudden problem, so it’s weird that the problem started, since I hadn’t changed anything
- I’ve been running two bbpress forums authenticated against the same WP user table. The problem is only with the first bbpress installation, while the second bbpress installation continues to work with no problems.
- When you post, the browser returns a 500 internal server error, and doesn’t display a “die” message, e.g. “You need to actually submit some content!”
- Although the browser returns a 500 internal server error, the posted content does go through.
I’ve hand-inspected http://boards.weddingbee.com/bb-post.php, and it has exactly the same PHP code as http://classifieds.weddingbee.com/bb-post.php. I’ve tried everything I can think of… I disabled plugins and Akismet, and the problem didn’t go away. (I’ve turned them back on.)
I’m using bbPress 0.83, with bb_db_version 788. I haven’t upgraded to bbPress 0.9.0.2 yet because I’ve integrated my WordPress 2.33 install with two bbPress installs and a Mediawiki install, and it will be a ton of work to reintegrate. However, that is the next step…
Does anybody have any ideas?
Topic: Insurgency.cz forum
I just use another theme and moddified, couse my code skills are not good. I moddified www theme too and i triyed create 1 nice theme for site and forum. I hope its ok now. I must change few things at code (size, avatars etc) but i hope its nice. its CZECH lang btw…
Topic: Profile hook/filter
Hi!
I’m working on a plugin that I want to show some info on the profile page. The only hook I’ve found that lets me do that is
get_profile_info_keys
, but that puts the info on top of the profile page (seems like it does it before the header) and where I actually want it.Anyone have any ideas on what I can use to get my “stuff” in the profile page?
Regards,
Rune
I’ve been running into cookies issues while trying to integrate bbPress into my existing WPMU site. My WPMU and bbPress installs are located in separate directories on my server (/blogs and /youngadults/forums).
bbPress is currently setup so that when users log into the forums, they are automatically logged into WPMU as well. However, for some reason this is not working the other way around – if I log into WPMU first, I am not logged into bbPress.
Does anyone know of a way to log into bbPress when going through the WPMU login?
I am using the MD5 Insecurity and Mouldy Old Cookies plugins, along with this snippet of code in the bb-config.php file:
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
Topic: Can’t get bbpress to install
I have had bbpress working on my doteasy account, and I decided to reinstall it – probably shouldn’t have
When I contacted them, they informed me that they would try running the script and installing it…and I got this message back
“Hello Antonio,
This script appears to be incompatible with our hosting servers. Please try using a different script.”
“The database failed to install. You may need to replace bbPress with a fresh copy and start again.”
Now here is what happens when I try to install the script.
Your site settings have been saved and we are now ready to complete the installation. So what are you waiting for?
Then when I proceed to the final step I get this error.
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, advancedsupport@doteasy.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.”
At this point, if I refresh the page it goes back to the installer and I get this message ” bbPress Installation
Welcome to the bbPress installer
Step 1 – Database configuration
« completed
Step 2 – WordPress integration (optional)
« skipped
Step 3 – Site settings
Installation complete!
Show installation messages: “
If I then go back to atriskstoriesofhope.com/bbpress it wants to go back through the installation. What should I do?
How do I use bb_query to fetch all topics that were started within a given date range?
Here’s an example found an example of a bb_query code on the bbPress blog:
$topic_query = new BB_Query( ‘topic’,
array(
‘topic_author’ => ‘mdawaffe’,
‘started’ => ‘2007-06’,
‘tag’ => ‘bbpress’,
‘order_by’ => ‘topic_start_time’
)
);
$topic_query->results; // Here’s the array of topics the query returned.
This shows how to get topics that where started on June 2007. But what if I wanted to get all topics that were started between June 2, 2007 10:30:49 PM and February 12, 2008 9:02:32 am?
I think I may be missing something totally obvious. Any suggestions? I
Is there a way to show a paginated list of front page stickies? In the default bbPress template file “front-page.php”, I found this code:
<?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>
<td class=”num”><?php topic_posts(); ?></td>
<td class=”num”><?php topic_last_poster(); ?></td>
<td class=”num”>“><?php topic_time(); ?></td>
</tr>
<?php endforeach; endif; // $super_stickies ?>
It display a list of front page stickies, but it doesn’t have any pagination if you have a lot of stickies. I tried adding this:
<?php forum_pages(); ?>
But it doens’t work.
Any suggestions on getting this to paginate?