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

Arissa Seah updated their profile
13 hours ago
APOSTLE TEYSHANA WILEY liked Ning Support's discussion New feature added into Group Permissions
Friday
Lady updated their profile photo
Thursday
bryant tutas posted a discussion
Cant figure out how to add playlists. All my loaded songs are in the same list and I don't see an …
Tuesday
Angie Breidenbach updated their profile
Jul 21
Ning Support posted a discussion
 
We’ve expanded Group Admin capabilities with a new permission: Delete Comments
Where to find it…
Jul 20
kostasgr liked Alex - Rosas † Negras's discussion I managed to add group video calling, if anyone is interested I will post the codes
Jul 8
Steve C replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Ning is based in California but operations are in Kyiv, Ukraine. Due to the war, operations may…"
Jul 6
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"⚡JFarrow⌁  
I'm working on the stories and I don't have time to work on the video call you just…"
Jun 28
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"if you want I'll give you the codes privately and we'll see if the two of us can make it perfect"
Jun 27
Eva and ⚡JFarrow⌁ are now friends
NC for Hire
Jun 25
⚡JFarrow⌁ replied to Eva's discussion
For three days now, my networks, Ning 2.0 and Ning 3.0, are incorrectly visible
"Ug... thats not right..  ill send you my phone number in messages and we'll talk it over."
Jun 24
More…

Meanwhile, you can check our social media channels