vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forum Leaders Question (https://vborg.vbsupport.ru/showthread.php?t=243375)

Ray2khax 05-27-2010 04:45 AM

Forum Leaders Question
 
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:
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.

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.


All times are GMT. The time now is 08:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01074 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete