Re: [campsite-support] content_accesible problem
  • Please make sure the user had a valid subscription:
    - the subscription was active
    - the subscription field "Left to pay" was 0 or the subscription type was
    trial
    - the subscription contained all the sections that you want to give access
    to in all languages or in the language that the reader wanted to access
    - the subscription end date for each section did not pass (check each
    section's start date and days/paid days for paid subscriptions)

    Mugur

    On Mon, Jun 30, 2008 at 5:13 PM, wrote:

    > Author: ybani
    > Link: http://code.campware.org/phorum/read.php?8,6468,6468#msg-6468
    >
    > --------------------------------------------------------------------------------
    >
    > Dear Support,
    >
    > I have added this code to my article.tpl page.
    >
    > {{ if $campsite->article->content_accesible }}
    > {{ if $campsite->article->has_image(1) }}
    > {{ $campsite->image2->description }}
    > {{ /if }}
    > {{ $campsite->article->byline }}
    > {{ $campsite->article->full_text }}
    > {{ else }}
    > {{ include file="not_allowed.tpl" }}
    > {{ /if }}
    > I have a problem with this code even that the person is logged in, I still
    > get the not_allowed.tpl. What is right way to allow subscribers to view
    > article? Thanks +++
    >
    > Best Regards,
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >
  • 1 Comment sorted by
  • well I am having the same kinda issue with this and I have now been looking for an answer for a few days, I guess the moderator left a sudo example but I am a photographer not a programmer and I think I will just pass on this product just not enough good information. When seeking help I don't need someone to say read the manual I need help and reading the manual is like them attempting to do a photo shoot at night, they don't have any idea on where to start and as well I don't any idea as well on coding.
    if you ever find an answer let me know please.