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

Member Profiles - Followed Members Only

Discussion in 'XenForo Questions and Support' started by ineedhelp, Oct 20, 2011.

  1. ineedhelp

    ineedhelp Well-Known Member

    In the Admin CMS > Options > User Registration > View this user's profile page details: Followed Members Only

    I've set the setting as above, but everyone is still able to view all member's profiles and post on their walls, why?

    Please let me know, thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That only applies to new registrations, not existing accounts.
     
  3. ineedhelp

    ineedhelp Well-Known Member

    Anyway to make it apply to all?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can do it with a query, but you can't stop members from changing it back.
     
  5. ineedhelp

    ineedhelp Well-Known Member

    Changing it back is fine, up to them, but initially it would be a good idea.

    What would the query be and where would it be inserted, pls?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    UPDATE xf_user_privacy
    SET allow_view_profile = 'followed'
    Run it in phpMyAdmin.
     
    yessir likes this.
  7. ineedhelp

    ineedhelp Well-Known Member

    Thanks!

    Will this also be active once I upgrade the forum ?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Upgrading won't affect that field.
     
    ineedhelp likes this.
  9. ineedhelp

    ineedhelp Well-Known Member

    So I enter this into the SQL query box and hit go?

    Do I need to label or bookmark it? And it says for all users? do I tick it?

    If I ever want to disable or remove/delete this query, how would this be done?

    Thanks.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    It's a one shot event.

    Just open phpMyAdmin, select the database, click on the SQL tab at the top, paste the query in and click Go.

    Once done, it can't be undone.
     
  11. ineedhelp

    ineedhelp Well-Known Member

    Ok great I'll do that right now!

    So if I choose to ever reverse it, not possible?
     
  12. ineedhelp

    ineedhelp Well-Known Member

    I mean....

    What would the query be to change it back to Members Only or All Visitors?

    Thanks.

    P.S. the above query worked! :)
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Same query, just replace followed with members or everyone.
     
  14. ineedhelp

    ineedhelp Well-Known Member

    Thanks!
     
  15. ineedhelp

    ineedhelp Well-Known Member

    Can you tell me where I can edit the term/phrase:

    "This member limits who can view their profile"

    I've looked around in the admin panel, but can't seem to find it...

    Thanks.
     
  16. Brogan

    Brogan XenForo Moderator Staff Member

    Search the phrases for it.
     
  17. ineedhelp

    ineedhelp Well-Known Member

    So simple, thanks, found it!

    I was looking in Default Style > Templates :eek:
     
  18. ineedhelp

    ineedhelp Well-Known Member

    Instead of creating a new thread, I thought I'd ask the following in here

    Below is a copy and past of the Navigation template code for the members tab:

    Code:
            <!-- members -->
            <xen:if is="{$tabs.members}">
                <li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
    
                    <a href="{$tabs.members.href}" class="navLink">{$tabs.members.title}</a>
                    <a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a>
    
                    <div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
                        <div class="primaryContent menuHeader">
                            <h3>{$tabs.members.title}</h3>
                            <div class="muted">{xen:phrase quick_links}</div>
                        </div>
                        <ul class="secondaryContent blockLinksList">
                        <xen:hook name="navigation_tabs_members">
                            <li><a href="{xen:link members}">{xen:phrase registered_members}</a></li>
                            <li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
                            <li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li>
                        </xen:hook>
                        </ul>
                    </div>
                </li>
            </xen:if>
    I want to make this tab accessible to members signed in only.

    The believe the code I need to make this happen is:

    Code:
    <ul class="secondaryContent blockLinksList">
    I've tried entering it into the above menu coding, but each attempt messes up the navigation :confused:

    Can you tell me where to insert it pls, if it is even the correct code?

    Also by doing this - will it effect search engines/seo results ?
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

  20. ineedhelp

    ineedhelp Well-Known Member

    So I just copy and paste that code into the Members code (can you tell me where to place it pls)

    I'm learning each time I make changes :)
     

Share This Page