
03-10-2010, 12:15 PM
|
|
|
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by anuanu
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?
|
I'll try to answer this one tonight.
Quote:
Originally Posted by Covert-OPs_
Is this mod working with 4.0.2?
|
Yes, it is working for me.
Quote:
Originally Posted by betts02
How would i go about adding
Code:
<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 this roster so it shows the xbox live gamer card also ?
cheers in advance
|
I can't swear this will work the way you want without some testing, but instead of using post.field, you should use the $user[field15].
Code:
<vb:if condition="$user[fieldXX]"><tr><td class="vbmenu_option">
<iframe src="http://gamercard.xbox.com/$user[field15].card" scrolling="no" frameBorder
I'll have to do some testing on it later and let you know. To be honest though, this will change completely with the update I am hoping to get out soon. I changed a lot of stuff on how things are done.
Quote:
Originally Posted by Bouncer222
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.
|
The best way to order the usergroups is by redoing them. The default code does the usergroups in order of title. You could order them by usergroupid instead, but that means you may have to redo them from scratch. The alternative is to keep it ordered by title and rename your usergroups to something like a-usergroup1, b-usergroup2, c-usergroup3. Then in the php code, you could set up a case/if statement. if title=a-usergroupa then $title=usergroupa. Then you would have to use $title in the template rather to fix the problem. I'll try to put together a how-to on how to do this once I get the update done. I need to iron out the current release right now.
|