The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Facebook plugin avatar

View previous topic View next topic Go down

Facebook plugin avatar

Post by nextlevelgaming on September 30th 2012, 11:13 pm

When activating a facebook app, is there a way to make it so they don't have to enter in an avatar instead just use their facebook image??


Alright also now having problems associating the facebook account, and loggin in with facebook, or even registering with facebook. Can someone help.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Facebook plugin avatar

Post by runawayhorses on October 1st 2012, 5:01 pm

Are you talking about the login and register facebook apps? There facebook avatar can not be automatically added as there forum profile avatar. Those are two completely different applications that do not work together.

Activating the facebook login apps is explained in AP>>Modules>>Facebook connect>>Configuration>>

On that page you have to click a link that goes to your facebook apps section and create a apps to get your facebook "App ID" and "secret code". Its best to login to facebook before doing any of this.

When you have completed installation go to your froum profile page and under "preferences" select "Associate your facebook account" to yes. That will make your personal forum login easier to do. Recommend all your members do the same if they want to login in and out using facebook. New member registrations that use the facebook login won't have to do that because there accounts will automatically be associated when they register.

Where are you exactly in setting this up?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Re: Facebook plugin avatar

Post by nextlevelgaming on October 1st 2012, 7:14 pm

Ive done everything. I have another website set up for it. Now with this site whenever I click Associate account or Register the pop up then pops up and closes and does nothing.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Facebook plugin avatar

Post by runawayhorses on October 1st 2012, 7:30 pm

So you've already done this on another forum? Well you know what to do then, I guess there is a script running on your forum messing things up for it. I have the facbook login on both my forums and they are working flawlessly, so its not a problem from the server side.

Did you remember to add your forum URL to your facebook apps on facebook?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Re: Facebook plugin avatar

Post by nextlevelgaming on October 1st 2012, 7:46 pm

Yeah i did that a minute after making the app, i forgot it in the beginning but it was fixed quickly. Runaway you know me, codings my thing, and there seems to be no inference, only codes i have are

Code:
$(window).scroll(function(event) {    $(".socialnet").css("margin-left", 10-$(document).scrollLeft()); });

Code:
$(function() {
var avatar = document.getElementById('right').getElementsByTagName('img')[0].src;
var element = document.createElement('span');
element.setAttribute('style', 'position: absolute; left: 245px; margin-top: 35px;');
element.innerHTML = '<img src="'+avatar+'" style="max-width: 75px; max-height: 75px;" />';
document.getElementById('text_editor_textarea').parentNode.insertBefore(element, document.getElementById('text_editor_textarea'));
});

Only two codes, rest is pure html/css. Just started working with punbb, which should not interfere with the FB protocol.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Facebook plugin avatar

Post by nextlevelgaming on October 2nd 2012, 2:27 am

Yeah I started to ask about the issue loggin in because like runaway said i guess i cant use the users facebook avatar (profile pic)

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum