Subscribers Mod - reward users, sell subscriptions etc
Posted by sheik
September 03, 2005 11:27PM |
Registered: 20 years ago Posts: 687 |
(Thread discussing this module before it was written: [phorum.org])
Download package (subscribers.zip) | Readme.txt
From the ReadMe:
****************************
This module introduces the concept of "subscribers" or "supporters" of your forums.
These could be users that are helpful, people who have donated money or something else - the point being that using this module you can make them "subscribers" and provide benefits to them accordingly.
I wrote this module to allow supporters of my site to (optionally) hide the affiliate adverts and Google adverts that keep my site funded.
Currently, there are three "custom profile fields" which you must add via the Phorum Admin system.
These are:
1) subscription_expiry - this defaults to a year in the future when you add a subscriber.
Once the subscription expiry date has been reached, the user is no longer considered to be a subscriber by this module.
2) subscriber - you never alter this directly, the module determines whether a user is a subscriber based on subscription_expiry
3) hide_adverts - this custom field can be used within your templates to remove adverts for subscribers
****************************
I'm interested to know if anyone else ever uses this module, so please let me know by posting here.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Download package (subscribers.zip) | Readme.txt
From the ReadMe:
****************************
This module introduces the concept of "subscribers" or "supporters" of your forums.
These could be users that are helpful, people who have donated money or something else - the point being that using this module you can make them "subscribers" and provide benefits to them accordingly.
I wrote this module to allow supporters of my site to (optionally) hide the affiliate adverts and Google adverts that keep my site funded.
Currently, there are three "custom profile fields" which you must add via the Phorum Admin system.
These are:
1) subscription_expiry - this defaults to a year in the future when you add a subscriber.
Once the subscription expiry date has been reached, the user is no longer considered to be a subscriber by this module.
2) subscriber - you never alter this directly, the module determines whether a user is a subscriber based on subscription_expiry
3) hide_adverts - this custom field can be used within your templates to remove adverts for subscribers
****************************
I'm interested to know if anyone else ever uses this module, so please let me know by posting here.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

September 04, 2005 07:04AM |
Registered: 20 years ago Posts: 687 |
Found a slight problem with PHP < 5.1 - mktime() only supports years up till about 2038, so don't try and give people expiry dates beyond that year!
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

September 06, 2005 12:50PM |
Registered: 20 years ago Posts: 868 |
Aaah, no lifetime memberships :-)
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
September 06, 2005 01:09PM |
Registered: 20 years ago Posts: 687 |
Yes - I tried to give a lifetime membership of 100 years in the future and wondered why my users could still see adverts. Still a couple of decades or so is still pretty good. I'll be happy if my site is still around after that long!
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

Re: Subscribers Mod - reward users, sell subscriptions etc September 07, 2005 04:19AM |
Registered: 19 years ago Posts: 144 |
Hi Sheik,
this subscriber module looks interesting.
I don't use it at the moment, but anyway I have small thing to remark ;-) :
It could be a good idea to add a prefix to the field names, like "mod_subscribe". An example would be "mod_subscribe_subscriber".
With this, you are sure (99%), that you never get in conflict with the internal phorum code, because it could be, that someone of the Phorum developers create a field called "subscriber".
Regards
mt
this subscriber module looks interesting.
I don't use it at the moment, but anyway I have small thing to remark ;-) :
It could be a good idea to add a prefix to the field names, like "mod_subscribe". An example would be "mod_subscribe_subscriber".
With this, you are sure (99%), that you never get in conflict with the internal phorum code, because it could be, that someone of the Phorum developers create a field called "subscriber".
Regards
mt
September 07, 2005 06:54PM |
Registered: 20 years ago Posts: 687 |
Good point, I'll change my field names as you suggest.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

Re: Subscribers Mod - reward users, sell subscriptions etc September 13, 2005 10:53PM |
Registered: 18 years ago Posts: 18 |
September 15, 2005 06:43PM |
Registered: 20 years ago Posts: 687 |
kyron2u Wrote:
-------------------------------------------------------
> is it possible to make them pay actual money via a
> credit card. because i have a merchant account
> with a company and would love to integrate it like
> with a shopping cart.
Well you could use my module as a base to write something like that.
It would be easier just to add a "subscription" product to an existing shopping cart script and just process people's subscriptions manually. It only takes two clicks to make a user a subscriber with this mod after all.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
-------------------------------------------------------
> is it possible to make them pay actual money via a
> credit card. because i have a merchant account
> with a company and would love to integrate it like
> with a shopping cart.
Well you could use my module as a base to write something like that.
It would be easier just to add a "subscription" product to an existing shopping cart script and just process people's subscriptions manually. It only takes two clicks to make a user a subscriber with this mod after all.
/\dam
--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz

Re: Subscribers Mod - reward users, sell subscriptions etc September 18, 2005 09:18PM |
Registered: 18 years ago Posts: 18 |
Re: Subscribers Mod - reward users, sell subscriptions etc September 27, 2005 10:16PM |
Registered: 18 years ago Posts: 5 |
Sorry, only registered users may post in this forum.