Current status of the Ning Platform is always available on the Ning Status Blog.

Change what's in red by your code of advertising, be displayed at blogs, videos, forums and photo

Code within a text box

<div style="margin: 0 auto; width: 100%;">
<div style="width: 70%; float: left; margin: 0px 0px 0px 0px;">
<div id="noticia" style="font-size: 11px;"></div>
<div id="noticia2" style="font-size: 9px; color: #000000;"></div>
</div>
<div id="imagen" style="width: 15%; float: right; margin: 0px 0px 0px 0px;"></div>
</div>
<div style="clear: both;"></div>

Within custom code

<!-------------------------------------Ads for men-------------------------------->

<script type="text/javascript">
if ((ning.CurrentProfile.gender == "m")) {

x$("#noticia").html("<p align='right'></br>Hola,<B> "+ning.CurrentProfile.fullName+"!</B><br>Encontramos amigas<br>entre "+(ning.CurrentProfile.age - 3)+" y "+(ning.CurrentProfile.age + 3)+" años<br>de tu localidad "+ning.CurrentProfile.location+"</br>(<a href='http://YOURWEB.com/profiles/members/search?name=&age_min="+(ning.CurrentProfile.age - 3)+"&age_max="+(ning.CurrentProfile.age + 3)+"&gender=f'>Agrégalas, Click Aquí</a>)</p>");

x$("#noticia2").html("</br><p align='left'><a href='http://YOURWEB.com/photo?sort=mostPopular'>Ver Perfiles al Azar</a></p>");

x$("#imagen").html("<a href='http://YOURWEB.com/profiles/members/search?name=&age_min="+(ning.CurrentProfile.age - 3)+"&age_max="+(ning.CurrentProfile.age + 3)+"&gender=f'><img src='https://storage.ning.com/topology/rest/1.0/file/get/11390619?profile=original' align='right' width='50' /></a>");

}
</script>

<!-------------------------------------Ads for women -------------------------------->

<script type="text/javascript">
if ((ning.CurrentProfile.gender == "f")) {
x$("#noticia").html("<p align='right'></br>Hola,<B> "+ning.CurrentProfile.fullName+"!</B><br>Encontramos amigos<br>entre "+(ning.CurrentProfile.age - 2)+" y "+(ning.CurrentProfile.age + 4)+" años<br>de tu localidad "+ning.CurrentProfile.location+"</br>(<a href='http://perucool.com/profiles/members/search?name=&age_min="+(ning.CurrentProfile.age - 2)+"&age_max="+(ning.CurrentProfile.age + 4)+"&gender=m'>Agrégalos, Click Aquí</a>)</p>");

x$("#noticia2").html("</br><p align='left'><a href='http://perucool.com/profiles/members/?sort=random'>Ver Perfiles al Azar</a></p>");

x$("#imagen").html("<a href='http://perucool.com/profiles/members/search?name=&age_min="+(ning.CurrentProfile.age - 2)+"&age_max="+(ning.CurrentProfile.age + 4)+"&gender=m'><img src='https://storage.ning.com/topology/rest/1.0/file/get/11390643?profile=original' align='right' width='50' /></a>");

}
</script>

<!-------------------------------------Ads for unregistered-------------------------------->
<script type="text/javascript">
if ((ning.CurrentProfile == null)) {

x$("#noticia").html("<p align='right'></br>El <B>Perú</B> es una gran Marca, Conoce la Comunidad mas Grande de Peruanos, Registrate y Comparte tu Orgullo.</br></p>");

x$("#noticia2").html("</br><p align='left'>Registro Gratuito, <a href='http://perucool.com/main/authorization/signUp'>Click Aquí</a></p>");

x$("#imagen").html("<img src='https://storage.ning.com/topology/rest/1.0/file/get/11390639?profile=original' align='right' width='50' />");

}
</script>

I hope to serve them for their networks.

With creativity and learning basic sentences (conditional) of javascript, you can customize your message for both gender and age:


Left .. Ad men ad women right ---

For example here shows pictures of girls if male, and redirects the delimiting members searching their age ..

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • NC for Hire

    Nice tip!

    SP

    • just a small query not sure if you can help. many advertisers ask me for billing as per number of cpm delivered instead of a flat  fee for banner ads.. is there any possibillty to deliver that on ning (even if via third party)

  • That is a cool tip, can the same be used for country based targeting (on a broad level like asia, usa, uk, africa, europe) provided you have asked your members about it in the profile info ? 

    • You can segment, according to the data the user has in their profile ..

      To see what data you can use .. right click .. see source code ... And look at this section: (check the image)

      With a little javascript and you could segmented by age, gender, locality, country ... =).

      To find the number of visits that has the banner is simple .. use google shortener that gives you exact numbers of people who opened for link.

      3229888?profile=RESIZE_1024x1024

  • Esto funciona también para redes en Ning 3.0? Y si es así el código va en el modulo o en el tablón de códigos.

    Gracias.

    • tal cual esta, no funciona para Ning 3.0.. aunque claro haciendo ciertas modificaiones funcionaria perfectamente.

  • Thanks for sharing a wonderful tips that I can used.

    In my site the code for men is not working. Can you please elaborate on this?

    • If it works, just delete the section that stood unregistered, was poorly made​​.

  • what exactly do I change the red info 2 what am I adding in there?

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Kathleen (SunKat) updated their profile
Feb 20
Scott Bishop posted a discussion
OMG! AI does it all. Anything you want to light up your Ning site, just ask Google AI. That's what…
Feb 5
Scott Bishop replied to Alex - Rosas † Negras's discussion
HTML Browser Popup Window Generator,possible with a click to have the window open for ning or other pages, this is my example
"Where at in a 3.0 website do you paste the code to? "
Feb 3
Scott Bishop replied to George H. Compton IV's discussion
(Ning 2 and 3) welcome / sign-in and sign-up pop-up module. Updated Aug 24, 2017
"Hi George, I'm not sure if this tip has been outdated or for some reason it's not working on my…"
Feb 3
Eva updated their profile
Jan 28
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"https://community.surfoutlook.com/
However, it's been solved. Ning helped me out with it. "
Jan 27
Alex - Rosas † Negras replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I don't remember your site, I'll check for you, can I have the link?"
Jan 26
Scott Bishop replied to ⚡JFarrow⌁'s discussion
🖼️ Improve Accessibility & SEO on Your Ning Photo Pages by Automatically Adding ALT Text from Photo Titles
"On your step 3 where you say "Paste in the script below", I'm not finding that. Did you forget to…"
Jan 25
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I think that setting was switched over to Admin as a default when I converted from 2.0 to 3.0…"
Jan 25
Alex - Rosas † Negras replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"settings members must post, if you put ADMIN it is FORBIDDEN TO PEOPLE"
Jan 25
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I got an answer back from Ning Support within an day. It was a setting that somehow slipped out of…"
Jan 22
Scott Bishop posted a discussion
I just realized that my members can no longer post pictures, videos, blogs, events, or anything…
Jan 21
More…

Meanwhile, you can check our social media channels