mthompson Posted May 31, 2013 Share Posted May 31, 2013 Not too sure where to start...but this is what I am looking to create for my site: http://www.internationalvapersclub.com/sig/ You basically enter in the date you quit smoking How many cigs you used to smoke price per pack of smokes I then was to use my own design for the background image and have the above results pass into the .png and provide a url so that users can use the link on message boards. I hope this is the proper place to post this. Much thanks in advance!! Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/ Share on other sites More sharing options...
kicken Posted May 31, 2013 Share Posted May 31, 2013 You'd use the GD Library to do the image stuff. The script would basically go something like this: 1) Create GD resource from your background image (see imagecreatefrom* functions) 2) Generate the text you want to put on the image using the $_GET variables for the different fields (string var) 3) Write the text onto the GD resource (see imagettftext) 4) Output the image in the desired format (see imagepng, imagejpeg, etc functions) Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1433353 Share on other sites More sharing options...
mthompson Posted June 1, 2013 Author Share Posted June 1, 2013 Looking for a complete/working solution sinice this is out of my scope of things I know/understand.....Paypal ready to send as gift. Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1433502 Share on other sites More sharing options...
mthompson Posted June 4, 2013 Author Share Posted June 4, 2013 Played around a bit more but now am stuck and need alittle help please... URL: sunny vaping . com/sig.html Not sure why the data is not passing and creating the showimage.php results on the showresults.php page. Any help would be great. Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434004 Share on other sites More sharing options...
mthompson Posted June 5, 2013 Author Share Posted June 5, 2013 Am I asking in the incorrect section here...odd not getting any replies to further assist me I feel i am soooo close...but just not working proper PLEASE help me. Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434161 Share on other sites More sharing options...
trq Posted June 5, 2013 Share Posted June 5, 2013 Am I asking in the incorrect section here... Is that meant to be a question? If so, the answer is yes. this board is for help with PHP code. We are not here to write code for people. Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434164 Share on other sites More sharing options...
DaveyK Posted June 5, 2013 Share Posted June 5, 2013 Show us something then Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434183 Share on other sites More sharing options...
unlishema.wolf Posted June 5, 2013 Share Posted June 5, 2013 You aren't passing you variables correctly. /sig2/showimage.php?day=&month=&year=&smokedperday=&costperday=&icon=/sig2/bsv.jpg You should be able to edit this into your current /sig2/showresults.php and fix the image display. <?php echp '<img src="http://example.com/sig2/showimage.php?day=".$day."&month=".$month."&year=".$year."&smokedperday=".$smokedperday."&costperday=".$costperday."&icon=/sig2/bsv.jpg" />'; ?> All the help I can give with the info I have. Also please read my signature. Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434192 Share on other sites More sharing options...
mthompson Posted June 5, 2013 Author Share Posted June 5, 2013 You aren't passing you variables correctly. /sig2/showimage.php?day=&month=&year=&smokedperday=&costperday=&icon=/sig2/bsv.jpg You should be able to edit this into your current /sig2/showresults.php and fix the image display. <?php echp '<img src="http://example.com/sig2/showimage.php?day=".$day."&month=".$month."&year=".$year."&smokedperday=".$smokedperday."&costperday=".$costperday."&icon=/sig2/bsv.jpg" />'; ?> All the help I can give with the info I have. Also please read my signature. Thank you sir! Quote Link to comment https://forums.phpfreaks.com/topic/278627-how-to-create-a-message-board-signature-generator/#findComment-1434227 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.