1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Hide Posts From Guests

Discussion in 'Add-on Releases [Archive]' started by borbole, Mar 24, 2011.

Thread Status:
Not open for further replies.
  1. borbole

    borbole Well-Known Member

    I created this as a template modification first but now I found some time to mod it up so it can be installed as a regular mod.

    http://xenforo.com/community/threads/hide-posts-from-guests.6278/

    Installation. First unzip the mod package and ftp the library folder inside to the root of your forum folder. Then go to your Acp->Add-ons->Install New Add-on->Install from uploaded file: Click the Browse button, locate the addon_HidePostsGuests.xml file inside the mod package and ht the Install Add On button.

    To configure the mod go to Options in your Acp->Messages and all the way to the bottom you will see 2 new options. One is to enable/disable the mod and the other to enter your own custom message that will appear to guests instead of the posts.

    For more, please have a look at the attached screenshots below.

    Thank you for reading this thread :)

    If you need support with this mod then please post at its thread at my forum, thank you.

    http://www.forumservices.eu/xenservices/index.php?threads/hide-posts-from-guests.16/

    French translated added courtesy of Allan :)
     

    Attached Files:

    Perspektif, Allan and principia like this.
  2. yavuz

    yavuz Well-Known Member

    Hi borbole nice mod. Would like this mod to have some features:

    - Hide code, html, quote BB codes
    - Hide images, videos

    Entire post to hide is not very decent. I would like my visitors to see some kind of content before they register.
     
    Perspektif, Brett Peters and borbole like this.
  3. Allan

    Allan Well-Known Member

    After test, the links "Register" and "Login" don't work for me.
     
    borbole likes this.
  4. borbole

    borbole Well-Known Member

    Thank you for reporting this to me. It was a small typo. Now it is fixed. Please redownload the newly attached mod file.
     
  5. Allan

    Allan Well-Known Member

    Confirmed, work perfectly now, thank you for your hack and fix (y)

    French language attached :)
     

    Attached Files:

    borbole likes this.
  6. borbole

    borbole Well-Known Member

    Thank you for the french translation. I atatched it at the first post :)
     
  7. Perspektif

    Perspektif Active Member

    hi borbole :) very nice plugin;)
     
    borbole likes this.
  8. borbole

    borbole Well-Known Member

    Thanks :)
     
    Perspektif likes this.
  9. Fufu

    Fufu Well-Known Member

    Can you add an additional field that states, Hide all posts except the first 'X' of posts?
     
  10. ragtek

    ragtek Guest

    nice add-on:)

    small suggestion

    PHP:
    if(!empty($options->guests_cantview_posts) AND !$visitor['user_id'])
                        {
                        
    $message['messageHtml'] = $options->guests_message;
                        }
    it's not necessary to check this INSIDE of the foreach
    it's better to check this BEFORE the foreach and if it's not set, it's not necessary to run the foreach part
     
  11. yavuz

    yavuz Well-Known Member

  12. ineedhelp

    ineedhelp Well-Known Member

    Add-ons such as these, don't these effect google results for search terms which ppl may use?

    As the conent is being blocked with this add on, this will also reduce the chances of people finding your site, when searching for random stuff? Right?
     
    Garamond likes this.
  13. yavuz

    yavuz Well-Known Member

    They do, I've witnessed crazy amount of search activity compared to the hiding features I've been using to encourage user registration. This new thing that google offers, encourages registration therefore more user activity in long term, recurring users. I hope this gets a litle bit attention from devs here maybe borbole can work his magic towards something like this :p
     
  14. ineedhelp

    ineedhelp Well-Known Member

    So your basically saying, using such mods has NO bad effects on search results/content being listed in search engines, e.g. Google?

    Would you say this add-on is Also fine and safe to use?:

    http://xenforo.com/community/thread...st-viewing-motivate-guests-to-register.15121/

    I have this mod, but have disabled it not long after installing it a few months ago, incase it damaged search listings.

    Please advise, thanks!
     
  15. yavuz

    yavuz Well-Known Member

    ineedhelp, such addons will have a negative affect on search engines. If you have no worries about user activity, have a strong member base or don't care about search engines feel free to use. But otherwise I wouldn't suggest it so much taken from personal experience.

    As far as I know, search engines like google have algorithms to measure the quality of the content, relevance if it's malicious or not. They simply can not do that when the content is hidden therefore it's not indexed as usual content.
     
    ineedhelp likes this.
  16. ineedhelp

    ineedhelp Well-Known Member

    ^^^ Damn, so it's a no no for me, thank you!
     
  17. madmartigan

    madmartigan Active Member

    I didnt find the phrase to change the "Hello there guest" message.
     
  18. Garamond

    Garamond Well-Known Member

    I'm very much in the same boat here, so if this 'issue' can be avoided I'll be installing the add-on.
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    That's known as cloaking and is against Google's T&C's.

    You could find your site being delisted completely for it.
     
    borbole likes this.
  20. Deepmartini

    Deepmartini Well-Known Member

    Google first-click free option might be better? Then you can still hide the contents yet allow google inside.
     
    yavuz likes this.
Thread Status:
Not open for further replies.

Share This Page