• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • XF2.1: Content sharing for section links (replace existing section link anchor)

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: XF2.1: Content sharing for section links (replace existing section link anchor)

    • Issue Tools
      • View Changes
    1. issueid=5609 January 28, 2019 8:40 AM
      ACL ACL is offline
      Regular Member
      XF2.1: Content sharing for section links (replace existing section link anchor)

      XenForo 2.1 adds per-post content sharing options. This could be handy in VaultWiki too, for individual sections. The current anchor icon 'section link' is IMO cumbersome on mobiles as it requires fiddling around in the address bar. Changing this to XF2.1's content-sharing tool with the 'copy to clipboard' feature (and other social sharing options) would be helpful.

      Details:
      https://xenforo.com/community/thread...2/post-1291227
      Quote Originally Posted by XenForo.com
      As well as being able to share directly to various social media outlets, you can also copy a link to the content directly to the clipboard.

      What's better is that this share control is written in a fairly generic way so should add-on developers want to add this to their own add-ons it is very simple to do so.
      Here's how the template side of things is setup for forum posts in post_macros template. The important bit is the "share-tooltop" element handler and the data-href parameter.
      Code:
      		<a href="{{ link('threads/post', $thread, {'post_id': $post.post_id}) }}"
      			data-xf-init="share-tooltip" data-href="{{ link('posts/share', $post) }}"
      			rel="nofollow">
      			<xf:fa icon="fa-share-alt"/>
      		</a>
      Which calls the XF:Post controller's share action. And then XF\Pub\Controller\Post's actionShare calls \XF\ControllerPlugin\Share.

      Thoughts/comments?

      N.B. This feature suggestion is related to #5518 but different, as I'm talking about changes to VaultWiki section links, not the sidebar.

      Unrelated: Also adjacent to the section link icon is the top link which duplicates stock XF2.0 functionality (please see my #5156 reply for details).
    Issue Details
    Issue Number 5609
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Social Media
    Status Implemented
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.1.0 Alpha 1 Public
    Implemented Version 4.1.0 Alpha 3
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Votes for this feature 1
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 11, 2019 1:08 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      The 'anchor' link is outdated. XenForo 2.1 has a 'share' button with a sharing interface. One of the option is a anchor link. This works much better.
      Please implement this for VW as well.
      Reply Reply  
    2. March 12, 2019 1:18 PM
      pegasus pegasus is offline
      VaultWiki Team
      Implemented in Alpha 3. In XenForo 2.1, the anchor link will open the sharing interface.
      Reply Reply  
    3. March 12, 2019 1:25 PM
      ACL ACL is offline
      Regular Member
      Awesome .

      In line with this XF2.1 change, it would be great to change the fa-anchor icon to fa-share-alt (f1e0), if you haven't already done so.
      Reply Reply  
    4. March 12, 2019 6:55 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Yes, please use fa-share-alt
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:36 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.