1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Add Zodiac Sign to the message userinfo bit

Discussion in 'Add-on Releases [Archive]' started by Rigel Kentaurus, Nov 14, 2010.

Thread Status:
Not open for further replies.
  1. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

  2. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    (second post reserved)
     
  3. Shelley

    Shelley Well-Known Member

    I designed all the zodiac icons years ago, I'll need to hunt for them and submit them into the resource area. Nice work Rigel.
     
    Puntocom, erich37 and ArnyVee like this.
  4. manik

    manik Member

    Nice mod, thanks friend.
     
  5. ArnyVee

    ArnyVee Well-Known Member

    Once Shelley finds her zodiac sign we may look into adding this ;)
     
    erich37 likes this.
  6. erich37

    erich37 Well-Known Member

    Hey Shelley,

    do you have XF-styled Zodic-signs available ?

    I am also wondering whether this Add-on works with XF Beta5 and RC1 ?

    Many thanks,
     
  7. kingston

    kingston Well-Known Member

    Im just curious if you adjusted for the new 13th Zodiac sign...
     
  8. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

  9. erich37

    erich37 Well-Known Member

  10. SchmitzIT

    SchmitzIT Well-Known Member

    Yes, it is.

    I made some minor changes to the original code. I centered the image, and added a check to ensure it doesn't show up if a user did not specify a date of birth (in my case, I did an import, and for some reason ended up with users displaying the word "zodiac_" instead of an image).

    Code:
            <div class="usericons">
                <xen:if is="{$message.zodiac_sign}"><center><img src="styles/default/zodiac/{$message.zodiac_sign}.gif" alt="{$message.zodiac_sign_label}" title="{$message.zodiac_sign_label}" /></center></xen:if>
            </div>
    
    Thanks for the Add-On :)
     
    erich37 likes this.
  11. erich37

    erich37 Well-Known Member

    let´s see if Shelley can help on the images......
     
    Puntocom likes this.
  12. erich37

    erich37 Well-Known Member

    Do I need to use this code or the .zip-File from the initial post ?

    Many thanks for help!
     
  13. SchmitzIT

    SchmitzIT Well-Known Member

    Both. What I posted above is my replacement for the template edit from the first post. You will still need the zip-file, though.
     
    erich37 likes this.
  14. erich37

    erich37 Well-Known Member

    wondering whether this is working with XF 1.0.0 ?
     
  15. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    Last I tried was with RC3, I would not expect it to break in 1.0.0
     
  16. Puntocom

    Puntocom Well-Known Member

    It works perfectly in 1.0.0 (y)
     
    erich37 likes this.
  17. masterchief

    masterchief Well-Known Member

    I am getting the Zodiac_ text for the administrator
    birthday info is entered
     
  18. Peggy

    Peggy Well-Known Member

    Rigel I'm assuming, from the screenshot, that this puts the zodiac sign on the postbit?

    It would be great if you could work it so it goes on either the member card or the profile.
    Or perhaps have an option to choose between the three?
     
    erich37 likes this.
  19. James

    James Well-Known Member

    Instead of the style path being styles/default/zodiac/{$message.zodiac_sign}.gif, shouldn't it be @imagePath/zodiac/{$message.zodiac_sign}.gif?

    Have you tried taking the code in the OP and applying it to the locations you wish, just as a quick fix?
    Code:
    <div class="usericons">
    <img src="styles/default/zodiac/{$message.zodiac_sign}.gif" alt="{$message.zodiac_sign_label}" title="{$message.zodiac_sign_label}" />
    </div>
    
     
  20. Peggy

    Peggy Well-Known Member

    nooooo I haven't. I wouldn't even begin to know where to place the code.
     
Thread Status:
Not open for further replies.

Share This Page