b1011 Posted May 6, 2007 Share Posted May 6, 2007 has anyone seen those "live" pictures that have stats on them from a PHP page? how can i make one using variables from a PHP web page? prferably BB code. you know what i mean? Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted May 7, 2007 Share Posted May 7, 2007 If it is "live" pictures, then you probably need to look into JavaScript or Ajax. I am assuming these numbers update on that page without being refreshed as soon as the stats update? If so, then you need JavaScript. Or maybe there a code for you to use on the website where these numbers are coming from? Maybe I just have no idea what you are talking about....haha Quote Link to comment Share on other sites More sharing options...
b1011 Posted May 7, 2007 Author Share Posted May 7, 2007 yes. it would require a refresh. Quote Link to comment Share on other sites More sharing options...
MadTechie Posted May 7, 2007 Share Posted May 7, 2007 use AJAX then edit: which is javascript Quote Link to comment Share on other sites More sharing options...
tawevolution Posted May 7, 2007 Share Posted May 7, 2007 or you could try this: http://www.phpmix.org/how_to_create_a_dynamic_signature It may be a bit different to what you want, but it'll do a similar job. Just put whatever code you want in the 'text' thingy and away you go. $image_text = array( array( 'x' => 8, 'y' => 6, 'color' => array(50, 100, 180), 'font' => 9, 'text' => $anythinghere ), I have created this using SMF stats and whatnot in variables: in the url you can set variables like userid, colour of the background and style etc with some simple code (e.g. http://www.com/sig.png?user=71&colour=green etc The Username, number of posts, and user is [not] online thing is all done with php. Quote Link to comment 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.