Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Oct 2018, 18:50
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Alert when Mailbox is Full

Hey all!

Is there anything nifty to let folks know when their PM storage is full? Most are overlooking the default.

I like and use this mod when folks get a new PM. It would be cool to have something similar for folks who are nearing their storage limit. Is there anything out there like that? I did a search and wasn't able to find anything
Reply With Quote
  #2  
Old 19 Oct 2018, 19:12
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
You can use a Notice from the AdminCP and choose the option for "User's private message storage is between X% and Y% full"

for the Notice - use the following Hey {username} - Your PM Mailbox is 90% or more filled at this time. Please delete some of your older messages before your box is filled.
Reply With Quote
  #3  
Old 19 Oct 2018, 19:52
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Let's try this...create a new plugin hooked at "notifications_list" and give it the title "PM Quota Past Threshold" with the following Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can change the value of 0.25 for the variable $threshold to suit your liking. Once you see how this looks, we can make any tweaks to it you like.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #4  
Old 19 Oct 2018, 20:16
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Thanks Scott and Mark!

--------------- Added 19 Oct 2018 at 20:25 ---------------

What's depressing is that folks using the mobile version (i.e. Tapatalk) cannot see "Notices". Only Announcements. Tapatalk won't fix it. ForumRunner is gone....
Reply With Quote
  #5  
Old 20 Oct 2018, 02:56
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by gsk8 View Post
Thanks Scott and Mark!

--------------- Added 19 Oct 2018 at 20:25 ---------------

What's depressing is that folks using the mobile version (i.e. Tapatalk) cannot see "Notices". Only Announcements. Tapatalk won't fix it. ForumRunner is gone....
I don't know if Tapatalk bypasses the hook I'm using (I think it bypasses most PHP plugin hooks), but I have turned my code into a product with settings to allow you to turn it on/off and to set the percentage threshold. If you install this product, then delete the plugin I posted above first before installing this product.

The message is in a phrase to you can edit it if you like.
Attached Files
File Type: xml product-markflpmquota.xml (3.2 KB, 1 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #6  
Old 20 Oct 2018, 04:05
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
Tapatalk bypasses a number of hooks as it's really looking at the forums generally in the app. So this mod is not going to appear on there.

However, I have a suggestion. I can see where the notification is going to get lost in the "noise" at the top of the forum. As a suggestion, I think a better location for this would be in the notifications area (see image attached).

Just a thought
Attached Images
File Type: png formark1.png (14.7 KB, 9 views)
Reply With Quote
  #7  
Old 20 Oct 2018, 04:50
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by scottkoz20 View Post
Tapatalk bypasses a number of hooks as it's really looking at the forums generally in the app. So this mod is not going to appear on there.

However, I have a suggestion. I can see where the notification is going to get lost in the "noise" at the top of the forum. As a suggestion, I think a better location for this would be in the notifications area (see image attached).

Just a thought
I am attaching an updated product that gives you a choice in the settings whether to display the alert next to the welcome as in the original, or to display the alert as a notification.
Attached Files
File Type: xml product-markflpmquota.xml (4.1 KB, 5 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #8  
Old 20 Oct 2018, 13:32
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
Originally Posted by MarkFL View Post
I am attaching an updated product that gives you a choice in the settings whether to display the alert next to the welcome as in the original, or to display the alert as a notification.
clean and simple

Attached Images
File Type: png mark2.PNG (3.2 KB, 9 views)
Reply With Quote
  #9  
Old 20 Oct 2018, 20:28
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
When I brought up Tapatalk, I should have been more clear. It doesn't show "Notices". The ones you make under "Notice" manager.

On another note with Tapatalk (or anything other than full site version)

If you are not logged in and you click on an "ANNOUNCEMENT", it will go to some random post and not the actual announcement. Very frustrating. I've sent them emails, but no responses.
Reply With Quote
  #10  
Old 23 Oct 2018, 10:03
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Good stuff Mark ...
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:49.

Layout Options | Width: Wide Color: