Results 1 to 3 of 3
  1. #1
    New Pligger snok's Avatar
    Joined
    May 2008
    Posts
    23
    Thanks
    Received:0
    Given: 0

    Talking Full story only for registered users

    go to story.php and put after this :

    include('config.php');
    include(mnminclude.'html1.php');
    include(mnminclude.'link.php');
    include(mnminclude.'smartyvariables.php');
    include(mnminclude.'pageview.php');

    force_authentication(); <------------this

    The same trick you can do with your own made page.

    {php}
    force_authentication();
    {/php}

  2. #2
    Pligg Developer/Coder/Designer ChuckRoast's Avatar
    Joined
    Dec 2005
    Location
    Pliggville USA
    Posts
    9,118
    Thanks
    Received:396
    Given: 73
    Version
    SVN Build
    Site
    http://Pligg.com/chuckroast
    This can also be done using smarty variables in your templates.

    {if $user_authenticated ne true}
    stuff you want shown only to registered users
    {/if}
    Help Keep ChuckRoast Home
    Today's Pligg Blog Post


  3. #3
    Casual Pligger teenzoned's Avatar
    Joined
    May 2008
    Posts
    46
    Thanks
    Received:0
    Given: 0
    Awsome Thanks!
    it might come handy one day!

Similar Threads

  1. Registered Users Can't See News
    By acidrain in forum Questions & Comments
    Replies: 3
    Last Post: 04-12-2009, 10:24 PM
  2. Number of registered users
    By Jaffa in forum Questions & Comments
    Replies: 2
    Last Post: 11-09-2008, 05:07 PM
  3. How to allow non-registered users to submit stories?
    By yobeta in forum Questions & Comments
    Replies: 0
    Last Post: 09-10-2008, 04:08 AM
  4. Limit Non Registered Users
    By psross in forum Questions & Comments
    Replies: 1
    Last Post: 04-29-2008, 04:25 PM
  5. How many registered users do you have?
    By ablaye in forum Questions & Comments
    Replies: 19
    Last Post: 03-01-2008, 06:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg