We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Notification of Subscriptions in Last 24 Hours
Topic Started: Nov 23 2016, 12:19 PM (344 Views)
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code Name: Notification of Subscriptions in Last 24 Hours

What the code does: Adds a link to the top menu that links to the Preferences homepage topic subscriptions area. The link will display the number of topics you are subscribed to that has had replies in the last 24 hours. Preview

How to use the code: Install as instructed, no editing is required.

How to install the code:

Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript" src="http://b2.ifrm.com/63/1/0/p701962/Notification_of_Subscriptions_in_Last_24_Hours.js"></script>
Edited by Cory, Nov 24 2016, 03:36 AM.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

This is a nice idea.

I think it could be made even more useful if it could show new replies until they are read. (similar to the built in "replies to my topics" coding somehow).
Offline Profile Quote Post Goto Top
 
Chelonian
Member
[ *  *  * ]
I installed it but nothing shows up. I also can't figure out how to subscribe to topics.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Helena: That information is not visible on the Preferences homepage, so it would require too much AJAX to accomplish.

Chelonian: Try the script in the OP again. I accidentally left out a quotation mark.

Click 'Track Topic' to the right of the theme selector when viewing a topic to subscribe to a topic.
Offline Profile Quote Post Goto Top
 
Chelonian
Member
[ *  *  * ]
Works now. Could it be possible to add an option to automatically subscribe to all topics a user makes or posts?

Also I've noticed it doesn't get rid of the '1' (or whatever number occurs) even though you've gone through the subscriptions panel to the topic and read the latest post.
Edited by Chelonian, Nov 25 2016, 07:01 PM.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Chelonian
Nov 25 2016, 06:22 PM
Works now. Could it be possible to add an option to automatically subscribe to all topics a user makes or posts?
With a separate code, yes. Feel free to request one.

Chelonian
Nov 25 2016, 06:22 PM
Also I've noticed it doesn't get rid of the '1' (or whatever number occurs) even though you've gone through the subscriptions panel to the topic and read the latest post.
Should be fixed upon clearing your cache.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply