Firefox PHP

Subscribers Mod - reward users, sell subscriptions etc

Posted by sheik 
Subscribers Mod - reward users, sell subscriptions etc
September 04, 2005 05:27AM
(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
Re: Subscribers Mod - reward users, sell subscriptions etc
September 04, 2005 01:04PM
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
Re: Subscribers Mod - reward users, sell subscriptions etc
September 06, 2005 06:50PM
Aaah, no lifetime memberships :-)

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: Subscribers Mod - reward users, sell subscriptions etc
September 06, 2005 07:09PM
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
mt
Re: Subscribers Mod - reward users, sell subscriptions etc
September 07, 2005 10:19AM
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
Re: Subscribers Mod - reward users, sell subscriptions etc
September 08, 2005 12:54AM
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
Re: Subscribers Mod - reward users, sell subscriptions etc
September 14, 2005 04:53AM
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.

thanks
Re: Subscribers Mod - reward users, sell subscriptions etc
September 16, 2005 12:43AM
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
Re: Subscribers Mod - reward users, sell subscriptions etc
September 19, 2005 03:18AM
oh ok. thanks. i guess ill have to figure out how to addd it to a shopping cart scripts. thanks for hte reply
Re: Subscribers Mod - reward users, sell subscriptions etc
September 28, 2005 04:16AM
Would I be able to let the subscribers create their own private forum which they can moderate with this mod?
Sorry, only registered users may post in this forum.

Click here to login