DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin



DragonByte Tech Proudly Hosted By Hivelocity.net
Cloud Servers from HiVelocity Hosting / Sparknode

View Issue Info: User Spotlight Round Corners

Category:
Feature Request
Status:
Suggested
Priority:
N/A
Forum Version:
Enter the forum version you are running.
4.1.6
Support Agent:
Dylan

User Tag List

  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Page 1 of 2 12 Last
    Results 1 to 10 of 13

    Thread: User Spotlight Round Corners


    Forum: User Spotlight

    Support / Suggestions for User Spotlight.
    Click here to download!

    1. #1
      Senior Member
      Level 31 (16,259 Loyalty Points)
      is Picking Apples if I am not
      here.
       
      I am:
      Friendly
       
      GoodApples's Avatar
      Gil
      8,750 (0 Banked)
      Total Contributions For

      GoodApples Points For Dislikes Given      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Nov 2010
      Location
      Apple Orchard in Canada
      Posts
      986
      Blog Entries
      3
      Points
      8,750
      Credits
      1,226
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      4

      Default User Spotlight Round Corners

      Something small but how rounded corners on the image in the User Spotlight.

      Maybe @Ozzy47 would be interested in doing it...InfoPanels Avatar done and now User Spotlight.

      Ozzy are you game.

    2. #2
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      Ok here is the solution:

      Open the template User Spotlight Templates/dbtech_spotlight_userinfo

      Search for the following code:

      HTML Code:
      <img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
      And replace it with this:
      HTML Code:
      <img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px; -moz-border-radius:10px;">
      You can replace the 10 in, moz-border-radius:10px; there to more or less, depending on your preferences, bigger the number the more radius.

      Before:


      After:


      This will have to be done in each style you want it to show like that.
      Last edited by Ozzy47; 23rd September 2011 at 22:11.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.

      Thanks Erica thanked for this post

    3. #3
      Senior Member
      Level 31 (16,259 Loyalty Points)
      is Picking Apples if I am not
      here.
       
      I am:
      Friendly
       
      GoodApples's Avatar
      Gil
      8,750 (0 Banked)
      Total Contributions For

      GoodApples Points For Dislikes Given      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Nov 2010
      Location
      Apple Orchard in Canada
      Posts
      986
      Blog Entries
      3
      Points
      8,750
      Credits
      1,226
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      4

      Default

      Open the template DragonByte Tech: InfoPanels Templates/dbtech_infopanels_panel
      @Ozzy47 for User Spotlight ?

    4. #4
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      OOOps refresh the page I edited the first post lol.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.


    5. #5
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      @GoodApples did that work?

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.


    6. #6
      Senior Member
      Level 31 (16,259 Loyalty Points)
      is Picking Apples if I am not
      here.
       
      I am:
      Friendly
       
      GoodApples's Avatar
      Gil
      8,750 (0 Banked)
      Total Contributions For

      GoodApples Points For Dislikes Given      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Nov 2010
      Location
      Apple Orchard in Canada
      Posts
      986
      Blog Entries
      3
      Points
      8,750
      Credits
      1,226
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      4

      Default

      Yes @Ozzy47 it does in FireFox
      not Internet Explorer but that is to be expected.
      Thanks for following up to make sure it worked.

    7. #7
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      Yeah IE does not take into account the -moz-border-radius: setting, their has been alot of discussion on vB.com, and vB.org over that.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.


    8. #8
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      @GoodApples

      After doing some research I found a way to work cross browser including IE.

      First open the Templates/CSS Templates/additional.css in the style you are working with. Unless you already added this from other post.

      Add the following at the bottom of the template.

      HTML Code:
      .rounded {
        border-radius:1ex;
        -webkit-border-radius:1ex;
        -moz-border-radius:1ex;
      }
      Then save that.

      If you applied the edit in the first post revert the template, User Spotlight Templates/dbtech_spotlight_userinfo

      Now open the template User Spotlight Templates/dbtech_spotlight_userinfo

      Search for the following code:
      HTML Code:
      <img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
      And Replace it with this:
      HTML Code:
      <img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;" class= "rounded">
      If you want more of a radius open the CSS Templates/additional.css
      and change all instances of 1 to a higher number, in the .rounded you added there.
      Last edited by Ozzy47; 29th September 2011 at 01:16.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.


    9. #9
      Senior Member
      Level 31 (16,259 Loyalty Points)
      is Picking Apples if I am not
      here.
       
      I am:
      Friendly
       
      GoodApples's Avatar
      Gil
      8,750 (0 Banked)
      Total Contributions For

      GoodApples Points For Dislikes Given      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Nov 2010
      Location
      Apple Orchard in Canada
      Posts
      986
      Blog Entries
      3
      Points
      8,750
      Credits
      1,226
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      4

      Default

      I gave the cross browser option in post #8 above a try but did not work for me. I know this may sound odd but I think there may be a bug that is effecting the additional.css in the last couple of vB version starting with 4.1.4
      I try again when 4.1.7 comes out. Thanks @Ozzy47

    10. #10
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,104 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,535
      Blog Entries
      12
      Points
      37,104
      Credits
      60,857
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      I tested it on 4.1.3 through 4.1.5pl1 and it works as intended.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.

      Thanks GoodApples Points For Dislikes Given thanked for this post

    Page 1 of 2 12 Last

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. [French] User Spotlight
      By dadoo in forum Translations
      Replies: 4
      Last Post: 8th September 2012, 17:57
    2. Need more info on User Spotlight
      By Mv.c9 in forum Pre-Sales Questions
      Replies: 6
      Last Post: 5th May 2011, 05:15
    3. [AddOn] User Spotlight Not Showing In SideBlock
      By EasyEasy in forum User Spotlight
      Replies: 6
      Last Post: 7th March 2011, 23:59

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •