How to customize sp 2010 "my site" navigation links and control audiences of this links? - sharepoint-2010

i have SharePoint 2010 portal with many users and i configured "my site" , i created some publish pages and by default the pages links appear in "my site" navigation bar ,i want specific users(SharePoint group) only shows this links and other users don't show it
i made the following,
i have create site from template personalization site and then add links as following
in site settings->navigation i created new link and assign a SharePoint group to be the audiences of this link
when login by user from this group(audiences) the link appears on both top navigation bar and navigation bar beside "my site " in the top of the page ,[note that this last navigation bar exist in "mysite.master"]
when login by user outside this group the link disappear only from top navigation bar but it still exist in "my site " navigation bar
can any one help me to find why the link appear in "my site" navigation bar when log in by user not in audience group
thanks in advance

Your are on the right way. I think it should work. I've created so many links and assigned permission to them using audience targeting.
It should work. Please Re-start your server and try again.

Related

VueJs Address Bar

Hi friends,
The company I work for has a website with an Admin Dashboard. Pages that users can use according to their authorization are listed in the menu. Beautiful so far. However, there is a problem. The person can reach the pages that he cannot see in the menu at the moment, without authorization, from the address bar, by entering the link of the page. How can I prevent access to unauthorized pages from the Address Bar by redirecting them from one place? I don't want to check each page individually. This doesn't make sense. For example, a component with the message "You are not authorized to view this page" may be displayed or automatically redirected to the home page.
I'm waiting for your help. Thanks.
You will need to use a global router navigation guard/hook called beforeEach - as explained in multiple tutorials:
https://css-tricks.com/protecting-vue-routes-with-navigation-guards/
https://www.permify.co/post/implementing-role-based-access-control-in-vue-js

Global navigation is disappeared from a site

Like the title says, Global navigation is disappeared from a site. SharePoint server publishing feature is active on both site level and site collection level. Can somebody help here?
You may still need to update 'Global Navigation' option under 'Site setting > Navigation' for each subsite and Site collection after the feature is activated.
Note: The option selected for subsite and site collection could be opposite, to display the same navigation in all levels.
E.G. Site collection should have "Display the navigation items below.." whereas subsite shoul have "Display the same navigation items.." (with "Show subsites" selected for both)

Facebook App into Page Tab

We have created a game which is accessible as an app but cannot get the game into a tab. During the submission stage it reads:
"Our review team will use this page to test your Page Tab app. Your Page Tab app must be installed on this page. Only pages that you admin will appear in the dropdown."
I am admin on 3 different pages, one was built specifically for testing the tab but it says there are no eligible pages and the option is ghosted out, even when a new page is created via this step.
Am i missing something or does anyone else know what i'm doing wrong?

How to add my application to my fan page?

Since Facebook removed Application pages, how to add application (newly created) to fan page? I've found "Create Facebook Page" in application settings but the link "Add to my Page" is missing!
Maybe this is not the best answer, but it should help you.
Go to this URL after replacing APPLICATION_ID with your application ID:
http://www.facebook.com/add.php?api_key=APPLICATION_ID&pages=1
Currently it is:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL
where:
app_id: Your app's unique identifier. Required.
redirect_uri: The URL to redirect to after a person clicks a button on the dialog. Required when using URL redirection.
from: https://developers.facebook.com/docs/appsonfacebook/pagetabs/
Make sure your page is classified as a brand > App
Your App has to have the same name of your fan page in the name of the page I.E. bobburgerbar page should have the name bobburgerbar Burger App or whatever in it as long as it has bobburgerbar
go to app details
Under contact info it has APP your page should appear
And voila! your app is added
Stupid Facebook

Welcomepage is missing from Quicklauch

I'm using a publishing web. I have two pages. The navigation is set to show pages.
It shows two menu items, for each page one item.
The problem:
When setting publishing page 1 as the welcomepage, this page is removed from the quicklaunch navigation.
Probable cause:
The PortalSitemap providers filters the welcomepages from quicklaunch. Probably because the web has the same url as the welcomepage?
Any thoughts about this and how to fix this by configuring the provider?
At this moment I added a (external) node...
Try to add page to navigation directly.
Site Settings => Navigation
you can use a little trick.
This happens because sharepoint removes the welcome page from the quicklaunch. But if you set the welcomepage with a different URL its appears.
for Ex: if you want the page "XPTO.aspx" to be your welcomepage, set it as "XPTO.aspx?".
this way the page will be set as welcomepage, and it will appear on quick launch .
this happens beacul sharepoint thinks that "xpto.aspx" and "xpto.aspx?" ate 2 different pages, but they are not.