vb.org Archive

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

Ted S 01-11-2009 10:00 PM

Subscription Notifications -- Drive paid subscriptions & renewals
 
1 Attachment(s)
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)!

buileminh 01-12-2009 08:49 PM

Sounds good. Anyone tried yet?

Ted S 01-12-2009 09:56 PM

Quote:

Originally Posted by buileminh (Post 1710182)
Sounds good. Anyone tried yet?

This is an active mod-on from the 3.7 series. See this post for past comments.

https://vborg.vbsupport.ru/showthread.php?t=179864

CAMS 01-17-2009 03:49 PM

how do i show the number of current subscribers?

tryed to make an old simple hack to work to show the numbers but cant work it out...

heres the code i have... any help would be great?

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<plugins>
        <plugin active="1" product="vbulletin">
                <title>Subscriber Count</title>
                <hookname>global_start</hookname>
                <phpcode><query_read("SELECT * FROM subscriptionlog WHERE status = 1");
$totalsub = mysql_num_rows($query1);]]></phpcode>
        </plugin>
</plugins>


Ted S 01-17-2009 04:58 PM

Quote:

Originally Posted by CAMS (Post 1715862)
how do i show the number of current subscribers?

tryed to make an old simple hack to work to show the numbers but cant work it out...

heres the code i have... any help would be great?

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<plugins>
    <plugin active="1" product="vbulletin">
        <title>Subscriber Count</title>
        <hookname>global_start</hookname>
        <phpcode><query_read("SELECT * FROM subscriptionlog WHERE status = 1");
$totalsub = mysql_num_rows($query1);]]></phpcode>
    </plugin>
</plugins>


This thread is for the support of the Subscription Notification system.

Please direct your code question to the appropriate programming sub-forum where you'll find many more programmers available to help you. Thank you.

Deyth 01-17-2009 06:52 PM

How do I get the $submessage to work in other templates?

Ted S 01-17-2009 09:49 PM

Quote:

Originally Posted by Deyth (Post 1716042)
How do I get the $submessage to work in other templates?

You would need to add the query from the system to additional hooks to be able to use the variable. If you have a few pages in mind I can get you started with some code.

Deyth 01-17-2009 09:55 PM

Quote:

Originally Posted by Ted S (Post 1716208)
You would need to add the query from the system to additional hooks to be able to use the variable. If you have a few pages in mind I can get you started with some code.

Forum view (thread list), thread view, and search results.

takerman 03-09-2009 09:02 AM

Hi,

I installed the mods and I would like to know why it displays the date on subcription that expired ?

Your subscription expire on 01/12/2009! (12 January 2009)

Thx you for your reply.

Ted S 03-09-2009 11:48 PM

Quote:

Originally Posted by takerman (Post 1763863)
Hi,

I installed the mods and I would like to know why it displays the date on subcription that expired ?

Your subscription expire on 01/12/2009! (12 January 2009)

Thx you for your reply.

Because that's one of the options... You can disable the entire display for this condition or edit the phrase to change what is said.

Ophelia 03-12-2009 12:42 AM

Thank you for this mod. I have it installed and it's working perfectly.

M A T 03-12-2009 02:11 AM

How to add Libertyreserve to Payment Api manager?
https://www.libertyreserve.com

Ted S 03-12-2009 02:18 AM

Quote:

Originally Posted by M A T (Post 1766176)
How to add Libertyreserve to Payment Api manager?
https://www.libertyreserve.com

That's not a question for this thread... You would need to ask in one of the programming forums or hire a programmer to help you with this.

msu2k 03-17-2009 01:10 PM

Excellent mod! I would definitely like to use this on Forumdisplay though. Most of my users bypass my ForumHome and just have an individual popular forum bookmarked. They'd miss this notice unfortunately.

Silver_2000_)! 03-28-2009 10:41 PM

What would be required to show the user name in the message

I added {username} and it doesnt work

Thanks in advance

Ted S 03-29-2009 06:27 AM

You'd need to alter the template and add it to the phrase conditional.

Silver_2000_)! 03-29-2009 06:05 PM

Quote:

Originally Posted by Ted S (Post 1779553)
You'd need to alter the template and add it to the phrase conditional.

You lost me

I was just thinking reminders might be more effective if they used the users name.

Im not a programmer so Im not sure what changes to make

marianoblesa 05-24-2009 05:38 AM

Hello good

I have 2 subscriptions forum and only shows me 1 say that later lapses.

How can I do to appear both subscriptions?

Thank you.

Ted S 05-25-2009 03:52 AM

Quote:

Originally Posted by marianoblesa (Post 1816122)
Hello good

I have 2 subscriptions forum and only shows me 1 say that later lapses.

How can I do to appear both subscriptions?

Thank you.

You would need to modify the addon to loop through the options and print them out. This would require code changes.

marianoblesa 05-25-2009 04:54 AM

uff, I would not know the code to play, someone could help me?

Ted S 05-25-2009 04:58 AM

Quote:

Originally Posted by marianoblesa (Post 1816638)
uff, I would not know the code to play, someone could help me?

This is not a two or three line change you'll find people posting about. You would need a programmer to make some larger edits to the addon... basically take the core functionality and change how it displays out. Nothing crazy but something.

