Forum Replies Created
-
In reply to: WP & bbPress integration: what would you do?
If bbPress can’t find user data for someone who’s made a post, it marks them as Anonymous
In reply to: Mail me after post@Olaf: Firefox 3.5.3 with an adblocker just looked at it under IE Tab and it loaded then hid the main content… but that’s probably just me
Unless I’m very mistaken, the bbPress.org website is just built around a WordPress / bbPress integration, so you could do something like that. There’s also bbPages which I’ve not used.
In reply to: Usability ideasThat makes sense… it’d be interesting to see if the profile info not displayed is actually retrievable anyway by adding the key from the database to the profile fields array. Displaying bbPress info in WordPress might be the same, I’ve never really looked at how it pulls it up.
In reply to: phpbb3 -> bbpress converterMost integration issues I tend to see are related to deep integration, rather than straight forward user integration. I guess it boils down to, does bbPress transfer over existing users to WP’s user tables cleanly (or at all) if you integrate it post-install. It would be possible to do manually anyway, since their respective user tables are essentially identical in structure, but bbPress users would have no WordPress meta whatsoever.
In reply to: Combined Register + PostI’ve managed to write something to do this so far as registering a new user, logging them in and attempting to add a post, but that always fails. Not even sure why since I can’t see any explicit permission checks within the post function itself. Oh well. Still not tackled hiding user posts either.
In reply to: Usability ideasgerikg: bbPress uses the WordPress user (profile) tables when integrated
In reply to: Mail me after post@Olaf: Your sidebar is going past the end of your main div
In reply to: Adding Images from a PC to a Topic.I already answered this in your other thread: https://bbpress.org/forums/topic/adding-images-to-a-topic
Please don’t start another one for exactly the same thing. Unless you mean, can you upload an image without having to upload it to a server of some kind? In which case, not very practically no.
In reply to: Sticky in Kakumei.There’s an option at the bottom of every topic when you’re logged in as an admin to make the topic a sticky.
In reply to: Adding Images to a Topic.That code is probably fine, the version number is okay anyway but it’s slightly different to the one above.
There’s an upload plugin for PostImage: https://bbpress.org/forums/topic/request-image-upload-with-free-image-hosting#post-56890
That’s the only one I know of
In reply to: Mail me after postIt’d have to be a plugin that hooked in when a new post is posted and checks if anyone is subscribed to that topic.
In reply to: Combined Register + PostWouldn’t it be easier to enable anonymous posting (there’s a plugin for it somewhere) and add a captcha to that or something? I just had a go at writing a register+post system, but it’s proving hard for me at least not to open up a can of worms bypassing half the checks to prevent non-logged in users from posting.
Edit: Nevermind, being a bit silly there, newly generated users must have the same capabilities as a standard user anyway.
In reply to: Can't find what I need to edit.That’s in a core file… what have you managed to do in your CSS to make it not go underneath?
Short-term fix:
Put this in your theme’s functions.php
<?php
function add_topic_br_special() { ?>
<br />
<?php }
add_action( 'pre_post_form', 'add_topic_br_special');
?>In reply to: Password Protect Forums?I couldn’t find anything that’s password-based, but you use Hidden Forums
https://bbpress.org/plugins/topic/hidden-forums/
That lets you control by user ID and type who can see what forums
In reply to: Events plugin neededbbP’s database is essentially the same as WP’s that’s how I can actually work out how to manipulate it most of the time. Basic functionality is the same, just different variables so you can get the table name for forums, etc. Give writing it a shot though, it’s not hard.
In reply to: Combined Register + PostA basic register-then-post would probably be relatively easy using AJAX on the post-form template, without having to touch core files. Modifying registration email behaviour as described earlier in the thread would probably be more difficult. Problem is of course, bbPress support forums are filled with people who want people to write things for them and almost no-one willing to do it.
That said mind you, I’d give the first part a shot if I could get my head around the kind of form layout you’d need to use.
In reply to: Events plugin neededI’d do this but I simply haven’t got the time. It’d be easy enough to store meta data if you added an action hook for ‘bb-post.php’ that got all the event-related form data from the post form and WP’s database handling makes storing it a breeze, so that wouldn’t be too hard. Throw in a ‘bb_head’ action hook to pull up data for a given topic (do a is_topic() check and check the forum ID, that’s floating around in a global variable iirc, probably $forum), load it into global variables and then let those be added in by the template. Main issue for me would be the testing and actually having to support something after I write it for once
In reply to: Forum names in RSS recent postsEasiest way would be to add
<?php $post_forum = bb_get_forum( $bb_post->forum_id ); echo $post_forum->forum_name; ?>
inside your theme’s rss2.php, after it says<?php foreach ($posts as $bb_post) : ?>
, possibly inside the<title>
part.i.e.
<title><?php post_author(); ?> <?php _e('on')?> "<?php topic_title( $bb_post->topic_id ); ?>" <?php _e('in')?> "<?php $post_forum = bb_get_forum( $bb_post->forum_id ); echo $post_forum->forum_name; ?>"</title>
In reply to: Tags area extends beyond the footer areaUse:
overflow: auto
andmax-height: 100%
to give it a nice scrollbar if it’s too big
In reply to: Why is this format replacement needed?Probably just to keep things tidy, if not you could end up with ridiculously long lines with all of a post’s content on.
In reply to: How to Show Last Ten Posts in Sidebar?That code seems to work fine here, what problems are you having? Apart from not having any limiter to keep it at 10 topics anyway.
In reply to: remove tagsTry putting this in your stylesheet:
/* Tags */
#front-page #discussions {margin-left:inherit;width:inherit;}
div#viewdiv,div#hottags,div#topic-tags,p#post-form-tags-container{display:none;}It hides the tag-related things in a basic Kakumei install
In reply to: Including a static file in your bb templateTrick is for bbPress functions, half of them are WordPress functions, just sometimes with bb_ on the front, so they behave essentially the same. A fair few others are just aliases to return data instead of outputting it (i.e. get_forum_link vs. forum_link). Beyond that though, yeah it’s all pretty undocumented, but it’s usually relatively obvious from the name and parameters it takes.
I’d love to be able to help right a bbPress Codex mind you…
In reply to: Including a static file in your bb templatefunction login_form() {
if ( bb_is_user_logged_in() )
bb_load_template( 'logged-in.php' );
else
bb_load_template( 'login-form.php', array('user_login', 'remember_checked', 'redirect_to', 're') );
}