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

Garfield Archivist replied to The Ning Team's discussion Acquisition Update
"Just found a new issue added to the "Known and Resolved Issues list""
54 minutes ago
Shadow replied to The Ning Team's discussion Acquisition Update
"also for any new to NING .. be careful of who you make admin to groups as well as members addys can…"
2 hours ago
Shadow replied to The Ning Team's discussion Acquisition Update
"Is this proper to do?wouldnt think so.. as we know those addys are private to our manage tab from o…"
2 hours ago
Edie2k2 replied to PeruCool's discussion Alternatives to Ning social network
"I just noticed that I put my reply in the wrong place. Sorry Janice."
4 hours ago
Kos replied to The Ning Team's discussion Acquisition Update
"If you're on a 2.0, you need to export your member CSV every quarter, at the very least so you can,…"
4 hours ago
ramsiel - Eva Dudková replied to The Ning Team's discussion Notice of Upcoming Price Changes to Ning 2.0 Networks
"HI  MATERIAL - COMMERCIAL NING:
 "když loď mého ducha narazí na útes hmoty, roztříští se útes na ku…"
4 hours ago
Edie2k2 replied to PeruCool's discussion Alternatives to Ning social network
"It started out free like Ning but the professional package is *gulp* $2999.00/mo Waaaaay out of my…"
5 hours ago
Roxanne Furlong replied to The Ning Team's discussion Acquisition Update
"I had no way of telling my members anything because the site was down. Sunday was a major event for…"
5 hours ago
Martin Buzz replied to The Ning Team's discussion Acquisition Update
"Well, I must say my site is working fine. I did not suffer downtime in the last time.I must have be…"
5 hours ago
Janice D Carter replied to PeruCool's discussion Alternatives to Ning social network
"Edie2K2, Thank you!  I have just started to check them out, just do not know if they can offer all…"
5 hours ago
Edie2k2 replied to PeruCool's discussion Alternatives to Ning social network
"I have been a member since Mightybell began. The co-creator of Ning, Gina Bianchini's creation. Her…"
5 hours ago
rusty69 replied to The Ning Team's discussion Acquisition Update
"De doo da doo da.....doo doo da deee"
6 hours ago
complience replied to The Ning Team's discussion Acquisition Update
"Im pleased to say my site is back operational however no explanation has been given for this latest…"
6 hours ago
The Builder :) replied to Boris Agranovich's discussion Change nofollow links to dofollow links
"Yes put in the Custom Code section.
links outbound will become nofollow.

or:
<meta name="robots" c…"
8 hours ago
ramsiel - Eva Dudková replied to The Ning Team's discussion Notice of Upcoming Price Changes to Ning 2.0 Networks
"AND AGAIN IN THIS MOMENT HERE IS AS MANY TIMES 
500: Unexpected Error
Please try reloading the page…"
8 hours ago
ramsiel - Eva Dudková replied to The Ning Team's discussion Notice of Upcoming Price Changes to Ning 2.0 Networks
"NING - YOU ARE REALLY STUPID WITH YOUR COMMERCIAL PRICES ...59 USD MONTHLY WHEN IN EVERY MOMENTS MY…"
8 hours ago
Suki Winthrop replied to The Ning Team's discussion Acquisition Update
""We can’t yet share the name of this company with you but will make an official announcement tomorr…"
8 hours ago
RJ Blanco replied to The Ning Team's discussion Acquisition Update
"TY...I GOT THEIR SUBCONTRACTORS...announcement tomorrow with more information .DO YOU HAVE INFO WHE…"
8 hours ago
RJ Blanco replied to The Ning Team's discussion Acquisition Update
"announcement tomorrow with more information.
WHAT TIME TODAY DO WE EXPECT THIS????????????"
8 hours ago
Writer Chick {Diane} replied to The Ning Team's discussion Acquisition Update
"That's not the fault of the new owners, though.  It is what it is.  She asked what to tell  her mem…"
8 hours ago
More…