|
|
||
FlairI was inspired by the user profile "flair" found at Stackoverflow and I thought it would be fun to create my own flair for other software development forums. JavaRanch ForumsDisplays your name, ranking, and number of posts along with your profile picture if you have one. Javascript This will add the flair to the page using Javascript's <script src="http://www.mangst.com/flair/javaranch?id=209694&type=js" type="text/javascript"> </script> HTML If you can't or don't want to use Javascript, you can use an iframe instead. You must replace the ID number in the URL with your JavaRanch member number. You can find your member number on your profile page. <iframe src="http://www.mangst.com/flair/javaranch?id=209694&type=html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="220" height="100"> </iframe> Image This will dynamically generate an image, creating something which looks similar to the HTML and Javascript versions. PNG and JPEG formats are supported. You must replace the ID number in the URL with your JavaRanch member number. You can find your member number on your profile page. <a href="http://www.coderanch.com/forums/user/profile/209694"> <img src="http://www.mangst.com/flair/javaranch?id=209694&type=png" /> </a> JSON You can get the raw data using JSON if you'd like. You must replace the ID number in the URL with your JavaRanch member number. You can find your member number on your profile page. JSON URL: http://www.mangst.com/flair/javaranch?id=209694&type=json Sun ForumsDisplays your name, number of Dukes, and number of posts. Javascript This will add the flair to the page using Javascript's <script src="http://www.mangst.com/flair/sun?id=1071155&type=js" type="text/javascript"> </script> HTML If you can't or don't want to use Javascript, you can use an iframe instead. You must replace the ID number in the URL with your Sun forum ID. <iframe src="http://www.mangst.com/flair/sun?id=1071155&type=html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="220" height="100"> </iframe> Image This will dynamically generate an image, creating something which looks similar to the HTML and Javascript versions. PNG and JPEG formats are supported. You must replace the ID numbers in the URLs with your Sun forum ID. <a href="http://forums.sun.com/profile.jspa?userID=1071155"> <img src="http://www.mangst.com/flair/sun?id=1071155&type=png" /> </a> JSON You can get the raw data using JSON if you'd like. You must replace the ID number in the URL with your Sun forum ID. JSON URL: http://www.mangst.com/flair/sun?id=1071155&type=json |