View Full Version : User Listing/Clan Hack
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/showthread.php?s=&threadid=34277&highlight=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 (http://www.overwhelminghate.net/forums/showgroups.php) templates.
It involves some basic HTML and adding some custom profile fields.
My showgroups_group looks like this:
<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:
<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/showthread.php?s=&threadid=34598
Hamma
02-01-2002, 04:58 PM
Can nobody do this? :(
Dark_Wizard
02-03-2002, 01:45 AM
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 (http://www.islandncs.com/gw/forums/clanlist.php). 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/showthread.php?s=&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 =\
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.