Search Results for 'code'
-
Search Results
-
Topic: 403 error in post.php
I’ve got Windows XP users saying they can’t post in my install of bbPress
they get this error:
Error 403
We're sorry, but we could not fulfill your request for /esprit/topic/102?replies=6#post-356 on this server.
You do not have permission to access this server.
Your technical support key is: 5246-fa61-dfd9-b1ad
You can use this key to fix this problem yourself.The only way they are able to successfully post is to hit the ‘back button’ after the error and find they have indeed successfully posted.
I searched and didn’t find this error.
What could it be?
Topic: bbPress on localhost
I’ve tried installing it on xampp and wamp and I get the same warnings. When I go ahead and install with the warnings I can’t log in. I don’t get why it is reading ODBC@localhost instead of the DB name I provided which is bbp1. I’m 99.9% sure I set up config correctly, but just in case I didn’t here it is:
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘bbp1’); // The name of the database
define(‘BBDB_USER’, ‘root’); // Your MySQL username
define(‘BBDB_PASSWORD’, ”); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few
define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does
define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them
// If you are installing for the first time, leave them here
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://localhost/bbpress’;
// What are you going to call me?
$bb->name = ‘bbpress’;
// This must be set before you run the install script.
$bb->admin_email = ‘blah@blah.com;
The Warnings
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘ODBC’@’localhost’ (using password: NO) in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80
Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80
Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-admininstall.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-includesfunctions.php on line 1898
Seeking a simple solution that allows logged in users to upload and include images in their posts.
All I’ve come up with is the Allow Images plugin, which adds a button to the editing form that helps paste an IMG tag so you can link to an external image.
I was told in another thread that it’s far from trivial to create a file attachments plugin for bbPress: “A major problem right now is lack of per-post metadata. Even if that were present, this would not be a trivial task.” I’m not sure of the terminology here, but if “attachment” means embedding an image in a post, that’s what I want to do.
ImageShack was suggested, a web service that lets people upload images which they serve for free. You can embed their upload form in your site, upload, then grab the preformatted image URL and paste it into your bbPress post. This kinda works, but it’s distracting because you get an ImageShack mini-ad, and have to go to their site to copy the link (cool service, though)…
I thought of trying a simple uploader script that would upload files completely outside of bbPress and present the URL for cutting and pasting into the post. Kinda like the ImageShack procedure minus…ImageShack. Dunno, this is probably beyond me, though I may try with a canned script…
I’m using 2.3.1 integrated with 0.8.3 via bbSync and WordPress integration. It works great!
Any ideas?
(I noticed that Allow Images is the #1 most downloaded plugin, 7x more popular than #2, WordPress Integration, so I imagine the MASSES are craving simple image upload…
Thanks!
Topic: How Do I Do This?
Hi,
I want to make a forum or forums like this:
Chicago Forum
- General Discussion
Jobs
For Sale
Housing
Another Topic
Another Topic
Another Topic
Another Topic
New York Forum
- General Discussion
Jobs
For Sale
Housing
Another Topic
Another Topic
Another Topic
Another Topic
And do this for five or six cities.
How would I do this? I fear the thing will be too big and complicated.
If the answer has to do with multiple forum installations, what’s involved with that? And, I would like users to be able to post in any city without having to log in again and again.
Oh, I should mention that I’m just now learning code ect. I’m at the point where I can tinker with a file if I’m told exactly how to do it.
Any suggestions?
Topic: Adding a template file
I am creating a few new bbPress themes and would like to add a couple sidebars to them. Is the PHP include function the best way to do this?
(example:
<?php include 'sidebar.php'; ?>
)It’s what I have been using and it works. But I would like to know if there is a bbPress tag out there that does the same thing.
Thanks in advance.