Message # 1 | 3:52 PM
To enable this service you need to:

1. Be a premium system user
2. Have an SMScoin account.
3. Have an active SMS key service (after moderation)


An example of enabling the SMS key feature in Site News

1. After you have fulfilled the actions listed above, you can start setting up paid access to the website entries. To do this go to Control Panel -> Design customization -> Page with full entry text and associated comments.

The following codes are available here:



Code
$SMS_ISPAID$

The condition that checks whether a user can view the entries or he/she hasn't sent the SMS message yet.

Code
<?$SMS_PAYFORM$(ID)?>

The link to receive a code via SMS, where ID is your SMS key ID. You can find it in your SMScoin account (the first column).


2. Let's create a code for the SMS payment link that allows access to entries (e.g. a news entry text). It is simple, the ready-to-use code is below, you just need to paste your ID:

Code
<?if($SMS_ISPAID$)?>$MESSAGE$<?endif?><?else?>This content is paid. To view it you need <a href="<?$SMS_PAYFORM$(229750)?>">to pay</a> via SMS<?endif?>


Embed this code into the necessary template and save.



The payment link will look like this on the website (for the Users group):





A user will get access to the entry text after the payment.


How does the SMS key service work?

1. Click "Pay". Select your country and your mobile network operator in the Ajax window that will appear.


2. You will receive a code in a response text message. Enter the code into the corresponding field of the Ajax window. Click "Continue" and you will be able to access the entry text.
Attachments: 1493269.png(33Kb) · 1982000.png(16Kb) · 0425723.jpg(29Kb)