Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
GuildRoster works fine, but due to the view it shows all guild ranks. There is no need to.
Example: Cuz of the ranking it lists first the guild master (1), second the officer(s) (2) and third the officer(s) twink(s) (3). Raidmember (4) are more important than this high rated "officer twinks(s)" to show on the guild roster.
Is it possible to hide guild ranks like "officer twink" or "friend"?
Comment | File | Size | Author |
---|---|---|---|
#1 | 2012-07-21_161237.png | 11.03 KB | ytwater |
Comments
Comment #1
ytwater CreditAttribution: ytwater commentedGuess this feature didn't make the transition to the 4.0 branch!
I've updated the module to filter by guild rank. Get the latest alpha11 and:
1) Enable Views-UI Module
2) Navigate to /admin/structure/views/view/wowtoon_views/edit
3) Click "add" next to "filter criteria"
4) Select Avatar: Guild Rank
5) Select "Regular Expression" and enter "[235]" in the value field.
6) If auto preview doesn't work, put a "1" in the contextual filters field.
7) Save.
This will display only ranks 2,3 and 5. "[1-3]" will display 1 to 3. Google RegEx to see how it all works.
Important Note: Due to an bug with using regex filters with numbers, I am using a String filter, that's why you can't do "All guild ranks less than 5", but this method should be more useful if you want to "skip" ranks.
Comment #2
eusi CreditAttribution: eusi commentedNice! Thank you for the quick fix!