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

Implemented Social Networking block.

Discussion in 'Closed Suggestions' started by Shelley, Jan 18, 2011.

  1. Shelley

    Shelley Well-Known Member

    I made a comment in the tweet tweet thread and feel it would be a nice option if the devs could contain the facebook and tweet features that reside in the sidebar area with a social block?
     
    Defqon, ArnyVee, Trombones13 and 2 others like this.
  2. Peggy

    Peggy Well-Known Member

    I agree with this, for consistency, they should be contained just as all the other info there is contained.
     
  3. Kim

    Kim Well-Known Member

    Agreed... round those pesky varmits up and corral them!
     
    Shelley likes this.
  4. Shelley

    Shelley Well-Known Member

    They think they're the exception to the rule. They may I thought that get out of jail card bought them some time. They will be contained!
     
    Dragonfly likes this.
  5. Jeffin

    Jeffin Well-Known Member

    This is a good idea but it should implement in such a way, it blends nicely with the style. :) We could may be have options to change the button, size etc depending on the overall looks of the board.
     
    Peggy likes this.
  6. Kim

    Kim Well-Known Member


    Not really seeing a block there Shelley, I think it should be like the other sidebar blocks myself :)
     
  7. Shelley

    Shelley Well-Known Member

    Ah no, that was an insignificant suggestion to switch the facebook and tweet button around so the facebook is above the twitter. I still feel the twitter and facebook needs it's own block. :)

    Going to remove that screenshot as it gives the wrong impression. :p
     
    Dragonfly likes this.
  8. Kim

    Kim Well-Known Member


    hehehe OK :) I suddenly thought I had misunderstood you completely, but I see we are on the same page as I thought :p
     
    Shelley likes this.
  9. Miko

    Miko Well-Known Member

    A little self promotion here....

    I have posted a screencast on Monday about the "Sociable" block for my website that integrates with several social networks (also allowing users to enter for custom ones...)

    Since the Tweet Button is now standard I have removed my custom code for it and, thanks to Kier I have added the default XenForo code into "Xeno Sociaable"

    This is what it looks like

    sociable.png screen-capture-2.png

     
    Stormraven, krstep, Rudy and 10 others like this.
  10. Shelley

    Shelley Well-Known Member

    I'd like to see kier and mike allow users to apply other social networks into the social block (pending it get's introduced) it's a feature I find that is very beneficial to all sites and hope this get's implemented then expanded upon allowing us to choose which networks we want to add.

    @Miko's video -showoff. :p Excellent work a great example on how well this would benefit everyone.
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Nice work Miko.
    Very polished and an excellent addition to the sidebar.
     
  12. Peggy

    Peggy Well-Known Member

    Very nice Miko.
     
  13. Kier

    Kier XenForo Developer Staff Member

    The social bits and pieces on the sidebar are all in a single template that contains nothing else, so it will be easily customizable. At present I'm not inclined to wrap the buttons in a box, as I don't feel that it makes sense to enclose boxes within boxes. If there were uncontained text it would be a different story (as with Miko's box) but in the default implementation I don't really see the point. If anyone disagrees, like I said, it's a very simple template and you can do with it as you like.
     
    Brogan likes this.
  14. Shelley

    Shelley Well-Known Member

    I disagree 100% with you on this one. There's a block containing avatars I just feel it's lacking consistency hanging the social features out to dry on a default setting. Just one question, Is there an option to disable the tweet and facebook on the sidebar but retain them in the messagelist?
     
    TNCclubman likes this.
  15. Kier

    Kier XenForo Developer Staff Member

    If you're talking about blocks on the member list, they require enclosure as they have a heading. The Tweet and Like buttons don't have (or need) a heading, so I disagree that they require a surrounding box.

    If you want to disable the buttons on the sidebar it's the same answer as if you want to enclose them in a box - a simple template edit of the sidebar_share_page template.
     
  16. Russian

    Russian New Member

    I think what you really want, Kier is to add a share button with loads od options user can shoose from... there are plenty of sites people want to submit stuff too... digg, reddit and others... you may also want to give an option and add a custom button...i really like the concept of http://www.addthis.com/bookmark.php
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    I implemented Add This on my phpBB forum; it's quite easy to do if you were inclined to add it yourself in the Sidebar.
     
  18. Russian

    Russian New Member

    i would love to have it just below reply section (somewhere) above tweet and facebook buttons perhaps.
    begging for somebody to tell me where do i need to adjust template?
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    I would create a new template and add the Add This code to it.
    Then just include that template in forum_list like this:

    Code:
            <!-- end block: forum_stats -->
    
            <xen:include template="add_this" />
    
            <xen:include template="sidebar_share_page" />
    
        </xen:hook>
    </xen:sidebar>

    Just re-read your post and I think you mean in the threads.
    In which case the template would be thread_view, for example:

    Code:
    {xen:raw $threadStatusHtml}
    
    <xen:include template="add_this" />
    
    
    <xen:include template="share_page">
        <xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
    </xen:include>
     
    Russian likes this.
  20. Russian

    Russian New Member

    Thank you for your kind help.

    Off topic question: i did couple of manipulations with templates, tried just copy and paste but for some reason it did not work... so had to manually type the code... is there reason why?
    I'm sorry for not searching properly forum trying to find the answer.
     

Share This Page