Search Results for '"wordpress'
-
Search Results
-
Topic: My Account Link on this site
Topic: Help with Custom View
I *think* I’m going about this the right way — but I may not be, so any advice will be appreciated.
I’ve moved a long-standing forum group onto bbpress. We’re loving it, but members have asked me to make it work more like our old program. I’ve seen a lot of chatter about view-unread elsewhere. I’m using the plugin https://wordpress.org/plugins/bbpress-unread-posts/ — that hasn’t been updated in forever, but works nicely and gives us what we are used to. It creates a meta-key for each topic, each user: bbpress_unread_posts_last_visit_$user-id with the associated value being the unix timestamp.
Combined with the plugin to go to the first unread post, this works. I’ve also created buttons where the user can reset that meta-key to mark forums as read / unread.
Now I want a custom view, “Unread View”, that will look for topics where
_bbp_last_active_time > bbpress_unread_posts_last_visit_$user-idSince $user-id is dynamic, I’m thinking that I can’t just specify the view in the functions.php file and be happy.
What I’ve done:
added:
—–
// adding custom view for unread
function my_custom_views_init() {
$args = array ();
bbp_register_view( ‘unread-view’, __( ‘Unread View’ ), array( $args ), false );
}
add_action( ‘bbp_register_views’, ‘my_custom_views_init’ );
—–
to my functions.php file.created
unread-view.php based on loop-topics.php with the logic to test if
_bbp_last_active_time > bbpress_unread_posts_last_visit_$user-id
and only show the topic if it is… (I’m not sure if I have the logic right yet, or if this is even the right loop to put the test…)Added a page with the short code
[bbp-single-view id="unread-view"]But there’s clearly a link missing. I need something to tell the system that I want to use my unread-view.php instead of loop-topics.php for “unread-view” ONLY.
And I’m not sure how to do that. I’m clearly missing more than a little bit of the logic here. My programming skills are pretty basic, so any help you can give me would be appreciated.
Topic: restricting answers to admin
Hi.
How can i make it possible only for the admin and author to reply to a post?
Thank you
bbpress 2.5.4
wordpress 4.1
http://www.nunosousa.pt/foruns/forum/pergunte-ao-psicologo/This is my website: http://ecoperate.com, WordPress version is 4.0.1 and bbPress version is 2.5.4.
I have two forum groups running on my website (‘Opportunities’ and ‘Forum’); both of them highlight a different item in the menu when they’re active. Now, what I can’t manage to do is highlighting the respective menu items in the forum topics. At least not in a way they can tell the parent forums apart.
This works perfectly:
.single-topic .genesis-nav-menu .menu-item-71 > aWith the exception that only ONE of the menu-items is highlighted for every single topic (71 refers to menu item ‘Opportunities’). What I want to achieve is differentiation, by somehow linking the single-topics to the right parent forum. How can I do this?
Any help would be greatly appreciated! 🙂
Thanks,
Rosa
Hi there, I am a newbie to bbpress and need some help. I have installed and activated bbpress on my site on WordPress 4.1 and none of the admin menus such as Forums, Topics, Replies appear in the backend of the site on the left hand admin menu. I was wondering what might have gone wrong and how to get this to work. I have tried deactivating other plugins and still no good. I have also tried uninstalling and re-installing a few times without any luck. No actual error message appears on the site so I do not have anything else to go on, so maybe someone has some tips. Thanks
Topic: Forum completely unformatted
I’m trying to add BBPress to my WordPress site, but after installation, my forum looks completely unformatted:
I’ve tried removing all other plugins that didn’t come with the site, removing and re-adding themes, using the default themes, but it always looks like this. Is it supposed to look like this until I do something? Or is something else messing with what should be some sort of sane default formatting?