vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - LAM - Paid Subscription Expiry Notice (https://vborg.vbsupport.ru/showthread.php?t=252130)

mawby 10-14-2010 10:00 PM

LAM - Paid Subscription Expiry Notice
 
1 Attachment(s)
This product adds a notification line, and allows for notices to be displayed, when a user's paid subscription is about to expire.


Installation
  1. Download the attached .xml file
    product-LAM_PaidSubscriptionExpiryNotice.xml
  2. Install the product
    AdminCP -> Plugins & Products -> Add/Import Product -> Import Product

Configuration

You can limit the user groups which get shown the notifications and which paid subscriptions are checked (by subscription ID), and you can specify how many days prior to expiry before the notification/notice is shown.

https://vborg.vbsupport.ru/attachmen...1&d=1287147042

On my site I have the days notification left blank so it is always shown, but the days notice set to 14 so the notice will not appear until the paid subscription is due to expire within two weeks.

If you want to have a notice displayed as well then you need to create one, selecting the "User's paid subscription is about to expire" option...

https://vborg.vbsupport.ru/attachmen...1&d=1287147042


Example

This is what a user will see in their notifications list;

https://vborg.vbsupport.ru/attachmen...1&d=1287147042

This is what a user will see if you create a notice like the one above;

https://vborg.vbsupport.ru/attachmen...1&d=1287147443


Version History

4.0.8.0 - Minor code optimisations (2010/10/26)
4.0.6.1 - Added missing phrase and fix the product version check (2010/10/17)
4.0.6 - Initial release (2010/10/15)

Wajdan 10-16-2010 06:30 PM

Tagged for future use.

andreamarucci 10-16-2010 07:16 PM

1 Attachment(s)
Good one. Problem is that I've installed it but editing the notice the text "User's paid subscription is about to expire" is not shown. There's only the checkbox at the side but no text so I'm not able to understand if this is the right checkbox.

Attachment 122838

OldSchoolDSL 10-17-2010 01:10 AM

Quote:

Originally Posted by andreamarucci (Post 2110787)
Good one. Problem is that I've installed it but editing the notice the text "User's paid subscription is about to expire" is not shown. There's only the checkbox at the side but no text so I'm not able to understand if this is the right checkbox.

Attachment 122838

I got the same thing. I checked the box and tested this & it works. But you right, it does not "spell it out". I'd call this a graphical bug. Not 100% sure how to fix it, but the user end does work.

Using: 4.0.7

mawby 10-17-2010 08:11 AM

Quote:

Originally Posted by andreamarucci (Post 2110787)
Good one. Problem is that I've installed it but editing the notice the text "User's paid subscription is about to expire" is not shown. There's only the checkbox at the side but no text so I'm not able to understand if this is the right checkbox.

Quote:

Originally Posted by OldSchoolDSL (Post 2110880)
I got the same thing. I checked the box and tested this & it works. But you right, it does not "spell it out". I'd call this a graphical bug. Not 100% sure how to fix it, but the user end does work.

Thanks both for the feedback. :up: I've updated the product to include the missing phrase and to also fix a problem which prevented the version checker from working.

OldSchoolDSL 10-19-2010 05:39 PM

Thanks for updating this so quickly.

Works flawlessly 4.0.7

OldSchoolDSL 10-23-2010 07:52 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2111726)
Thanks for updating this so quickly.

Works flawlessly 4.0.7

Also working fine on 4.0.8

COL NIL SATIS 10-23-2010 09:48 PM

nice one Mawby mate...tagged for tonight ..will add ths tomorrow !! cheers ..rated too 5

mawby 10-26-2010 05:04 PM

I've updated the product with some minor code optimisations.

OldSchoolDSL 10-26-2010 07:19 PM

Quote:

Originally Posted by mawby (Post 2114516)
I've updated the product with some minor code optimisations.

Working wonderfully on 4.0.8 (error & bug free)


All times are GMT. The time now is 07:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01121 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete