TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 697
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 212
  • Total: 212

shoutbox, white in neptune?

Started by Brõck, October 24, 2005, 02:19:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brõck

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? ::)

bloc

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".

Brõck

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]

bloc

Yeah, it was a slip-up. ;D ( det skulle self. vÃÆ'Ã,¦re smalltext der, ikke smalltext2 ;) )

Brõck

#4
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

bloc


Brõck

Det er bra...
Men er denne samme feilen i IE ogsÃÆ'Ã,Â¥? eller bare FF, siden du ikke har endret det fÃÆ'Ã,¸r..

bloc

Nei, det var antagelig i begge..jeg bare ikke sÃÆ'Ã,Â¥ det fÃÆ'Ã,¸r nÃÆ'Ã,Â¥. ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.