Ðăng Nhập

View Full Version : LancerForHire - Paid Registration



admin
15-05-2011, 09:04 AM
Overview

This product allows (and can require) visitors to select a paid subscription at registration time.

Be sure to read the license, FAQ's, and notes below. Also take note that this product is currently in BETA. We are projected to leave beta in two weeks.

Changelog

0.0.3: Added email warning to webmaster when a registration is completed and the file edits in step four of the installation instructions are not done. This email will usually be sent after an incomplete product installation or vBulletin update was performed.
0.0.2: Added template groups, moved subscription template changes into independent templates to address the previous bug that deleted the default ones, and added template caching for all product templates.
0.0.1: Beta release.


License
Copyright 2011 LancerForHire <lancerforhire@gmail.com>. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
not permitted.

THIS SOFTWARE IS PROVIDED BY LANCERFORHIRE ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LANCERFORHIRE OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Install Summary
Difficulty: Easy
Time: <5 minutes

1 Xml Import
1 File Edit (2 instances)
1+ Subscription Permission Changes

Let's install! (don't forget to click install and nominate for MOTM! http://www.vbulletin.org/forum/images/smilies/wink.gif)

1. Import the product xml.
2. Download register.php from your forum root and open it. In register.php, find each (2):

= $userdata->save();

Add below each:

if ($userId) {
$vbulletin->userinfo['userid'] = $userid = $userId;
}

3. Upload register.php.
4. Check the subscription permissions of every subscription you want visitors to be able to select at registration, and make sure each is accessible by the Users Awaiting Email Confirmation group. Otherwise, the subscription will not show.

The product installation is complete. http://www.vbulletin.org/forum/images/smilies/smile.gif

Screenshots:
http://upload.itvnn.net/do.php?img=50 (http://upload.itvnn.net/)
http://upload.itvnn.net/do.php?img=51 (http://upload.itvnn.net/)