Forum Replies Created
-
In reply to: Duplicate Posts
Hmm, I actually tried both of these today and my members were unable to post. The page just hung. I was using 1.0 alpha. Not sure what was going on there, but I removed this piece of code. I would rather deal with duplicate posts than a broken forum.
In reply to: Read-only forum / keep user names?This is very interesting to me. How about these ideas?
For the close a forum, I don’t know how you would do that. There’s nothing I know of in the bb_forums table that marks it open or closed. The best I think you could do is mark the topics closed. To do that with SQL, you could do something like
UPDATE bb_topics
SET topic_open=0
WHERE topic_id IN
(your comma separated list of topic_ids)You could drop the WHERE part if you wanted to mark all existing topics as closed. Before you do anything with SQL though, be sure you have a backup of the data.
I can see why you want to take a snapshot of the old forums and mark them “archived/old” but, I would assume if you are moving things from phpBB to bbPress that your forum structure is going to be similar, so closing the forums to new topics wouldn’t make sense anyway.
Another option is to create a new forum called “phpBB Archive” or something then move all the topics and posts over to that “archive” forum, then create your forum hierarchy again in bbPress like it was in phpBB (i.e. World News, World Labs, Support, etc.)
For the users, why not just change all the passwords? That would make the usernames still valid, so no one else could re-register as an existing name, no one could log in with the old name, and all the existing posts would still be attributed to the original poster.
Just my thoughts: maybe they’ll be useful. Good questions though…
In reply to: Tags not foundI would suggest moving to the latest version.
But, do you have an example of where this can be experienced? Might help.
In reply to: Post ModerationI for one would not use this. I like the openness. Throw caution to the wind and let the discussion flow.
In reply to: PermalinksThe above text should all be saved as a file called .htaccess in your forum root.
In the above example, the subfolder name is “forum” – you will need to edit that text is your bbPress install is in another location. Here for example it’s in a subfolder called “forums”. Change “forum” to your folder name and you should be good to go.
Good luck.
In reply to: Permalinks<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forum/tags.php [L,QSA]
RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forum/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]
</ifmodule>
In reply to: integration with wordpress…There is no activation required for bbPress plugins. Just drop them into a folder called my-plugins and they start working automatically. If you don’t already have that directory, go ahead and create it in your forum root.
In reply to: Anonymous postingThis has been discussed and is not in development, AFAIK:
In reply to: Updated to Desmond But Theme Not WorkingIs there a problem on Windows servers, or just on localhost on Windows?
Of course my suggestion is only a temporary solution. But I am of the belief that the QA or dev server should be the same configuration as the production server, to eliminate the possibility of bugs being introduced when you go live. Installing this on localhost on a Windows desktop machine and ‘making it work’ when your production site is on a linux server seems to me like too much work.
With bbPress still being beta, I’m not too worried about it. WordPress 1.0-RC1 was released somewhere around Jan 1 2004. Their version before that, 0.72 beta1 was released in August 2003. There’s certainly time to get it right.
In reply to: style-rtl.css problem in 0.81 with IEI don’t think there’s anything unusual. Hang in there.
In reply to: User ID = 999999999?So, it sounds like this is related to the conversion from phpBB. At least that narrows it down.
In phpMyAdmin, select the table (be that bb_users or wp_users) and then select the “operations” tab up top. On that page, near the bottom are “Table options:” and in there is a field that says [ xxx ] auto_increment where the xxx is the next auto_increment value that will be used. That’s where you would change it.
You should first figure out what that value should be, and you should also fix the other high numbered users. But that’s where you reset it with phpMyAdmin. *** Perform at your own risk. ***
You can also just do it with SQL:
ALTER TABLE 'wp_users' AUTO_INCREMENT =whatever-number
The wp_users tablename might be bb_users or something else in your install. Also, the table name should be backticked, but you can’t do that in a block of code that’s already backticked here
In reply to: which plugin can support the toolbar like this?This thread will help you:
In reply to: Install glitch: “Username not found.”Possible caching by the browser? I can’t think of anything that would cause a redirect like that. You try to visit the forum, and are immediately redirected to /forum/install/install.php? That is weird.
In reply to: Duplicate PostsHere is the JS I was thinking of. It would be added to the submit button input element:
onclick="this.style.display='none';"
I have no idea if that will work I just read it on the Internet. There are lots of hits in Google if you’re curious. In my experience, once people do it a few times, they realize it just takes a couple seconds to appear, so they become more patient and avoid double posting.
In reply to: Install glitch: “Username not found.”You could disable it just to see if that’s the problem. In addition to removing or modifying the .htaccess file, you need to set
$bb->mod_rewrite = false;
in your config. That will turn off the rewriting completely. Both need to be working for the pretty permalinks to work (i.e. the .htaccess is present, and the $bb->mod_rewrite = true. It doesn’t work on all servers though. Oddly, it works for my WordPress just fine, but not for bbPress which is in a subdirectory, so I have mine set to false for bbPress.)
I would disable it for now, just to see if that’s causing your problem.
In reply to: Duplicate PostsIt happens for me if people don’t wait for their post to appear. My server has a response time of about 8 seconds (i.e. the “Posted xx seconds ago” at the bottom of the post, always shows 8 there, where on this site, bbpress.org normally shows 0 seconds ago.) So, yes, that does happen, but not enough that I worry about it. It is from people hitting submit twice.
I read about a javascript solution once, but I never looked into it.
In reply to: Install glitch: “Username not found.”Do you have an .htaccess that would be rewriting the URLs that way? There is no install directory in the package.
In reply to: Updated to Desmond But Theme Not WorkingDo you have any issues transitioning from a desktop environment to a server environment (as I did, with MySQL and PHP versions and configs and such)?
How about installing a linux distro in house since your server is linux also?
In reply to: Updated to Desmond But Theme Not WorkingWhat OS is the live site/server running? I have always had problems testing on platforms other than the final one, even from linux to linux, with things like PHP and MySQL versions. So, the testing I did never seemed worth it. Why not set up a subfolder or subdomain on the live host and play there, to eliminate variables?
I think the developers could better use their resources making bbPress work in production environments (MS and *nix) rather than on localhost. There seem to be quite a few path/slashconfig issues getting it running on localhost.
In reply to: Updated to Desmond But Theme Not WorkingWhat is bbPress used for when installed locally on a Windows machine? Is that just a test environment?
In reply to: Install glitch: “Username not found.”Have you tried registering again and logging in as that user?
In reply to: Anyone here know how to parse files with PHP?mmm potted meat!
In reply to: web designingWhere do I sign up and send my money? Do you take credit cards?
In reply to: Keymaster reset issueJust run the upgrade (bb-admin/upgrade.php) – it doesn’t delete (or drop or truncate) anything, it just upgrades the database. You can view the source of the functions called by upgrade.php right here:
https://trac.bbpress.org/browser/trunk/bb-admin/upgrade-functions.php
If you WANTED to reinstall, you would need to clear the old tables, then run install.php. Don’t do that.
And with any upgrade script, be sure to backup your database and filesystem first.
In reply to: Text going over the borderAre your words really that long? I know long words will do that, but with shorter length words, they wrap normally, normally.
Do you have an example with real, not fake, text? Or an example URL where one can see the actual layout and CSS being used?
Maybe you can do something like this in the CSS:
.post {
overflow-x: hidden;
overflow-y: hidden;
}