Forum Replies Created
-
In reply to: Can’t see topics and posts in admin
You don’t manage topics or posts from the admin. When logged in as administrator (keymaster) you just edit the topic at the bottom of the page, or individual replies are editable with the “edit” link beneath the reply.
Look there, not at the admin. The only thing that will show up in the admin are moderated replies or topics, things you’ve deleted usually.
In reply to: Remove ‘dash’ from forum description_ck_ – what if you wanted to use a different before character? I tried
forum_description('before=x');
but that didn’t work. I couldn’t get before or after to work.Can you explain how to use the arguments for that function please? Thanks.
function forum_description( $args = null ) {
if ( is_numeric($args) )
$args = array( 'id' => $args );
elseif ( $args && is_string($args) && false === strpos($args, '=') )
$args = array( 'before' => $args );
$defaults = array( 'id' => 0, 'before' => ' – ', 'after' => '' );
$args = wp_parse_args( $args, $defaults );
if ( $desc = apply_filters( 'forum_description', get_forum_description( $args['id'] ), $args['id'], $args ) )
echo $args['before'] . $desc . $args['after'];It seems like the relevant info is listed right there in the $defaults array, but I couldn’t stumble upon the combination to make it work.
In reply to: BBpress faster than WordPressMore queries in WordPress vs. bbPress?
You can add this to your template footer.php (one for WordPress and one for bbPress) files and it will add a comment that is visible in the source with the amount of time taken and how many queries it took to generate the page.
bbPress
<!-- It took <?php bb_timer_stop(1); ?> and <?php echo $bbdb->num_queries; ?> queries -->
WordPress
<!-- It took <?php timer_stop(1); ?> and <?php echo get_num_queries(); ?> queries -->
Maybe you can spot some differences there.
You need one of those functions to make this work. There are other ways to provide some randomness, but you need to know what functions the host allows.
In reply to: in which folder upload bbpress?No, I meant what I said. A lot of sites are just WordPress sites, so example.com/ gets you WordPress and example.com/bbpress/ gets you bbPress.
The point was only to show the relationship between the folders though. With this information, you can probably figure out where it all needs to go.
In reply to: Automated forum registrations?I think they just want to spread spam links. I doubt they could hurt anything unless there were a flaw found in bbPress.
Using the Human Test plugin pretty much eliminates the spam registrations:
In reply to: Use bbpress without registrationIn reply to: in which folder upload bbpress?Put it in your root, but in a folder of its own. So, if you have WordPress here
/home/www/example.com/wordpress/
you can put bbPress here:
/home/www/example.com/wordpress/bbpress/
Then, your website/blog is http://www.example.com and your forum is http://www.example.com/bbpress/
You can call your folder whatever you want, it might be forum, forums, bbpress, anything at all.
In reply to: Blockquotes are brokenAgreed. I’ve brought it up before, but I think they must be working on other things.
http://www.google.com/search?q=site%3Abbpress.org%2Fforums+blockquote
Is uniqid there?
In reply to: Redirection to new bbPress board?You would need to map all the old phpBB URLs to new bbPress URLs, one to one, since it doesn’t look like there’s an easy way to create a rewrite rule. Once you have all the URLs before and after, you can create 301 redirect rules in your .htaccess file.
In reply to: Blockquotes are brokenThe blockquotes are there in the source, but there is no corresponding CSS. This was brought up before here, but not addressed. If you are working on your own theme, just define blockquote in the style.css however you like, for example:
blockquote {
padding: 0 0 0 20px;
background-color: red;
}
In reply to: Blockquotes are brokenQuote
^ that was wrapped in blockquotes.
I believe it’s edit-forum.php in your template. Have you looked there? If you mean what in bbPress uses that, I can’t help you there.
In reply to: InstallationIt sure sounds like something was not uploaded properly. You can contact me (check my profile for contact info) and I can give you a hand with installation.
In reply to: Email link to a topic ???Like a “share this” or “email this” button that would be on a topic page?
> My host says that getmypid is working.
> I built a php info file to check what modules
> were installed, and getmypid wasn’t there.
Well, one thing does not jive with the other. Either it’s enabled or it’s not. Do you have a choice between PHP4 and PHP5? Maybe they’re checking one version and you’re using another. If the web server uses PHP4 by default, but PHP5 is available, you can force PHP5 by adding this to the top of your .htaccess file:
AddType x-mapp-php5 .php
To check which version of PHP your pages are being served with, and to see if getmypid is disabled, save this into a file called info.php (or anything.php really):
<?php
phpinfo();
?>Then access that at your host http://www.example.com/info.php, and see what it shows.
In reply to: WordPress plugins work with BBPRESS?No, it does not work like WordPress. There is nothing like a widget in bbPress. If you want to add adsense to your forum, you might want to read some of these posts:
Yes, you can make a modification to that file to work around the disabled function.
Line 43 of bb-includes/class-phpass.php needs to be edited to get around this function being disabled on your host.
In reply to: Unable to import BBFX (maximum execution time)Good information. Thanks for posting it.
Looks like your host has disabled a php function (getmypid) that bbpress needs. See this:
No, do not post it here. If you like, you can email it to me as an attachment and I can check the syntax for you. You will find a way to contact me by clicking my profile, or just google chrishajer. I’m easy to find.
It’s important to not edit the file to hide passwords or keys because you could destroy valuable evidence.
In reply to: Unable to import BBFX (maximum execution time)How many posts were in your forum? Looks like the server just ran out of time. It would be good to know how many posts it took to exceed 30 seconds.
I am guessing there is a problem in bb-config.php right before line 20, which would be the secure auth key. My guess is something there is not escaped properly. Can you check that? A file editor that has syntax highlighting will show it right away since the string will no longer be color coded as “quoted” if a character is not escaped properly. vim is a good command line editor for this if you have a shell. Notepad++ is good too. Doesn’t matter which editor you use so long as it can do syntax highlighting for a php file.
In reply to: bbpress + IE 7 formatting problem in topicsYou might want to take a stab at validating the page:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwrvna.org%2Fforum%2Ftopic.php%3Fid%3D9
It looks like there’s an unclosed div (plus a couple other minor problems that are not affecting this.) Maybe fixing that will help?