The Team Block - Change to user defined

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Chef_uk
Active Member
Posts: 9
Joined: 16. March 2010 19:21
phpBB.com User: Chef_uk

The Team Block - Change to user defined

Post by Chef_uk »

Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge

What have you done before the problem was there?
Checked on here, saw thread but hasn't helped

What have you already tryed to solve the problem?
see above

Description and Message
How can i change "The Team" from showing the Administrators to one of my user definded groups?

Extended Leaders / Team: is ticked yes.

And i have tried to edit the block changing ADMINISTRATORS to my usergroup but to no avail

Code: Select all

// Admin group id...
$sql = 'SELECT group_id
	FROM ' . GROUPS_TABLE . "
	WHERE group_name = 'CLAN_COUNCIL'";
$result = $db->sql_query($sql);
$admin_group_id = (int) $db->sql_fetchfield('group_id');
$db->sql_freeresult($result);
[/i]

Topic author
Chef_uk
Active Member
Posts: 9
Joined: 16. March 2010 19:21
phpBB.com User: Chef_uk

Re: The Team Block - Change to user defined

Post by Chef_uk »

Any ideas on the above, nothing i'm doing is changing it from the Administrators?

EDIT: Fixed, I had to first add the user defined group to the legend. Then make the group the default for each member in that group. The administrators group was still showing so to get rid of that, i had to untick it from showing in the legend. This may not suit everyone as they like to have administrators in the legend but its how to get a user defined group to show in the block "

Finally how do i go about adding custom mini icons for new blocks that reside in theme/images/portal? I've tried copying the code from existing blocks but it completely screws up the portal layout. If i can fix these last two issues i will be done :)

EDIT: Fixed again, i'm on a roll :) I must have missed a character somewhere as after searching again i found i was on the right path adding <!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/IMAGE_NAME_HERE" width="16" height="16" alt="" />&nbsp;<!-- ENDIF --> to said block html file but this time it worked flawlessly.

Site is now ready to go, once i've compiles a full back up of everythign i shall go post it in the show your portal forum for the world to see :)
Locked

Return to “board3 Portal 1.0.x - English Support”