Sam Conder 10-08-2009 02:30 PM

Quote:

Originally Posted by msu2k (Post 1770382)
Excellent mod! I would definitely like to use this on Forumdisplay though. Most of my users bypass my ForumHome and just have an individual popular forum bookmarked. They'd miss this notice unfortunately.

Same with me. I would like to get this working on Search, ForumDisplay, and ShowThread. Possible?

Ted S 10-09-2009 03:08 AM

Quote:

Originally Posted by Sam Conder (Post 1896627)
Same with me. I would like to get this working on Search, ForumDisplay, and ShowThread. Possible?

Yes but this adds a query to each of those pages!

Ted S 10-09-2009 03:15 AM

1 Attachment(s)
Quote:

Originally Posted by Sam Conder (Post 1896627)
Same with me. I would like to get this working on Search, ForumDisplay, and ShowThread. Possible?

Give this version a shot. But please note, it's not fully tested... remove if anything comes up.

Each of the pages can be turned on/off.

MagicThemeParks 01-07-2010 12:09 AM

Couldn't you just put $submessage into the ad location under nav and have it display on all pages that way?

Ted S 01-11-2010 02:18 AM

Quote:

Originally Posted by MagicThemeParks (Post 1949197)
Couldn't you just put $submessage into the ad location under nav and have it display on all pages that way?

No. The mod is designed to only run in two places to minimize queries. You can change this of course.

Alex@Mk3OC 01-11-2010 01:39 PM

Are you planning on updating this to vb4?

Ted S 01-11-2010 07:38 PM

Yes!

Alex@Mk3OC 01-12-2010 10:10 AM

:D Just what I wanted to hear, this is such a useful mod

Battle_Ring 01-22-2010 08:10 PM

What if the user is set to recurring, will they still get this notice to renew?

need2fart 02-08-2010 04:11 PM

Great hack thank you.

manofphat 02-15-2010 03:39 PM

Can't wait to see this on vB4!

Falcon Capt 05-16-2010 03:24 AM

Hi Ted,

GREAT MOD, been using it on vB 3.8.x, will the port to vB 4.0.x be ready soon? This mod is an absolute necessity!

Ted S 05-16-2010 06:45 AM

Quote:

Originally Posted by Falcon Capt (Post 2037702)
Hi Ted,

GREAT MOD, been using it on vB 3.8.x, will the port to vB 4.0.x be ready soon? This mod is an absolute necessity!

It's been out for a few weeks.

Falcon Capt 05-17-2010 01:44 PM

Quote:

Originally Posted by Falcon Capt (Post 2037702)
Hi Ted,

GREAT MOD, been using it on vB 3.8.x, will the port to vB 4.0.x be ready soon? This mod is an absolute necessity!

Quote:

Originally Posted by Ted S (Post 2037749)
It's been out for a few weeks.

Oooppsss... I guess I should have searched before posting. I had searched several weeks ago and didn't see it, thanks for porting this EXCELLENT mod to vB4!

You may want to include a link to the vB4 version in the header block of this mod so if someone stumbles across it they can easily find the vB4 version of the mod.

Thanks again!

vB4 version of this mod

BirdOPrey5 05-19-2010 07:16 PM

I have about 20 members who sent PayPal 'donations' before I had the formal subscription system up and running so I manually put them in the 'premium users' usergroup so they can have the benefits of membership. Is there any way I can 'convert' these users to an existing subscription? Basically add their username to my annual subscription package and a date of expiration that I choose? Otherwise I will have to check a spreadsheet each week to see who expires when.

Ted S 05-20-2010 01:44 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2040084)
I have about 20 members who sent PayPal 'donations' before I had the formal subscription system up and running so I manually put them in the 'premium users' usergroup so they can have the benefits of membership. Is there any way I can 'convert' these users to an existing subscription? Basically add their username to my annual subscription package and a date of expiration that I choose? Otherwise I will have to check a spreadsheet each week to see who expires when.

You can add subscriptions via the subscription manager and assign a date when you do so.

BirdOPrey5 05-20-2010 01:33 PM

Quote:

Originally Posted by Ted S (Post 2040276)
You can add subscriptions via the subscription manager and assign a date when you do so.

The "Add new subscription" button in subscription manager allows me to add a new 'type' of subscription that someone can buy, not add a person to an existing subscription. I've played around with all the obvious places this option should be but can't find it. Have you actually done this?

Edit- Nevermind, found it under "add user" in the controls drop down box, THANKS!!

viper357 03-19-2011 06:43 AM

Ted, couple of questions if you don't mind.

Can this be made to display on vbadvanced?

If I set a reminder for 1 month, does the reminder stay there for the entire month or is the user able to disable it, or minimise it?

Ted S 03-20-2011 09:39 PM

Quote:

Originally Posted by viper357 (Post 2174998)
Ted, couple of questions if you don't mind.

Can this be made to display on vbadvanced?

If I set a reminder for 1 month, does the reminder stay there for the entire month or is the user able to disable it, or minimise it?

I'm not sure how vBa runs hooks but assuming it has the right plugin location, you would just have to tweak the mod to key off of it.

In 3.8 the notice does not go away. On 4.0 it uses the notices system which can be minimized.


All times are GMT. The time now is 04:57 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.02499 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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