MyBB Community Forums

Full Version: Site Notification
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Site Notification
I'm wanting to display a notification on my website if there are unread topics in a certain forum.

Here's what I'm talking about
[Image: 1npf.png]

As you can see, if the user has unread private messages it will notify you on the website.

I have a Complaints forum ' http://www.site.com/forum/forumdisplay.php?fid=59 ' and if there are unread posts I want it to display that on my homepage, anybody able to help me with this?
This needs a plugin and as far as I know there is no such plugin.

By the way, I'm working on such a plugin and it may be posted to my site in few days, you may check my site to get updates about its development.
@ OP, please do not remove earlier posted content. if resolved then add your solution.

Edit:
removed earlier quoted content. Thanks @OP for adding the content back.
Just incase OP or anyone wants to have such plugin, here you can get: http://yaldaram.com/thread-6627.html
Yaldaram, I looked at your plugin, from what I can see it adds something to the forum index. Would I be able to have it display something on my homepage, similar to the messages (refer to picture on first post)
By home page if you mean blog or anything like that then yes you can add it to show on homepage as long as your homepage is integrated with MyBB properly. If you're using WordPress as your blog homepage then there are numerous WP bridges available here.
I've got

<?php
global $rootpath;
$rootpath = "/home/content/05/1750/html/";

$forumpath = $rootpath . "forum/";

chdir($forumpath);
define("IN_MYBB", 1);
require($forumpath . "global.php");
require_once MYBB_ROOT."inc/class_parser.php";
$parser = new postParser;
chdir($rootpath);
?>

It works for my private message notification so I'm assuming it would be fine.
If it works with PM. then I hope using the plugin will work too.