The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Social Groups Moderation Links in Group Tools Details »» | |||||||||||||||||||||||||||||
Social Groups Moderation Links in Group Tools
Developer Last Online: Dec 2011
What does this do?
Just as the title implies, this places the social groups moderation links in the Group Tools dropdown menu and optionally removes those same links from their current position just above your footer. Install Time: 1-2 minutes. Installation Difficulty: Easy Installation Instructions Once logged into your Admin Control Panel go to Styles and Templates and click in Search in Templates. Select the Yes radio button for Search Titles Only and search for socialgroups_group. In template socialgroups_group find: HTML Code:
<li class="vbmenu_option"><a href="group.php?$session[sessionurl]do=unsubscribe&groupid=$group[groupid]" rel="nofollow">$vbphrase[unsubscribe_from_this_group]</a></li> </if> </if> Add BELOW: HTML Code:
<if condition="$show['groupoptions']"> <li class="thead first">$vbphrase[moderation]</li> <if condition="$groupoptions['leave']"><li class="vbmenu_option"><a href="group.php?$session[sessionurl]do=leave&groupid=$group[groupid]">$groupoptions[leavephrase]</a></li></if> <if condition="$groupoptions['edit']"><li class="vbmenu_option"><a href="group.php?$session[sessionurl]do=edit&groupid=$group[groupid]">$vbphrase[edit_group]</a></li></if> <if condition="$groupoptions['delete']"><li class="vbmenu_option"><a href="group.php?$session[sessionurl]do=delete&groupid=$group[groupid]">$vbphrase[delete_group]</a></li></if> <if condition="$groupoptions['manage']"> <li class="vbmenu_option"> <a href="group.php?$session[sessionurl]do=manage&groupid=$group[groupid]">$vbphrase[pending_and_invited_members]</a> </li> </if> <if condition="$groupoptions['managemembers']"> <li class="vbmenu_option"> <a href="group.php?$session[sessionurl]do=managemembers&groupid=$group[groupid]">$vbphrase[manage_members]</a> </li> </if> <if condition="$groupoptions['transfergroup']"> <li class="vbmenu_option"> <a href="group.php?$session[sessionurl]do=transfer&groupid=$group[groupid]">$vbphrase[transfer_group]</a> </li> </if> </if> Optional Step If you want to remove the links from the bottom of the page that we just put into the Group Tools dropdown menu you may do the following. Please note however that you will also lose the Join Group link, but it also appears in the Social Group's header anyway, so it's a bit redundant. FIND AND DELETE: HTML Code:
<if condition="$show['groupoptions']"> <br /> <div id="discussion_foot" class="social_group tborder content_block"> <div class="tfoot block_title"> <ul id="group_footer_links"> <if condition="$groupoptions['join']"> <li class="smallfont"> <a href="group.php?$session[sessionurl]do=join&groupid=$group[groupid]">$vbphrase[join_group]</a> </li> <else /> <if condition="$group['membertype'] != 'member' AND $group['type'] == 'inviteonly'"> <li class="smallfont"> $vbphrase[group_type_inviteonly] </li> </if> </if> <if condition="$groupoptions['leave']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=leave&groupid=$group[groupid]">$groupoptions[leavephrase]</a></li></if> <if condition="$groupoptions['edit']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=edit&groupid=$group[groupid]">$vbphrase[edit_group]</a></li></if> <if condition="$groupoptions['delete']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=delete&groupid=$group[groupid]">$vbphrase[delete_group]</a></li></if> <if condition="$groupoptions['manage']"> <li class="smallfont"> <a href="group.php?$session[sessionurl]do=manage&groupid=$group[groupid]">$vbphrase[pending_and_invited_members]</a> </li> </if> <if condition="$groupoptions['managemembers']"> <li class="smallfont"> <a href="group.php?$session[sessionurl]do=managemembers&groupid=$group[groupid]">$vbphrase[manage_members]</a> </li> </if> <if condition="$groupoptions['transfergroup']"> <li class="smallfont"> <a href="group.php?$session[sessionurl]do=transfer&groupid=$group[groupid]">$vbphrase[transfer_group]</a> </li> </if> </ul> </div> </div> </if> Screenshots
Show Your Support
|
Comments |
#2
|
|||
|
|||
Very nice! :up:
Installed |
#3
|
|||
|
|||
Good modification.
Installed |
#4
|
|||
|
|||
Very simple andvery nice quick install, thanks for making available
|
#5
|
|||
|
|||
good work, thanks friend.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|