Jump to content

(DDK33) Instant Notifications


Ibragim Pupkevich
 Share

Recommended Posts

%7Boption%7D



File Name: (DDK33) Instant Notifications

File Submitter: Ibragim Pupkevich

File Submitted: 18 Jul 2012

File Category: Utilities



One more function, which should be embedded by default, but isn't.

This hook will check every X seconds (10 by default) for new unread PM + Notifications (if any) and update indicators.

It will also put count into the title of all pages like Twitter or Facebook.

Lets stay on trends %7Boption%7D This will bring more interaction to your community.


Note: Hook has been renamed to (DDK33) Instant Notifications starting from v2.0.0.

Tips & Tricks: Don't forget to configure your boards notification defaults - [AdminCP -> Members -> Notification Defaults]. This will affect new coming members to receive more notifications just from the beginning. By default many push notifications are disabled in IPB, unfortunatelly.



Feel free to donate! %7Boption%7D


%7Boption%7D



here to download this file

Link to comment
Share on other sites

Well done![color=#555555][font=Verdana, Arial, 'Trebuchet MS', 'Times New Roman'][size=3][background=rgb(238, 238, 238)] Don't forget to configure hook settings.[/background][/size][/font][/color]



I do not see any new hooks in my system settings categories after installing this.
Link to comment
Share on other sites


File Name: (DDK33) Notifications count in page title


File Submitter:

Ibragim Pupkevich

File Submitted: 18 Jul 2012


File Category:

Hooks and Plugins

This hook will simply show unread PM + Notifications count (if any) in <title> of all pages like Twitter or Facebook.



Lets stay on trends :smile:




Very good mate, love your hooks cant wait to see what you do next! :)
Link to comment
Share on other sites

great.

Also had a doubt, suppose if the ( Ajax Push Update ) is set to example 120 seconds, and i got a PM at 10 seconds, so it won't show, but what if i refresh the page ?

Will it show, or i will have to wait for 120 seconds to show the update ?

Also was wondering, will it create lot of load on server if we put it to 10 seconds and their are lot of members, so for every 10 seconds it will check via AJAX .!

Link to comment
Share on other sites


great.



Also had a doubt, suppose if the ( Ajax Push Update ) is set to example 120 seconds, and i got a PM at 10 seconds, so it won't show, but what if i refresh the page ?



Will it show, or i will have to wait for 120 seconds to show the update ?



Also was wondering, will it create lot of load on server if we put it to 10 seconds and their are lot of members, so for every 10 seconds it will check via AJAX .!



It will show new msg soon after you will refresh the page in that case. Regarding server load - it's equals to pressing "Edit post" every X seconds :)
Link to comment
Share on other sites


No, it's just about simple ajax query, no modules to be loaded, just reading memberData array variables.


Hello,

Though you said it wasn't a problem, this created an overload of my servers, wich unfortunately got blocked by my hosting company. Hopefully, the problem was resolved when I disabled your hook. But this is just to say than I don't advise this mod, unless you obviously have powerful dedicated servers or anything similar.

Best regards,
Atsuki.
Link to comment
Share on other sites


Because if your server is going down due to 10 sec tick of online members - it's so sad :D




I agree. I use shared hosting and I am encountering no problems. If you need a great host that's very fast and low cost feel free to message me and I'll refer you to mine. You'll be very pleased...:) This hook works well...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...