Premium Membership
Subscription graphics design php html youtube
Gold Subscription with Silver access
graphics design php html youtube
Live Support
Contact us by live help [photoshop, website design, tutorials]
Not available on weekends

How to use the paid() function effectively



Hire Us!Download Video(0)Comments
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.


If you are one of the many using the subscription module then you know this tutorial is for you. It will show you how to use the paid() function to hide parts of your page from non subscribers. You can also use it to hide links, images just about anything.

Steps :
The first thing is to understand how the function works. The following is a full view of the codes.

That's it! Easy. Wasn't it? Basically what you are doing is checking to see if the member is a subscriber, they get the "goodies", if not then they get nothing :( . Let's put this to better use. In the example below we have a link [Western Studios Cool Animation] we want hidden from non subscribers. We first check if the member is a subscriber using the paid() function already defined in the mainfile.php

If the member is a subscriber we want them to see the link so we show it in following codes.

Done! You may ask, why didn't I use the else{ part as in the first example. Well you only need the else{ if you want to show something to non subscibers like in the following codes

This should give you a better idea of how to use this important function. You can use it to protect anything on your website. Visit the forums if you need more help.

 

Hire Us!Download Video(0)Comments
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.


Advertisement





New Subscribers



Subscriber

CubanoSiempre

Platinum Subscribers

#1
Subscriber

chefjustinh

Silver Subscribers

#2
Subscriber

ballistique

Silver Subscribers

#3
Subscriber

xplan

Silver Subscribers

#4
Subscriber

kenno

Ultimate Subscriber

#5




Our Sponsors



PHP Nuke themes, stock photos, icons, drupal themes and more.
Free e Cards of holidays, cute animals, nature and more
Custom jobs at low cost, free lancers and service buyers.
Advertise with Western Studios.net


Downloads



Latest in downloads

Most downloaded


Jobs





Community

Western Studios is an award winning website creating website disign and professional php scripts.

Associated Sites

Marketplace Themes, scripts, icons and images

Themes site PHP Nuke themes preview site.