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&#39;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">&lt;<a href="mailto:clements@galaxyproject.org">clements@galaxyproject.org</a>&gt;</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&#39;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 &quot;subscribe&quot;, &quot;new topic&quot;, and &quot;reply&quot; 
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>


<p>
</p><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><p>
</p><h2>Changes Made</h2>
<span></span><span></span><p>
</p><h3>Remove New Topic Links</h3>
<span></span><span></span><p>We don&#39;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 &quot;You cannot post here&quot; <span></span><span></span></p>


<p>
</p><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>&lt;n.new_topic_action_link/&gt;</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><p>
</p><h3>Replace Subscribe Links</h3>
<span></span><span></span><p>Nabble&#39;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><p>
</p><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>&lt;a
 href=&quot;[n.subscribe_path/]&quot; class=&quot;[n.class/]&quot; rel=&quot;nofollow&quot; 
title=&quot;[n.title/]&quot;&gt;&lt;n.default. to=&quot;[t]Subscribe via 
email[/t]&quot;&gt;&lt;n.text/&gt;&lt;/n.default.&gt;&lt;/a&gt;</tt> <span></span></p></li></ul>with this line: <span></span><ul><li style="list-style-type:none"><p>
<tt>&lt;a
 href=&quot;<a href="http://lists.bx.psu.edu/listinfo/galaxy-announce" target="_blank">http://lists.bx.psu.edu/listinfo/galaxy-announce</a>&quot; 
class=&quot;[n.class/]&quot; rel=&quot;nofollow&quot; title=&quot;[n.title/]&quot;&gt;&lt;n.default. 
to=&quot;[t]Subscribe to 
Galaxy-Announce[/t]&quot;&gt;&lt;n.text/&gt;&lt;/n.default.&gt;&lt;/a&gt;</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><p>
</p><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>
<p>
</p><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>