2005-11-18, 05:48 PM
Hey, here it what I am trying to do
I need a second team page with different people.
So I copied the the showteam.php file and started to change stuff.
The criteria to be on the second page are not identical to the first, so I changed line 24
to
Whereby I added a new column (showpaten) with phpmyadmin to usergroups and put a "yes" to the groups I want to display.
And there I pretty much get lost. The groups I use are 8 and 10. All the members are secondary users. I don't want to show them separated in groups (If that is a problem, I just will create another group where all will be in as another secondary group).
And what I want to show are customfields fid5, fid5 and fid7 and sorted by fid7.
Could anybody help me with that?
Thanx in advance.
I need a second team page with different people.
So I copied the the showteam.php file and started to change stuff.
The criteria to be on the second page are not identical to the first, so I changed line 24
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE showforumteam='yes' AND gid!='6' ORDER BY title ASC");
to
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE showpaten='yes'");
Whereby I added a new column (showpaten) with phpmyadmin to usergroups and put a "yes" to the groups I want to display.
And there I pretty much get lost. The groups I use are 8 and 10. All the members are secondary users. I don't want to show them separated in groups (If that is a problem, I just will create another group where all will be in as another secondary group).
And what I want to show are customfields fid5, fid5 and fid7 and sorted by fid7.
Could anybody help me with that?
Thanx in advance.