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 Social Network to add comments!

Join Ning Creators Social 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

Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Cindy,
Thanks for the nice words, we are doing our best to make Ning 3.0 even more functional th…"
1 hour ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there!
We do appreciate your wish to help, thanks a lot!
As you have may seen from my previous c…"
1 hour ago
joseph wade burnley is now a member of Ning Creators Social Network
1 hour ago
Cindy Dean Mccoy replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I am so excited about Ning 3 being upgraded.  I look forward to the day Ning 3 has the features we…"
6 hours ago
Kyryl_Ning_Support replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Hi Claudio!
Our system administrators working on this issue at the moment, so the search should be…"
15 hours ago
Kyryl_Ning_Support replied to M.Tariq Malik's discussion "Network not launched yet" Error on vustudents.ning.com.
"Hi there!
Yes, the network should be back online.
Sorry for that.
Best regards,
Ning Team."
15 hours ago
Kos replied to M.Tariq Malik's discussion "Network not launched yet" Error on vustudents.ning.com.
"It's up and running in Firefox for me at 9:30 a.m."
16 hours ago
Claudio Acosta replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Similar problema tengo en mi red www.trabajoenelnea.com.ar, no funciona ninguna de las funciones de…"
16 hours ago
Ning via Facebook

#unitewithNING Facing routine? Ready to meet unknown Celtic traditions and growing Wisdom? :)…

Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi Silvia,
I hope you wish to join the beta test of the paid access as well, so I have sent you the…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hi there!
Thanks for supporting us and you willing to help!
I have sent some questions to you via p…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Hello Mike,
Thanks for responding.
I have sent you the private message to confirm some details.
Bes…"
yesterday
Olivia Salazar and alexandre gera joined Ning Creators Social Network
yesterday
Ceddy J replied to Kyryl_Ning_Support's discussion Paid Access demo version
"As always, I'm eager to help each other grow!"
Sunday
Sílvia Mota replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Meu contato: silviamota@silviamota.com.br"
Saturday
J.Ayvar replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Amazing News !<br/>

Our Site tin.dating Will be Perfect to test this New feature."
Friday
Kos replied to Kyryl_Ning_Support's discussion Paid Access demo version
"Matt the code in 2.0 is old, out of date and degrading over time - which is why they built 3.0.  3.…"
Friday
Mike Collins replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I'd like to be involved in looking at paid access demo please "
Friday
Harly replied to Ivy Williams's discussion Ning Roleplay Sites
Friday
Kyryl_Ning_Support replied to Dr. Krishna Kumari Challa's discussion I am unable to find discussions on my network when I search. Any solutions?
"Hi there,
We are sorry for this. Previously we have been fixing the search on each network separate…"
Friday
More…