vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=235326)

GrossKopf 02-08-2010 07:48 PM

Quote:

Originally Posted by Bouncer222 (Post 1977727)
Installed! Great! Easy to manage all my site members now!

Question... How do I order in which order the usergroups appear from top to bottom? www.brotherhoodofgamers.com/showroster.php

It appears it shows the user groups based on their user group ID. I hope that a future release can allow us to organize this.

Sarcoth 02-08-2010 08:29 PM

Quote:

Originally Posted by GrossKopf (Post 1977730)
It appears it shows the user groups based on their user group ID. I hope that a future release can allow us to organize this.

The optional_changes.txt has a way for you to adjust how things are ordered. Let me know if that helps. Otherwise, describe what you want in depth and I'll see what I can think up. Make sure you give me the id's and names of the groups you are planning to use.

BTW, if you want me to look at your roster you'll need to turn on the access for unregistered. :)

Sarcoth 02-08-2010 08:31 PM

Quote:

Originally Posted by Crrrazzzy (Post 1977719)
is there a way to select a specific usergroup out and only show that one

ie ..... showroster.php?group=301

whereas 301 is the usergroup id

Interesting. I'm sure there is a way, I just need to think on it for a bit.

Sarcoth 02-08-2010 08:38 PM

Quote:

Originally Posted by Bouncer222 (Post 1977727)
Installed! Great! Easy to manage all my site members now!

Question... How do I order in which order the usergroups appear from top to bottom? www.brotherhoodofgamers.com/showroster.php

I can't get to the code right now, but I'll look at it in a couple hours. I may have something in the optional_changes.txt though, so check it out. I noticed you have a field for your members steam ID's. If you can provide me with a full link to one of those, I can probably make those ID's into links for your roster. Not hard to do. Also, don't forget to update the field names of your sorting area.

Bouncer222 02-08-2010 10:45 PM

Quote:

Originally Posted by Sarcoth (Post 1977769)
I can't get to the code right now, but I'll look at it in a couple hours. I may have something in the optional_changes.txt though, so check it out. I noticed you have a field for your members steam ID's. If you can provide me with a full link to one of those, I can probably make those ID's into links for your roster. Not hard to do. Also, don't forget to update the field names of your sorting area.

Wow making all those IDS into links... that is amazing. so once you click them, it takes you to their profile page... sweet. But I think you would need a converter and I have some place where I can get a converter for them into a link...

Anyway my Steam ID is: STEAM_0:1:17768031
It should link to my profile at: http://steamcommunity.com/id/bogbouncer
What also shows up on that roster is Steam Player ID but its named as Xfire at the moment of this post by accident...will fix that, that one is: bogbouncer (as you can see its on the link after /id/

And I looked at the extra txt file.. there was nothing about making the usergroups in a certain order I believe.

Thanks.

Sarcoth 02-09-2010 12:47 AM

Quote:

Originally Posted by Bouncer222 (Post 1977877)
Wow making all those IDS into links... that is amazing. so once you click them, it takes you to their profile page... sweet. But I think you would need a converter and I have some place where I can get a converter for them into a link...

Anyway my Steam ID is: STEAM_0:1:17768031
It should link to my profile at: http://steamcommunity.com/id/bogbouncer
What also shows up on that roster is Steam Player ID but its named as Xfire at the moment of this post by accident...will fix that, that one is: bogbouncer (as you can see its on the link after /id/

What are you using the IDs for then? What's the use for it? The IDs need to be part of a common URL, otherwise we won't be able to create a link with those.

Bouncer222 02-09-2010 01:11 AM

The ids we use as a community to identify players.. not gonna explain exactly right now..

Here is the html to convert it https://forums.alliedmods.net/showth...=60899&page=24

That's not the first post of that thread through just so you know, but I think that poster's html is the best. Hopefully you can figure out how to incorporate it so it does it automatically?

Bouncer222 02-09-2010 01:12 AM

BTW I would like the actual STEAM ID to remain as numbers, just that when you click on it.. it leads them to their profile page. So basically it would convert it in the "background"

Sarcoth 02-09-2010 01:13 AM

Quote:

Originally Posted by GrossKopf (Post 1977686)
It appears it shows the user groups based on their user group ID. Is there a way to change this? The reason I ask is because on my page, it shows the regular clan members before the admins. I'd like the admins listed first.

Quote:

Originally Posted by GrossKopf (Post 1977730)
It appears it shows the user groups based on their user group ID. I hope that a future release can allow us to organize this.

I just looked over the code and it is sorting by Title by default (alphabetically). If you want to to change it to ID, you can do that by changing something in the .php file. Those instructions are definitely in the optional_changes.txt file (#2). If that doesn't put them in the order you want, you'll need to do some special coding in there. If you look at my example, I use title and I named my titles alphabetically so they would be organized the way I want them. I then add code to rename the titles what I want. I'll provide you with the code later, but you'll need to adjust it if that's the way you want to go.

Quote:

Originally Posted by Bouncer222 (Post 1977727)
Question... How do I order in which order the usergroups appear from top to bottom? www.brotherhoodofgamers.com/showroster.php

Open the showroster.php, find: if ($grouporder == '') { $grouporder = 'asc'; }
Change to: if ($grouporder == '') { $grouporder = 'DESC'; }

Sarcoth 02-09-2010 01:19 AM

Quote:

Originally Posted by Bouncer222 (Post 1977959)
BTW I would like the actual STEAM ID to remain as numbers, just that when you click on it.. it leads them to their profile page. So basically it would convert it in the "background"

Cool, I think I can do something with that. I'll look into it when I can.


All times are GMT. The time now is 09:38 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.01440 seconds
  • Memory Usage 1,751KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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