Jump to content

Live images/Stats


b1011

Recommended Posts

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

Link to comment
Share on other sites

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:

 

signature.php?user=71&c=4&g=1

 

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.