HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Tweak to hide "Secret Group"

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#57413 (In Topic #12484)
Avatar

Fan in action

For version 4.2.2

This one's OCF specific!

Another optional tweak - in this case, I thought it was a bit silly for my users to ever see "Secret Group" when selecting a usergroup.  They should only see usergroups that they can actually interact with and other usergroups should be totally invisible to them (although this does mean that the other usergroups can't be selected, they probably couldn't be selected too easily when represented as "Secret Group #4" either)

This one's super quick, in sources/forum/ocf.php

Change

Code

$out[$row['id']]=do_lang('SECRET_GROUP',strval($row['id']));
to

Code

continue;

Now those invisible groups get nicely skipped over, and only named groups in the group selection list
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: