Go to Page... |
Compatibility: | Firesong (8.2.5) Lost Depths (8.1.5) High Isle (8.0.0) |
Updated: | 12/11/22 10:24 AM |
Created: | 07/22/22 09:40 AM |
Monthly downloads: | 169 |
Total downloads: | 6,171 |
Favorites: | 11 |
MD5: |
--Add this to your OnAddOnLoaded function if AddonCategory then AddonCategory.AssignAddonToCategory(addonName, AddonCategory.baseCategories.Combat) end
AddonCategory.baseCategories = { UserInterface = "User Interface", Trackers = "Trackers", Combat = "Combat", PvE = "PvE", PvP = "PvP", Util = "Util", Craft = "Craft", Housing = "Housing", Map = "Map", Class = "Class", }
File Name |
Version |
Size |
Author |
Date |
Type |
1.0.1 |
9kB |
08/19/24 10:40 AM |
Patch |
File Name |
Version |
Size |
Uploader |
Date |
1.5.2 |
8kB |
Floliroy |
12/10/22 11:39 AM |
|
1.5.1 |
8kB |
Floliroy |
12/09/22 06:22 AM |
|
1.5 |
8kB |
Floliroy |
12/07/22 10:53 PM |
|
1.4.1 |
8kB |
Floliroy |
11/02/22 04:26 AM |
|
1.4 |
68kB |
Floliroy |
10/25/22 03:34 AM |
|
1.2 |
8kB |
Floliroy |
10/24/22 03:04 AM |
|
1.1 |
8kB |
Floliroy |
07/22/22 12:57 PM |
|
1 |
82kB |
07/22/22 09:40 AM |
Comment Options |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
12/09/22, 04:40 AM | |||
|
Thanks. Totally understood @sub categories. As I said this is nice to have
Addon Selector already provides a "scroll to code". Basically it just reuses existing ZO_ScrollList functions which need the index or the dataTable entry (complete data table row for comparison). All one would need is the index in the ZO_ScrollList where you have added/inserted the category headlines, returned as a table e.g. { "Category Name 1" = index1, "Category name 2" = index2, ... } by your API then and one can use that with ZO's scroll list functions for whatever usage afterwards. -> I think the ZOs function that adds the categories to the scroll list actually returns the index where it was added/inserted somehow, so you could grab it from there. Not sure though
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
12/08/22, 07:59 AM | |
|
don't working
Lua Code:
|
|
t.vicson |
View Public Profile |
Send a private message to t.vicson |
Send email to t.vicson |
Find More Posts by t.vicson |
Add t.vicson to Your Buddy List |
12/08/22, 04:19 AM | ||
|
For the scroll to category yeah i guess it could be kinda easy if i find the good function to scroll to into addon list and then i can create an API function ! |
|
|
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
12/08/22, 04:06 AM | |
|
Hi, is there "technically" a way to create sub-categories to the categories?
Like UI -> Inventory UI -> Group etc. This would be awesome (but I know, it's kind of nice to have ). btw: If you want to and tell me how we can achieve this we can implement somehting into "Addon Selectors" search editbox (right click context menu -> "Scroll to category User Interface" or similar) and improve the search so that if one enters "User interface" or "Craft" (or any othe rof your defined categories) it will scroll there. One would need API functions to get the created categories and a way to find them in the addon list (maybe you povide a "scroll to category x" API already?) If not this would be awesome if you could add one, liek save the index at the addon list where you add the category into a table of your addon and return that table, together with the category name from AddonCategory.baseCategories.
Last edited by Baertram : 12/08/22 at 04:07 AM.
|
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
07/22/22, 12:08 PM | |||
|
But it may change depending on the usecase of each user. e.g. "Addon1" can be used for PvP and PVE. On NA I play PvP so the addon is in that category, on EU I do not play PvP and only got it in the PvE category -> Would not be possible with your current SVs. As your addon was a new one I just wanted to point that out before many users download and use it and before SV were created for the users. They would have to redo them all later on if you decide to change it. |
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
07/22/22, 11:55 AM | ||
|
Yes it's compatible with AddonSelector, but not 100% with Votans Addon List. About the GetWorldName() thing idk, imo addon will not change of category depending on the server you play. About the OnExpandButtonClicked yeah i just forgor as i did it on other functions. |
|
|
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
07/22/22, 11:03 AM | |
|
Thanks for this addon.
Please remove the .git GitHub files and any other hidden files and folders from the addons .zip file before uploading them! They always show as suspicious files and blow up the addon folder size unnecessary. Also if you create new addns please check the ## AddOnVersion: tag of the dependencies and add them to your dependsOn list: ## DependsOn: LibAddonMenu-2.0 -> This will load every version even if years outdated of LibAddonMenu-2.0 Please add the version check to the most current version: ## DependsOn: LibAddonMenu-2.0>=34 The 34 can be found at LibAddonMenu-2.0.txt file, tag ## AddOnVersion: Many thanks. Edit Just asking for myself: Is this addon compatible with Votans Addon List and Addon Selector or are there any plans to make them compatible? Edit2 Your SavedVariables do not respect the server you play on so this might get you into trouble. You should consider adding GetWorldName() to the SavedVariables so the save differently for EU, NA, PTS. Would make sense as not all addons will be the same on each server imo. Edit3 Please do not use global function names like "OnExpandButtonClicked" ! They are not unique and may overwrite other functions with same name that way. Either add your addon name at the beginning so it get's unique: "AddonCategory_OnExpandButtonClicked". Or even better add the function to your already global table: function AddonCategory.OnExpandButtonClicked(self, row) But it looks like you could simply add a local up in front as the function was added to ADD_ON_MANAGER.OnExpandButtonClicked already so you got the global pointer that way?
Last edited by Baertram : 07/22/22 at 11:12 AM.
|
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.