Helen
Helen
Offline
0
Hi,
The site I'm working on is only for registered users. Is there away to prevent people who aren't logged in from being able to see any of the content. How can I prevent users from any of the albums or songs in music collection?

I use the buy button for download of songs so this is currently visible to anyone with a direct link to an album.

Thanks
Responses (8)
  • Accepted Answer

    Wednesday, June 01 2011, 10:00 AM - #Permalink
    0
    just mark your menu item as "Registered".. this is a basic joomla functionality...
    The reply is currently minimized Show
  • Accepted Answer

    Helen
    Helen
    Offline
    Wednesday, June 01 2011, 10:22 AM - #Permalink
    0
    Thanks. Yes I did that for all my menu items.

    It's just when a users click on my statistic display (for an item) it takes them to...http://my.domain.com/en/component/muscol/s/name-of-thingo

    And component isn't a menu item in my site..

    Sorry I don't know so much about joomla and couldn't work out if this is more a joomla question or a MC question.

    B)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 01 2011, 10:35 AM - #Permalink
    0
    you must use the Itemid parameter on the module. write the ID of the menu item of music collection.
    The reply is currently minimized Show
  • Accepted Answer

    Helen
    Helen
    Offline
    Wednesday, June 01 2011, 12:14 PM - #Permalink
    0
    sorry i don't understand what you mean. can you give some more details? Of what you mean? thanks

    you must use the Itemid parameter on the module.

    write the ID of the menu item of music collection.
    The reply is currently minimized Show
  • Accepted Answer

    Helen
    Helen
    Offline
    Thursday, June 09 2011, 12:16 PM - #Permalink
    0
    Hi Germi,

    I still need your help with this one. How can I stop people getting access to any thing related to the music collection component if they are not logged in?

    If this is more a joomla question not an mc question just let me know.

    thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 23 2012, 03:11 AM - #Permalink
    0
    See my next post...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 23 2012, 03:18 AM - #Permalink
    0
    Crap! Can't post code here (even with the "code" option). View this file to see my answer:


    Music Collection Members Only Fix


    I am guessing this will work. I didn't try it yet. Let me know how it goes.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2012, 06:24 PM - #Permalink
    0
    hello!

    the code is "something" like that, but you should not place any TEXT in here (that message you just print...) but actually REDIRECT the user to the homepage or something, with a notice message.the function to use is:

    $this->setRedirect()

    look at Joomla API...!
    The reply is currently minimized Show
Your Reply