Joomla - User Permissions

Discussion in 'Joomla' started by factchecker, Jul 23, 2006.

  1. #1
    Is there a way of removing sections for people AFTER they have logged in. I have one section that says to register... Obviousely, after they register they do not need to see this. Is there any way to remove after someone has logged in. Thank you
     
    factchecker, Jul 23, 2006 IP
  2. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure you can do that with Joomla! only, I think you will need a user management module. Community builder maybe.
     
    Monty, Jul 23, 2006 IP
  3. JosefV

    JosefV Peon

    Messages:
    138
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I solved it with module, something like this:

    
    <?php
    defined( '_VALID_MOS' ) or die( 'Restricted access' );
    
    if ( $my->id ) {}
    else echo 'Please <a href="http://fubom.com/index.php?option=com_smf&Itemid=2&action=login">login</a> or <a href="http://fubom.com/index.php?option=com_smf_registration&task=register">register</a> to view <font color="red"><b>many more images</b></font>, to play <font color="red"><b>tournaments</b></font> and <font color="red"><b>challenges</b></font>!! It is completely <font color="red"><b>FREE</b></font>! You can also get <a href="http://fubom.com/index.php?option=com_content&task=view&id=1&Itemid=8">e-books</a> valued over <strong>$2000</strong> for <font color="red"><b>FREE</b></font>!';
    ?>
    
    Code (markup):
     
    JosefV, Jul 26, 2006 IP