Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Custom SevenForums Gadgets

20 Mar 2009   #341

Win7 Ultimate x64 on Desktop / Win7 Ultimate x86 on laptop / Win7 x86 Starter on Netbook

Using the gadget now. :)

My System SpecsSystem Spec
20 Mar 2009   #342

Windows 7 RC 7100 32bit/64bit

Chat in use :)

Attached Images
Custom SevenForums Gadgets-untitled.png 
My System SpecsSystem Spec
21 Mar 2009   #343

Windows 7 RC 7100 32bit/64bit


Fixed the issue that you couldn't use chat if you weren't logged in automatically.

Now you can use chat with all methods of login , except if you login as guest, of course.


Note: I will pause the development here for now, cause I've lost many nights of sleep, and my gf will probably break up with me if I go on like this . I will respond to feedback about bugs, though, and try to correct them.

I don't complain though, I've learned a lot while making this.

To anyone interested, methods used in the gadget are:

For Local Gadget Main Application Window:

1. Gadget-related javascript (M$ prototypes)
2. Standard Javascript
3. HTML, Frames

For Retrieving Sevenforums' Functionality in the Gadget:

2. PHP
3. cURL (a PHP extension)
4. Advanced Javascript
5. Ajax (a dynamic web page/script execution technology)
6. Lots of HTML text replacing and re-adding , through PHP's str_replace, strpos and substr functions.

For the chat application:

2. PHP
3. Mysql
3. Javascript
4. Ajax
5. HighSlide JS (a javascript script made by Torstein Hansi for the cool window popup effects. This forum uses it too to display attached images)

1. A web server with PHP support (Linux, Windows) where the PHP scripts reside.
2. A MySQL server
3. Experience in all the above.

Related links:
A simple guide to creating your first Gadget

Latest version:

Attached Files
File Type: zip sevenforums.Gadgetv2.5 (184.7 KB, 719 views)
My System SpecsSystem Spec

22 Mar 2009   #344

Windows 7 Ultimate x86

Hi limneos and thanks for the gadget, but is there a way to make it smaller, like before when the gadget was in sleep mode.I've tried changing the gadget's height and width but after I press Save settings nothing happens. The default values (700x400) are still there.

Later edit: Found the sleep button , but still if I modify the height the viewing is a little buggy.Maybe if you make it so if it is smaller in height it will show less information, like the default weather gadget (Larger Size/Smaller Size button).
My System SpecsSystem Spec
22 Mar 2009   #345

Windows 8.1 Pro RTM x64

Hi HyperL,

What size are you trying to set it at? The height must be between 300 and 1024, and the width between 400 and 800. You can try altering the figures highlighted in red here (note that they are in pairs), but I don't know if Limneos has set the gadget code to automatically use the lower limit if the settings are lower or the upper if they are higher. I must also point out that I haven't tried this. If you do decide to try this, do not deviate too far from these limits.

The following code may be found in the file settings.html. To locate this file, click the Start Orb and type shell:gadgets into the search box and press enter/return. Open the folder sevenforums.Gadget. Right click the above mentioned file and select edit. Look for the section shown in the code below (near the end of the file). When you have finished editing, click File and Save (alternatively, use the Ctrl+S keyboard shortcut).
function checkfirst(){
var errs=0;
if (document.setter.height.value<300){
document.getElementById('messages').innerHTML='<font color=red>Height must be >300</font>';
if (document.setter.height.value>1024){
document.getElementById('messages').innerHTML='<font color=red>Height must be <1024</font>';
if (document.setter.width.value<400){
document.getElementById('messages').innerHTML='<font color=red>Width must be >400</font>';
if (document.setter.width.value>800){
document.getElementById('messages').innerHTML='<font color=red>Width must be <800</font>';
if (document.setter.rater.value>60 || document.setter.rater.value<5){
document.getElementById('messages').innerHTML='<font color=red>Rate:from 5 to 60!</font>';
if (errs<1){
document.getElementById('messages').innerHTML='User Settings <font color=red>Saved!</font>'
else {
return false;
My System SpecsSystem Spec
22 Mar 2009   #346

Vista Ult 64 bit Seven Ult RTM x64

Thank you, Elias. You've put a lot of work into this and have done a great job. Much appreciated. Now go spend some time with your lady and get some rest.

My System SpecsSystem Spec
22 Mar 2009   #347

Windows 7 RC 7100 32bit/64bit

Thanks Gary...
It appears that the icons caching problem has to do with ajax.
I found the solution is to clear IE8's Temporary Internet Files.

Here's 2 screenshots, first is with my old avatar...then I do a Delete Temporary Internet Files from IE8 menu, Tools -> Internet Options -> Delete .

On the same instance, my new avatar appears:

Below are screenshots from before and after deleting Temp Internet Files.
Check how my avatar was updated at once.

Attached Images
Custom SevenForums Gadgets-1.png Custom SevenForums Gadgets-2.png 
My System SpecsSystem Spec
22 Mar 2009   #348

Windows 7 Ultimate x64, Mint 9

Cool. Will have to mess with it. What language do you make these with?

Just learning some programming and want to try something like this.

My System SpecsSystem Spec
22 Mar 2009   #349

Windows 8.1 Pro RTM x64

Hi David,

Elias provided some links to some of the resources he used in an earlier post in this thread - see
My System SpecsSystem Spec
23 Mar 2009   #350

Windows 8.1 Pro RTM x64

Hi Elias,

Still something not quite right here. I have opened 2 instances of the gadget, 1 as the webpage and 1 as the gadget itself. Notice the time difference. The first image (webpage) shows the correct user avatar and the forum icons, whereas the gadget itself doesn't show the icons and instead shows the avatar which I had yesterday (and also today, until I changed it).
Custom SevenForums Gadgets-capture.png Custom SevenForums Gadgets-capture1.png
I have followed your advice about clearing IE8's Temporary Internet Files, but this has made no difference.

There is definitely something weird going on here. Since originally making this post, I have again changed my avatar to the delightful chap you see here, but the avatars with the gadget haven't changed.
Custom SevenForums Gadgets-capture2.png Custom SevenForums Gadgets-capture3.png

My System SpecsSystem Spec

 Custom SevenForums Gadgets

Thread Tools

Similar help and support threads
Thread Forum
Anyone making custom gadgets?
Hey everyone out there! So i just registerede - mainly because i wanted to ask my question, but i might as well stick around too :) So i was wondering if anyone here knew how to make a homemade gadget? You see, i've just started "high-school" (I'm danish XD), and my timetable for school is...
How To Make Custom Gadgets
First Chose A Gadget I'll Do The Calander So Find Its Folder At C:\Program Files\Windows Sidebar\Gadgets/GadgetsNAME And Take Owner Ship Of It. Now Find Its Img Folder Inside And Close Sidbar In Taskmrg Now You Can Edit Them To Fit Your Need Star The GadGets Back Up nd You Ar Done. P.S Try...
Custom Gadgets by sergiogarcia9 Hi all i started making gadgets as you might know, and was wondering if any of you would like a custom gadget? :) I can do clocks, CPU meters, HDD meters etc. :) So place your requests in this thread, and i will try the best i can...
Gadgets, custom DPI, pink outline
Hello all, went through every post in this tread looking for answers (and because I wanted MORE gadgets, lol). There were older posts I didn't want to bump. 1st one people didn't know reason for problem, and 2nd one people didn't have answer to fix (if possible: ...
Kukags Custom Gadgets!
Just interfaces would like to team up with a coder or two and actually start distributing these gadgets as top quality gadgets. Heres the prototypes I have so far.... MANY MORE to come and just like my explorer I NEED IDEAS! =P Thanks, Kukag!

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:18.
Twitter Facebook Google+