BuddyDev

Search

Make one page public on site

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #17681

    Hi Chris,
    Even though the force profile plugin is from us, these two code are not guaranteed to work together.

    If your goal is only to limit the site to logged in members, you don’t need force profile, all you need is the above code.

    If you want to make sure your users have uploaded an avatar to use site, you will need the force profile plugin.

    About wp-content, feel free to use their code. I believe it should not be protected even if you have moderate number of frequently accessed media. Since you are going to create a social site, It will prove a bottleneck.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 118
    chris on #17685
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #17686
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 118
    chris on #17688
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #17689
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 118
    chris on #17690

    Can you let me know it is possible to protect virtual/dynamic content> which I believe thats what wp-content/uploads is?
    If it is possible, where might i look.

    You say that it will create a bottle neck if I use the code that I shared. thoughts on who I might reach out to

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #17691

    Hi Chris,
    Yes, you can certainly protect it. It is doable.

    I don’t think the code is the problem, others will have similar approach. I did not say that specific code is bottleneck. I said, this approach of serving media using php may become a bottleneck. But if there is a regulation that needs it, You may use their code.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 118
    chris on #17699

    Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #17705

    You are welcome.

    Regards
    Brajesh

The topic ‘Make one page public on site’ is closed to new replies.

This topic is: not resolved