Skipsoutdoors
01-06-2008, 02:02 AM
The basic idea is this. As site admin I want to appoint someone or multiple someones as social group moderators or captains if you will. I assume the way it's set up, I need to figure out how to make a group "Owned" by more than one person.
What I've got started is adding a second selection box on the "Manage Members" template.
This is what I've got started so far:
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<fieldset class="fieldset" id="memberlist_container" style="width: $stylevar[formwidth]; text-align: $stylevar[left];">
<legend>$vbphrase[manage_members]</legend>
<if condition="$memberbits">
<form action="group.php?$session[sessionurl]do=inlinemod;groupid=$group[groupid]" method="post" id="memberlist_change_form">
<input type="hidden" name="do" value="inlinemod" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="groupid" value="$group[groupid]" />
<div class="checkbox_ctrls floatcontainer">
<label class="check_all_ctrl shade"><input type="checkbox" id="memberlist_checkall" />$vbphrase[check_uncheck_all]</label>
</div>
<div class="userlist_title">$vbphrase[Make_Group_Captain]</div>
<div class="userlist_description">$vbphrase[kick_members_description]:</div>
<ul class="userlist userlist_hiddenavatars floatcontainer" id="memberlist">
$memberbits
</ul>
<div class="submitrow smallfont" style="margin-top: $stylevar[cellpadding]px;">
<input type="submit" class="button" id="moderated_submit" value="$vbphrase[Make_Group_Captain]" />
</div>
</form>
<script type="text/javascript">
<!--
vBulletin.register_control("vB_UserList_Highlighter", "memberlist");
//-->
</script>
<else />
$vbphrase[last_member_of_group]
</if>
</fieldset>
</div>
</div>
</td>
The lines I highlighted in red are likely the areas that I'm not doing correctly.
Does anyone have any ideas? Surely this is possible.
Skip
What I've got started is adding a second selection box on the "Manage Members" template.
This is what I've got started so far:
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<fieldset class="fieldset" id="memberlist_container" style="width: $stylevar[formwidth]; text-align: $stylevar[left];">
<legend>$vbphrase[manage_members]</legend>
<if condition="$memberbits">
<form action="group.php?$session[sessionurl]do=inlinemod;groupid=$group[groupid]" method="post" id="memberlist_change_form">
<input type="hidden" name="do" value="inlinemod" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="groupid" value="$group[groupid]" />
<div class="checkbox_ctrls floatcontainer">
<label class="check_all_ctrl shade"><input type="checkbox" id="memberlist_checkall" />$vbphrase[check_uncheck_all]</label>
</div>
<div class="userlist_title">$vbphrase[Make_Group_Captain]</div>
<div class="userlist_description">$vbphrase[kick_members_description]:</div>
<ul class="userlist userlist_hiddenavatars floatcontainer" id="memberlist">
$memberbits
</ul>
<div class="submitrow smallfont" style="margin-top: $stylevar[cellpadding]px;">
<input type="submit" class="button" id="moderated_submit" value="$vbphrase[Make_Group_Captain]" />
</div>
</form>
<script type="text/javascript">
<!--
vBulletin.register_control("vB_UserList_Highlighter", "memberlist");
//-->
</script>
<else />
$vbphrase[last_member_of_group]
</if>
</fieldset>
</div>
</div>
</td>
The lines I highlighted in red are likely the areas that I'm not doing correctly.
Does anyone have any ideas? Surely this is possible.
Skip