Thoughts of a geek

13 December 2006

Show your Geekpoints off

Filed under: Computers, Geekpoints — qwandor @ 11:09 pm

Those of you using Geekpoints can now show off how many points you have on your own site. (Those of you not using Geekpoints should join now.)

Simply include http://geekpoints.org.nz/user_snippet.php?username=myusername (replacing ‘myusername’ with your Geekpoints username) in your site. If you are using PHP, the following code will do this:

<?php include 'http://geekpoints.org.nz/user_snippet.php?username=myusername'; ?>

You will probably also want to add some CSS to style this; I used the following rule:

.geekpoints {font-size: smaller; border: 1px solid #F0F0F0; background-color: #F6F7F8; }

Feedback is most welcome.

If there is demand, I will consider adding an image version that can be used without any server-side scripting (e.g. in a forum signature).

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: