cyrl Posted November 26, 2010 Share Posted November 26, 2010 I would like to know from here to find the mod/app that generates an auto signature for the users such as in neowin. Does anyone know from where to find it? Link to comment Share on other sites More sharing options...
0 Cupcakes Posted November 26, 2010 Share Posted November 26, 2010 You'll want to read up on Image Processing and GD as that's what's used for the sigs. It's not specific to IPB although the devs have coded it so that the IPB username is pulled into the array so it generates on the image. Link to comment Share on other sites More sharing options...
0 Andrew Lyle Global Moderator Posted November 26, 2010 Global Moderator Share Posted November 26, 2010 You'll want to read up on Image Processing and GD as that's what's used for the sigs. It's not specific to IPB although the devs have coded it so that the IPB username is pulled into the array so it generates on the image. Don't forget I helped :p The original idea came up when people kept request staff signatures, so I thought i'd make a quick generator to do so. It eventually turned into what we have today, and it was developed by myself, Dave, Timan, Rob, and a couple of others :) There isn't a hack or open source code for it, but it does use GD to overlay the text onto the image and merge them. Link to comment Share on other sites More sharing options...
0 The_Decryptor Veteran Posted November 26, 2010 Veteran Share Posted November 26, 2010 A "couple of others", thanks Andrew :laugh: Link to comment Share on other sites More sharing options...
0 cyrl Posted November 26, 2010 Author Share Posted November 26, 2010 You'll want to read up on Image Processing and GD as that's what's used for the sigs. It's not specific to IPB although the devs have coded it so that the IPB username is pulled into the array so it generates on the image. Sure I will read the page regarding image processing and GD. Thanks for the letting me know. Don't forget I helped :p The original idea came up when people kept request staff signatures, so I thought i'd make a quick generator to do so. It eventually turned into what we have today, and it was developed by myself, Dave, Timan, Rob, and a couple of others :) There isn't a hack or open source code for it, but it does use GD to overlay the text onto the image and merge them. It sure is a great script that you have made. But I want to know couple of things how did you manage to get the user id and their ranks to the signature? Did you link the SQL database or something else? Is there a sample code or something to take a look at when you decided to write this code for the generator? Link to comment Share on other sites More sharing options...
0 Andrew Lyle Global Moderator Posted November 26, 2010 Global Moderator Share Posted November 26, 2010 It sure is a great script that you have made. But I want to know couple of things how did you manage to get the user id and their ranks to the signature? Did you link the SQL database or something else? Is there a sample code or something to take a look at when you decided to write this code for the generator? Yes. It takes the users rank (ID number) and their Username from a SQL database, which then picks the corresponding signature, and overlays the image onto it :) Just make sure you add code to refresh the image when need be (not all the time) in case their username or rank changes. Link to comment Share on other sites More sharing options...
0 cyrl Posted November 29, 2010 Author Share Posted November 29, 2010 Yes. It takes the users rank (ID number) and their Username from a SQL database, which then picks the corresponding signature, and overlays the image onto it :) Just make sure you add code to refresh the image when need be (not all the time) in case their username or rank changes. Oh okay! But the basic image which format is used for it for it to be editable? Its just like carrying out an action for a bunch of photos in photoshop right? Link to comment Share on other sites More sharing options...
0 The_Decryptor Veteran Posted November 29, 2010 Veteran Share Posted November 29, 2010 It's at a lower level than that. In my old code (done in PHP), each backing badge was stored as a PNG file, which was loaded using the GD library. Then I drew the text* over the image and output that. * It was slightly more complicated actually, because it needed a dynamic drop shadow, so it involved a temporary image surface and a convolution function for the blurring. Link to comment Share on other sites More sharing options...
Question
cyrl
I would like to know from here to find the mod/app that generates an auto signature for the users such as in neowin. Does anyone know from where to find it?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts