Amaranth Games   Games   News   Order   Community   Help   Blog   Goodies   Updates   Guides Developers
Username:    Password:      Register now!
Game Genres
All Games
RPG
Adventure
SIM
Story
Cute
Game Kits
Amaranth Games (games only by us)
Newest Game
Featured Game
Love's Triumph
Love's Triumph
Popular Games


Browsing this Thread:   1 Anonymous Users

      Register To Post
(1) 2 3 4 »
[DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #1
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840

Main Background Changer

This small script allows you to change the main background of your cottage. The main background is the background behind the whole page, which is currently a snowy scene.


DISCLAIMER!
In the event that Amanda changes the background code, or adds a DIV element to the top of the page, your background will break.
BTW> If your topic spans multiple pages, the bg will only be diffrent for the page your posted it on.
Also, don't post it multiplt times per page, I doubt anything bad would happen, but still...


RULES!
I shouldn't need to make rules, just don't do anything stupid. Also, don't apply this to topics you don't own.


Current Features:
+ Replaces Amaranthia's Main Background
+ Works in cottages and topics
+ Easy to use! Just enter your image's URL and bam!

Upcoming Features:
+ Layered Backgrounds (Up to three)
+ Color (No image)
+ Background positioning (Left, bottom, ect...)



Installation


Ok, first you need to upload your background image.
To do this, I recomend a service like ImageShack or Photobucket
HOWEVER! If you want to use a background you found on another page, please for the love of webmasters, reupload it!
When you hotlink images from other websites, you are actually stealing thier bandwidth, which can be very expensive.

On, once it is uploaded, paste the link to the image below, this should be a direct link; don't use ones like "For your friends" or "For Forums" because they won't work.


Third of all, press Generate!!

Your code:
You need to press generate first silly!

You're almost done! Now, copy the code above and paste it into your cottage or topic!

Congrats! You've added a background to your page! If you want, you can add a link to my website (http://www.dtdsoft.com/) or this topic.
Oh yeah, you have to promise to mention this topic when someone asks you how you changed the background.


Just reminding you, don't hijack people's topics with backgrounds, also it'd be a bad idea to use a distracting or animated background.


~DtD
Want a mod for your cottage?

Contact me!
NOTE: I have a horrible habbit of getting really busy, so some mods may take a while, or never be completed.

NOTE: Whenever I edit this topic, the generator will break! Please let me know if I do this!

Posted on: 2008/2/5 17:39
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #2
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
Ok, I finnally got it working
Thoose of you watching this topic will know that a bug in IE was causing the script to be problemmatic.

The bug was that the end tag for scripts is phrased by IE even if it is in a string (for thoose of you who aren't much of programmers, this is really stupid of IE and should not happen.)
Anyway, I bypassed the problem in my initial tests by replacing the < and > with < and > however stupid XOOPS doesn't store it's data properly, whenever I edited the < and > became < and > literally because XOOPS isn't processing & as & >.<

Anyway, to make a long story short, I got it working, but if I edit it will break >.<

~DtD

Posted on: 2008/2/5 18:27
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #3
Offline   Pandaba
  Druids
gold   3216 Gold
Level : 44
EXP : 75
HP : 437 / 1093
MP : 1113 / 16950
YOU ARE AWESOME! THANKS FOR THIS!! *massive hugfest*

Posted on: 2008/2/5 18:46
_________________


~¤~ Vastar (RPG) - Available now! ~¤~


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #4
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
HA HA HA! YOU'RE WELCOME! =D

~David J. Maas (AKA DtD)

Posted on: 2008/2/5 19:25
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #5
Offline   shaz
  Administrator
gold   11446 Gold
Level : 68
EXP : 81
HP : 1695 / 1695
MP : 3988 / 26283
very nice DtD!

Posted on: 2008/2/6 1:28
_________________
While no trees were harmed in the transmission of this message,
thousands of pixels were inconvenienced.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #6
Guest_
  
  
gold    Gold
Wow, this is really nice, DtD. And I know how to reach you if I ever need a mod to my cottage asap.

Posted on: 2008/2/6 7:50


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #7
Offline   Pandaba
  Druids
gold   3216 Gold
Level : 44
EXP : 75
HP : 437 / 1093
MP : 1113 / 16950
Okay, is there a way to change the background for each of the rooms in the cottage with this code? I tried pasting the code between the code for one of my rooms, but it seems like it's a universal thing -- if any of that makes sense...

Posted on: 2008/2/6 9:38
_________________


~¤~ Vastar (RPG) - Available now! ~¤~


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #8
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
@shaz and phoenix
I'm glad you liked it, with this new "Disable Linebreaks" feature, it is soooooo much easier to make JS stuff in topic, I'm gonna try to get Amanda to let me write a mod to allow that feature in cottages too.

@panda
Ah, you mean to make it so when you change rooms the background changes?
That sounds like a good idea, I'll add it next time I update.

~DtD

Posted on: 2008/2/6 13:31
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #9
Offline   Pandaba
  Druids
gold   3216 Gold
Level : 44
EXP : 75
HP : 437 / 1093
MP : 1113 / 16950
Yes, that's what I mean.
Wow, if you know how to do that, I will give you a free batch of chocolate marshmallow cookies! @_@

Posted on: 2008/2/6 14:19
_________________


~¤~ Vastar (RPG) - Available now! ~¤~


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #10
Offline   v12967
  Dragon Lords
gold   1601 Gold
Level : 33
EXP : 96
HP : 164 / 824
MP : 536 / 12775
I also want to do that so kudos DtD

Posted on: 2008/2/7 12:19


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #11
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
Ok, fine, I'll start working on it =P

~DtD

Posted on: 2008/2/7 14:21
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #12
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
What do you mean by that???

~DtD

Posted on: 2008/2/8 23:00
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #13
Offline   Mae
  Witches and Warlocks
gold   1169 Gold
Level : 30
EXP : 31
HP : 146 / 732
MP : 404 / 11363
It's brilliant. I used it in my cottage, but somehow I couldn't manage to make it work with a topic...

Posted on: 2008/2/13 3:38
_________________



Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #14
Offline   shaz
  Administrator
gold   11446 Gold
Level : 68
EXP : 81
HP : 1695 / 1695
MP : 3988 / 26283
Amanda disabled html in the main forum a few days ago. Perhaps pages that already had this are still working, but new ones probably won't. DtD can confirm/deny whether that'd be what's causing it.

Posted on: 2008/2/13 16:47
_________________
While no trees were harmed in the transmission of this message,
thousands of pixels were inconvenienced.


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #15
Offline   Argoyle
  Witches and Warlocks
gold   5904 Gold
Level : 54
EXP : 75
HP : 806 / 1343
MP : 1981 / 20826
Do you have to be the topic creator in order for the code to work?

Case In Point:
1. Crafty started a topic in the W&W forum.
2. I edited in the code into her post and it worked fine.
3. I added the code to one of my posts on the 2nd page of the topic and it didn't work.
4. Crafty added the code to one of her posts on the 2nd page and it did work.

Posted on: 2008/2/14 8:50
_________________
Visit Gargoyle Manor Today!

The Time You Enjoy Wasting Is Not Wasted Time


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #16
Offline   Mae
  Witches and Warlocks
gold   1169 Gold
Level : 30
EXP : 31
HP : 146 / 732
MP : 404 / 11363
It's the topic for my cottage. So yes, it is started by me. I did nothing different from what I did at my cottage, but it won't work. What shaz said sounds reasonable, though. I did try it only yesterday.

Posted on: 2008/2/14 11:21
_________________



Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #17
Offline   Catchoun
  Dragon Lords
gold   3538 Gold
Level : 46
EXP : 14
HP : 451 / 1128
MP : 1212 / 17496
Waouhhh Really great DtD : I used it, it worked and I like it very much
Thanks a lot

Posted on: 2008/2/14 16:00
_________________




Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #18
Offline   Oracle
  Dragon Lords
gold   6523 Gold
Level : 57
EXP : 34
HP : 1126 / 1408
MP : 2272 / 21838
YAYS DtD. I used it. Was so easy and fun THANK YOU!!!!

Posted on: 2008/2/15 23:48
_________________



Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #19
Offline   Pandaba
  Druids
gold   3216 Gold
Level : 44
EXP : 75
HP : 437 / 1093
MP : 1113 / 16950
Do you have that code to have the backgrounds change for each of the rooms, DtD?

Posted on: 2008/2/16 1:47
_________________


~¤~ Vastar (RPG) - Available now! ~¤~


Re: [DtD] Main Background Changer :: Super Easy to Install! :: Works in Topics and Cottages! #20
Offline   DtD
  Enchanters
gold   48 Gold
Level : 5
EXP : 75
HP : 0 / 118
MP : 16 / 1840
@All
Sorry! HTML was disabled, topics that had it before will work (it will probably break when edited)

@Pandaba
Yeesh! You're too impatient, I have alot of stuff going on, I don't have time for changing it.

You should be able to take this part of the generated code:

divs
=document.getElementsByTagName("div");divs[0].style.background="#008000 url('YOURIMAGEHERE') top center fixed";
and put it at the end of the ONCLICK action for the room change button.

~DtD

Posted on: 2008/2/16 23:45
_________________
Wanna Change the Main Background in your topic/cottage?? Click here!
Sorry I've been dead forever. DtD Software has kept me as busy as hell.


(1) 2 3 4 »
      Register To Post
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]




Join our Newsletter!

RSS Feed

Coming Soon!

June, 2013

RPGs
Dragons Among Us
Edolie
Aveyond 4

Sandbox
Pixel Pygmies

Sim/Match 3
Butterfly Adventure

Kingdom Chat
ljspence > 05/17 15:29:35[ljspence] my brain is...full
Aveyond Wiki
Click to Visit!
made by fans, for fans
Kingdom Map

(Laws)



(Forums)



(News)



(Art Gallery)



(Cottages)



(Guilds)



(Experiments)

Who's Online
46 user(s) are online (19 user(s) are browsing My Forum Entries)

Members: 2
Guests: 44

Rybel, Mopiece, more...
About Us |  Sell Our Games |  Add Your Game to Our Site
©2007 Amaranth Games, LLC
Powered by Xoops