View Full Version : Forum Leaders Question
Ray2khax
05-27-2010, 04:45 AM
How can i get certain groups to look like this.
http://www.theadminzone.com/forums/showgroups.php
Look @ Forum Software Developers
Speysider
05-27-2010, 11:18 AM
Open up the following template (showgroups_usergroup)
Find the following code:
<tr>
<td class="thead"> </td>
<td class="thead" width="100%">$vbphrase[user_name]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
<if condition="$show['contactinfo']"><td class="thead">$vbphrase[contact]</td></if>
</tr>
Remove this to get rid of the row under the name of the usergroup.
Now open up the template showgroups_usergroupbit.
In the code below:
<tr>
<td class="$bgclass">$user[onlinestatus]</td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>
<if condition="$show['locationfield'] AND $user['field2']"><div class="smallfont" title="$vbphrase[location_perm]">$user[field2]</div></if>
</td>
<if condition="$showforums">
<td class="$bgclass"><div class="smallfont">$user[forumbits]</div></td>
</if>
<if condition="$show['contactinfo']">
<td class="$bgclass" nowrap="nowrap">
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
</td>
</if>
</tr>
Remove the following:
<td class="$bgclass">$user[onlinestatus]</td><if condition="$show['locationfield'] AND $user['field2']"><div class="smallfont" title="$vbphrase[location_perm]">$user[field2]</div></if><if condition="$show['contactinfo']">
<td class="$bgclass" nowrap="nowrap">
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
</td>
</if>After removing the code's above, place a comma after this:
$user[musername]</a>Let me know if this works for you. This might affect all of the groups, except the moderators column at the top.
Ray2khax
05-27-2010, 01:56 PM
Yeah I don't want it to effect all groups just 3 :)
Speysider
05-27-2010, 03:11 PM
Which 3? This method I posted above is a method to do it exactly like TAZ, as you mentioned. You can't be selective of which groups have this method.
Ray2khax
05-27-2010, 04:06 PM
@spey, i tried everything you said, and it doesn't work the names still don't list, they still go down from each other..
Speysider
05-27-2010, 04:11 PM
Link to your forum?? Can't really assist without seeing it myself
Ray2khax
05-27-2010, 04:17 PM
<a href="http://clanwrt.com/forum" target="_blank">http://clanwrt.com/forum</a>
Speysider
05-27-2010, 04:53 PM
Did you remove the codes from the right templates and save it?? Which style did you edit as well??
Ray2khax
05-27-2010, 05:04 PM
@Spey the ones you said can you right the codes I should add to each template "the complete" code thanks.
Speysider
05-27-2010, 05:17 PM
The code I have is directly from my own forum, unmodified. There may be an exception because my links have rel="nofollow" in them, so remove that from your searching.
Don't see how I can be more explicit and post a whole code here, since it will not let me.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.