techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old May 16, 2009, 12:17 PM   #1
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

About the 1 [IMG] in sig limit.....

I went to add another image to my sig when I remembered that the forum only allows one.
I understand that its in there to reduce clutter and keep the forum neat as well as keep page loading times down.

But I kinda want to have two images in my sig.

Would you Mods mind If i wrote a script that grabbed two sig images, and sent them as 1 image to use in my sig?
I thought id ask first to be polite. Since it IS a forum rule and some mods might think any form of subverting it is a ban able offense.

oh... I would of course keep to the imposed sig image size limit.
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 12:26 PM   #2
thraxed
Guest
 
Posts: n/a (0/day)

Why not merge the photos in photoshop and upload em as your pic?
 
Reply With Quote
The Following User Says Thank You to For This Useful Post:
Old May 16, 2009, 12:36 PM   #3
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

because they are not static images... they are served live from different websites.
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 12:38 PM   #4
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts

System Specs

I doubt they would allow it, as then they will have to allow it for everyone.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old May 16, 2009, 12:39 PM   #5
Triprift
3500 Posts
 
Triprift's Avatar
 
Join Date: Dec 2007
Location: Adelaide Australia
Posts: 4,258 (2.11/day)
Thanks: 520
Thanked 947 Times in 788 Posts
Send a message via Skype™ to Triprift

System Specs

Dammit Kreij thats what i was going to say.
__________________

Welcome to the lost chicken helpline if you have lost your chicken press 1, if you have found a lost chicken press 2, if you would like to adopt a chicken press 3, if you would like to sponsor a chicken press 4 for all other enquiries press 5

Graphic Artists United™ Solaris utility DVD 4.0 ---General nonsense 2.0---
How to post pics at TPU
Triprift is online now  
Reply With Quote
Old May 16, 2009, 12:42 PM   #6
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

as far as the foums system is concerned it is only 1 image. Its only breaking a rule on a technicality. Im only asking before doing as a matter of politeness...

its not like I would be sharing the source code with everyone on the board so only those who can program in a server-side language would be able to make one.

Also I was addressing the mods and admins of the forum, not other forum users.......
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 12:43 PM   #7
mike047
200 Posts
 
mike047's Avatar
 
Join Date: Apr 2009
Location: Zirconia NC usa
Posts: 456 (0.30/day)
Thanks: 147
Thanked 171 Times in 112 Posts

System Specs

Quote:
Originally Posted by morpha View Post
as far as the foums system is concerned it is only 1 image. Its only breaking a rule on a technicality. Im only asking before doing as a matter of politeness...

its not like I would be sharing the source code with everyone on the board so only those who can program in a server-side language would be able to make one.

Also I was addressing the mods and admins of the forum, not other forum users.......

You could PM a mod/admin as I did...no response yet
__________________
mike
Disclaimer; I am old and frequently forget, so this may or may not be accurate...but to the best of my knowledge it is what I recall.
MY HEAT/MY EBAY
mike047 is offline  
Reply With Quote
Old May 16, 2009, 12:44 PM   #8
Triprift
3500 Posts
 
Triprift's Avatar
 
Join Date: Dec 2007
Location: Adelaide Australia
Posts: 4,258 (2.11/day)
Thanks: 520
Thanked 947 Times in 788 Posts
Send a message via Skype™ to Triprift

System Specs

Pm a admin and see what they say my quess would be in negative but who knows.
__________________

Welcome to the lost chicken helpline if you have lost your chicken press 1, if you have found a lost chicken press 2, if you would like to adopt a chicken press 3, if you would like to sponsor a chicken press 4 for all other enquiries press 5

Graphic Artists United™ Solaris utility DVD 4.0 ---General nonsense 2.0---
How to post pics at TPU
Triprift is online now  
Reply With Quote
Old May 16, 2009, 12:49 PM   #9
aCid888*
2000 Posts
 
aCid888*'s Avatar
 
Join Date: May 2008
Location: In a state of flux...
Posts: 2,297 (1.24/day)
Thanks: 360
Thanked 660 Times in 547 Posts

Quote:
Originally Posted by morpha View Post
Also I was addressing the mods and admins of the forum, not other forum users.......
Why make a topic in a public forum if you don't want peoples input??

If you wanted to ask someone who knows the answer then PM Wizzard before making a thread like this.....I'm sure that way you will get your 'No' answer without us telling you first.


Edit: Being polite may get you what you ask for.
__________________
HTPC: E8500 @ 3.8GHz 1.20v ~ Passive Xiggy HDT-1283 ~ X38 Maximus Formula (Rampage BIOS) ~ 2x1GB Mushkin 1150mhz @ 950mhz 2.0v ~ 2x500GB RAID0 ~ eVGA 9800GTX+ SC ~ 52" Toshiba 1920x1080 LCD ~ Windows XP SP3 ~ Logitech Z-5500 5.1

“I would like to thank acid for this pivotal moment in internet history were he has just successfully forced the creation of a brand new meme.” -Solaris17
aCid888* is offline  
Reply With Quote
Old May 16, 2009, 12:52 PM   #10
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

I agree... I probably SHOULD have PM'ed Wizzard instead of making a public thread...
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 12:53 PM   #11
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,873 (4.17/day)
Thanks: 184
Thanked 10,455 Times in 3,219 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard Send a message via Skype™ to W1zzard

System Specs

write a server side app that pulls your two images, combines them into one image and serves it to the original request. then put a link to your script into your img tag and it's done. make sure this whole process doesn't take too long, maybe cache your images

Quote:
Edit: Being polite may get you what you ask for.
i dont think so. be creative. figure out ways to solve your problem. think outside of the box.
W1zzard is offline  
Reply With Quote
The Following 2 Users Say Thank You to W1zzard For This Useful Post:
Old May 16, 2009, 01:11 PM   #12
aCid888*
2000 Posts
 
aCid888*'s Avatar
 
Join Date: May 2008
Location: In a state of flux...
Posts: 2,297 (1.24/day)
Thanks: 360
Thanked 660 Times in 547 Posts

Being creative and thinking out the box is one thing, but being polite while doing so is another.
__________________
HTPC: E8500 @ 3.8GHz 1.20v ~ Passive Xiggy HDT-1283 ~ X38 Maximus Formula (Rampage BIOS) ~ 2x1GB Mushkin 1150mhz @ 950mhz 2.0v ~ 2x500GB RAID0 ~ eVGA 9800GTX+ SC ~ 52" Toshiba 1920x1080 LCD ~ Windows XP SP3 ~ Logitech Z-5500 5.1

“I would like to thank acid for this pivotal moment in internet history were he has just successfully forced the creation of a brand new meme.” -Solaris17
aCid888* is offline  
Reply With Quote
Old May 16, 2009, 03:39 PM   #13
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

Annnnd DONE!
complete with cache.

the image only redraws once every 24 hours... however I should change the way it checks how long its been (it could be better).

This will only be temporary aswell... since its currently being hosted off a friends server. Once i get my own server up itll be a permanent thing...
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 03:42 PM   #14
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,254 (5.27/day)
Thanks: 591
Thanked 5,510 Times in 2,948 Posts

System Specs

I'm glad you got it working Morpha, and it's good to see you proved us ney-sayers wrong about what might be allowed. My hat goes off to you. Good job
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old May 16, 2009, 03:45 PM   #15
mike047
200 Posts
 
mike047's Avatar
 
Join Date: Apr 2009
Location: Zirconia NC usa
Posts: 456 (0.30/day)
Thanks: 147
Thanked 171 Times in 112 Posts

System Specs

Quote:
Originally Posted by morpha View Post
Annnnd DONE!
complete with cache.

the image only redraws once every 24 hours... however I should change the way it checks how long its been (it could be better).

This will only be temporary aswell... since its currently being hosted off a friends server. Once i get my own server up itll be a permanent thing...
Nice work, I had asked about something similar with FAH and WCG stats. I am not smart enough to do the require script
__________________
mike
Disclaimer; I am old and frequently forget, so this may or may not be accurate...but to the best of my knowledge it is what I recall.
MY HEAT/MY EBAY
mike047 is offline  
Reply With Quote
Old May 16, 2009, 03:51 PM   #16
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

If wizzard gives an okay... I wont mind making a combined sigpic for WCG/F@H.

HOWEVER:
you require access to your own php web server with the following criteria.
1: It needs to have GD classes installed. They are used for drawing the image, most php servers have this...
2: Fopen() needs to be allowed to open URL's outside the local network. This is a security setting managed by the admin in charge of the server.
3: Any hosters that attempt to place banner adds into the pages they serve mess it up (such as godaddy)

... I am using my friends server right now because NEITHER of mine could do it because of 1 or more of the above problems... once I get my ITX rig up I might try serving it from home :P
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 16, 2009, 04:43 PM   #17
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,873 (4.17/day)
Thanks: 184
Thanked 10,455 Times in 3,219 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard Send a message via Skype™ to W1zzard

System Specs

if you can come up with something that is more complex ie. allows a broader range of users to benefit from it, i'd certainly be willing to host this off tpu's servers
W1zzard is offline  
Reply With Quote
The Following User Says Thank You to W1zzard For This Useful Post:
Old May 16, 2009, 04:54 PM   #18
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,873 (4.17/day)
Thanks: 184
Thanked 10,455 Times in 3,219 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard Send a message via Skype™ to W1zzard

System Specs

Quote:
Originally Posted by morpha
however I should change the way it checks how long its been (it could be better).
filemtime() + random value to avoid multiple processes trying to create the same image at once.
W1zzard is offline  
Reply With Quote
Old May 17, 2009, 01:12 AM   #19
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

It will add more complexity to the script. However...

The F@H sig pic is generated via a URL with a user ID in the action string. Id say the WCG one does the same. I can make it so that the user can pass those parameters to my script via action string(GET) and then it will create the image.

Handling 100+ sig images though might be a pain in the but...
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard

Last edited by morpha; May 17, 2009 at 05:39 AM. Reason: lame idea
morpha is offline  
Reply With Quote
Old May 17, 2009, 05:39 AM   #20
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

Wizzard: would you mind if It was setup as a Cron Job to redraw all the sigs every X time? And do you mind if I uses a MYSQL table to store user info?
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard
morpha is offline  
Reply With Quote
Old May 17, 2009, 11:00 AM   #21
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,873 (4.17/day)
Thanks: 184
Thanked 10,455 Times in 3,219 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard Send a message via Skype™ to W1zzard

System Specs

mysql is fine. dont use a cronjob. every time you generate an image and have sent it to the browser, close the connection and look for expired images to regenerate, so the load will be spread more evenly over the day and the script wont slam the origin servers
W1zzard is offline  
Reply With Quote
Old May 17, 2009, 04:27 PM   #22
morpha
75 Posts
 
morpha's Avatar
 
Join Date: Jan 2009
Location: Australia
Posts: 178 (0.11/day)
Thanks: 31
Thanked 55 Times in 45 Posts

System Specs

Development update!

>> Background Image; If not specified a random color is used.
>> Supports 2 images. Users have control of where these are placed on the canvas. Clipping and overlapping can occur.

are people fine with this? Do they want to be able to add more images? as many images as you want?
What about the actual image size: should you get to choose the dimensions of the canvas?
__________________
Anime Nation | Nintendo Wii Clubhouse | P45 Owners Club | Logitech z5500 Digital Soundroom
Work PC: 2.5ghz Intel e5200, 4gb DDR2, Zotac 730i ITX motherboard, 500gb 2.5" HDD in Antec ISK310-150 case.
Hotway Probox - 3x 2tb Samsung F4 + 1x 1tb Samsung F1

“be creative. figure out ways to solve your problem. think outside of the box.” -W1zzard

Last edited by morpha; Jun 14, 2010 at 08:42 AM.
morpha is offline  
Reply With Quote
Old May 17, 2009, 04:42 PM   #23
mike047
200 Posts
 
mike047's Avatar
 
Join Date: Apr 2009
Location: Zirconia NC usa
Posts: 456 (0.30/day)
Thanks: 147
Thanked 171 Times in 112 Posts

System Specs

Quote:
Originally Posted by morpha View Post
Development update!

>> Background Image; If not specified a random color is used.
>> Supports 2 images. Users have control of where these are placed on the canvas. Clipping and overlapping can occur.

are people fine with this? Do they want to be able to add more images? as many images as you want?
They both look very good. Well done.
__________________
mike
Disclaimer; I am old and frequently forget, so this may or may not be accurate...but to the best of my knowledge it is what I recall.
MY HEAT/MY EBAY
mike047 is offline  
Reply With Quote
Old May 19, 2009, 04:31 AM   #24
corrykid
25 Posts
 
Join Date: May 2009
Posts: 32 (0.02/day)
Thanks: 0
Thanked 2 Times in 2 Posts

Im impressed.
__________________
Gangster Geek
corrykid is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit bandwidth to a specific ethernet port MadClown Networking & Security 4 Sep 7, 2008 04:23 AM
FPS Limit? KJ Games 2 Mar 8, 2007 12:51 PM
Increasing resolution limit in Catalyst Drivers Supacon Graphics Cards 7 Oct 24, 2004 09:31 AM


All times are GMT. The time now is 09:23 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts