Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The "shared link" comes from a news aggregation site powered by a premium theme onenewspremium.
- See http://ericulous.com/onenews/ and hover over a link
- You will see a tooltip with sharing links
- On a test local install i have had the tooltip adapted to share the links on a multisite
- See image http://imgur.com/6ggv89f
- Clicking on the ruby brings up http://imgur.com/jE3hUzD and clicking on "Home Place" effects the transfer and so far so good the transfer is inserted as a post in the users pblog - its the buddypress part that appears not to follow through. Posts inserted this way are not recorded in activity.
- Hence my interest in bp_activity_add
- The relevant code is an entry in the file simplepie_wordpress_2.php *(of this theme) to place the image.
- (see http://pastebin.com/cmmt26e2 for complete file and go to/ find Social Icons to see the code below)
- <a class="addthis_button" addthis:url="' . $permalink . '" addthis:title="' . esc_attr($title) . '"><img src="http://tsourclace.dev/wp-content/themes/styleruby-news2/includes/images/inwsrbyblgs2.png"></a>
- and
- Then there is is another file I have had an addition made
- see http://pastebin.com/iwBqQkNB
- * this appears to be an slightly reconfigured version of the file simplepie_wordpress_2.php from the plugin https://wordpress.org/plugins/simplepie-plugin-for-wordpress/
- Frankly, while I would really really like to be able do this - it is a bit (or way) over the top!!
- Why ?
- Because actually visiting the links and using bp-bookmarklet (https://wordpress.org/plugins/bp-bookmarklet/) (just truly unbelieveably awesome) by imath is the complete solution.
- Still if you can shed any light, getting these posts recognised in activity, or using bp_activity_add to insert them in activity, i would be absolutely thrilled!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement