Custom SevenForums Gadgets

Using the gadget now. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
Dilithium Computers/Engineering (Myself) Star date 42.739285.5432.9
OS
Win7 Ultimate x64 on Desktop / Win7 Ultimate x86 on laptop / Win7 x86 Starter on Netbook
CPU
AMD Phenom 965 X4 3.4Ghz cpu Black Edition
Motherboard
Gigabyte 790XT
Memory
12 Gb DDR3
Graphics Card(s)
Nvidea Gforce GTX 470
Sound Card
Onboard Realtek hi-fi
Monitor(s) Displays
Lg 3D led 23"
Screen Resolution
1920x1080
Hard Drives
Loads maxstore sata 1 & 2/ loads of partitions + 1Tb Hitachi sata 2. 256Gb Crucial ssd.
PSU
OCZ 700W GameXstream
Case
Artec 10000
Cooling
On board + many case fans
Keyboard
Logitech wireless K350
Mouse
Inferno gaming mouse
Internet Speed
Talk talk. 10Mb
Other Info
My PC was hand built with matchsticks. xbox 360 controller. Printers,fax.........
Chat in use :)
 

Attachments

  • Untitled.png
    Untitled.png
    41 KB · Views: 101

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
Update:

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.

Cheers

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 :p. 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:

1. HTML, DHTML
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:

1. HTML, DHTML
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)

Requirements:
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:
 

Attachments

Last edited:

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
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 :p, 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 Computer My Computer

Computer Manufacturer/Model Number
Sony Vaio/VGN-FZ11Z
OS
Windows 7 Ultimate x86
CPU
Intel Centrino Duo T7300
Motherboard
Sony
Memory
2048DDR2
Graphics Card(s)
nVidia GeForce 8400GT
Sound Card
SigmaTel High Definition Audio Codec
Monitor(s) Displays
Sony 15.4"
Screen Resolution
1280x800
Hard Drives
Fujitsu MHV2200BT 200GB SATA2
Mouse
Logitech LX8 Cordless
Internet Speed
100Mb/s
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).
Code:
function checkfirst(){
var errs=0;
if (document.setter.height.value<[COLOR=red]300[/COLOR]){
document.getElementById('messages').innerHTML='<font color=red>Height must be >[COLOR=red]300[/COLOR]</font>';
errs++;
}
if (document.setter.height.value>[COLOR=red]1024[/COLOR]){
document.getElementById('messages').innerHTML='<font color=red>Height must be <[COLOR=red]1024[/COLOR]</font>';
errs++;
}
if (document.setter.width.value<[COLOR=red]400[/COLOR]){
document.getElementById('messages').innerHTML='<font color=red>Width must be >[COLOR=red]400[/COLOR]</font>';
errs++;
}
if (document.setter.width.value>[COLOR=red]800[/COLOR]){
document.getElementById('messages').innerHTML='<font color=red>Width must be <[COLOR=red]800[/COLOR]</font>';
errs++;
}
if (document.setter.rater.value>60 || document.setter.rater.value<5){
document.getElementById('messages').innerHTML='<font color=red>Rate:from 5 to 60!</font>';
errs++;
}
if (errs<1){
document.getElementById('messages').innerHTML='User Settings <font color=red>Saved!</font>'
limsavesettings();
}
else {
return false;
}
}
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
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.

Gary
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell XPS420
OS
Vista Ult 64 bit Seven Ult RTM x64
CPU
Intel Core2 Quad Q6600 2.40 gigahertz
Memory
Crucial Ballistix 4x2GB PC2 6400
Graphics Card(s)
NVIDIA GeForce 8600 GTS 256 MB
Sound Card
Creative SB X-Fi audio
Monitor(s) Displays
HP w2207 + HPvs15
Screen Resolution
1680x1050 + 1024x768
Hard Drives
2-WD5000AAKS-500 GB
WD5000AAV-500 GB external
Keyboard
Microsoft Comfort Curve
Mouse
MX Revolution
Other Info
Wacom Intuos 2 Graphics Tablet
Experience Index=5.5
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.
 

Attachments

  • 1.png
    1.png
    40.1 KB · Views: 57
  • 2.png
    2.png
    40.3 KB · Views: 51

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
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.

~Lordbob
 

My Computer My Computer

Computer Manufacturer/Model Number
Hera
OS
Windows 7 Ultimate x64, Mint 9
CPU
Intel i5-2500k
Motherboard
ASUS P8P67 Pro
Memory
2x 4Gb Corsair VENGEANCE DDR3-1600
Graphics Card(s)
NVidia GeForce N260GTX Twin Frozr
Sound Card
Realtek HD OnBoard Audio
Monitor(s) Displays
ASUS 24" Monitor
Screen Resolution
1920x1080
Hard Drives
G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II
PSU
Cooler Master Real Power Pro 750W
Case
Cooler Master Haf 932
Cooling
Fans
Keyboard
Razer Tarantula
Mouse
Razer Lachesis
Internet Speed
not fast enough

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
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).
Capture.PNG 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.
Capture2.PNG Capture3.PNG
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
hello Dwarf.

I'm still trying to figure out what is causing this.

I have added a header request to not cache the images.

Please let me know if you notice any difference
 

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
limneos. Hey use the forum gadget alot. Grabbed the clock and like it! Looks very nice. Needs three more skins to have seven. One for each day of the week. thanks man.
 

My Computer My Computer

Computer Manufacturer/Model Number
Gateway GT5692
OS
Windows 7 Ulti. x64
CPU
AMD Phenom 8450 triple-core 2.10 ghz
Memory
4GB
Graphics Card(s)
ATI Radion HD 3200
Monitor(s) Displays
Gateway FPD1775W
Screen Resolution
1280x720
Hard Drives
465.6613 Gibibytes
Thanks Limneos, I have replaced my old clock and it looks very nice.
 

My Computer My Computer

Computer Manufacturer/Model Number
Home Brew
OS
Windows 7 Ultimate Vista Ultimate x64
CPU
Core 2 Duo E8500 3.16Ghz @ 3.8Ghz
Motherboard
eVGA 750i FTW
Memory
2x2Gigs Patriot PC2-6400 LL
Graphics Card(s)
Inno3D GeForce GTX260 216 SP
Monitor(s) Displays
ASUS VW222U 22" 2ms Response time
Screen Resolution
1680x1050
Hard Drives
SATA 150GB
SATA II 250GB
USB IDE 750GB Ext.
PSU
HYTEC 600W & Thermaltake 650W Toughpower Power Exp
Case
Thermaltake Armor LCS (Liquid Cooling System)
Cooling
Liquid Cooling System
Keyboard
Logitech G15 Gaming Keyboard
Mouse
Logitech G9 Gaming Mouse
Nice Job
Thank you
 

My Computer My Computer

OS
windows 7 7057
CPU
AMD
Memory
2 Gig
Graphics Card(s)
Nvida 8600
Glad you like it !

Let me know if someone needs to change the date format, it's European format, day first, month second. (e.g. 26/03/2009).

If you need to change that to 03/26 , let me know, I'll post a guide.
 

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
hey limneos
you should package it in a gadget format you know...:p
i have all packed and just by double clicking it it should be installed....;)
well i mean once you extract the zip...
double click the gadget icon and it should automatically install...
 

Attachments

My Computer My Computer

Computer Manufacturer/Model Number
Tx2500z Tablet Pc/Homemade Server
OS
Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM)
CPU
Turion X2 ultra (oh well came with laptop)/P4 @3.2 (yes P4)
Motherboard
IDK HP Motherboard / Intel DG965SS
Memory
OCZ Dual Channel 4GB kit/ 1gb Dual Channel
Graphics Card(s)
HD 3200 graphics /GMA x3100 (yay for intergrated!!)
Sound Card
Realtek HD Audio(mic working, well sort of)/Siig IC-70012
Monitor(s) Displays
built-in Hp 12" laptop screen/ Acer 19"
Screen Resolution
1280x800 /1440x900
Cooling
All Air Cooled
Mouse
Logi MX Rev. /MS Wheel Optical 1.1A /Logitech Optical Mouse
Internet Speed
College baby but its still routed through vpn to 1536k...
Other Info
love my wacom pen and pressure sensitivity...
wished it worked in 7, SUSE for that matter though
in gadget format for whomever wants it....
(all credit of course goes to limneos for creating it...;))
 

Attachments

My Computer My Computer

Computer Manufacturer/Model Number
Tx2500z Tablet Pc/Homemade Server
OS
Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM)
CPU
Turion X2 ultra (oh well came with laptop)/P4 @3.2 (yes P4)
Motherboard
IDK HP Motherboard / Intel DG965SS
Memory
OCZ Dual Channel 4GB kit/ 1gb Dual Channel
Graphics Card(s)
HD 3200 graphics /GMA x3100 (yay for intergrated!!)
Sound Card
Realtek HD Audio(mic working, well sort of)/Siig IC-70012
Monitor(s) Displays
built-in Hp 12" laptop screen/ Acer 19"
Screen Resolution
1280x800 /1440x900
Cooling
All Air Cooled
Mouse
Logi MX Rev. /MS Wheel Optical 1.1A /Logitech Optical Mouse
Internet Speed
College baby but its still routed through vpn to 1536k...
Other Info
love my wacom pen and pressure sensitivity...
wished it worked in 7, SUSE for that matter though
I have noticed that the gadget is not reporting the times of some new posts correctly. For instance at the moment I have 2 flashing with the 1 min ago tag, but when I go to the posts, they are 1 hour old. If I put it to sleep and wake it up (new login) it is fine for a while. This may have to do with the server problems John has been having. Just thought I'd mention it.

Gary
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell XPS420
OS
Vista Ult 64 bit Seven Ult RTM x64
CPU
Intel Core2 Quad Q6600 2.40 gigahertz
Memory
Crucial Ballistix 4x2GB PC2 6400
Graphics Card(s)
NVIDIA GeForce 8600 GTS 256 MB
Sound Card
Creative SB X-Fi audio
Monitor(s) Displays
HP w2207 + HPvs15
Screen Resolution
1680x1050 + 1024x768
Hard Drives
2-WD5000AAKS-500 GB
WD5000AAV-500 GB external
Keyboard
Microsoft Comfort Curve
Mouse
MX Revolution
Other Info
Wacom Intuos 2 Graphics Tablet
Experience Index=5.5
hey limneos
you should package it in a gadget format you know...:p
i have all packed and just by double clicking it it should be installed....;)
well i mean once you extract the zip...
double click the gadget icon and it should automatically install...

I have done that but it doesn't install, you double-click it, it asks "Install - Don't Install" and when you press Install, nothing happens.

as if there's something wrong in the code....I haven't figured out what's causing this.


Gary said:
I have noticed that the gadget is not reporting the times of some new posts correctly. For instance at the moment I have 2 flashing with the 1 min ago tag, but when I go to the posts, they are 1 hour old. If I put it to sleep and wake it up (new login) it is fine for a while. This may have to do with the server problems John has been having. Just thought I'd mention it.

Probably server problems indeed.
 

My Computer My Computer

Computer Manufacturer/Model Number
ENIAC
OS
Windows 7 RC 7100 32bit/64bit
CPU
Intel Core2Duo E4500 2.20 GHz
Motherboard
ASUS P5LD2-X/1333
Memory
2x1GB Kinsgston DDR2 800MHz
Graphics Card(s)
Nvidia 8500GT
Sound Card
Onboard High Definition Audio Device
Monitor(s) Displays
Sony Bravia 42"
Case
LINKW 2222
Cooling
Standard Intel
Keyboard
Some cheap one
Mouse
Microsoft Intellimouse something
Internet Speed
24MBps ADSL
Back
Top