Forum Replies Created
-
In reply to: Anyone Used bbPress Exporter 0.1a?
@Olaf: it’s a set of PHP scripts in zip archives, don’t freak. Just badly formatted is all. And yes, I just checked that under Windows with an up-to-date anti-virus running. Haven’t got the time to check the PHP code itself mind you
@gerikg: it’s a plugin, which I think is intended to be a relatively universal data exporter between forums. How you import is a good question though.
In reply to: User Roles, WP & BBpressI’m afraid
options-wordpress.php
is just the bbPress/WordPress options page and a bit of code. bbPress functions are under the includes directories.In reply to: Admin link doesn't take me to dashboardLucky I have the same problem across two different installs that I access from two different machines using two different browsers (two of each, seriously), so I don’t think caching is the underlying cause.
In reply to: User Roles, WP & BBpressThat plugin shouldn’t even be necessary. I’m not sure to be honest then, integration isn’t my strong point.
It is to some extent. It’s called “deep integration” and it seems to work for some people, but not for others.
In reply to: WPMU+BBPRESS+BUDDYPRESSOkay, this is more of a WordPress/BuddyPress issue really, but get a login theming plugin. You could redirect /wp-login.php to /bb-login.php, but that would most likely screw things up.
In reply to: User Roles, WP & BBpressI’m guessing that’s probably interfering with bbPress creating new roles properly then in the user’s meta data. Try deactivating it and seeing registering works or not.
In reply to: User Roles, WP & BBpressAre you running any WordPress plugins that affect your registration process?
In reply to: Need to fix a couple of things in themeIt’s IE, I’m not suprised. Try setting the width using CSS rather than the size attribute.
form.login input { width: 100px; }
in the stylesheetIn reply to: "next page" link redirects to WordPress login pageWhere have you installed WordPress and bbPress relative to each other, and what actually are your .htaccess settings for WordPress?
Mine is just:
# BEGIN WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPresswhich seems to hand over nicely to the forums that are under /forums/ with their own .htaccess file
In reply to: How to Get Rid of The Mysterious Bracketshttps://trac.bbpress.org/changeset/2349
That would explain why my trunk build fixed itself
In reply to: Admin link doesn't take me to dashboardI have the same problem with a WP/bbP integration… I just log in at bbPress every time, but yes, it would be nice to know what’s up.
In reply to: Timestamp in topic replys as clock.In
post.php
, change<?php printf( __('Posted %s ago'), bb_get_post_time() ); ?>
to<?php printf( __('Posted %s'), bb_get_post_time(array('format'=>'datetime')) ); ?>
. You need to change the optiondatetime_format
to change how the date/time is formatted, not sure where that’s set, so the All Options plugin might help.In reply to: Installing bbPressOh right, that’s fine. The URL will be <your website>/bbpress if it’s uploaded into a directory called bbpress, or you can move all the files into the html directory if you want the URL to be <your website>.
In reply to: WPMU+BBPRESS+BUDDYPRESSCould you explain in more detail what you’re trying to do?
In reply to: Limit width of images in ALLOW IMAGES plugin?@kirpi.it Try
.post img { max-width: 100%; overflow: hidden; }
, probably the missingoverflow: hidden
bitYay for finding this thread though, so much cleaner than the JS solution I was using
In reply to: adding fields to edit formThe edit equivalent hook is
edit_form
In reply to: Search problems on 1.0.2All but the top three post links of the Relevant Posts section seem fine for me. That makes absolutely no sense, since they’re all using the same link function though. It implies that somehow,
$bb_post = bb_get_post( get_post_id( $post_id ) );
(line 1638, functions.bb-template.php) isn’t being set properly for those… so yes, I’m guessing it’s either a bug or something’s wrong with some posts in your database. Could you confirm whether that’s consistently happening on other posts in searches too?In reply to: RSS is showing deleted topicsWhat are you using to mark posts as spam? I’ve never seen any problems with deleted posts showing in any install of mine either, so is it possible the spam plugin is handling that too?
In reply to: comments_popup_linkSomething like:
function posts_number( $id = 0, $zero = false, $one = false, $more = false ) { // Port of WP's comments_number
$topic = get_topic( get_topic_id( $id ) );
$number = $topic->topic_posts;
if ( $number > 1 )
$output = str_replace('%', bb_number_format_i18n($number), ( false === $more ) ? __('% Posts') : $more);
elseif ( $number == 0 )
$output = ( false === $zero ) ? __('No Posts') : $zero;
else // must be one
$output = ( false === $one ) ? __('1 Post') : $one;
echo apply_filters('posts_number', $output, $number);
}should work I think. Misread the original question slightly.
In reply to: Change installation language to localizedThere are translation function calls in the installer script, so it should just be a case of just translating the appropriate strings, unless it’s not actually loading those at all?
Ah the white page of death… check the permissions on your files are set correctly?
In reply to: No Analytics for Admins@Olaf: Some of us aren’t lucky enough to have static IPs ;P
In reply to: Installing bbPressYou don’t need any integration plugins if you’re using WP 2.8.4 with bbP 1.0.2.
I’m afraid I don’t quite understand what you mean by it not uploading as a folder though? As long as you keep the basic structure (so you still have
bb-admin
,bb-includes
,bb-plugins
andbb-templates
folders), you’ll be fine.To access bbPress as an admin, you need to log into bbPress using the admin account and then a link will be displayed to the Admin panel.
In reply to: comments_popup_linkhttp://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/comment-template.php.source.html
In WordPress,
comments_popup_link()
takes three arguments that tell it how to format the output based on how many comments are present and runs asprintf()
with the appropriate output after retrieving the comment count.The equivalent to
get_comments_number
in bbPress would beget_topic_posts
, the rest of the function is either WordPress-specific or would need slight tweaking (like what the posts page would actually be).