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"?

CommentFileSizeAuthor
#1 2012-07-21_161237.png11.03 KBytwater
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ytwater’s picture

FileSize
11.03 KB

Guess 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.

eusi’s picture

Status: Active » Fixed

Nice! Thank you for the quick fix!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.