3-4. Social information integrating function
Views 8938 Votes 0 2012.03.06 15:03:59- Settings to activate this function
- Social Integrating Configuration of much modules
- SocialXE Information widget
Social information integrating function let your site be integrated with social functions. Membership can contain the SNS information, and connect documents and comments to SNS. Of course, you can select activate it, or not.
Settings to activate this function
To use Social Integrating function, you should check 'Use social information integrating' item of the configuration of SocialXE client module.

After you check it, we recommend you to activate SocialXE helper addon. The addon make your site offer full services of SocialXE Social Information Integrating function.
This addon would display 'SNS Configuration' item on member's menu, and 'View SNS information' item on the popup menu of a member ID.


Site members can connect their ID to their SNS or not. They can select whether to post their new documents and comments to their SNS or not. They can naturally sign in/out their SNS when they write an article.
For this, you need SocialXE information widget. SocialXE information widget would be explained after. Before explain it, let's learn about Social Integrating Configuration method of each module.
Social Integrating Configuration of much modules
Service modules like the board module, have 'Additional Setup' item on each module. In the item page, you can set its Social Integrating function.

Basically, Social Integrating function would follow SocialXE module's global settings. If you check the setting, documents and comments would be posted to the visitors' SNS.
SocialXE Information widget
As you see before, site operators should offer their visitor to control whether to connect SNS or not. To offer it, they might bring SocialXE Information widget.

Put this SocialXE Information widget on document writing page of the board module, leaving a comment page, and so on. Your site visitors can check their linked SNS status and select their status to post an article to SNS or not. There is the widget code below.
<img class="zbxe_widget_output" widget="socialxe_info" colorset="COLOR SET" skin="SKIN NAME" />
You can change COLOR SET, and SKIN NAME. The bundle skin name is default and it has two colorsets, white and black.
As SocialXE Comment part, this manual will not told you the applying method of the widget for every modules. This information would be posted on the Official blog, later.
아... 위의 로그인부터 해야 바뀌는군요.. 이거 우쨰 안되나요?ㅠㅠ땀
페이스북 링크의 내용 요약은 페이스북에서 시스템에서 알아서 결정합니다. 마음대로 하고 싶으면 http://blog.socialxe.net/5357 여길 참고하세요. 그리고 게시판 EX 적용법은 http://socialxe.xpressengine.net/19353940 여길 참고해 보세요.
natori
좋은 기능에 감사합니다.
view_document.html 에 적용해 보니 좋군요.
아직 초보라 잘 몰라서 질문을 드립니다.
view_document.html 적용시 하나의 글을 보고 연동 SNS에 로그인해서 다시 글쓰기를 해야하는 번거로움이 있는데,
view_document.html 파일에 삽입하지 않고, write form에 적용시켜서 전송을 원하는 글이 있을 경우 SNS 로그인후 글을 작성하고 바로 SNS에 전송하게 할 수는 없는지요.
저의 경우는 socialxe 로그인을 따로 설치하고 싶지 않은 경우입니다.
oranz22
socialxe_info.class.php 파일을 에디트플러스로 열어보다가 아무것도 변경하지 않고 저장해서 올렸더니 다음과 같은 헤더충돌 메시지가 뜨면서 레이아웃이 깨지고 그 아래 '정보위젯'이 출력되었는데 이 상태에서는 소셜아이콘들이 클릭됩니다.
Warning: Cannot modify header information - headers already sent by (output started ~/xe/widgets/socialxe_info/socialxe_info.class.php:1) in ~/xe/classes/display/DisplayHandler.class.php on line 77
인코딩이 잘못 되었던 모양이라서 다시 utf-8로 인코딩을 바꾸어서 저장하고 올리면 정상출력되는데 소셜아이콘은 클릭이 안되고....^^
'댓글위젯'은 사용법대로 따라했더니 한방에 되던데, '정보위젯' 적용에서 헤매고 있씁니다.
알면 아는거고
모르면 은근 복잡하네요 ㅠㅠ

dsaf