[Scandal's] xF Glossary

[Scandal's] xF Glossary 1.0.0 Beta

No permission to download
That actually worked... Which is strange since all addons have the upload folder inside the zip
Nervous Tea Time GIF by VH1
 
I have questions about features resp. feature suggestions:

1. Permission to post entries directly without approval (for specific user groups) - at the moment it seems even with glossary moderator permissions, I even have to approve my own entries.

2. Multiple alternative terms for an entry so that it is not necessary to make several entries with the same text
 
I have an issue importing a csv file. I prepared a CSV file as described in the instructions. It has 550 entries. I fixed a few issues after validating, but in the end I remain with this message without line numbers. Also I don't know what could make a term or value "invalid" so I don't know what to look for...

Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term.
Please enter a valid Term text.
Please enter a valid Term.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term.
Please enter a valid Term text.
Please enter a valid Term.
Please enter a valid Term text.
Please enter a valid Term text.
Please enter a valid Term text.
 
Last edited:
It would be awesome if words added to a glossary where highlighted in a users thread posts and hotlinked back to the glossary, if that was your suggestion I think it would be exceptionally useful.
Was this ever added?
 
Also I don't know what could make a term or value "invalid" so I don't know what to look for...
I broke the import into 12 pieces with appr. 50 terms each. Now 2 have no errors, the other up to 6. When I saved one with 5 errors as UTF-8-BOM instead of UTF-8, it increased to 7, saving with UTF-8 again, back to 5.

There are many characters like ō ú or ñ - that is hard to change because that is how the Japanese or Pali terms are written.

Another test: saving as ISO 8859-1 - now the count in the full file is down from 25 to 5 errors.

Now trying to import the parts, that check ok, and on import the same file throws one of those errors again. It is practically impossible to import my data into the glossary.
 
Last edited:
It really feels kind of arbitrary, what makes those errors appear. I tried a different file, from a different source. Now no special Characters except German "umlauts" are used. Also the term text is not enclosed in "". 50 entries, 2 errors, or one, of those mean the same entry:

Please enter a valid Term.
Please enter a valid Term text.

There are no empty lines etc.

When I enclosed the text (in the earlier files) in "", any ; inside would break the cell anyway. Those errors were given with line numbers and could be resolved easily. The "valid" stuff - really, I am out of ideas.... Not one term imported to far.
 
If there is a search in custom fields, like
search/?search=1&glossary_id=1&field[1]=AAA&field[2]=BBB&term=&text=

I have all posts with AAA or BBB content in my search results
That is, the OR condition

What should i change to fulfill the condition AND
I need condition AAA and BBB

Maybe i can change something in the addon code?
 
Maybe someone would like to discuss this with me?

I have a general understanding of the addon and here’s what I have done or could do:
  • Add Forums and Subforums: Create forums and subforums, and give threads custom fields.
  • Add custom fields to index, add search for custom fields, add quick search for thread titles, and maybe for custom fields, add default values for custom fields (the addon from Painpaker needs to be morre functions btw), add sorting custom_fields, add manipulation of mass custom fields.
  • List Threads by First Character: Use the Xenmade addon to list threads by their initial character.
  • Prefix Addon: Install the prefix addon from AV by XON. It supports multi-prefixes, is fast, and requires fewer queries compared to others, which I’ve found to be query-intensive.
  • Change Forum Display: Modify the way forums are displayed, similar to this example: XenCafe Wiki
  • Wiki Addon: Implement a wiki addon. There are several free or purchasable options, but most don’t meet all the needs for a comprehensive wiki or glossary. I’ve created my own, which is very simple and effective for allowing moderators and helpers to work on it.
  • Add the "note on edit"-addon from Ozzy.
Additionally, there are various small helper add-ons for repeating messages, managing moderated and deleted posts/threads, and other functions. I won’t go into details at the moment.

My question is: What can I achieve with this glossary that I cannot accomplish with XenForo alone? Please don’t misunderstand me—everyone who creates addons deserves respect for their work. However, as a forum admin, I need to determine the best way to solve tasks, and I may not fully grasp all the benefits of this addon. My only goal is to find the best solution for real-world forums.

All these steps above needs some money, maybe around 100$, some time, some brain, but you can do a really nice wiki with this.
Any discussion is welcome, maybe in another thread. Sorry, I dont want to disturb here.

And the discussion should go on! What if we have a glossary, wiki, dictionary, we want to use to learn? Then we need addons who ask questions, make lists, lists with a value and an answer, or points for correct answers. I guess, i have a good solution for this wiki thing now, but there are many things to do for the topic learning!
 
It really feels kind of arbitrary, what makes those errors appear. I tried a different file, from a different source. Now no special Characters except German "umlauts" are used. Also the term text is not enclosed in "". 50 entries, 2 errors, or one, of those mean the same entry:

Please enter a valid Term.
Please enter a valid Term text.

There are no empty lines etc.

When I enclosed the text (in the earlier files) in "", any ; inside would break the cell anyway. Those errors were given with line numbers and could be resolved easily. The "valid" stuff - really, I am out of ideas.... Not one term imported to far.
For import error from CSV file, try this:

In the addon file: Admin/Controller/AdminCP.php

Find:
PHP:
protected function process_import_text_field($string)
{
    $string = (string) $string;
    return iconv(mb_detect_encoding($string, mb_detect_order(), true), "utf-8", $string);
}

Replace:
PHP:
protected function process_import_text_field($string)
{
    $string = (string) $string;
    $string = mb_convert_encoding($string, 'UTF-8', 'UTF-8');
    return $string;
}
 
Currently testing the addon on 2.2.16P2. Until now very likable with some flaws. I ran into the same errors and random behaviours as @voom when importing or validating a csv:
Please enter a valid Term.
Please enter a valid Term text.

There are no empty lines etc.
The hint from @Ugurtb
For import error from CSV file, try this:
solved this for me.

It is a bit of an annoyance that these errors get logged in the server error log, even when just validating a csv and not event trying to import:

Bildschirmfoto 2024-08-27 um 10.51.05.webp
The more, as the errors do not lay out what the real problem was and neither does the error message in the plugin ui itself. However, the workaround works and in my case imports won't happen often, so I can live with it, despite not liking the behaviour.

I also strongly support this feature request:

I have questions about features resp. feature suggestions:

1. Permission to post entries directly without approval (for specific user groups) - at the moment it seems even with glossary moderator permissions, I even have to approve my own entries.
Because the current behaviour is absolutely annoying, the more as you cannot batch approve but have to set the checkbox one by one for each entry. Absolutely annoying when you create a lot of entries. A permission to set selected people to autoapprove would be awesome and very helpful.

Also this
It would be awesome if words added to a glossary where highlighted in a users thread posts and hotlinked back to the glossary, if that was your suggestion I think it would be exceptionally useful.
would be a game changer, though I can imagine it would be a lot of work.

Also, before putting a lot of work into creating glossaries it would be good to know if the addon works on 2.3 and if it continues to be maintained - again, others have asked this before:

Will this be updated for 2.3 ?
The last post from @Scandal in this thread dates from Dec 2021, so 2,5 years ago and a lot of questions have been left unanswered since then. The addon itself dates from Sept 2020, so four years ago and has only seen one single release, the current 1.0.0 beta, which was never superseeded by another beta or a final release.

@Scandal is still active in the forums here, so there ist hope. Would be good to get a response (or even an updated release) as I really like the addon and it seems to be the only glossary addon anyway. So absolutely vital to at least know if it continues to be working in 2.3.
 
Further outcome from testing:
• What is utterly brilliant is that the Glossary search - in opposite to the standard search - will find expressions of two or three letters, so very helpful for defining/searching acronyms and abbreviations.
• not so brilliant is, that the contents of the glossary seem not to be included when using the XF standard search.

But if I had to choose between the two I would clearly go for the current implementation, so I can live with the current caveat.
 
It would be awesome if words added to a glossary where highlighted in a users thread posts and hotlinked back to the glossary, if that was your suggestion I think it would be exceptionally useful.

would be a game changer, though I can imagine it would be a lot of work.
Replying to myself: It would be manual definition work initially but could possibly be achieved with this (paid) addon:

 
This is so impressive. I'd pay for an upgraded version of this add-on compatible with XF 2.3
There has been no feedback that it would not run on 2.3 (but also none that it would), neither from users nor from the developer. So how do you know that it will not run on 2.3?
 
There has been no feedback that it would not run on 2.3 (but also none that it would), neither from users nor from the developer. So how do you know that it will not run on 2.3?
Prior to installing any plug on my own forum, at minimum I expect to see it running live somewhere…. The fact that the feedback is absent is for me a red flag.
 
Back
Top Bottom