|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Social links not working (on profile page) |
Social links not working |
Hello, i added a facebook profile link to users profile but when clicked facebook says page not found.
http://vodacop.com/index/8-12149. The user is registered with Facebook and i used the code $_FB_URL$. Secondly how i can i use the $_FB_ID$ in a link if it can provide any solution to the above?. The profile editing form does not contain the field for entering location and phone number while social login is enabled. Am i the get getting this wrong? Systems developer
|
Hello Soldierdevil,
I have the same problem as you and I have discovered this. This is a profile of my user. http://nhatro.ucoz.com/index/8-1128 And here is the Facebook account of my user which user profile is invalid. http://www.facebook.com/profile.php?id=1679728612341289 The problem can be solved by removing profile.php?id=. As below, you can view user's facebook profile. http://www.facebook.com/1679728612341289 I think you can solved the problem by below code. Code http://www.facebook.com/$_FB_ID$ Hope it help. Post edited by adnet - Sunday, 2016-11-27, 1:48 PM
|
adnet, thank you so much. it was really helpful. So how about generating direct links for connecting social accounts to a profile, do you have any idea? The code $_SOCIAL_ACCOUNTS$ does it but want to style in my own way.
Systems developer
|
I remove $_SOCIAL_ACCOUNTS$ and replace by below code. It is only for Facebook, google and twitter.
Please note this is still using uCoz default CSS for the style. Code <?if($_FB_URL$)?><a title="Facebook" href="http://www.facebook.com/$_FB_ID$" target=_blank id="connect-facebook" class="login-with facebook is-connected" rel="nofollow"><i></i></a><?endif?> <?if($_GOOGLE_URL$)?><a title="Google+" href="$_GOOGLE_URL$" target=_blank id="connect-google" class="login-with google is-connected" rel="nofollow"><i></i></a><?endif?> <?if($_TWITTER_URL$)?><a title="Twitter" href="$_TWITTER_URL$" target=_blank id="connect-twitter" class="login-with twitter is-connected" rel="nofollow"><i></i></a><?endif?> Hope uCoz fix the error of Facebook user profile link soon so we dont need to separate the code. Post edited by adnet - Monday, 2016-11-28, 0:10 AM
|
| |||
| |||