![]() |
Sweet man, thanks for taking a step out to help me out on this and even offering it without me asking for it! Really appreciated and makes it much easier to manage our members!
Let me know when its ready. |
Sorry for another post... but that thread I linked to might confuse you a bit.. so here is the actual converter! http://forums.alliedmods.net/showpos...&postcount=118
|
Hi Guys,
I'm hoping you may be able to help as im being really stupid and cant remember how to get this working correctly. On the rosta i want to be able to add a piece of text in that is a url thats pre-defined i.e in field 5 i have it set to Armory Page that in their profile they just put the word Grushdeva and then on the rosta it will show "Grushdeva" but when you click on it it takes you through to www.thewebpage.com/Grushdeva. Here is what i have got in the showroster_userbits-: <tr> <td class="$bgclass"> $user[onlinestatus] <a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a> </td> <td class="$bgclass" nowrap="nowrap" align="center"><a href="http://eu.wowarmory.com/character-sheet.xml?r=Hellscream&cn=">$user[field5]</a></td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field6]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field7]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field8]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field9]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field12]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field11]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[datejoined]</td> </tr> The problem i get is when you click on the name Grushdeva it just takes me to the first part of the url and doesnt add the name on the end. I hope that makes sense..... Can anyone tell me what ive done wrong in that code {Highlighted in red} so i can get it to recognize and add the name to the end of the url automatically from the info they fill out on their profile page? Thanks in advance Rob |
Quote:
Code:
<td class="$bgclass" nowrap="nowrap" align="center"><a href="http://eu.wowarmory.com/character-sheet.xml?r=Hellscream&cn=$user[field5]">$user[field5]</a></td> |
yea that worked thanks allot Sarcoth
|
Quote:
Just out of curiousity. Is there a reason you are using the SteamID# over the ProfileID? The later would only require a simple link that everyone uses and then it would grab the ProfileID for each person separately. |
We use steam id to better identify our members. So is it posible to make it clickable so that once u click it, it takes you to their profile?
|
Quote:
|
well there are different ways to get it... we use a program.. but the steam ids are already in people's profile, they are forced to put it in when they register. so its tied to a field.
Currently im having issues with my site 4.0.2 totally f*cked it up and its all messed up. |
So, you mean the SteamID# (STEAM_0:1:17768031) is generated by a program? It just seems strange to me that you do it this way. Use a program to generate a SteamID#, then you put that SteamID# into the profile field, and then you want to use more code to change the SteamID# back into your Steam profile name. What's the point? Wouldn't it just be easier to put in the Steam profile name and use that as a link?
For example, I just installed the Gamercard Blocks mod two days ago to try to understand what you are trying to do. But, there's nothing in that mod for the SteamID#, it instead just uses my steamcommunity/id/PROFILENAME. That to me seems the easier way to go. At least for the roster. My mod won't do anything special like pull in awards or groups from Steam, it would only be used to provide a link to the member's Steamcommunity home page...right? I may still look into it more on Monday, but I just want to understand the reasoning behind wanting to use the SteamID#. Personally, I'd rather focus on making this mod better myself. Current Plans & Status Update for this mod: I'm currently trying to make it more friendly so less edit's are needed. I'd really like to get it so you can do all the edits from the AdminCP rather than going into the code. I've converted all the template variables to the new vB4 format, so that is one thing that will definitely be done. I'd like to get the other part done too though before releasing the next version. |
All times are GMT. The time now is 06:42 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:
|