<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That sounds great - thanks Dave!!<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>-hilmar</div><div><br><div><div>On Feb 8, 2012, at 2:06 PM, Dave Clements wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello all,<br><br>Done. It was easy. However, the subscribe links now point to <a href="http://gmod.org/wiki/GMOD_Mailing_Lists#Overview_Lists">http://gmod.org/wiki/GMOD_Mailing_Lists#Overview_Lists</a>, instead of directly to each list's subscribe interface.<br>
<br>Dave C.<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 10:56 AM, Dave Clements <span dir="ltr"><<a href="mailto:clements@galaxyproject.org">clements@galaxyproject.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All,<br><br>Note: Scott is probably the only one who will care about this.<br><br>When I started at Galaxy I created Nabble Archives for the Galaxy Mailing lists, just like I did at GMOD. Nabble archives are far better than Sourceforge or Mailman archives. They are threaded and easy to search. However, Nabble really wants to be a forum, not a mailing list archive. This has caused trouble over the years, with people wanting to subscribe/post/reply to the Nabble forum, which is not really connected to Mailman. This is irritating for them at best.<br clear="all">
<br>I just figured out how to fix this. I am attaching the description of how it was done. There is a page in the help desk wiki on Nabble. At some point my replacement should update that doc.<br><br>I'm going to take a peek at the GMOD Nabble archive and see if I can easily make the same changes there. If I can, I will do so.* I will let you know how it goes.<br>
<br>Cheers,<br><br>Dave C.<br><br>* The Galaxy and GMOD archives are structured differently. GMOD will either be much easier or much harder.<br><br><h1>NAML</h1>
<span></span><span></span><p>Nabble
markets itself as both a place for forums where you can post questions
and responses, and as an archive for existing lists. However, it really
wants to be a forum, and not an archive. The default behavior is to
include all sorts of stuff like "subscribe", "new topic", and "reply"
that we want to happen on the mailing list, not just on Nabble. <span></span><span></span></p><p><a href="http://naml.nabble.com/" target="_blank">NAML</a>, the markup language used to control page layout at <a href="http://nabble.com/" target="_blank">Nabble</a>, allows you to override this default behavior. It was far easier to figure out than I expected. <span></span><span></span></p><div>
<br class="webkit-block-placeholder"></div><h2>Navigating and Updating NAML</h2>
<span></span><span></span><p>To update the markup for a page, you must first login as the admin of that list. For the Galaxy lists, the user is <b><a href="mailto:outreach@galaxyproject.org" target="_blank">outreach@galaxyproject.org</a></b> <span></span><span></span></p><p>To get into NAML, <i>click</i> on <b>See how NAML generates this page</b> at the bottom of any page. From there you can navigate either by <span></span></p><ol type="1">
<li>clicking on Macro names in the code, to explore how things are called, or <span></span></li><li>clicking on the cog near the top of the page and either searching for text or for a macro by name. <span></span><span></span></li>
</ol><p>The
directions on this page describe both methods. However, once you know
the name of the macro to change, it is easier just to go their directly.
<span></span><span></span></p><div>
<br class="webkit-block-placeholder"></div><h2>Changes Made</h2>
<span></span><span></span><div>
<br class="webkit-block-placeholder"></div><h3>Remove New Topic Links</h3>
<span></span><span></span><p>We don't allow people to create new topics. However, Nabble still displays a link that says <b>New Topic</b>. If you click on it, it tells you "You cannot post here" <span></span><span></span></p><div>
<br class="webkit-block-placeholder"></div><h4>On Forum Landing Page</h4>
<span></span><span></span><ol type="1"><li><p><i>Click</i> on <b>See how NAML generates this page</b> <span></span></p>
</li><li><p><i>Click</i> on <b>view_standard_page</b> <span></span></p></li><li><p><i>Click</i> on <b>Override this macro</b> <span></span></p>
</li><li><p><i>Delete</i> the line (about line 9) that says <b><n.new_topic_action_link/></b> <span></span></p></li><li><p><i>Click</i> on <b>Save Changes</b> <span></span></p>
</li><li><p>Test it. The <b>New Topic</b> link should no longer appear. <span></span><span></span><span></span></p>
</li></ol><div>
<br class="webkit-block-placeholder"></div><h3>Replace Subscribe Links</h3>
<span></span><span></span><p>Nabble's
default subscribe links do a pseudo-subscribe where the user is not
actually subscribed in Mailman. This is evil. Instead replace those
links with links to the Mailman subscribe page. <span></span><span></span></p><div>
<br class="webkit-block-placeholder"></div><h4>On Forum Landing Page</h4>
<span></span><span></span><ol type="1"><li><p><i>Click</i> on <b>See how NAML generates this page</b> <span></span></p>
</li><li><p><i>Click</i> on <b>view_standard_page</b> <span></span></p></li><li><p><i>Click</i> on <b>options_action_menu</b> <span></span></p>
</li><li><p><i>Click</i> on <b>app_dropdown</b> <span></span></p></li><li><p><i>Click</i> on <b>menu_subscription</b> <span></span></p>
</li><li><p><i>Click</i> on <b>subscribe_link</b> <span></span></p></li><li><p><i>Click</i> on <b>Override this macro</b> <span></span></p>
</li><li><p><i>Replace</i> this line (line 2): <span></span></p><ul><li style="list-style-type:none"><p><tt><a
href="[n.subscribe_path/]" class="[n.class/]" rel="nofollow"
title="[n.title/]"><n.default. to="[t]Subscribe via
email[/t]"><n.text/></n.default.></a></tt> <span></span></p></li></ul>with this line: <span></span><ul><li style="list-style-type:none"><p>
<tt><a
href="<a href="http://lists.bx.psu.edu/listinfo/galaxy-announce" target="_blank">http://lists.bx.psu.edu/listinfo/galaxy-announce</a>"
class="[n.class/]" rel="nofollow" title="[n.title/]"><n.default.
to="[t]Subscribe to
Galaxy-Announce[/t]"><n.text/></n.default.></a></tt> <span></span></p></li></ul></li><li><p><i>Click</i> on <b>Save Changes</b> <span></span></p>
</li><li><p>Test it. The <b>Options → Subscribe via email</b> link should now be <b>Options → Subscribe to Galaxy-Announce</b> and should link to Mailman. <span></span><span></span></p>
</li></ol><div>
<br class="webkit-block-placeholder"></div><h4>On Other Pages</h4>
<span></span><span></span><p>Updating the <b>subscribe_link</b> macro above has the miraculous property of fixing the link everywhere. God bless those Nabble folk. <span></span><span></span></p><div>
<br class="webkit-block-placeholder"></div><h3>Remove Reply links on thread pages</h3>
<span></span><span></span><ol type="1"><li><p><i>Click</i> on <b>See how NAML generates this page</b> from any page <span></span></p>
</li><li><p><i>Click</i> on the <b>Cog Pulldown</b> near the top of the page and <i>select</i> <b>Search Macros</b> <span></span></p></li><li><p>
<i>Enter</i> <tt>reply_link</tt> in the search box. <span></span></p></li><li><p><i>Click</i> on <b>reply_link</b> and then <b>Override this macro</b> <span></span></p>
</li><li><p><i>Delete</i> the body of the Macro leaving the start and finish lines. </p></li></ol><span class="HOEnZb"><font color="#888888"><br><br>-- <br><a href="http://galaxyproject.org/" target="_blank">http://galaxyproject.org/</a><br>
<a href="http://getgalaxy.org/" target="_blank">http://getgalaxy.org/</a><br>
<a href="http://usegalaxy.org/" target="_blank">http://usegalaxy.org/</a><br><a href="http://galaxyproject.org/wiki/" target="_blank">http://galaxyproject.org/wiki/</a><br><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><a href="http://galaxyproject.org/" target="_blank">http://galaxyproject.org/</a><br><a href="http://getgalaxy.org/" target="_blank">http://getgalaxy.org/</a><br>
<a href="http://usegalaxy.org/" target="_blank">http://usegalaxy.org/</a><br><a href="http://galaxyproject.org/wiki/" target="_blank">http://galaxyproject.org/wiki/</a><br><br>
</blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; ">-- </span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; ">===========================================================</span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; ">: Hilmar Lapp -:- Durham, NC -:- <a href="http://informatics.nescent.org">informatics.nescent.org</a> :</span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; ">===========================================================</span></font></div><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>