Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2010, 04:45 AM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Leaders Question

How can i get certain groups to look like this.

http://www.theadminzone.com/forums/showgroups.php
Look @ Forum Software Developers
Reply With Quote
  #2  
Old 05-27-2010, 11:18 AM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open up the following template (showgroups_usergroup)
Find the following code:
Code:
<tr>
    <td class="thead">&nbsp;</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:
Code:
<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&amp;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&amp;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:
Code:
<td class="$bgclass">$user[onlinestatus]</td>
Code:
<if condition="$show['locationfield'] AND $user['field2']"><div class="smallfont" title="$vbphrase[location_perm]">$user[field2]</div></if>
Code:
<if condition="$show['contactinfo']">
    <td class="$bgclass" nowrap="nowrap">
        <if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;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&amp;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:
Code:
$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.
Reply With Quote
  #3  
Old 05-27-2010, 01:56 PM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I don't want it to effect all groups just 3
Reply With Quote
  #4  
Old 05-27-2010, 03:11 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 05-27-2010, 04:06 PM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@spey, i tried everything you said, and it doesn't work the names still don't list, they still go down from each other..
Reply With Quote
  #6  
Old 05-27-2010, 04:11 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link to your forum?? Can't really assist without seeing it myself
Reply With Quote
  #7  
Old 05-27-2010, 04:17 PM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://clanwrt.com/forum" target="_blank">http://clanwrt.com/forum</a>
Reply With Quote
  #8  
Old 05-27-2010, 04:53 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you remove the codes from the right templates and save it?? Which style did you edit as well??
Reply With Quote
  #9  
Old 05-27-2010, 05:04 PM
Ray2khax Ray2khax is offline
 
Join Date: Aug 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Spey the ones you said can you right the codes I should add to each template "the complete" code thanks.
Reply With Quote
  #10  
Old 05-27-2010, 05:17 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04534 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete