This post was updated on .
I don't know what happened, but all my NAML programation exist in Advanced Editor, but don't appear in Edit this Page as custom.
All my work to customize my forum was lost ? Nothing is working. I could not understand what happens. I think I need a restore from backup. Can you clear this problem ? Thanks, jorge http://astronomia-e-astrofotos.1069742.n5.nabble.com/ note: searching for the problem it seems something with macro topics_column. The error message says: macro or method for avatar-control not found. It crashs in instruction n.avatar_control group="A"/ There are no image of avatar in the forum. Something was lost or damaged. I did a test. I changeg the code of macro topics_column: <macro name="topics_column" parameters="width,title,count"> <n.table_column> <head> <td class="[n.column_default_border/] topics-column nowrap" style="[n.width_style.width/]"> <table class="avatar-table"> <tr> <td style="width:22px;border:none"> <n.avatar_control group="A"/> </td> <td class="nowrap" style="font-weight:bold;border:none"> <n.default. to="[t]Topics[/t]"><n.title/></n.default.> <span class="weak-color" style="font-size:80%;margin-right:1.7em">(<n.count/>)</span> </td> </tr> </table> </td> </head> The line now has tag for comments. You can see there, it is now as: <!-- <n.avatar_control group="A"/> -- > This line exist and is active in my forum to test NAML programation and it is not problem there. http://jsmtstnaml.23557.n7.nabble.com/ My NAML code is working partially, now, with this. But another error is showed in another macro: cell_link_and_star. I don't undestand. Something is corrupted im my forum. Many ressources I created with NAML to edit messages aren't woking, too. Please, restore from a backup if it is possible.
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil http://www.astronomia.pousadavilatur.com.br |
In my forum has also lost all the html and css settings
“El software libre construye una sociedad mejor“
"Free software builds a better society" — Richard Stallman |
This post was updated on .
In reply to this post by jsmoraes
Ok, now I understand what are happening: a new version of Nabble the column to avatar and star was removed. I agree with you, the star column is obsolete
http://support.nabble.com/Several-Customizations-now-gone-td7589680.html Avatar now is optional, good idea. But we need search for all customized macro that use or make reference to star to remove them. And at least one to avatar, in macro topic_column: avatar-control At Advanced NAML Editor, with search of the browser, search for: 1) avatar-control 2) n.star If found erase the lines that call them or use tags to comments as showed above. Am I right, Pedro ? At least my forum is working fine, now.... I hope
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil http://www.astronomia.pousadavilatur.com.br |
This post was updated on .
note: if you prefer use the option to show avatar in front of message and answers, the lines on macro topic_column with reference to avatar in section head e section body must be deleted.
<head> <td class="[n.column_default_border/] topics-column nowrap" style="[n.width_style.width/]"> <table class="avatar-table"> <tr> <!-- <td style="width:22px;border:none"> <n.avatar_control group="A"/> </td> --> <td class="nowrap" style="font-weight:bold;border:none"> <body> <n.current_node.> <td class="[n.column_default_border/]"> <table> <tr> <!-- <td valign="top" style="border:none"> <n.owner.avatar size="small" group="A"/> </td> --> <n.topics_column_start/> <td class="adbayes-content" style="width:100%;padding-left:.3em;border:none;word-break:break-word"> <n.if.is_app> The line n.topics_column_start controls the presence or not of avatar, now. If you want only avatar in front of the message, and not in front of the answers, you must don't select show avatar in add-ons and let the code on section body like this: <body> <n.current_node.> <td class="[n.column_default_border/]"> <table> <tr> <td valign="top" style="border:none"> <n.owner.avatar size="small" group="A"/> </td> <!-- <n.topics_column_start/> --> <td class="adbayes-content" style="width:100%;padding-left:.3em;border:none;word-break:break-word"> <n.if.is_app> note 2: all this is necessary only if you made any override in macros that have call to STAR and AVATAR. The default macro was changed by Nabble, but your override not !
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil http://www.astronomia.pousadavilatur.com.br |
Thanks for your explanation jsmoraes.
Are there anything wrong with your forums, juanete and jsmoraes?
My test forum.
|
This post was updated on .
The Star has gone missing from all forums!
How do I "remember" key messages now? It's a facility I use all the time. It's essential for finding those difficult to turn up in a search messages that I need to refer people to. I use it to store definitive answers to problems. I had over 60 pages stored, including all the key NAML edits that have been published and a host of other stuff I regarded as vital! It all seems to have gone! Aaaargh!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted. |
This post was updated on .
In reply to this post by Pedro
Pedro, my forum is working fine now, after the correction in codes of overrides.
I found the line n.star only in these macros: blog_post_header cell_link_and_star news_title_row I tagged them as comments. <!-- <n.star> --> They are macros that I did override. I don't know if there was this line in others macros. As I don't override them ... to me the default code is working fine.
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil http://www.astronomia.pousadavilatur.com.br |
Free forum by Nabble | Edit this page |