Forum Replies Created
-
In reply to: target=blank for external links in forum
@robin-w thanks, and apologies if that came off as angry or impatient. certainly wasn’t meant that way. should’ve added a few smilies 🙂
In reply to: target=blank for external links in forumNo one? Someone must’ve implemented this for bbPress 2.x by now.
In reply to: REPLY: pre-populate text area with @username@netweb thanks. I did see that direct quotes plugin; what I didn’t like was that you couldn’t highlight and then quote just a selection. Minute detail, but if the quoted post is looong, I found it annoying to have to go in and delete all the unwanted parts of the post just to get the right phrase or sentence to quote.
Ultimately what I was looking for is just a simple pre-population of the username once you hit “reply” in a person’s post.
@johnjamesjacoby glad to know it’s at least doable, and not too complicated. Hopefully someone down the road would want to take it on!In reply to: REPLY: pre-populate text area with @usernamenothing? surprised no one else hasn’t already implemented this.
In reply to: Topic URLs not as expected, gives 404 :(After a little digging, discovered my Custom Post Type Permalinks plugin wasn’t playing nicely with bbPress.
Problem and solution (albeit temporary) documented here: https://wordpress.org/support/topic/bbpress-topic-links-in-forums-break
Ultimately, edited the CPTP plugin file directly (ugh) line 290-something
$parentsDirs = ""; if( !$leavename ){ $postId = $post->ID; if ( !in_array($post_type, array('topic', 'forum', 'reply') ) ) { while ($parent = get_post($postId)->post_parent) { $parentsDirs = get_post($parent)->post_name."/".$parentsDirs; $postId = $parent; } } }
In reply to: Forums index in the same layout as other bb softwareah, sorry, spoke too soon. fyi, if you’re seeing this error then you haven’t yet changed the forum attribute type from “forum” to “category” yet. once I did this, it works as expected.
although if you have nested forum categories (where you have subcategories, but still want the ability to post within that parent category), you still receive that error. i guess a solution would be to restructure how your forum is set up.
In reply to: Forums index in the same layout as other bb software@kaliceos thanks for sharing this. Have you ever gotten an undefined variable notice for bbp_forums_noheader?
if (bbp_is_forum_category() OR !$bbp_forums_noheader) { ?>
Curious if anyone’s gotten this error when doing a straight copy + paste into loop-forums.php
Sounds good, appreciate the insight, Stephen!
Works perfectly, thanks Stephen. I had a feeling I was overlooking something straightforward.
Another (possibly dumb, considering the late hour) question: If all looks good and I wanted to replicate this on the live site, do I simply import from my local machine to live? Or should I just repeat this whole process from scratch on my live instance?