Current time: 04-20-2014, 06:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How To?] Find what forum a user is subscribed to
04-09-2012, 11:29 AM
Post: #1
Not Solved Find what forum a user is subscribed to
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
Find all posts by this user
Quote this message in a reply
04-09-2012, 12:07 PM
Post: #2
Not Solved RE: Find what forum a user is subscribed to
There isn't a plugin for this still.

[Image: Kewlz.jpg]

^^ Click to check my rank. Big Grin
Find all posts by this user
Quote this message in a reply
04-09-2012, 12:19 PM (This post was last modified: 04-09-2012 12:20 PM by dragonexpert.)
Post: #3
Not Solved RE: Find what forum a user is subscribed to
It wouldn't be too terrible to develop a plugin for it.
PHP Code:
$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.
Find all posts by this user
Quote this message in a reply
04-10-2012, 01:51 AM
Post: #4
Not Solved RE: Find what forum a user is subscribed to
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication