Brought up in Animesuki Banner Contest - 2008 - General Discussion Thread.
Custom Banner Rotation
(presuming you are already in admincp)- User Profile Fields >> Add New User Profile Field
- As Profile Field Type select Single-Selection Menu
- Title: "1st Banner"
- Description: "Select your 1st <a href="http://forums.animesuki.com/showthread.php?t=78175">favorite banner</a>."
- Options:
- Set Default: "Yes, but No First Blank Option"
- Display Order should be left as is since it auto increments.
- (complete the last options as you wish)
- Which page displays this option?: "Options: Other"
- Repeat 1 to 9 another two times so as to create a "2nd" and "3rd".
Result: Member Options
- Style & Templates >> Style Manager
- On the Animesuki Default style select Add Child Style, you may call it what you wish.
- On this new style select Common Templates. Now your attention around the <!--logo--> comment; the code for the rotation system should be there.
[How to] Insert Profile Field Value
The following is a primitive code demo based on default skin to show necessary code:
Code:
<!-- logo -->
<a name="top">
1st banner:
<if condition="$bbuserinfo['userid'] == 0">contest choice 1st</if><if condition="$bbuserinfo['userid'] != 0">$bbuserinfo[field7]</if> <br />
2nd banner:
<if condition="$bbuserinfo['userid'] == 0">contest choice 2nd</if><if condition="$bbuserinfo['userid'] != 0">$bbuserinfo[field8]</if> <br />
3rd banner:
<if condition="$bbuserinfo['userid'] == 0">contest choice 3rd</if><if condition="$bbuserinfo['userid'] != 0">$bbuserinfo[field9]</if>
</a>
<!-- /logo -->
I have field7, field8, field9 but you will have higher numbers most likely. See: User Profile Fields, for actual IDs of the fields.
(and, I do know there is a
<else /> option for the
<if>)