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)

Foxtrotelite 09-06-2010 07:02 PM

this might be a novice question, but is there a way i can add links in the profile fields that show on the roster? For instance my clan uses the steam client for games. I have a Steam Id field on my roster with the IDs, but I would like to have those ID's clickable(to take the user to the Steam Profile page).

Thanks

betts02 09-06-2010 08:32 PM

+ 1 on the above post

Sarcoth 09-07-2010 12:58 PM

Quote:

Originally Posted by owning_y0u (Post 2094394)
any change that you are planning to use the all the Vb stylevars? as i dont like the black border for the table's and cells

Nothing planned. I'll make a change like that if 10+ request it. If you tell me what you want though, I can tell you what to change for your own personal roster.

Quote:

Originally Posted by CMSTemplateZ (Post 2094416)
Do you think this would be a nice addition for a Battlefield forum ?

Any forum where you'd like to have a roster.

Quote:

Originally Posted by AfterWorldForum (Post 2094418)
Are there any plans to set this up on a per-usergroup level so multiple clans could be supported on the same forum?

Sorry if this has been asked before, I just saw the mod, and missed that functionality when I went over the first few posts.

It's already there. Check out the Advanced Usergroup Settings FAQ, the 3rd post in this mod. If confused, check other posts here too. Someone has asked a few questions on that. That part takes some time to understand.

Quote:

Originally Posted by Foxtrotelite (Post 2094709)
this might be a novice question, but is there a way i can add links in the profile fields that show on the roster? For instance my clan uses the steam client for games. I have a Steam Id field on my roster with the IDs, but I would like to have those ID's clickable(to take the user to the Steam Profile page).

Thanks

That is definitely doable and already explained a couple times. I have classes today and thursday, so I'll come back to answer questions on Friday.

AfterWorldForum 09-07-2010 05:35 PM

Quote:

Originally Posted by Sarcoth (Post 2095003)
It's already there. Check out the Advanced Usergroup Settings FAQ, the 3rd post in this mod. If confused, check other posts here too. Someone has asked a few questions on that. That part takes some time to understand.

I'll check it out tomorrow and play around with it a little bit. Thanks for the reply :)

Foxtrotelite 09-07-2010 07:08 PM

Quote:

Originally Posted by Sarcoth
That is definitely doable and already explained a couple times. I have classes today and thursday, so I'll come back to answer questions on Friday.

Awesome, thanks for the reply

betts02 09-09-2010 11:26 AM

With the new code, How would i go about adding :

<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.fieldXX}.card" scrolling="no" frameBorder

to the roster via a fillied in profile field

and how would i make make a user profile field clickable ?

So in the roster it would show a users xbox live gamer card and a url that is clickable

cheers

Sarcoth 09-09-2010 01:46 PM

Quote:

Originally Posted by betts02 (Post 2095790)
With the new code, How would i go about adding :

<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.fieldXX}.card" scrolling="no" frameBorder

to the roster via a fillied in profile field

and how would i make make a user profile field clickable ?

So in the roster it would show a users xbox live gamer card and a url that is clickable

cheers

For starters, don't use post at all in this mod. That is only needed in postbits and I doubt it will work here. Off the top of my head, I think you will need something like:

<vb:if condition="$show[field1st] AND exec_switch_bg()"><td><iframe src="http://gamercard.xbox.com/{vb:var userinfo.{vb:var columns[column1]}}.card" scrolling="no" frameBorder

You did not include the whole line though, so I can't give you more than that. The above is only for the first column. Obviously, you'll need to adjust "field1st" and "column1" to the correct column #.

If that does not work, give me more to go on and I'll take a closer look at it tomorrow.

Foxtrotelite 09-09-2010 04:54 PM

<td class="$bgclass" nowrap="nowrap" align="center"><if condition="($user[field27] == '')">$user[field30]<else /><a href="http://steamcommunity.com/id/$user[field27]">$user[field30]</a></if></td>

field27 being the Steam ID number
field30 being Steam Profile ID

The above code is what you posted previously (on page 2 or 3 of the topic). I just changed the field numbers to reflect my forum. Can you update this to work for the newest VB version please?

Thanks in advance!

betts02 09-09-2010 06:33 PM

What i need is to add the xbox gamer card to the roster via our members filling in a profile field

I have this in my signature area with this code :

Code:

<vb:if condition="$post['field5']"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/{vb:raw post.field5}.card" scrolling="no" frameBorder="0" height="140" ></iframe></td></tr></vb:if>

I want to know how to get this shown in the roster
What file and where ?

Also if possible, I have our members enter a URL of their choice via a profile field

This shows up in the roster, But i want it to be clickable

How and where would i do this also

If possible a full explanation of where and what to edit

many thanks in advance

Eazy1 09-09-2010 08:17 PM

nevermind... bonehead question, figured it out.

great mod! installed and nominated!


All times are GMT. The time now is 02:21 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.01979 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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