Ravens PHP Scripts

PHP-Nuke 7.1 FINAL
Date: Monday, February 02, 2004 @ 14:15:37 CET
Topic: PHP-Nuke


PHP-Nuke 7.1 Final version from phpnuke.org.

The author writes "This version includes the highly requested subscription system. Now you can manage annual subscription specialy designed to remove advertising, hide blocks and grant access to certain restricted modules (defined by the admin) for your subscribed users. Also included many minor bugs fixed." Read on for a list of the changes.

January 2004: Version 7.1
=========================
- Added Subscription system. With this new feature you can now manage subscriptions to your site. Mainly
designed so webmasters can have subscribed users who pay to be able to remove advertising and/or access
to subscribers only modules. The subscription system lets you set any block of the site to be invisible
for subscribed users, any module can be configured to grant access to subscribed users only and the
banners system will not show any advertising if the user is subscribed. A new function called paid() will
check if the user is subscriber or not. If you want to make some part of the code available for subscriber
users only, you must use the following piece of code:

if (paid()) {
echo "You're a subscribed user...";
}

you can also check if a user isn't a subscriber using the code:

if (!paid()) {
echo "You're NOT a subscribed user...";
}

So, with this you can play a little. But to configure a module for subscribed users only, just use the
modules administration option as usual, see the new option in the "Who can view this" selection box.
Messages system also can be used on the same way. To subscribe a user, he/she must be registered on the
site, then as administrator go and edit the user's account. You'll notice the new options to
subscribe/unsubscribe anyone you want in periods from 1 year to 10 years. The system is created to manage
anual subscriptions only, but I think it's as it must be. Also, in Your_Account module, in the main
window the user will always know how many time remains in his/her subscription. Remember to edit the
config.php file and set $subscription_url variable with the subscription information page on your site.
Enjoy and make some money with your site! :) Hope you like it.
- Added Subscribed users block with remaining time
- Fixed lot of minor bugs on Downloads administration module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed lot of minor bugs on Web Links administration module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed a minor bug on Encyclopedia administration module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed lot of minor bugs on Downloads module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed lot of minor bugs on Web Links module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed a bug in search function of Encyclopedia module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed few bugs in Forums and User Info blocks (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed bad variable call on News send to a friend functions (Thanks to ChatServ from http://www.nukeresources.com)
- Added missing $articlecomm global declaration in navigation bar of Your Account module (Thanks to ChatServ from http://www.nukeresources.com)
- Fixed save function when editing a client in banners administration
- Fixed language selection bug in Forums administration
- Removed index link in the AvantGo module's logo (Thanks goes to Michael aka MicTronic)





This article comes from Ravens PHP Scripts
http://www.ravenphpscripts.com

The URL for this story is:
http://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=258