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!

        • Hey Mat, it would be really really cool to have this for friends! You may be interested in...and then it shows 3-4 members on random! This I would actually pay for if someone could tweak this

          • 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.

Search the Creators Network

Latest Activity

doone replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"That is a good sign that  he is no longer with Ning/Glam/Mode Media.  I wonder why Ning was even bo…"
8 minutes ago
Donna Mac replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"I hate to rain on everyone's parade but Phil's profile on linkedin indicates his "previous" employe…"
41 minutes ago
Julian Hughes replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"Its the end of Ning as we know it....its the end of Ning as we know it...and I FEEL FINE! To sum al…"
54 minutes ago
Jen replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"He's been Product Manager for years. But the fact his title was changed a little, and he's still wi…"
57 minutes ago
doone replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"The information about Phil and his role is heartening at least.   Thanks for sharing, Jen."
1 hour ago
Jen replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Good move. All I have to see is that Phil is now the "Head of Product" for Ning. This gives me a lo…"
1 hour ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
"Steve, I see your point of view.  Here is just one possible other view of many, and is only one pos…"
1 hour ago
steve replied to Allison Leahy's discussion What are you most excited about?
"I do get it, but then its just a case that we are dealing with a very confusing situation.
Accordin…"
2 hours ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
"Goodness. Are you being humorous, I hope?  Maybe I'm misunderstanding? 
SP, I will certainly give y…"
3 hours ago
Garfield Creator replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"500k actually. That's a lot of people. What a shame and there are new twilight shorts planned."
3 hours ago
SweetPotato replied to Allison Leahy's discussion What are you most excited about?
"Well my plugin will cater for that too, not that I expect any thanks from you :-)"
3 hours ago
Writer Chick {Diane} replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"The TWilight saga one is still there.  They've changed their domain name to thetwilightsagacommunit…"
4 hours ago
Tim Atkinson replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"I have also cc'd in Phil McCluskey, late of this parish...."
5 hours ago
Scott Bishop replied to Allison Leahy's discussion What are you most excited about?
"Could not have said that any better Strumelia. It's sad that N3'ers just don't get it. "
5 hours ago
Edie2k2 replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Hilarious. Strumelia you are wrong for making me laugh so hard. So wrong...smh *laughing* Right no…"
7 hours ago
Strumelia replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"My 4000 very active members are passionate about my 5 year old Network.
I persevere for their sake:…"
7 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"A new lonely response to some poor soul, from Ning on their FB page today:




Foxx B Crea
Yesterda…"
7 hours ago
Gary Cobb replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"Love your humour Strumelia.. and your passion and perseverance on Creators. "
7 hours ago
Strumelia replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"Gary, it's not just a UK thing-  you are not the first person to post here about that.  Yes it does…"
7 hours ago
Strumelia replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"Yep, pretty much dead as a doornail.
Check out the main page- too funny!-  their site banner reads…"
7 hours ago
More…