vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   User Listing/Clan Hack (https://vborg.vbsupport.ru/showthread.php?t=34478)

Hamma 01-25-2002 12:07 PM

Could someone tell me how I would go about doing this: http://www.islandncs.com/gw/forums/clanmembers.php Its not done with user groups, but with profile fields it appears. I know it involves making a new PHP page and some templates. I tried to contact this guy but he didnt respond :(

I have somewhat limited knoledge of PHP, I can modify stuff but not write my own :( any help is appriciated, this would be a great help to my team.

https://vborg.vbsupport.ru/showthrea...ight=Clan+Hack (this is where i found it)

Bitmap 01-25-2002 07:59 PM

well. it seems actually a lot like the usergroup-thing i have on my board.
his board is named -=GW=- Clan ... and he renamed the aministrator to Clan Administrators and so on. that's what it looks like. why should he have done something else?

Sparkz 01-25-2002 08:08 PM

I did something similar on my boards just by editing the showgroup templates.

It involves some basic HTML and adding some custom profile fields.


My showgroups_group looks like this:
Code:

<table cellpadding=0 cellspacing=0 border=0 bgcolor="{tablebordercolor}" align="center" width=100%><tr><td>
<table border="0" cellpadding="4" cellspacing="1" width=100%>
<tr bgcolor="{tableheadbgcolor}">
<td width="100%" colspan="6"><normalfont color="{tableheadtextcolor}"><B><img src="{imagesfolder}/vb_bullet.gif" align="absmiddle"> $bbtitle $groupname</B></normalfont></td>
</tr>
<tr>
        <td bgcolor="{firstaltcolor}" colspan="2"><smallfont>Username</smallfont></td>
        <td bgcolor="{firstaltcolor}" colspan="1"><smallfont>Level</smallfont></td>
        <td bgcolor="{firstaltcolor}" colspan="1"><smallfont>Class</smallfont></td>
        <td bgcolor="{firstaltcolor}" colspan="2"><smallfont>Race</smallfont></td>
</tr>
$adminbits
</table>
</td></tr></table><br>


and my showgroups_adminbit looks like this:
Code:

<tr>
<td bgcolor="$backcolor" nowrap><normalfont>$onlinestatus</normalfont></td>
<td bgcolor="$backcolor" nowrap width=100%><normalfont><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]">$user[username]</a></b><br>$user[avatar]</normalfont></td>
<td bgcolor="$backcolor" nowrap><normalfont>$user[field6]</normalfont></td>
<td bgcolor="$backcolor" nowrap><normalfont>$user[field5]</normalfont></td>
<td bgcolor="$backcolor" nowrap><normalfont>$user[field7]</normalfont></td>
<td bgcolor="$backcolor" nowrap><normalfont>$sendpmlink</normalfont></td>
</tr>

Think that's the only changes I made, except for adding the relevant profile fields and removing the moderator part - as I don't have any moderators...

Hamma 01-25-2002 09:10 PM

Well I know he does it with profile fields because if you look.. he also has a showgroups.php with the normal forum leader template. This is the way I would have to do it because I have about 20+ groups for the various permission sets :0

Hamma 01-25-2002 09:23 PM

btw if you browse the forums some more, you will notice underneath users names he has 2 fields, which are the fields that go along with the showclan.php

I think he is using some kind of admin definable Profile fields to organise it?

Sparkz 01-25-2002 09:37 PM

If you mean something like the attached image, this is also just a simple template edit in the postbit template.

Profile fields could be set to not be editable by the user, and administraion could be done from the admin cp.

On my board it is just to get a pointer on what one can recon with when organizing raids and such, so I let users edit them myself.

Hamma 01-26-2002 03:01 AM

hmm, well that would be easy. Grouping by an admin definable profile field would be by far the easiest way to do it. I have 20 groups or so with all different permissions, it would be ugly as heck if i grouped them by those names lol

If you look in the referenced thread i posted you will see he was writing a new PHP age though

Hamma 01-28-2002 11:06 AM

bump

Hamma 01-30-2002 10:56 AM

bump

Anyone else have any ideas? :(

XiXora 01-30-2002 01:53 PM

:( i'm in the same predicument

i need summin like this as described here or similar

https://vborg.vbsupport.ru/showthrea...threadid=34598

Hamma 02-01-2002 04:58 PM

Can nobody do this? :(

Dark_Wizard 02-03-2002 01:45 AM

Quote:

I tried to contact this guy but he didnt respond
I never received any email or pm...hmmm...
Let me put it all together and I will post it....it is a modified showgroups.php and I also have another one that I am now using which is different and you can view it here. I plan on making some more changes to this latest version.

Dark_Wizard 02-03-2002 04:13 PM

Here it is >>> https://vborg.vbsupport.ru/showthrea...threadid=34760

Hamma 02-03-2002 04:39 PM

w00t thanx Wizard :D I sent you a PM on your forum, no worries, perhaps u didnt see it and it marked unread or somthin =\


All times are GMT. The time now is 03:51 AM.

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.01209 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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