![]() |
K not to be offensive, but why does it matter how we get it as it is pretty irrelevant?
Our site is tied to our gaming servers, so we use Steam IDS to give out admin. Now with the steam id converter I posted earlier are you able to make the links clickable to go to their profile homepage? All I want is so once you click it, you go to their profile homepage on the steam community site. Simple as that. |
Well, I wanted to know so I could do some testing since I really don't like giving out untested code. I know a way is possible, but I was hoping to have all information in front of me before testing. I really don't want to ask again though so I'm going to pass. I have an alternative for you though that is a lot simpler and I've already tested it. Create another field and ask the users to enter their steamcommunity IDs (i.e. bogbouncer).
Then use that field to provide the link for your SteamID#. Basically, you'll still display only the SteamID#, but it will then use the other field to generate your link. Code:
<td class="$bgclass" nowrap="nowrap" align="center"><if condition="($user[field42] == '')">$user[field9]<else /><a href="http://steamcommunity.com/id/$user[field42]">$user[field9]</a></if></td> field42 = to the field number of your Steam Profile ID. (i.e. bogbouncer) Much easier. Enjoy and good luck with your roster. |
Quote:
If you want to make this permanent, then go into the showroster.php file: Find: PHP Code:
PHP Code:
If you want to make this one of the sorting options, go into the SHOWROSTER template: Find any of the sort fields, i.e.: Code:
<td class="tcat" width="14%" align="center"><a href="$sorturl&order=asc&groupsort=field11">Field11</a></td> Code:
<td class="tcat" width="14%" align="center"><a href="$sorturl&order=asc&groupsort=''">Users</a></td> |
STATUS UPDATE: I have given this mod a complete facelift. All of the old code has been converted to vB4 effectively. While trying to look for ways to do some things, I learned that a lot of vbulletin code has been changed, and because of that I was able to remove various things from mine (namely the functions). I still need to test the avatar and profilepic part, but everything else appears to be working.
My biggest roadblock right now is trying to find a way to move the permissions to an options menu rather than using the edit usergroup area. I was able to move the access permissions for that over, but I still don't know how to get the usergroups that need to be displayed on the roster moved. I also need to get the columns moved to the showroster option menu as well as some other things I am adding. My goal right now is to make it so you don't have to do any edits to the php or the templates (unless you require something outside what the default roster does). For those interested, I hope to have an update posted within the next two weeks. |
Heres a hard question...
If I have field 5, 6, 7, 8 displayed for all "normal" users but I want only fields 9, 10, 11 showing for certain users(or usegroups) how would I go about doing this? |
Is this mod working with 4.0.2?
|
How would i go about adding
Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option"> cheers in advance |
Quote:
Keep up the great work :up: |
Hey how can we re-order the way usergroups are listed?
Heres mine http://www.brotherhoodofgamers.com/showroster.php I wana re-order the way usergroups are listed top to bottom, and is it possible for me to put a centered image above each usergroup? If so how? Thanks. |
Quote:
Quote:
Quote:
Code:
<vb:if condition="$user[fieldXX]"><tr><td class="vbmenu_option"> Quote:
|
All times are GMT. The time now is 09:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|