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!

Views: 207

Reply to This

Replies to This Discussion

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.

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.

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

Thank you so much ;-)

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 :-)

http://creators.ning.com/profile/NingDirectoryJen

Thank you I signed up on Jen's website! I will see what they may have written already. Thanks again.

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. ;-)

Welcome Jen &  thank you :)

and Jennifer my last reply Should've said "you have a great evening :)" lol

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>

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.

RSS

Latest Activity

sho allan replied to Alex's discussion 'More styling in the Design Studio'
"nice job!!!"
50 minutes ago
Fire-Tech replied to Alex's discussion 'More styling in the Design Studio'
"Good job! I would suggest a check box to move the ningbar to the bottom of the page when…"
6 hours ago
Allison Leahy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Hi Peggy! Sorry for the slow response here. The designers used Eagle for the headlines and Gotham…"
7 hours ago
Liliana Parra replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Mine is here... Disaster Risk Management (Spanish) http://gestiondelriesgo.ning.com/"
7 hours ago
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Absolutely! Thanks for bringing it to my attention, and for your patience as always."
7 hours ago
Allison Leahy replied to Dw Alternatio's discussion 'Any way to change to a 3.0 network?'
"Hey Dw, So glad to hear you're interested in checking out the redesign! Make sure that after…"
7 hours ago

NC for Hire
Jen replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Thanks Allison. I have spent hours trying to fix this. That's great news!"
8 hours ago
Allison Leahy replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Just got the word that the release had no impact the mobile menu and a feature improvement has…"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service