I am working on a way to add photos without leaving a page especially if you are on the activity feed. But for now here is just a very quick way to add a link to the activity feeds in the hompage and members page, also it adds a link above the members photo section.
It just shows as a link called Add Photo but you can style the link to make it like a button if you so wish to. The class for it to add styling in css is
a.OpenStatusAddPhoto
So here is the css for the link we are going to add
/* Open Photo Page*/
a.OpenStatusAddPhoto{ float:left;cursor:default }
a.OpenStatusAddPhoto:hover{ cursor:pointer }
/* Position of box in the member photo tabContainer section*/
.page-members .tabContainerSection-pane.section-member-photoEntries a.OpenStatusAddPhoto{ float:none;display:inline-block; margin:10px 0px }
And here is a little custom code ( You need to add the url for your own photo page and replace for mine which is in bold. )
Add this code to your custom code end of page section.
<script>
//Photo Add Quick Link
// Holding div for the link
x$('<div/>',{ class : 'OpenStatus-Links'}).appendTo('.js-statusForm.statusForm');
x$('<div/>',{ class : 'OpenStatus-Links'}).appendTo('.tabContainerSection-pane.section-member-activity.js-statusForm.statusForm');
x$('<div/>',{ class : 'OpenStatus-Links'}).prependTo('.tabContainerSection-pane.section-member-photoEntries');
//ADD LINK TO OPEN THE PHOTO PAGE
x$('<a href="http://bizzssite.ning.com/photos" class="OpenStatusAddPhoto" title="Add Photo/s">Add Photo</a>').appendTo('.OpenStatus-Links');
</script>
<script>
// Hide the add photo link if not a member
x$(document).ready(function() {
if(ning.CurrentProfile == null){
x$(".OpenStatus-Links").hide();
}
});
</script>
Replies
Augh. I'm doing something wrong but battling a fever today so that may be impeding my ability. Will try again once the fever's broken but thank you for sharing. You rock!
Kos what you did was correct as the links where there. I just adjusted the margins a little and made the link a whitesmoke color so it stands out in the activity feed sections and the members photos ( charts ). You can change the name to charts for the links and title if you wish to.