MyBB Community Forums

Full Version: Find what forum a user is subscribed to
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking for a plugin or whatever that will let me know either by forum or by use what forum someone is subscribed too. I do not want to manually have to run sql queries to get those results.

Does this already exist and I just haven't found it yet?
TIA
There isn't a plugin for this still.
It wouldn't be too terrible to develop a plugin for it.
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."forumsubscriptions ORDER BY uid ASC");
while($subscription = $db->fetch_array($query))
{
eval("\$subscriptions .= \"".$templates->get("sometemplate")."\";"); 
// Put the template name that you want each subscription to use.
}

You'd have that be in a hook somewhere or create a new page with that code.
Dragonexpert....thanks for the hint. It's been a while since I have had to do code, but it's a great mental refresh. May you be showered in bacon.