• Resolved Halil

    (@halilesen)


    Hi, is it possible to have the variables showing the number of notifications be Ajax or controlled for a certain period of time? For example, I use the following:

    <?php global $w3all_phpbb_unotifications; if (!empty($w3all_phpbb_unotifications) && $w3all_phpbb_unotifications > 0){ echo '<span class="blablax">' . $w3all_phpbb_unotifications . '</span>'; } ?>
    <?php global $w3all_phpbb_usession; if ($w3all_phpbb_usession->user_unread_privmsg > 0) { echo '<span class="blablax">' . $w3all_phpbb_usession->user_unread_privmsg . '</span>'; } ?>

    • This topic was modified 2 years, 3 months ago by Halil.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author axew3

    (@axewww)

    So, you would have an update of values, without that the user have to refresh the page? Or what?

    PSS i followed with the WP post to phpBB and i’ve find out a BIG problem on phpBB about this: the problem is that calling the submit_post( function via cURL, phpBB process the request checking for the logged in user.

    If submit_post( was working like delete_user function, it would be easier, because it do not look for the user’s session. I will check how to workaround this asap, so +- all about would be accomplished

    • This reply was modified 2 years, 3 months ago by axew3.
    Thread Starter Halil

    (@halilesen)

    Yes. Okey, thanks. 🙂

    Plugin Author axew3

    (@axewww)

    It could be achieved easily expending a lot of server’s resources, but so i would like to find out a light way to accomplish with this. I have think how to several times, so maybe it will be implemented into a next future version.

    Thread Starter Halil

    (@halilesen)

    Thank you. It could be nice, maybe. How nice if possible.

    Additionally, it would be great if an option was added to match Admin accounts.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Ajax Notification Count?’ is closed to new replies.