I am using my forum as an area for families to create "Tributes" for loved ones who have passed away. I want to add in the reply section a "Give a Gift" icon so that anyone who is replying to a tribute can add a gift. I see that on each "my page" when someone is going to comment there is an option to "give a gift" I basically want to duplicate that idea in the forum area. If anyone can give me some ideas on how to do this I will be so grateful. My website is www.rememberu4ever.com. If anyone would like to look at I can send an invite to you as I have it set on private while I am building it. Thank you so much NC's!
Tags:
Permalink Reply by George H. Compton IV on September 19, 2012 at 6:03pm the easiest way to do that would be to add this line of code to the top of the discussion. You just select the edit discussion button and paste this code above everything else.
<a href="http://rememberu4ever.com/gifts/item/list?xg_source=pemb">Give a Gift</a>
as you can see there now is a give a gift button underneath the Discussion creator profile picture
I'm sorry I couldn't find a easier way for you to make that happen.
Permalink Reply by Jennifer Peterson on September 19, 2012 at 6:09pm I actually did that too on another tribute I did. Thank you for trying I was really wanting to have it on the comment wall that comes up on its own on every tribute. If you end up having any ideas on how to do that it would be great. Thank you so much for your help.
Permalink Reply by George H. Compton IV on September 19, 2012 at 6:15pm I will keep working on it on my own :-) to do that it's going to take a JavaScript code. I'm not the best with Java but I do do some Java code writing. I'll see what I can do but I know there's creators on here That Work miracles with JavaScript. Hopefully one of them see this discussion and give you a hand. With a little luck I'll come up with the code for you :-).
You have a great evening
Permalink Reply by Jennifer Peterson on September 19, 2012 at 6:51pm Thank you so much ;-)
Permalink Reply by George H. Compton IV on September 19, 2012 at 6:57pm try contacting jen she writes awesome JavaScript codes. she may already have one for that. and if not she'll send you in the right direction :-)
Permalink Reply by Jennifer Peterson on September 19, 2012 at 7:43pm Thank you I signed up on Jen's website! I will see what they may have written already. Thanks again.
Permalink Reply by George H. Compton IV on September 19, 2012 at 7:58pm You're welcome Jennifer :-) you have agreed evening :)

Thanks George. I sent Jennifer to TJ. He's the best with JavaScript, blows me out of the water. ;-)
Permalink Reply by George H. Compton IV on September 19, 2012 at 9:45pm Welcome Jen & thank you :)
and Jennifer my last reply Should've said "you have a great evening :)" lol
Permalink Reply by Jennifer Peterson on September 19, 2012 at 9:54pm lol you have a great evening too :)

Use this code in Custom code box. This gift icon will be shown under the share icons.
<script type="text/javascript">
x$(document).ready(function(){
if (x$(".xg_widget_forum_topic_show").length > 0)
x$(".share-links").after('<a class="xg_sprite xg_sprite-gift" href="/gifts/item/list">Give a Gift</a>');
});
</script>
Permalink Reply by Jennifer Peterson on September 20, 2012 at 10:11am Thank you so much Bernard! It worked in the icon area on the post page. Have a great day! And look forward to working with you in the future with other things I need help with.
sho allan replied to Alex's discussion 'More styling in the Design Studio'
Fire-Tech replied to Alex's discussion 'More styling in the Design Studio'
Allison Leahy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
Liliana Parra replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
Allison Leahy replied to Dw Alternatio's discussion 'Any way to change to a 3.0 network?'
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'© 2013 Created by Ning.
