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.


All times are GMT. The time now is 11:12 AM.

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.01075 seconds
  • Memory Usage 1,743KB
  • 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
  • (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