http://www.icyphoenix.com/viewtopic.php?f=28&t=4881
-----------------------------------
Limun
Sat 11 Oct, 2008 00:16

[MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
This is for all who want to change anything in shoutbox without affecting default style (like background, colors ....)
one css only for shoutbox 

So lets start:
first upload this 3 files in [i]attachment[/i] in your templates/mg_themes

after you will need edit [b]style_shoot.css[/b] as you wish ( now its like in my pics )

for example open this mine [b]style_shoot.css[/b]
[spoiler]body {
	/*background: #FFFFFF;*/
	background: url(images/ice/bg_hdr.gif) repeat fixed;
	margin: 0px 0px 0px 0;
	padding: 0px 0px 0px;
}[/spoiler]

in this line you can change background of your shoutbox

[i]Note: I removed mostly lines which are no needed , but there are still lines what are not important to shoutbox![/i]

[b][color=red]IMPORTANT : Don't mishmash [b]style_shoot.css[/b] with any other css in mg_themes ,edit only lines in [b]style_shoot.css[/b] for changing in shoutbox[/color][/b]

few screens

 [img]http://www.icyphoenix.com/files/images/3336/ash02.jpg[/img] 

and this is pic where  bottom is repaired for  [b]Sarakin[/b]   --> http://www.icyphoenix.com/viewtopic.php?f=21&p=32999#p32999

 [img]http://www.icyphoenix.com/files/images/3336/ash01.jpg[/img] 

[color=#FF5500]If you use this , use it at own risk (backup your original [b][i]shoutbox_body.tpl[/i][/b] and [b][i]shoutbox_view_body.tpl[/i][/b])[/color]

[color=blue]Stuff : I don't know where to post this , so i posted here , you move wherever you want , or if you think that this is not good just delete it..[/color]

Thanks  :wink:


-----------------------------------
Chaotic
Sat 11 Oct, 2008 02:58

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
Looks great!  Moving to Customizations.


-----------------------------------
xmenfile
Sun 12 Oct, 2008 01:29

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
This is great, thank you for your mod.  I have 1 more thing to change, how do i make Text Field longer?

Thank you Limun


-----------------------------------
Limun
Sun 12 Oct, 2008 02:05

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
[quote user="xmenfile" post="33037"]This is great, thank you for your mod.  I have 1 more thing to change, how do i make Text Field longer?

Thank you Limun[/quote]

can u show me in pic what you mean ?


-----------------------------------
Chaotic
Sun 12 Oct, 2008 03:09

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
Probably talking about the field where you input your text to be displayed.

 [img]http://www.icyphoenix.com/files/images/3295/shout.png[/img]

If that's the case, here is how you do it.

Open: shoutbox_body.tpl.

Find:

[code linenumbers=false]<input type="text" class="button" name="message" value="{MESSAGE}" size="25" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" />[/code]

Change the numbers in size="25" to however long you want the text field to be. :)


-----------------------------------
Lopalong
Sun 12 Oct, 2008 04:23

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
If you modify anything as you have done with the shoutbox, then you would need to add the .css markup to the style_*.css even if it does mean that you have to add new classes to the .tpl files. Then it would be a modification and not an Add-On.

The way you have it at the moment, if you change mg_themes, the shoutbox remains the same, unless one is prepared to edit the shootbox.css (sic) every time they set a different default mg_theme. That of course does not help anyone who just uses a "Different" style. :(

You also don't need to re-import all of the other .css files or have so many redundant or duplicate blocks in the shootbox.css (sic), that at the moment would only overwrite what has been imported previously.

In other words - Change the shoutbox classes as required and add them to the style_*.css for each theme.

Because what you have done is to take something that is / was fully integrated into mg_themes, and made it so that it is not.

It would also be prudent to move this topic to "Other Mod Support" until it is integrated properly with mg_themes, and all unwanted, and incorrect markup is resolved.


-----------------------------------
xmenfile
Sun 12 Oct, 2008 04:32

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
awsome, thank you both of you Limun & Chaotic.

sorry Lopalong, you and I posted at same time.


-----------------------------------
Sarakin
Tue 21 Oct, 2008 00:29

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
It doesn't work fine for me, maybe some edition of mine crashes this mod.


-----------------------------------
Limun
Tue 21 Oct, 2008 01:13

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
[quote user="Sarakin" post="33349"]It doesn't work fine for me, maybe some edition of mine crashes this mod.[/quote]

what is the problem... ?

btw this is not a mod


-----------------------------------
Daro
Sat 15 Nov, 2008 08:11

Re: [MOD] Shoutbox CSS IP V1.2.0.27
-----------------------------------
I'm going to try it, thanks


