<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
#2480 (user forum subscriptions not shown)
– bbPress Trac
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--[if IE]><script type="text/javascript">
if (/^#__msie303:/.test(window.location.hash))
window.location.replace(window.location.hash.replace(/^#__msie303:/, '#'));
</script><![endif]-->
<link rel="search" href="/search" />
<link rel="prev" href="/ticket/2479" title="Ticket #2479" />
<link rel="last" href="/ticket/3609" title="Ticket #3609" />
<link rel="help" href="/wiki/TracGuide" />
<link rel="alternate" href="/ticket/2480?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
<link rel="alternate" href="/ticket/2480?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
<link rel="alternate" href="/ticket/2480?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
<link rel="next" href="/ticket/2481" title="Ticket #2481" />
<link rel="start" href="/wiki" />
<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/trac.css?v=220" />
<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/ticket.css?v=220" />
<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/jquery-ui/jquery-ui.css?v=220" />
<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/jquery-ui-addons.css?v=220" />
<link rel="icon" href="https://bbpress.org/favicon.ico" type="image/x-icon" />
<link rel="first" href="/ticket/1" title="Ticket #1" />
<style id="trac-noscript" type="text/css">.trac-noscript { display: none !important }</style>
<link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search bbPress Trac" />
<script type="text/javascript">
var auto_preview_timeout=2.0;
var form_token="adff81b9c5efd15193abe84f";
var jquery_ui={"ampm":true,"date_format":"mm/dd/yy","day_names":{"abbreviated":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"narrow":["Su","Mo","Tu","We","Th","Fr","Sa"],"wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"default_timezone":null,"first_week_day":0,"month_names":{"abbreviated":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wide":["January","February","March","April","May","June","July","August","September","October","November","December"]},"period_names":{"am":["AM","AM"],"pm":["PM","PM"]},"show_timezone":false,"time_format":"hh:mm:ss TT","timepicker_separator":" ","timezone_iso8601":false,"timezone_list":null};
var comments_prefs={"comments_order":"oldest","show_comments":"true","show_prop_changes":"true"};
</script>
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<link rel="dns-prefetch" href="//www.googletagmanager.com" />
<script>//<![CDATA[
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-P24PF4B');
//]]></script>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext&ver=3.8.1-alpha" type="text/css" media="all" />
<link type="text/css" media="screen" rel="stylesheet" href="//bbpress.org/wp-content/themes/bb-base/style.css?v=24" />
<link type="text/css" media="screen" rel="stylesheet" href="//bbpress.org/wp-content/themes/bb-base/style-bbpress.css?v=24" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="https://s.w.org/wp-includes/css/dashicons.min.css?20150710" type="text/css" />
<link rel="stylesheet" type="text/css" href="https://s.w.org/style/trac/wp-trac.css?220" />
<script src="https://s.w.org/style/trac/common/js/jquery.js?v=220"></script>
<link rel="canonical" href="https://bbpress.trac.wordpress.org/ticket/2480" />
<script src="https://s.w.org/style/trac/common/js/babel.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/trac.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/search.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/folding.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/wikitoolbar.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/resizer.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/auto_preview.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/jquery-ui.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/jquery-ui-addons.js?v=220"></script>
<script src="https://s.w.org/style/trac/common/js/jquery-ui-i18n.js?v=220"></script>
<script type="text/javascript">
jQuery("#trac-noscript").remove();
jQuery(document).ready(function($) {
$(".trac-autofocus").focus();
$(".trac-target-new").attr("target", "_blank");
if ($.ui) { /* is jquery-ui added? */
$(".trac-datepicker:not([readonly])").prop("autocomplete", "off").datepicker();
$(".trac-datetimepicker:not([readonly])").prop("autocomplete", "off").datetimepicker();
$("#main").addClass("trac-nodatetimehint");
}
$(".trac-disable").disableSubmit(".trac-disable-determinant");
setTimeout(function() { $(".trac-scroll").scrollToTop() }, 1);
$(".trac-disable-on-submit").disableOnSubmit();
});
</script>
<script src="https://s.w.org/style/trac/common/js/threaded_comments.js?v=220"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$("div.description").find("h1,h2,h3,h4,h5,h6").addAnchor(_("Link to this section"));
$(".foldable").enableFolding(false, true);
/*<![CDATA[*/
$("#attachments").toggleClass("collapsed");
$("#trac-up-attachments").click(function () {
$("#attachments").removeClass("collapsed");
return true;
});
$("#modify").parent().toggleClass("collapsed");
$(".trac-topnav a").click(function() { $("#modify").parent().removeClass("collapsed"); });
function setRevertHandler() {
$("button.trac-revert").click(function() {
var div = $("div", this);
var field_name = div[0].id.substr(7);
var field_value = div.text();
var input = $("#propertyform *[name=field_" + field_name + "]");
if (input.length > 0) {
if (input.filter("input[type=radio]").length > 0) {
input.val([field_value]);
} else if (input.filter("input[type=checkbox]").length > 0) {
input.val(field_value == "1" ? [field_value] : []);
} else {
input.val(field_value);
}
} else { // Special case for CC checkbox
input = $("#propertyform input[name=cc_update]").val([]);
}
input.change();
// Remove the revert button
if ($(this).closest("tbody").children("tr").length === 1)
$(this).closest(".trac-change-panel").remove();
else
$(this).closest("tr").remove();
return false;
});
}
setRevertHandler();
var comment_focused = false;
$("#comment").focus(function() { comment_focused = true; })
.blur(function() { comment_focused = false; });
$("#propertyform").autoSubmit({preview: '1'}, function(data, reply) {
var items = $(reply);
// Update ticket box
$("#ticket").replaceWith(items.filter('#ticket'));
// Replaces content of #changelog, without recreating it
$("#changelog").empty().append(items.filter("#changelog").contents());
// Apply comments order and "Show" preferences
applyCommentsOrder(
$('#prefs input[name="trac-comments-order"]:checked').val());
// Show warning
var new_changes = $("#changelog .trac-new");
$("#trac-edit-warning").toggle(new_changes.length != 0);
if (new_changes.length != 0)
$("#changelog").parent().show().removeClass("collapsed");
// Update view time
$("#propertyform input[name='view_time']").replaceWith(items.filter("input[name='view_time']"));
// Update preview
var preview = $("#ticketchange").html(items.filter('#preview').children());
var show_preview = preview.children().length != 0;
$("#ticketchange").toggle(show_preview);
setRevertHandler();
// Execute scripts to load stylesheets
items.filter("script").appendTo("head");
}, "#ticketchange .trac-loading");
$("#trac-comment-editor").autoSubmit({preview_comment: '1'}, function(data, reply) {
var comment = $("#trac-comment-editor").next("div.comment").html(reply);
comment.toggle(comment.children().length != 0);
}, "#changelog .trac-loading");
/*]]>*/
});
</script>
</head>
<body id="wordpress-org" class="bbpress trac wporg-make make-bbpress">
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P24PF4B" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<dl id="accessibility">
<dt>Skip to:</dt>
<dd><a href="#content" title="Skip to content">Content</a></dd>
</dl>
<div id="wporg-header">
<div id="header-inner">
<button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button>
<ul id="wporg-header-menu">
<li><a href="https://bbpress.org/about/">About</a></li>
<li><a href="https://bbpress.org/plugins/">Plugins</a></li>
<li><a href="https://bbpress.org/themes/">Themes</a></li>
<li><a href="https://codex.bbpress.org/">Documentation</a></li>
<li><a href="https://bbpress.org/blog/">Blog</a></li>
<li><a href="https://bbpress.org/forums/">Support</a></li>
<li class="download"><a href="https://bbpress.org/download/">Download</a></li>
</ul>
<h1><a href="https://bbpress.org">bbPress.org</a></h1>
</div>
</div>
<div id="subnav">
<div id="subnav-inner">
<ul id="nav-user" class="menu">
<li class="last first">
<a href="https://login.wordpress.org/?redirect_to=https%3A%2F%2Fbbpress.trac.wordpress.org%2Fticket%2F2480" class="login">Login</a>
</li>
</ul>
</div>
</div>
<div id="banner">
<form id="search" action="/search" method="get">
<div>
<label for="proj-search">Search:</label>
<input type="text" id="proj-search" name="q" size="18" value="" />
<input type="submit" value="Search" />
</div>
</form>
</div>
<div id="mainnav" class="nav">
<ul>
<li class="first"><a href="/timeline">Timeline</a></li><li class="active"><a href="/report">View Tickets</a></li><li><a href="/roadmap">Roadmap</a></li><li><a href="/browser">Browse Source</a></li><li class="last"><a href="/ticketgraph">Ticket Graph</a></li>
</ul>
</div>
<div id="main">
<div id="ctxtnav" class="nav">
<h2>Context Navigation</h2>
<ul>
<li class="first"><span>← <a class="prev" href="/ticket/2479" title="Ticket #2479">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/2481" title="Ticket #2481">Next Ticket</a> →</span></li>
</ul>
<hr />
</div>
<div id="content" class="ticket">
<div id="ticket" class="trac-content ">
<div class="date">
<p>Opened <a class="timeline" href="/timeline?from=2013-11-25T19%3A55%3A35Z&precision=second" title="See timeline at 11/25/2013 07:55:35 PM">11 years ago</a></p>
<p>Last modified <a class="timeline" href="/timeline?from=2024-04-10T21%3A29%3A58Z&precision=second" title="See timeline at 04/10/2024 09:29:58 PM">7 months ago</a></p>
</div>
<h2>
<a href="/ticket/2480" class="trac-id">#2480</a>
<span class="trac-status">
<a href="/query?status=reopened">reopened</a>
</span>
<span class="trac-type">
<a href="/query?status=!closed&type=defect+(bug)">defect (bug)</a>
</span>
</h2>
<h1 id="trac-ticket-title" class="searchable">
<span class="summary">user forum subscriptions not shown</span>
</h1>
<table class="properties">
<tr>
<th id="h_reporter">Reported by:</th>
<td headers="h_reporter" class="searchable">
<a href="https://profiles.wordpress.org/wdfee" data-nicename="wdfee">
<img class="avatar" src="https://wordpress.org/grav-redirect.php?user=wdfee&s=48" srcset="https://wordpress.org/grav-redirect.php?user=wdfee&s=96 2x" height="48" width="48" alt="wdfee's profile" />
</a>
<a class="trac-author" href="/query?status=!closed&reporter=wdfee">wdfee</a>
</td>
<th id="h_owner">Owned by:</th>
<td headers="h_owner">
<a href="https://profiles.wordpress.org/johnjamesjacoby">
<img class="avatar" src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="johnjamesjacoby's profile" />
</a>
<a class="trac-author" href="/query?status=!closed&owner=johnjamesjacoby">johnjamesjacoby</a>
</td>
</tr>
<tr>
<th id="h_milestone">
Milestone:
</th>
<td headers="h_milestone">
<a class="milestone" href="/milestone/2.8" title="3 months late (08/01/2024 04:00:00 AM)">2.8</a>
</td>
<th id="h_priority">
Priority:
</th>
<td headers="h_priority">
<a href="/query?status=!closed&priority=normal">normal</a>
</td>
</tr><tr>
<th id="h_severity">
Severity:
</th>
<td headers="h_severity">
<a href="/query?status=!closed&severity=normal">normal</a>
</td>
<th id="h_version">
Version:
</th>
<td headers="h_version">
<a href="/query?status=!closed&version=trunk">trunk</a>
</td>
</tr><tr>
<th id="h_component">
Component:
</th>
<td headers="h_component">
<a href="/query?status=!closed&component=API+-+Subscriptions">API - Subscriptions</a>
</td>
<th id="h_keywords">
Keywords:
</th>
<td headers="h_keywords" class="searchable">
<a href="/query?status=!closed&keywords=~needs-patch">needs-patch</a> <a href="/query?status=!closed&keywords=~reporter-feedback">reporter-feedback</a>
</td>
</tr><tr>
<th id="h_cc" class="missing">
Cc:
</th>
<td headers="h_cc" class="searchable">
</td>
<th class="missing">
</th>
<td>
</td>
</tr>
</table>
<div class="description">
<h3 id="comment:description">
Description
</h3>
<div class="searchable">
<p>
Relates to your pretty well new forum subscriptions feature (<a class="closed ticket" href="/ticket/2299" title="#2299: task (blessed): Forum topic notifications (closed: fixed)">#2299</a>):<br />
</p>
<p>
includes/user/functions line 639: bbp_get_user_forum_subscriptions() tries to query <code>bbp_has_forums( array( 'post__in' => $subscriptions ) )</code>but <code>'post__in'</code> is no $arg for bbp_has_forums. It returns false even if user has forum subscriptions. So on user's subscription page no forums show up but 'You are not currently subscribed to any forums.'<br />
</p>
</div>
</div>
</div>
<div>
<div class="trac-noscript" style="position: relative">
<form id="prefs" method="get" action="/prefs" style="position: absolute; right: 0">
<div id="trac-comments-order">
<input type="radio" id="trac-comments-oldest" name="trac-comments-order" value="oldest" checked="checked" />
<label for="trac-comments-oldest">Oldest first</label>
<input type="radio" id="trac-comments-newest" name="trac-comments-order" value="newest" />
<label for="trac-comments-newest">Newest first</label>
<span id="trac-threaded-toggle" style="display: none">
<input type="radio" id="trac-comments-threaded" name="trac-comments-order" value="threaded" />
<label for="trac-comments-threaded">Threaded</label>
</span>
</div>
<div>
<input id="trac-show-comments-toggle" type="checkbox" checked="checked" />
<label for="trac-show-comments-toggle">Show comments</label>
<input id="trac-show-property-changes-toggle" type="checkbox" />
<label for="trac-show-property-changes-toggle">Show property changes</label>
</div>
</form>
</div>
<h3 class="foldable">Change History <span class="trac-count">(27)</span></h3>
<div id="changelog">
<div class="change" id="trac-change-1-1385410603645857">
<h3 class="change">
<span class="threading">
<span id="comment:1" class="cnum">
<a href="#comment:1">#1</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/wdfee" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=wdfee&s=48" srcset="https://wordpress.org/grav-redirect.php?user=wdfee&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wdfee" data-nicename="wdfee"><span class="trac-author">wdfee</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-25T20%3A16%3A43Z&precision=second" title="See timeline at 11/25/2013 08:16:43 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
tested with 2.5, WP 3.7.1<br />
</p>
</div>
</div>
<div class="change" id="trac-change-2-1385485155741891">
<h3 class="change">
<span class="threading">
<span id="comment:2" class="cnum">
<a href="#comment:2">#2</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/alexvorn2" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=alexvorn2&s=48" srcset="https://wordpress.org/grav-redirect.php?user=alexvorn2&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="alexvorn2" data-nicename="alexvorn2"><span class="trac-author">alexvorn2</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-26T16%3A59%3A15Z&precision=second" title="See timeline at 11/26/2013 04:59:15 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.5.1</em> to <em>Awaiting Review</em>
</li>
</ul>
</div>
<div class="change" id="trac-change-3-1385538433650340">
<h3 class="change">
<span class="threading">
<span id="comment:3" class="cnum">
<a href="#comment:3">#3</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-27T07%3A47%3A13Z&precision=second" title="See timeline at 11/27/2013 07:47:13 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>Awaiting Review</em> to <em>2.5.1</em>
</li>
</ul>
<div class="comment searchable">
<p>
If this is happening, <code>post__in</code> isn't the culprit. <code>bbp_parse_args()</code> does a simple <code>array_merge()</code> of the <code>$args</code> and the default arguments array.<br />
</p>
<p>
Is it possible you've customized your <code>user-subscriptions.php</code> template in a parent or child theme? If so, you'll need to add the new forum subscription bit to that template in order for them to appear.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-4-1385540532203037">
<h3 class="change">
<span class="threading">
<span id="comment:4" class="cnum">
<a href="#comment:4">#4</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-27T08%3A22%3A12Z&precision=second" title="See timeline at 11/27/2013 08:22:12 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
I jhon, i have same problems... i have child theme and have copied a new user-subscriptions.php in my bbpress folder.. I receive only: You are not currently subscribed to any forums.<br />
</p>
<p>
But i have subscribed three forums...<br />
</p>
<p>
No problems form topic subicribtion.. it show fine.. Other suggestions??<br />
</p>
<p>
Also.. i have renamed my bbpress folder in my theme and used original bbpress default theme... and.. it not show again forum subscription...<br />
</p>
<p>
In order:<br />
I have add the link to click in content-single-forum.php like this :<?php bbp_forum_subscription_link(); ?><br />
After i have copy entire user-subscriptions.php in my child theme..<br />
</p>
<p>
Is all? exist other file o code to add in other parts?<br />
</p>
</div>
<div class="trac-lastedit ">
Last edited <a class="timeline" href="/timeline?from=2013-11-27T08%3A29%3A30Z&precision=second" title="See timeline at 11/27/2013 08:29:30 AM">11 years ago</a>
by <span class="trac-author">freewpress</span>
(<a href="/ticket/2480?cversion=1&cnum_hist=4#comment:4">previous</a>)
(<a href="/ticket/2480?action=comment-diff&cnum=4&version=2">diff</a>)
</div>
</div>
<div class="change" id="trac-change-5-1385627661567824">
<h3 class="change">
<span class="threading">
<span id="comment:5" class="cnum">
<a href="#comment:5">#5</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-28T08%3A34%3A21Z&precision=second" title="See timeline at 11/28/2013 08:34:21 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Update:<br />
</p>
<p>
I have switched in Twenty Thirteen theme and nothing is changed.. I can't see forums subscriptions it remaining: You are not currently subscribed to any forums.<br />
</p>
<p>
If i subscribe a forum, i see after "unsubscribe" link.. I think is was ok for this function.. And.. Why i can't read my subscribed forums ma only my subscribed topics? Please help..<br />
</p>
<p>
Thanks.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-6-1385632859505702">
<h3 class="change">
<span class="threading">
<span id="comment:6" class="cnum">
<a href="#comment:6">#6</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-28T10%3A00%3A59Z&precision=second" title="See timeline at 11/28/2013 10:00:59 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
I have look my database and i have found <br />
</p>
<pre class="wiki">meta_key wp__bbp_forum_subscriptions
with my two forums meata_value 9816,9813 and my correct user_id.
</pre><p>
Now.. If these options are been present in my database, why it not show? :(<br />
</p>
</div>
<div class="trac-lastedit ">
Last edited <a class="timeline" href="/timeline?from=2013-11-28T10%3A01%3A52Z&precision=second" title="See timeline at 11/28/2013 10:01:52 AM">11 years ago</a>
by <span class="trac-author">freewpress</span>
(<a href="/ticket/2480?cversion=0&cnum_hist=6#comment:6">previous</a>)
(<a href="/ticket/2480?action=comment-diff&cnum=6&version=1">diff</a>)
</div>
</div>
<div class="change" id="trac-change-7-1385637662991599">
<h3 class="change">
<span class="threading">
<span id="comment:7" class="cnum">
<a href="#comment:7">#7</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-28T11%3A21%3A02Z&precision=second" title="See timeline at 11/28/2013 11:21:02 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.5.1</em> to <em>Awaiting Review</em>
</li>
</ul>
</div>
<div class="change" id="trac-change-8-1385712406622198">
<h3 class="change">
<span class="threading">
<span id="comment:8" class="cnum">
<a href="#comment:8">#8</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T08%3A06%3A46Z&precision=second" title="See timeline at 11/29/2013 08:06:46 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Another feedback with same issue is here: <a href="http://bbpress.org/forums/topic/menu-link-to-profile/">http://bbpress.org/forums/topic/menu-link-to-profile/</a><br />
</p>
<p>
Robin W was tested forum subscription in a test site and it report that have same issue...<br />
</p>
</div>
</div>
<div class="change" id="trac-change-9-1385717185891247">
<h3 class="change">
<span class="threading">
<span id="comment:9" class="cnum">
<a href="#comment:9">#9</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T09%3A26%3A25Z&precision=second" title="See timeline at 11/29/2013 09:26:25 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Today other test.. i have used this:<br />
</p>
<pre class="wiki">echo implode(',',$subscriptions);
</pre><p>
to verify if array are ok.. it show me my two forums subscribed.. Promblems is here?<br />
</p>
<pre class="wiki">$query = bbp_has_forums( array( 'post__in' => $subscriptions ) );
</pre>
</div>
</div>
<div class="change" id="trac-change-10-1385721280960443">
<h3 class="change">
<span class="threading">
<span id="comment:10" class="cnum">
<a href="#comment:10">#10</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T10%3A34%3A40Z&precision=second" title="See timeline at 11/29/2013 10:34:40 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
NEWS!!<br />
</p>
<p>
All my subscribed forums are in subcategory THIS IS THE PROBLEM!<br />
</p>
<p>
Now i have subscribed a forum thath not have any subforums and IT SHOW IN LIST.<br />
</p>
<p>
I have 3 subscribed forums and only one show!!!<br />
</p>
<p>
Another issue... I can't find the bottom [x] to remove forums from subscribed forums list.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-11-1385722250996373">
<h3 class="change">
<span class="threading">
<span id="comment:11" class="cnum">
<a href="#comment:11">#11</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T10%3A50%3A50Z&precision=second" title="See timeline at 11/29/2013 10:50:50 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
The [X] Bottom was added by modify loop-single-forum.php THIS IS RESOLVED<br />
</p>
<p>
Remaining Subcategory forums issue!!!<br />
</p>
</div>
</div>
<div class="change" id="trac-change-12-1385737665291178">
<h3 class="change">
<span class="threading">
<span id="comment:12" class="cnum">
<a href="#comment:12">#12</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T15%3A07%3A45Z&precision=second" title="See timeline at 11/29/2013 03:07:45 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
At this point i think problem is line 120 in includes/forums/template.php<br />
</p>
<pre class="wiki">'post_parent' => bbp_is_forum_archive() ? 0 : bbp_get_forum_id(),
</pre><p>
Or function bbp_get_forum_id()...<br />
</p>
<p>
For example if i set for test:<br />
</p>
<pre class="wiki">'post_parent' => '',
</pre><p>
it show all forums subscribed, but obviously forums archive don't work correctly...<br />
</p>
<p>
but where are you all? I'm writing alone :D<br />
</p>
</div>
<div class="trac-lastedit ">
Last edited <a class="timeline" href="/timeline?from=2013-11-29T15%3A08%3A18Z&precision=second" title="See timeline at 11/29/2013 03:08:18 PM">11 years ago</a>
by <span class="trac-author">freewpress</span>
(<a href="/ticket/2480?cversion=0&cnum_hist=12#comment:12">previous</a>)
(<a href="/ticket/2480?action=comment-diff&cnum=12&version=1">diff</a>)
</div>
</div>
<div class="change" id="trac-change-13-1385738336012901">
<h3 class="change">
<span class="threading">
<span id="comment:13" class="cnum">
<a href="#comment:13">#13</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T15%3A18%3A56Z&precision=second" title="See timeline at 11/29/2013 03:18:56 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>Awaiting Review</em> to <em>2.5.1</em>
</li>
</ul>
<div class="comment searchable">
<p>
That's interesting. I'll add a <code>post_parent</code> argument just to be certain, but you're also correct that subscribing to a category doesn't do much good since it will never have topics, and it isn't a hierarchical subscription that subscribes you to all child forum topics.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-14-1385738871327740">
<h3 class="change">
<span class="threading">
<span id="comment:14" class="cnum">
<a href="#comment:14">#14</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T15%3A27%3A51Z&precision=second" title="See timeline at 11/29/2013 03:27:51 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-owner">
<strong class="trac-field-owner">Owner</strong>
set to <em>johnjamesjacoby</em>
</li><li class="trac-field-resolution">
<strong class="trac-field-resolution">Resolution</strong>
set to <em>fixed</em>
</li><li class="trac-field-status">
<strong class="trac-field-status">Status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
</ul>
<div class="comment searchable">
<p>
In <a class="changeset" href="/changeset/5211" title="In `bbp_has_forums()` do some `post_parent` routing to make sure all ...">5211</a>:<br />
</p>
<div class="message"><p>
In <code>bbp_has_forums()</code> do some <code>post_parent</code> routing to make sure all forums are available on subscription pages. Fixes <a class="reopened ticket" href="/ticket/2480" title="#2480: defect (bug): user forum subscriptions not shown (reopened)">#2480</a>. (2.5 branch)<br />
</p>
</div>
</div>
</div>
<div class="change" id="trac-change-15-1385738948954396">
<h3 class="change">
<span class="threading">
<span id="comment:15" class="cnum">
<a href="#comment:15">#15</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T15%3A29%3A08Z&precision=second" title="See timeline at 11/29/2013 03:29:08 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
In <a class="changeset" href="/changeset/5212" title="In `bbp_has_forums()` do some `post_parent` routing to make sure all ...">5212</a>:<br />
</p>
<div class="message"><p>
In <code>bbp_has_forums()</code> do some <code>post_parent</code> routing to make sure all forums are available on subscription pages. Fixes <a class="reopened ticket" href="/ticket/2480" title="#2480: defect (bug): user forum subscriptions not shown (reopened)">#2480</a>. (trunk)<br />
</p>
</div>
</div>
</div>
<div class="change" id="trac-change-16-1385740328298006">
<h3 class="change">
<span class="threading">
<span id="comment:16" class="cnum">
<a href="#comment:16">#16</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/freewpress" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=freewpress&s=48" srcset="https://wordpress.org/grav-redirect.php?user=freewpress&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="freewpress" data-nicename="freewpress"><span class="trac-author">freewpress</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-29T15%3A52%3A08Z&precision=second" title="See timeline at 11/29/2013 03:52:08 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Issue was resolved.. thanks JJJ it work fine now!!<br />
</p>
</div>
</div>
<div class="change" id="trac-change-17-1386187246161750">
<h3 class="change">
<span class="threading">
<span id="comment:17" class="cnum">
<a href="#comment:17">#17</a>
</span>
<span>follow-ups:</span>
<a href="#comment:18" class="follow-up">↓ 18</a>
<a href="#comment:23" class="follow-up">↓ 23</a>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/wdfee" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=wdfee&s=48" srcset="https://wordpress.org/grav-redirect.php?user=wdfee&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wdfee" data-nicename="wdfee"><span class="trac-author">wdfee</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T20%3A00%3A46Z&precision=second" title="See timeline at 12/04/2013 08:00:46 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
sorry, issue isn't solved for me yet. Still doesn't fetch forums used with buddypress group forum root. The parent must be <code>bbp_group_forums_root_id()</code><br />
</p>
</div>
</div>
<div class="change" id="trac-change-18-1386191459739317">
<h3 class="change">
<span class="threading">
<span id="comment:18" class="cnum">
<a href="#comment:18">#18</a>
</span>
in reply to:
<a href="#comment:17">↑ 17</a>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T21%3A10%3A59Z&precision=second" title="See timeline at 12/04/2013 09:10:59 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Replying to <a class="ticket" href="/ticket/2480#comment:17" title="Comment 17">wdfee</a>:<br />
</p>
<blockquote class="citation">
<p>
sorry, issue isn't solved for me yet. Still doesn't fetch forums used with buddypress group forum root. The parent must be <code>bbp_group_forums_root_id()</code><br />
</p>
</blockquote>
<p>
Can you explain a bit more what issues you're having, and how <code>bbp_group_forums_root_id()</code> fixes them?<br />
</p>
</div>
</div>
<div class="change" id="trac-change-19-1386191474578299">
<h3 class="change">
<span class="threading">
<span id="comment:19" class="cnum">
<a href="#comment:19">#19</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T21%3A11%3A14Z&precision=second" title="See timeline at 12/04/2013 09:11:14 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.5.1</em> to <em>2.5.2</em>
</li><li class="trac-field-resolution">
<strong class="trac-field-resolution">Resolution</strong>
<em>fixed</em> deleted
</li><li class="trac-field-status">
<strong class="trac-field-status">Status</strong>
changed from <em>closed</em> to <em>reopened</em>
</li>
</ul>
</div>
<div class="change" id="trac-change-20-1386195096244054">
<h3 class="change">
<span class="threading">
<span id="comment:20" class="cnum">
<a href="#comment:20">#20</a>
</span>
<span>follow-up:</span>
<a href="#comment:24" class="follow-up">↓ 24</a>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=netweb&s=48" srcset="https://wordpress.org/grav-redirect.php?user=netweb&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="netweb" data-nicename="netweb"><span class="trac-author">netweb</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T22%3A11%3A36Z&precision=second" title="See timeline at 12/04/2013 10:11:36 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Scenario 1 works and Scenario 2 does NOT work<br />
</p>
<p>
Scenario 1 - Repro: Group Forums Parent = <code>-- Forum Root --</code><br />
</p>
<ul><li>Open a BP Group Forum eg <a class="ext-link" href="http://127.0.0.1/groups/abc123/forum/"><span class="icon"></span>http://127.0.0.1/groups/abc123/forum/</a>
</li><li>Click 'Subscribe'
</li><li>Create a 'New Topic'
</li><li>Check email
</li><li>Works as expected
</li></ul><p>
Scenario 2 - Repro: Group Forums Parent = <code>BPGROUPROOT</code><br />
</p>
<ul><li>Create a new forum to use as the BP Group Forums Parent eg <code>BPGROUPROOT</code>
</li><li>Update bbPress setting to use Group Forums Parent = <code>BPGROUPROOT</code>
</li><li>Create a new BP group with forums
</li><li>Open BP Group Forum eg <a class="ext-link" href="http://127.0.0.1/groups/def456/forum/"><span class="icon"></span>http://127.0.0.1/groups/def456/forum/</a>
</li><li>Click 'Subscribe'
</li><li>Create a 'New Topic'
</li><li>Check email
</li><li>Does NOT works as expected
</li></ul><p>
<em>Did not test using a fresh setup where <a class="wiki" href="/wiki/BuddyPress">BuddyPress</a> creates its own forum root for group forums.</em><br />
</p>
</div>
</div>
<div class="change" id="trac-change-21-1386198236512687">
<h3 class="change">
<span class="threading">
<span id="comment:21" class="cnum">
<a href="#comment:21">#21</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T23%3A03%3A56Z&precision=second" title="See timeline at 12/04/2013 11:03:56 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-keywords">
<strong class="trac-field-keywords">Keywords</strong>
<em>needs-patch</em> added
</li>
</ul>
</div>
<div class="change" id="trac-change-22-1386224255970049">
<h3 class="change">
<span class="threading">
<span id="comment:22" class="cnum">
<a href="#comment:22">#22</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/wdfee" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=wdfee&s=48" srcset="https://wordpress.org/grav-redirect.php?user=wdfee&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wdfee" data-nicename="wdfee"><span class="trac-author">wdfee</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-05T06%3A17%3A35Z&precision=second" title="See timeline at 12/05/2013 06:17:35 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
For me I solved it changing in includes/forums/template.php<br />
<br />
`<em> Forum archive only shows root<br />
</em></p>
<blockquote>
<p>
if ( bbp_is_forum_archive() ) {<br />
</p>
<blockquote>
<p>
$default_post_parent = 0;<br />
</p>
</blockquote>
<p>
<em> User subscriptions shows any<br />
} elseif ( bbp_is_subscriptions() ) {<br />
</em></p>
<blockquote>
<blockquote>
<p>
$default_post_parent = 'any';<br />
</p>
</blockquote>
</blockquote>
<p>
<em> Could be anything, so look for possible parent ID<br />
} <strong>elseif( !bp_is_group() ) {<br />
</strong></em></p>
<blockquote>
<blockquote>
<p>
<strong>$default_post_parent = bbp_get_group_forums_root_id();</strong><br />
</p>
</blockquote>
</blockquote>
<p>
}<strong> else {<br />
</strong></p>
<blockquote>
<blockquote>
<p>
$default_post_parent = bbp_get_forum_id();<br />
</p>
</blockquote>
</blockquote>
<p>
} `<br />
</p>
</blockquote>
<p>
The <code>elseif( !bp_is_group() )</code> just needs one more statement to control if buddypress and groups are used.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-23-1386831071420919">
<h3 class="change">
<span class="threading">
<span id="comment:23" class="cnum">
<a href="#comment:23">#23</a>
</span>
in reply to:
<a href="#comment:17">↑ 17</a>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-12T06%3A51%3A11Z&precision=second" title="See timeline at 12/12/2013 06:51:11 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Replying to <a class="ticket" href="/ticket/2480#comment:17" title="Comment 17">wdfee</a>:<br />
</p>
<blockquote class="citation">
<p>
sorry, issue isn't solved for me yet. Still doesn't fetch forums used with buddypress group forum root. The parent must be <code>bbp_group_forums_root_id()</code><br />
</p>
</blockquote>
<p>
Your fix above will actually break more than it fixes. What about non-group forums?<br />
</p>
<p>
We need to figure out why the <code>bbp_is_subscriptions()</code> check isn't returning true when a user is viewing their subscriptions.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-24-1386831122746101">
<h3 class="change">
<span class="threading">
<span id="comment:24" class="cnum">
<a href="#comment:24">#24</a>
</span>
in reply to:
<a href="#comment:20">↑ 20</a>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-12T06%3A52%3A02Z&precision=second" title="See timeline at 12/12/2013 06:52:02 AM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<div class="comment searchable">
<p>
Replying to <a class="ticket" href="/ticket/2480#comment:20" title="Comment 20">netweb</a>:<br />
</p>
<blockquote class="citation">
<p>
Scenario 2 - Repro: Group Forums Parent = <code>BPGROUPROOT</code><br />
</p>
<ul><li>Create a new forum to use as the BP Group Forums Parent eg <code>BPGROUPROOT</code>
</li><li>Update bbPress setting to use Group Forums Parent = <code>BPGROUPROOT</code>
</li><li>Create a new BP group with forums
</li><li>Open BP Group Forum eg <a class="ext-link" href="http://127.0.0.1/groups/def456/forum/"><span class="icon"></span>http://127.0.0.1/groups/def456/forum/</a>
</li><li>Click 'Subscribe'
</li><li>Create a 'New Topic'
</li><li>Check email
</li><li>Does NOT works as expected
</li></ul></blockquote>
<p>
This works for me. The <code>post_parent</code> isn't checked when sending notification emails.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-25-1388183973381187">
<h3 class="change">
<span class="threading">
<span id="comment:25" class="cnum">
<a href="#comment:25">#25</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-27T22%3A39%3A33Z&precision=second" title="See timeline at 12/27/2013 10:39:33 PM">11 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.5.2</em> to <em>2.6</em>
</li>
</ul>
<div class="comment searchable">
<p>
Moving to 2.6 to look into further.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-26-1402846253399458">
<h3 class="change">
<span class="threading">
<span id="comment:26" class="cnum">
<a href="#comment:26">#26</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-06-15T15%3A30%3A53Z&precision=second" title="See timeline at 06/15/2014 03:30:53 PM">10 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-keywords">
<strong class="trac-field-keywords">Keywords</strong>
<em>reporter-feedback</em> added
</li><li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.6</em> to <em>2.7</em>
</li>
</ul>
<div class="comment searchable">
<p>
This is still working correctly for me. Moving to 2.7 pending more investigation.<br />
</p>
</div>
</div>
<div class="change" id="trac-change-27-1410290855386117">
<h3 class="change">
<span class="threading">
<span id="comment:27" class="cnum">
<a href="#comment:27">#27</a>
</span>
</span>
<span class="avatar">
<span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
<img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
<br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-09T19%3A27%3A35Z&precision=second" title="See timeline at 09/09/2014 07:27:35 PM">10 years</a> ago</span>
</span>
<div class="trac-ticket-buttons">
</div>
</h3>
<div class="trac-ticket-buttons"></div>
<ul class="changes">
<li class="trac-field-milestone">
<strong class="trac-field-milestone">Milestone</strong>
changed from <em>2.7</em> to <em>2.8</em>
</li>
</ul>
<div class="comment searchable">
<p>
Bumping all 2.7 to 2.8 milestone.<br />
</p>
</div>
</div>
</div>
</div>
<div id="help"><strong>Note:</strong> See
<a href="/wiki/TracTickets">TracTickets</a> for help on using
tickets.</div>
</div>
<div id="altlinks">
<a class="preferences-link" href="/prefs">Trac UI Preferences</a>
<h3>Download in other formats:</h3>
<ul>
<li class="first">
<a rel="nofollow" href="/ticket/2480?format=csv" class="csv">Comma-delimited Text</a>
</li><li>
<a rel="nofollow" href="/ticket/2480?format=tab" class="tab">Tab-delimited Text</a>
</li><li class="last">
<a rel="nofollow" href="/ticket/2480?format=rss" class="rss">RSS Feed</a>
</li>
</ul>
</div>
</div>
<div id="footer">
<div class="links">
<p>
See also:
<a href="http://wordpress.org">WordPress.org</a> •
<a href="http://bbpress.org">bbPress.org</a> •
<a href="http://buddypress.org">BuddyPress.org</a> •
<a href="http://ma.tt">Matt</a> •
<a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
</p>
</div>
<div class="details">
<p>
<a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
<a href="http://bbpress.org/about/gpl/">GPL</a> •
<a href="http://bbpress.org/contact/">Contact Us</a> •
<a href="http://bbpress.org/terms/">Terms of Service</a>
</p>
</div>
</div>
<script>
var wpTracCurrentUser = "anonymous";
</script>
<script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
<script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
<script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
<script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
</body>
</html>