I am running:
- Windows Server 2003
- SMF 1.1 RC3
- TP 0.9.5
- Group Moderators
- WowItems
All of this is on hardware that I have direct access to. I am the administrator for the machine.
The question I have is for the TinyPortal security checkboxes that appear in blocks and articles, security, etc. Is there any way to have the groups sorted in alphabetical order? We have alot of groups that grant access to various sections of the site, but, it is hard to plod through when they are jumbled in "entry" order.
I'm up to changing the code, if that is required (although, I'd need guidance as to where and what to change :) ). I'm hoping, however, that there is an option "sort the groups" hidden somewhere that I've missed.
As a note: The group lists are sorted in other places, just not in the "grant access to these group" areas.
thanks!
So your want the list of groups (that have the checkbox) to be in alphabetical order? I'm not sure how, but I think someone could come up with something. I'll take a look and see if I can figure it out.
Thank you so much IchBin! I'd appreciate anything you could do to help.
Moving this to suggestions.
For TP 0.95 Beta ...
Sources\TPdlmanager.php
1283: SELECT * FROM {$db_prefix}membergroups WHERE 1 ORDER BY ID_GROUP", __FILE__, __LINE__);
Sources\TPortalAdmin.php
1746: SELECT * FROM {$db_prefix}membergroups WHERE 1 ORDER BY ID_GROUP", __FILE__, __LINE__);
replace the lines with:
SELECT * FROM {$db_prefix}membergroups WHERE 1 ORDER BY groupName", __FILE__, __LINE__);
Fel
That worked PERFECTLY!
Thank you so much, and it was such an easy update.
;) Cheers!