a - FORUM - Ning Creators Social Network2024-03-29T12:12:02Zhttps://creators.ning.com/forum/topics/feed/tag/aNing 3.0 Tip: Add " Add A Discussion" button next to " View All" button.https://creators.ning.com/forum/topics/ning-3-0-tip-add-add-a-discussion-button-next-to-view-all-button2013-03-27T11:15:35.000Z2013-03-27T11:15:35.000ZBernard Lamahttps://creators.ning.com/members/BernardLama<div><p>Hi NCs, </p>
<p>I hope many of you have noticed that there is no "Add a Discussion " link next to " View All" link on forum module ( Main Page Ning 3.0). So I though it would be nice if I share this tip with you folks. </p>
<p>So here you go:</p>
<p>Simply copy and paste the following code into Custom Code. </p>
<p><span style="color: #ff0000;">Note: If you are looking for a person to customize your site, I'm available for hire. You may want to check my profile or you can directly contact me via my email id bernardmax2@gmail.com</span></p>
<p><strong><span style="color: #ff0000;">Try <a rel="nofollow" href="http://www.ksnonline.org/help" target="_blank">Private help full support</a></span></strong></p>
<div style="padding: 5px; border: 1px solid black; background-color: #dadfe9;">
<p><span style="text-decoration: underline;"><strong><span style="color: #ff6600; text-decoration: underline;">The Code " Updated 13/4/13 "</span></strong></span></p>
<p><!-- CUSTOM ADD A DISCUSSION AND VIEW ALL BUTTON by Bernard Lama--></p>
<p><script type="text/javascript"><br> x$('.span11.column .discussionListPage').after('<div class="add_discussion"><a href="/forum/discussion/new">Add a Discussion</a></div>');<br> </script></p>
<p><style><br> .add_discussion{<br> margin-bottom: -30px;<br> }<br> .span11.column .pull-right a,.add_discussion a, .add_discussion_page a{<br> color: #fff!important;<br> text-decoration: none;<br> font-weight: bold;<br> line-height: 1.4545em;<br> text-shadow: 0 -1px #00629c;<br> text-align: center;<br> background-color: #0079c1;<br> background: -moz-linear-gradient(center bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);<br> background: -webkit-gradient(linear,left bottom,left top,color-stop(0%,#0079c1),color-stop(20%,#0079c1),color-stop(100%,#00a1ff));<br> background: -webkit-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);<br> background: -ms-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);<br> background: -o-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);<br> background: linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);<br> -moz-box-shadow: 0 1px #4dbeff inset;<br> -webkit-box-shadow: 0 1px #4dbeff inset;<br> box-shadow: 0 1px #4dbeff inset;<br> -webkit-border-radius: 5px 5px 5px 5px;<br> -moz-border-radius: 5px 5px 5px 5px;<br> border-radius: 5px 5px 5px 5px;<br> border-color: #0079c1 #00588b #004b77;<br> border-style: solid;<br> border-width: 1px;<br> height: 1.4545em;<br> padding: 7px 15px 8px;<br> -moz-box-sizing: content-box;<br> -webkit-box-sizing: content-box;<br> box-sizing: content-box;<br> cursor: pointer;<br> }<br> </style><br> <!-- CUSTOM ADD A DISCUSSION AND VIEW ALL BUTTON by Bernard Lama--></p>
</div>
<p> </p>
<p><span class="font-size-3"> <span style="color: #339966;" class="font-size-4">Preview:</span><a href="http://storage.ning.com/topology/rest/1.0/file/get/554640?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/554640?profile=original" width="662"></a></span></p></div>