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

eric1612 updated their profile
Wednesday
Tony A updated their profile
Aug 13
Tyler Masonry updated their profile
Aug 9
⚡JFarrow⌁ posted a discussion
I am trying to find just one working example of an app or utility that runs with the Ning API. No…
Aug 7
Eva updated their profile
Aug 2
Eva liked Steve C's discussion Ning's staff is in Kyiv. Keep them in your hearts.
Aug 2
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Aug 2
Chris Egg updated their profile
Jul 30
Eva liked Ning Support's discussion New feature added into Group Permissions
Jul 29
Arissa Seah updated their profile
Jul 27
APOSTLE TEYSHANA WILEY liked Ning Support's discussion New feature added into Group Permissions
Jul 25
Lady updated their profile photo
Jul 23
More…

Meanwhile, you can check our social media channels