1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove the share page template from nodes which are not visible to guests, or are private

Discussion in 'XenForo Suggestions' started by Brogan, Feb 7, 2011.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    I have some forums and Pages which are not visible to guests, only to logged in users.

    Unfortunately some members are Tweeting and Recommending these pages, which results in errors when doing so due to the URL not being publicly accessible.
    It also makes the Facebook Recommendations widget look less than perfect due to broken logos and incorrectly formatted URLs
    In addition, any shared content won't be available to anyone not logged in which will most likely just frustrate Facebook and Twitter users.

    A conditional to check if the Page or thread is not accessible to guests would be useful to avoid these issues.
    Or failing that, a simple checkbox which can be applied per node: category, forum, page.

    The same also applies to private nodes.
     
    Claudio, empire, Amaury and 21 others like this.
  2. AndreaMarucci

    AndreaMarucci Well-Known Member

    I second this absolutely...
     
  3. Digital Doctor

    Digital Doctor Well-Known Member

    Is the reason for this to encourage users to register ?

    Screenshot ? Demo ?

    Won't this encourage them to register to see the inaccessible content ?

    Check before tweeting ? (Prevent users from tweeting) or Check when accessing when guest user is accessing the restricted Page ? Edit: I see you want to prevent the tweet ability by removing the share-page. Other idea might be to warn the tweeter this content is restricted to registered members and the recipient must sign up to the forums to see the page ?

    How about some sample URLs from your site for a good demo ?
     
    Adam Howard likes this.
  4. mrb1972

    mrb1972 Active Member

    Was anyting ever done about this, I have the same issue
     
  5. Stuart Wright

    Stuart Wright Well-Known Member

    Bump. I would like to remove the share element from the bottom, because I have it placed more prominently up the page.
     
  6. Liam W

    Liam W Well-Known Member

    Google+ plus 1 actually errors out if the content isn't guest accessible.

    It took me a while to figure out the cause.

    This is a good idea.
     
  7. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    I thought this was addressed in the lastest release (I have not checked personally) there is a conditional hack you can use tho... Can't find the solution i used a while back but if you can give me a few days i will provide it as a resource.. http://xenforo.com/community/resources/conditional-statements.1604/ <-- look here tho you can apply the related statements around the share / social area... Sorry busy atm.. i will have another look later i am sure i saved this in a .txt file somewhere for later use..
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    This is a suggestion for the core software, to avoid having to edit templates, etc.
     
  9. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    Apologies i only saw Stuarts reply / request.

    Sorry just trying to help.
     
  10. Mr Lucky

    Mr Lucky Well-Known Member

    I want this too
     
    dhv49 likes this.

Share This Page