Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2002, 12:07 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #2  
Old 01-25-2002, 07:59 PM
Bitmap Bitmap is offline
 
Join Date: Oct 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 01-25-2002, 08:08 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #4  
Old 01-25-2002, 09:10 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 01-25-2002, 09:23 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 01-25-2002, 09:37 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 01-26-2002, 03:01 AM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 01-28-2002, 11:06 AM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #9  
Old 01-30-2002, 10:56 AM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump

Anyone else have any ideas?
Reply With Quote
  #10  
Old 01-30-2002, 01:53 PM
XiXora's Avatar
XiXora XiXora is offline
 
Join Date: Nov 2001
Location: Birmingham, UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm in the same predicument

i need summin like this as described here or similar

https://vborg.vbsupport.ru/showthrea...threadid=34598
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:43 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.04047 seconds
  • Memory Usage 2,251KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete