vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - Customizable Roster (Member List) (https://vborg.vbsupport.ru/showthread.php?t=141311)

dbirosel 03-10-2007 06:07 PM

<a href="http://www.caraudiojunkyard.com/forum/showroster.php" target="_blank">www.caraudiojunkyard.com/forum/showroster.php</a>

Those who did not input anything on the field, how can they be invisible?

turnipofdoom 03-11-2007 02:42 AM

This did not appear to be compatable with the version of php I'm currently running, I ended up going with RosterMaster standalone (what I wouldn't give for it to be vB integrated.) Ah well, thanks, though, for creating this for the gaming community. We need more mods like this for games other than "that Blizzard one."

dbirosel 03-11-2007 03:09 PM

I want to change the filename and variables to "donationlist". If it's possible, how do i accomplish this?

Sarcoth 03-12-2007 01:48 PM

Quote:

Originally Posted by oglsmm
That worked great. Thanks a lot. This really is a great MOD for Guild sites. I've been looking for one forever, and finally there is one :p

One last question, is it possible to make the list sortable by the custom fields?

There is, but I'm not quite there yet. I plan to add this in the future though.


Quote:

Originally Posted by dbirosel
What if i want to add them manually to the list? I don't want them to edit there member profile and get automatically to a usergroup. Is it possible for me to add them manually and of course easier?

You can create or edit the fields so they can't be editable by the user. There is a selection for that. Go to Admincp > User Profile Fields > User Profile Field Manager. Click on Edit next to the fields you want to change and select 'No' for 'Field Editable by User'. You can then enter the data for each user by going to their user profiles; where you edit their membergroups.


Quote:

Originally Posted by dbirosel
Those who did not input anything on the field, how can they be invisible?

I hadn't thought about doing that since I'm rather strict. I gave all my members a deadline of two weeks. If they don't have it updated I'm removing them from the guild. I like to keep track of who updated their data. Not sure I'm going to go that route with this mod. I'm sure there is a way to do it though.


Quote:

Originally Posted by turnipofdoom
This did not appear to be compatable with the version of php I'm currently running, I ended up going with RosterMaster standalone (what I wouldn't give for it to be vB integrated.) Ah well, thanks, though, for creating this for the gaming community. We need more mods like this for games other than "that Blizzard one."

Sorry that didn't work for you. What version of PHP are you running?

Sarcoth 03-12-2007 01:55 PM

Quote:

Originally Posted by dbirosel (Post 1200870)
I want to change the filename and variables to "donationlist". If it's possible, how do i accomplish this?

There is an easy way and a harder way. You'll have to figure out the harder way on your own because it would take also updating the .php file. Follow all my steps above except rename the showroster.php to donationlist.php.

For Step 3, I would put 'Donation List' in for your text.

The .php file refers to the templates, not the other way around. So there shouldn't be any need to change anything else. If you have a problem let me know and I'll look into it some more for you.

sheryarpatel 03-13-2007 11:28 PM

hey nice mod
is their anyway that the data can be organized like form highest player level to the lowest or something like that?

Sarcoth 03-14-2007 11:01 AM

Quote:

Originally Posted by sheryarpatel (Post 1202923)
hey nice mod
is their anyway that the data can be organized like form highest player level to the lowest or something like that?

That question was already asked and is something I'm working on. :) I need to get something else done first though.

JeffreySmith 03-14-2007 01:32 PM

Hi, great mod man. really I mean it. Thanks.

But my problem is this:

The order that the usergroups show up in.

I currently have the following usergroup order:
1. admin ID 6
2. enlisted ID 12
3. officers ID 11

What I need:

1. admin ID 6
2. OFFICERS ID 11
3. enlisted ID 12

I would be fine in leaving it the way it is, but knowing my clan they are gonna want the Officer usegroup listed above the Enlisted guys.

Any ideas?

Thanks so much

Jeff

PS: The roster is located at: http://dmclanforum.com/showroster.php

Sarcoth 03-14-2007 03:12 PM

Jeff, I had the same problem. The groups are organized alphabetically. The way I got around it was renaming the groups a little.

My groups were originally: Guild Leader, Member, Officer, Recruit. I wanted Officer to be second, so I decided to rename it Guild Officer.

In your case, I would recommend renaming DM Enlisted to DM Member. Another option would be taking DM off the DM Enlisted. Not sure it will work for you, but that's the best advice I can recommend for that one. Sorry.

Please click install. :)

Sarcoth 03-15-2007 06:15 PM

Jeff, I found an answer for you while playing with some of the code.

This change will allow you to sort the groups by their groupid.

Open showroster.php

Find:
Code:

$t = strtoupper($user['title']);
Replace with:
Code:

$t = strtoupper($user['usergroupid']);
Then upload the updated showroster.php to your site.

FYI - Anyone that wants support, you need to click Install.


All times are GMT. The time now is 03:20 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.01259 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete