display the publicize admin data on the front end profile
You can use Social Links to display Publicize profile data on the front end of your site:
http://jetpack.me/support/social-links/
allow for the users to connect their fb and twitter profiles to it
I’m afraid you’d have to replicate the complete Sharing screen in order to do that. You can check this file to see how we built the setting screen:
https://github.com/Automattic/jetpack/blob/2.9.3/modules/publicize/ui.php
Just messed around with this and I am having no luck. I followed the social-links article and added
add_theme_support( 'social-links', array('facebook', 'twitter', 'linkedin', 'google_plus', 'tumblr',) ); to my theme/functions.php.
Then I added this on the profile page to make it display.
<a href="<?php echo esc_url( get_theme_mod( 'jetpack-facebook' ) ); ?>">
<?php _e( 'Facebook', 'textdomain' ); ?>
</a>
All I am getting is a Facebook link on the page with an empty href.
Ok, to resolve this issue…
I just made a link to the publicize update page for the authors.
I then used the Admin Menu Editor plug in to remove access from everything except for the sharing settings on the back end.
I then installed the Disable Admin Bar and ToolBar plugin to hide the Menu bar on the back end, as well as update it so that it looks more official with my site.
Finally, I then edited the wp-amdmin/menuheader.php file to hide the left side menu for non super admins. I did this by setting the width to 0 and visibility to hidden. I probably didn’t have to do both, but I did.
Its not the most ideal way to do it, but it will work just fine.
@jeremy Herve
This looks promising!
I looked into the github file but not sure how to implement it.
Can you give clearer step by step how to’s on that?
Do you need to use both social-links and the php file?
Where do you put the php file?
how do you create the actual page for user submission?
This is exactly what I’m looking to do.
thanks!
@manakio2k If you want to to display Publicize profile data on the front end of your site, you can follow the instructions here:
http://jetpack.me/support/social-links/
You can also look at how I implemented it in my own theme here:
Thank you Jeremy,
I’m not as knowledgeable as you are with this stuff. Is it complicated or can you help me with a specific step by step?
Adding Support – does not say where to put this code
Using the information – where does this go?
Don’t know where to put this:
https://github.com/jeherve/pinkman/blob/master/inc/jetpack.php#L30
Don’t know where to put this:
https://github.com/jeherve/pinkman/blob/master/header.php#L25
Do I need to create a page called “Publicize”?
I have several ‘Member’ levels above Author. They all have different names but they are basically clone’s of ‘Author’.
Your help making this work would be phenomenal!!
@manakio2k The links I posted above are only useful if you’d like to display Publicize profile data on the front end of your site. It won’t allow your users to set up Publicize connections from the front end.
If you want to do so, you’ll need to create your own Sharing screen, based on the one created in Jetpack:
https://github.com/Automattic/jetpack/blob/2.9.3/modules/publicize/ui.php
Another alternative would be to follow the steps @awwnuts described above:
http://wordpress.org/support/topic/setting-up-pubicize-for-front-end-profiles?replies=8#post-5474312