vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Subscription Notifications -- Drive paid subscriptions & renewals (https://vborg.vbsupport.ru/showthread.php?t=179864)

Ted S 05-19-2008 10:00 PM

Subscription Notifications -- Drive paid subscriptions & renewals
 
vB 4 beta version: https://vborg.vbsupport.ru/showthread.php?t=241224

Paid Subscriptions are a means of driving revenue for thousands of forums but what do you do when a subscription is about to expire? On most forums, if the subscription does not recur automatically, users lose their status and only if they notice a change in benefits do they think to renew. By proactively informing users of their subscription expiration you can help increase paid subscription renewal rates and decrease support inquiries from subscribers.

Notifications Options & Customizations:

The Subscription Notifications System can appear on your Forum Home and/or User CP pages and can display the following messages:

Expired Alert
24 Hour Alert
48 Hour Alert
7 Day Alert
1 Month Alert
Long Term Membership
No Membership

All of these messages can be configured using phrases and customized with HTML code to meet your forum's needs.

Each message is enabled/ disabled through your vB control panel with a link provided to modify the message contents using the phrase system.

Modifications/ Instructions:
Template edits: 1-2
Plugins: 1 (adds 1 template and several phrases & settings)
SQL Queries Added: 1-2

This addon should take under 5 minutes to implement and customize. Note: Minor template modifications are required for this addon to show up (see instructions file for more details)!

Compatibility with 3.6.x versions:

This addon will work with 3.6.x but the admin cp phrase links will appear broken. Users of 3.6.x versions will need to manually search for the phrases to customize.

Updates:
- 12/24/2008 - Minor bug fix to support table prefixes
- 08/26/2008 - Minor bug fix to change expired subscription message.
- 06/12/2008 - Update recent subscriber feature
- 06/06/2008 - Update to fix urls to relative path
- 06/05/2008 - Update to resolve bug with date format and multiple subscriptions

Credit goes to tspore for providing the original idea for this addon.

Ted S 05-19-2008 11:00 PM

Reserved for future use. Please submit your real life examples for inclusion here!

TOGUIMASTER 05-19-2008 11:02 PM

Perfect! Installed!:D

Ted S 05-19-2008 11:04 PM

Quote:

Originally Posted by TOGUIMASTER (Post 1525235)
Perfect! Installed!:D

Geeze! That was fast... Let me know how it's working...

tspore 05-19-2008 11:35 PM

Very nice work Ted,
I love it, 1 note - the link back to this mod in the install.html doesn't seem to work. For me this mod is invaluable.
I hope many kick in a few bucks to support more of these mods.

Ted S 05-19-2008 11:39 PM

Quote:

Originally Posted by tspore (Post 1525257)
link back to this mod in the install.html doesn't seem to work. For me this mod is invaluable.

Thanks. This has been fixed and an update posted. A reinstall/ upgrade is not necessary.

billt928 05-20-2008 12:45 AM

how can this be added to the new post page?

Endurer 05-20-2008 01:25 AM

Excellent, definitely installed.

amc 05-20-2008 01:53 AM

Does the notification include the "Name of the Subscription" also?

For example:

Your Paid Subscription to "Name of the Subscription" expires in less than two days.

This woud be helpful when a foum has different types of subscription.

Thank You.

Mum 05-20-2008 01:57 AM

I want to use this but my user cp doesn't have $header in it, can you tell me where to enter $submessage please?

Ted S 05-20-2008 01:58 AM

Quote:

Originally Posted by Mum (Post 1525363)
I want to use this but my user cp doesn't have $header in it, can you tell me where to enter $submessage please?

As explained in the install file, the user cp template should be modified to include this variable at or near the top. Where exactly is a function of where you want it go show up.

jasculs 05-20-2008 02:00 AM

I think I love you....lol...Great hack...something I've been looking for.

Ted S 05-20-2008 02:01 AM

Quote:

Originally Posted by billt928 (Post 1525316)
how can this be added to the new post page?

You would need to modify the xml file adding a new plugin for the hook newthread_start. You can more or less copy the plugin for forumhome_start to accomplish this.

Ted S 05-20-2008 02:01 AM

Quote:

Originally Posted by jasculs (Post 1525366)
I think I love you....lol...Great hack...something I've been looking for.

You're welcome... I think... :p

Ted S 05-20-2008 02:10 AM

An updated version has been released. This version provides access to one variable in the phrases. An update is not required unless you wish to access this variable.

Mum 05-20-2008 02:17 AM

Quote:

Originally Posted by Ted S (Post 1525364)
As explained in the install file, the user cp template should be modified to include this variable at or near the top. Where exactly is a function of where you want it go show up.

Yes, what it says in the install file is place it under $header - what i said was i don't have $header in my user cp file, so where should i enter it.

Sorry i wasn't clear that i WAS following the instructions of the install file.

Ted S 05-20-2008 02:29 AM

Quote:

Originally Posted by Mum (Post 1525376)
Yes, what it says in the install file is place it under $header - what i said was i don't have $header in my user cp file, so where should i enter it.

Sorry i wasn't clear that i WAS following the instructions of the install file.

No, it says to place it in under $header in the forumhome template and at the TOP of the file in user cp. But again, you put it where you want it to show up... at top, the bottom, anywhere you like.

As a side note, I've rewritten this step in the install file to make it easier to understand when just glancing through the step.

Ted S 05-20-2008 02:31 AM

Quote:

Originally Posted by amc (Post 1525361)
Does the notification include the "Name of the Subscription" also?

At this time this is not possible although it is something I am working on.

Mum 05-20-2008 05:37 AM

Thank you, installed and working now :)

amc 05-20-2008 05:51 AM

Quote:

Originally Posted by Ted S (Post 1525382)
At this time this is not possible although it is something I am working on.

Thank You, Ted!

Looking forward to it.

Antivirus 05-20-2008 10:58 PM

nice job Ted! I was planning on doing something similar using the PM system, however the alert message is likely much more effective. Kudos!

Silver_2000_)! 05-21-2008 03:29 AM

Quote:

Originally Posted by Antivirus (Post 1526246)
nice job Ted! I was planning on doing something similar using the PM system, however the alert message is likely much more effective. Kudos!

PM system would be a nice addition

Im surprised that more features like this that help people monetize their forums

Ted S 05-21-2008 04:30 AM

How do you see the PM system working?

Silver_2000_)! 05-21-2008 12:32 PM

Quote:

Originally Posted by Ted S (Post 1526444)
How do you see the PM system working?

To be able to easily mass PM the folks whos Subscription has expired would be great. TO have the system PM the members who had subscribed in the past but are no longer active - would be great. One of the sites I help with is transitioning from manaul maintenance of a Club Membership system to trying to use the Subscription system for the payments and the status - It would be awsome to me able to better use the systems for that purpose. Off topic a little but its surprising that the members whos subscription recently expired cant see the expired status. Can see that the subscription was active last month for example. Current subscribers can see thier status and expired subscribers can resubscribe BUT they cant see the date when their last subscription ended

UnNaTuRaL 05-25-2008 11:03 AM

Thanks alot, very useful addon!

But it seems like if a member had a paid subscription before which expired, and now has a different one it always shows the 'Less than one day'-message. Is there any way to fix this?

Mum 05-25-2008 06:33 PM

Something isn't working properly - one of my members gets this message 'Your subscription expires on Sat, Nov 47 2008. Thank you for supporting Mummybrain.com.'

Her real expiry date is 22 Nov 2008.

Ted S 05-25-2008 11:56 PM

Quote:

Originally Posted by UnNaTuRaL (Post 1530828)
Thanks alot, very useful addon!

But it seems like if a member had a paid subscription before which expired, and now has a different one it always shows the 'Less than one day'-message. Is there any way to fix this?

Try this file and let me know if it works properly for this issue.

afullcup 05-26-2008 12:17 AM

Yeah, I got one of those today too:

Your Supporting Membership expires on Tue, Oct 41 2008.

SVTOA 05-26-2008 12:46 AM

Works great for me Ted... Nice work!

regitbull 05-26-2008 03:26 PM

uuhm i cant get this mod to work on 3.6.8
I installed it and put that $submessage under $header but it just show a blank box on the forum home.

And my $submessage template was called sub_expirations and not submessage.
So i think there is a problem with it to not work on 3.6.8

Ted S 05-26-2008 10:18 PM

Quote:

Originally Posted by regitbull (Post 1531938)
uuhm i cant get this mod to work on 3.6.8
I installed it and put that $submessage under $header but it just show a blank box on the forum home.

And my $submessage template was called sub_expirations and not submessage.
So i think there is a problem with it to not work on 3.6.8

The template name is not related to the variable. Have you enabled any of the messages to show up? Are the phrases in your phrase manager?

regitbull 05-27-2008 01:59 PM

yes i turnt the guest message and the all time expire messsage on but they are not showing up.

Like i said only a blank box.

And yes the phrases are in phrase manager.

SVTCobraLTD 05-27-2008 03:20 PM

Quote:

Originally Posted by afullcup (Post 1531406)
Yeah, I got one of those today too:

Your Supporting Membership expires on Tue, Oct 41 2008.

Is this problem resolved? I would like to install this great addition.

regitbull 05-27-2008 04:02 PM

ok strange.
i installed the mod on my live board to test it there and now its works.
Its strange that it didint work on my test board.

Anyway the box and the message shows up now last problem/but is the problem every1 has.
That the expire date is wrong.

Mum 05-27-2008 07:51 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1533028)
Is this problem resolved? I would like to install this great addition.

No it's not.

Ted S 05-28-2008 01:32 AM

Quote:

Originally Posted by Mum (Post 1533313)
No it's not.

Can you (or anyone else with this error) give the attached file a whirl? I've made an update but don't have time to test right now...

regitbull 05-29-2008 01:34 PM

Quote:

Originally Posted by Ted S (Post 1533636)
Can you (or anyone else with this error) give the attached file a whirl? I've made an update but don't have time to test right now...

yes that fixt the problem.
Its working great now.

I clicked installed :)

And about any new updates you want to make you can maby use this mod:
https://vborg.vbsupport.ru/showthread.php?t=124740

Its almost the same mod as you made only a few more things like a subsciption title phrase and a .. days left till your subscription expires phrase.

I would like to see this to in your mod if you have time to do that.

Anyway good job and i clicked installed :D


Edit: ok i just discover that the already reported bug about the first subscription showing isint fix in the last xml you send.
So there is 1 last bug to fix :)

Ted S 05-29-2008 11:26 PM

Quote:

Originally Posted by regitbull (Post 1535117)
Edit: ok i just discover that the already reported bug about the first subscription showing isint fix in the last xml you send.
So there is 1 last bug to fix :)

Can you explain exactly what is happening with your users for this? Ive had a few different reports and want to narrow this down more...

regitbull 05-30-2008 03:18 PM

Quote:

Originally Posted by Ted S (Post 1535731)
Can you explain exactly what is happening with your users for this? Ive had a few different reports and want to narrow this down more...

I use the paid subscription systeem to sell vip on my site.

Ok a user bought 1 month vip first and after that expire he bought 6 months vip.
The box is showing the expire date of the fist subscription ( the 1 month vip )

So lets say the 1 month vip expire on 22-04-2008 and 1 day later he bought 6 months vip.
The message is now saying thanks for buying vip your vip membership expired on 22-04-2008 but it must be the expire date if the 6 months vip.

Thats the only last bug i have on the moment.

jaymzz 06-06-2008 12:27 AM

Thanks for add on. :D Clicked installed


All times are GMT. The time now is 03:29 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.01374 seconds
  • Memory Usage 1,829KB
  • 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
  • (19)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
  • (40)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