TinyPortal

General => Chit chat => Topic started by: Brõck on October 24, 2005, 02:19:59 PM

Title: shoutbox, white in neptune?
Post by: Brõck on October 24, 2005, 02:19:59 PM
The problem make it unredable..
But last night i found out how to edit it..
So i give it a turtorial ^^

1. Open "Themes/{Neptune_tp name}/style.css"

2. Insert this code in the CSS file: .smalltext3
{
color: #000;
font-size: x-small;
        font-family: tahoma, sans-serif;
}


3. Open "Themes/{Neptune_TP name}/TPortalBlocks.template"

4. Find:        if(($context['TPortal']['guest_shout']) || (!$context['TPortal']['guest_shout'] && !$context['user']['is_guest']))
             echo '<textarea class="smalltext2" name="tp-shout" style="width: 80%; height: 50px;" type="text"></textarea><br /><input style="margin-top: 4px;" class="smalltext2" type="submit" name="shout_send" value="'.$txt['shout!'].'">';


5. Replace whit:        if(($context['TPortal']['guest_shout']) || (!$context['TPortal']['guest_shout'] && !$context['user']['is_guest']))
             echo '<textarea class="smalltext3" name="tp-shout" style="width: 80%; height: 50px;" type="text"></textarea><br /><input style="margin-top: 4px;" class="smalltext3" type="submit" name="shout_send" value="'.$txt['shout!'].'">';


6. Close all the files, and upload them to the right folders.

7. Now your Shoutbox probably will have black "shout text area" and a black "Shout!" box!

That's it. Bloc; Can you change this in you next version? Or next fix.

Word: "Themes/{Neptune_TP name}/" are problaly "Themes/TP_neptune11rc1"

Stick? ::)
Title: Re: shoutbox, white in neptune?
Post by: bloc on October 24, 2005, 03:03:25 PM
Thanks for the tip. :)

I have changed it..but instead of adding a class, I just used the exsting for the button. So the 2 <input type...> buttons now have the right black color, by changing their class from "smalltext2" to "smalltext".
Title: Re: shoutbox, white in neptune?
Post by: Brõck on October 24, 2005, 03:17:42 PM
ahh, smalltext was a class whit black text? xD

[language=norwegian]Men, vÃÆ'Ã,¦rsegod ;) Jeg bare plutselig synes at det var sÃÆ'Ã,Â¥ kjedelig ÃÆ'Ã,Â¥ se ingen ting :P[/language]
Title: Re: shoutbox, white in neptune?
Post by: bloc on October 24, 2005, 03:29:37 PM
Yeah, it was a slip-up. ;D ( det skulle self. vÃÆ'Ã,¦re smalltext der, ikke smalltext2 ;) )
Title: Re: shoutbox, white in neptune?
Post by: Brõck on October 24, 2005, 05:53:23 PM
Jaja, whatever.. Jeg fikset det iallefall.. pÃÆ'Ã,Â¥ mitt forum lagte jeg en ny class som jeg kallte "smalltext67" som jeg hadde endret til svart xD


EDIT: Du har ikke endret den neptunen som er her skikkelig xD
Du mÃÆ'Ã,Â¥ ikke bare endre selve knappen, men ogsÃÆ'Ã,Â¥ boksen vi skriver inn i =P
Title: Re: shoutbox, white in neptune?
Post by: bloc on October 25, 2005, 01:11:27 PM
Det er gjort nÃÆ'Ã,Â¥.
Title: Re: shoutbox, white in neptune?
Post by: Brõck on October 25, 2005, 01:37:35 PM
Det er bra...
Men er denne samme feilen i IE ogsÃÆ'Ã,Â¥? eller bare FF, siden du ikke har endret det fÃÆ'Ã,¸r..
Title: Re: shoutbox, white in neptune?
Post by: bloc on October 26, 2005, 01:09:57 PM
Nei, det var antagelig i begge..jeg bare ikke sÃÆ'Ã,Â¥ det fÃÆ'Ã,¸r nÃÆ'Ã,Â¥. ;)