Announcement

Collapse
No announcement yet.

How can this be accomplished? Postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can this be accomplished? Postbit

    Hey guys, I have recently created my own little modification to my postbit where the member chooses their favourite album by an artist upon registering / in their usercp and it displays the album cover in the postbit.


    Using this code;

    HTML Code:
    <div>
    <if condition="$post['field5']">
        <img src="images/albumimg/$post[field5].png" alt="$post[field5]" border="0" />
    </if>
    </div>
    Now, when I done this I removed my arcade trophy postbit code, which is

    HTML Code:
    <div class="smallfont">$post[crowns]$post[champtext]</div>
    There are some of my users who prefer to keep the arcade postbit rather than the album image, is it possible to allow users to choose which "mod" they'd like to show via userprofile field? and if so, how?

    Thanks for reading! Hope someone can help

    Greg
    Last edited by GregS; Tue 20 Jan '09, 4:54am.

  • #2
    I could be wrong but you can't really without a plugin/module being built to give the user a place to make the choice and store that option. Otherwise there is no real way to do a conditional statement, as there is no way to know what people want.
    ForumThemes.com - vBulletin Themes

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X