Notifications
Clear all

How to change the default of the authors/members/admins drop-down setting

5 Posts
4 Users
0 Reactions
1,295 Views
(@nutella)
Posts: 12
Active Member
Topic starter
 

I suppose this is an easy one for your πŸ™‚

When I go to my member list site there's the dropdown box with which you chose what kind of members you want to be listed. The default shows "authors" only. But I need the default setting to show all members without having to use the dropdown first. I'm pretty sure it's somewhere in the authors.php but for the love of the PHP-God I can't figure it out.

Thanks in advance.

Anja

ETA: Oh and I already tried to add  <option selected...>. Worked for the admin view, but not for All Members  πŸ˜•


 
Posted : 15/01/2010 3:54 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Weird. I thought it showed members  by default?

authors.php:

if($_GET['action'] == "list") {
$current = "members";
$list = "members";
}
else if($_GET["list"] == "authors") $current = "authors";
else $current = "members";

Hm!


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 15/01/2010 6:22 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Yes, it's supposed to show that by default. Other modules can override that, though (I think). For instance, the beta reader module is supposed to add "beta readers" to that list (the most recent version doesn't, but it did in the past). So maybe a module or block you have is messing with it?


 
Posted : 15/01/2010 7:38 pm
(@nutella)
Posts: 12
Active Member
Topic starter
 

Haven't yet found a solution. Didn't work on it pretty hard, either  πŸ™‚

But will keep on trying. Thanks for the help anyway.


 
Posted : 04/02/2010 5:09 pm
(@tammy)
Posts: 2577
Member Moderator
 

Change your members link in the pagelink to point to the authors list.


 
Posted : 04/02/2010 6:45 pm
Share: