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

Forum

NC for Hire

Hi all

Here is a simple tip to insert a "You Might Be Interested In ... " (call it whatever you like really) section at the bottom of all blog posts, sort of like we have Related Videos on the video module.

Here's how it looks:


What does it do? It pulls in the middle column modules from the blog page, e.g. Latest Blog Posts, Most Popular Blog Posts etc. In the example above it is pulling in the Latest Featured Blogs from the Featured blog posts page.

How to install it:

  • Add this script to your Custom Code box (also attached as a text file):
<!-- SP You Might Be Interested In -->
<script type="text/javascript">

x$(document).ready(function() {
x$('.xg_widget_profiles_blog_show .xg_module_with_dialog').append('<h2 class="interested">You Might Be Interested In ... </h2><div id="SPmoreblogs"></div>');
x$('.xg_widget_profiles_blog_show .xg_module_with_dialog #SPmoreblogs').load('/profiles/blog/list?promoted=1 .xg_widget_profiles_blog_list .xg_column.xg_span-4.xg_last .xg_module:contains("Latest Featured Blog Posts")');
});
</script>


The script looks for modules with certain headings on certain pages, so you can change the highlighted items to suit your needs.

  1. If you want the 'You Might Be Interested In ... ' to say something else then change the orange You Might Be Interested In ...
  2. If you want to load a module from the All Blogs page (rather than the Featured Blogs Page as I am using) then change /profiles/blog/list?promoted=1 to /profiles/blog/list
  3. If you want to load a box other than Latest Featured Blog Posts change it to whatever you want, e.g. Most Popular Blog Posts

 

  • Add this CSS to your Advanced CSS section in Design Studio, tweaking the bits that you need to

/*You might be interested font*/
.interested{

font-family:georgia!important;
font-style:italic!important;
font-size:24px;
color:#a10227!important;
margin-left:10px;
}

/*List items*/
#SPmoreblogs li {

background: #F9F9F9;
border: 1px solid #E4E4E4;
display: block;
float: left;
margin-right: 3px;
min-height: 58px;
padding: 5px;
width: 168px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
}

/*Removes border from module*/
#SPmoreblogs .xg_module{
margin-top:10px;
border:none;
}

/*Removes module header*/
#SPmoreblogs .xg_module_head{
display:none;
}

I hope this is of use. YOu can check out a live demo here.
Enjoy
SP

ps. this is for blogs only for now. Not had time to do the forum. Might get round to it at some point if no one else hacks it in the meantime.

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

Join Ning Creators Network

Replies

  • NC for Hire

    Another neat and clean tip. Thanks for sharing it SP.

  • Awesome Sp! thanks for sharing!! is it possible to use this trick on photos SP?

    • NC for Hire

      possibly, I might get round to it at some point, but not at the moment.

      SP

      • Ok i will try if i can get this right, please let me know if you get it right on photos :) thanks SP!

        • This reply was deleted.
          • NC for Hire

            if no one comes up with a hack then pm me next week :-)

        • NC for Hire
          Not tried to be honest. Might eventually ;-)
  • WONDERFUL!!

    Many thanks,

    Jords

  • This reply was deleted.
This reply was deleted.

Search the Creators Network

Latest Activity

Fire-Tech replied to Odino's discussion More space between modules
"Hard to say without seeing the site to check the code. If !important isn't working. Try to call it…"
9 hours ago
Kos replied to Odino's discussion More space between modules
"Did you try to increase the margin size in the code above?  Maybe someone else will chime in here b…"
12 hours ago
Odino replied to Odino's discussion More space between modules
"OMG I don't know why I wrote this, I'm sorry!!!!
I wanted to write: can I INCREASE the space betwee…"
15 hours ago
Kos replied to Poppili's discussion Have you heard of Mightybell ?
"Looks like posts, events and chat.  Very, very basic.  Nothing more are this point.  They're still…"
16 hours ago
Kos replied to Odino's discussion More space between modules
"You said you want a "little more" space.  Now you're saying you want to reduce.  I'm not sure which…"
19 hours ago
Odino replied to Odino's discussion More space between modules
"Thanks for the reply. 
Now my network is closed and private, so only members can log-in. 
So I atta…"
22 hours ago
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Yes, Ning itself was down for a few hours yesterday.  Could've been your problem.  Hopefully that w…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Ning still best platform I have gone spruz   its ok  but I personally dont like the platform as it…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Yes I have and took out my curser  too and  floating  gadget.  Well hopeful ppl will ty what I sugg…"
yesterday
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Apologies - just saw you tried that.  Again, not seeing anyone else with problems today, have you t…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Thanks and it has gone 99 percent smooth today,  Iknow it was down yesterday morning . hmm wonder i…"
yesterday
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Being a weekend, you won't hear until Monday afternoon, at the earliest.  The best you can do is re…"
yesterday
Kos replied to Odino's discussion More space between modules
"It's usually something like this but tough to be certain w/o looking at your site.  Give me your UR…"
yesterday
Garfield Archivist replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Just a little update about this whole "Ning hasn't provided an update in a year or over a year". It…"
Friday
SAMUEL QUELES replied to SAMUEL QUELES's discussion DIVULGAÇÃO DA REDE PARA ATRAIR MEMBROS in Criadores Brasileiros - Brazilian Creators
"Obrigado pessoal. Fiquei um bom tempo sem acessar a Creators, estou respondendo agora. Pensando bem…"
Friday
SAMUEL QUELES replied to SAMUEL QUELES's discussion Chat Spot: não consigo visualizar outro membro. in Criadores Brasileiros - Brazilian Creators
"Olá Keila!
Obrigado pela informação. Acabei adotando o skysa mesmo, o plano anual. É muito bom.
Qua…"
Friday
Ning via Facebook

Hi all! Early this morning (PDT) Ning Networks, http://ning.com/ and http://status.ning.com/

Lora replied to Garfield Archivist's discussion Network Creators Private Survey Results
"+1"
Friday
Eve replied to Garfield Archivist's discussion Network Creators Private Survey Results
"It was very distressing! I'd like to add that there is an alternate community of NING creators who…"
Friday
Garfield Archivist replied to Garfield Archivist's discussion Network Creators Private Survey Results
"Ning was down for several hours this morning with no access to even status.ning.com. This makes the…"
Friday
More…