Welcome, Guest. Please Login or Register.
November 21, 2024, 09:43:05 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  cosmetics in Display.php and MessageIndex.php « previous next »
Pages: [1] Reply Ignore Print
Author Topic: cosmetics in Display.php and MessageIndex.php  (Read 24396 times)
curious
Full Member
***
Posts: 178


WWW
cosmetics in Display.php and MessageIndex.php
« on: December 23, 2001, 04:40:08 AM »
Reply with quote

I'm not sure if should post this here or rather in the bugforum.
But as it has to do with templates, I'll put here.


Was just editing my template.
Replaced the catbg.jpg with one I made. Note that I created it in the same size.
After I did so I noticed the following:



in the MessageIndex and



in the thread Display.


As you can see, a cell with an extra catbg.jpg is created and shifted by some pix. This doesn't look nice.


What you have to do to get rid of this:

<edit file>
Sources/MessageIndex.php
</edit file>

<search for>
   <td class="catbg" bgcolor="$color[catbg]" align="right"><font size="-1">
</search for>

<replace>
   <td align="right" nowrap><font size="-1">
</replace>


<edit file>
Sources/Display.php
</edit file>

<search for>
   <td class="catbg" bgcolor="$color[catbg]" align="right" width="350"><font size="-1">
</search for>

<replace>
   <td align="right" width="350"><font size="-1">
</replace>

<search for>
   <td class="catbg" bgcolor="$color[catbg]" align="right" width="350"><font size="-1">
</search for>

<replace>
   <td align="right" width="350"><font size="-1">
</replace>


After this everything will be smooth :)
« Last Edit: December 23, 2001, 04:42:07 AM by curious » Logged
curious
Full Member
***
Posts: 178


WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #1 on: December 23, 2001, 04:55:29 AM »
Reply with quote

@ChristianLand

As you can see above, the buttons seem to have transparent pixels, so that a dark backroung is shining through. This is the case for reply.gif, notify.gif, sendtopic.gif and print.gif only.
The reason is that you have assigned "white" as transparent. Unfortunatley there are quite a lot of pixels of this colour in the buttons.
If you look closely, you can see this on this board as well.

Guess you have to redo them  ;D
Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #2 on: December 23, 2001, 06:08:55 AM »
Reply with quote

It's not a big deal as it was designed for this board - not a board with dark background..  If you have a problem with them - you can make new graphics  ;)
Logged

curious
Full Member
***
Posts: 178


WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #3 on: December 23, 2001, 06:21:28 AM »
Reply with quote

Quote from: Joseph Fung on December 23, 2001, 06:08:55 AMIt's not a big deal as it was designed for this board - not a board with dark background..  If you have a problem with them - you can make new graphics  ;)
I already have ;D
i.e.  
and I have not the slightest Problem with it. Just noticed it.
« Last Edit: December 23, 2001, 06:22:21 AM by curious » Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #4 on: December 23, 2001, 04:28:02 PM »
Reply with quote

that's a pretty slick button! nice job!
Logged

curious
Full Member
***
Posts: 178


WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #5 on: December 23, 2001, 05:09:17 PM »
Reply with quote

Thx

Wanna take a look at my template?
It's almost finished.

http://becurious.com/yabbse/index.php

Logged
TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #6 on: December 23, 2001, 05:10:16 PM »
Reply with quote

looks nice!
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
chris
Guest
Re:cosmetics in Display.php and MessageIndex.php
« Reply #7 on: December 23, 2001, 05:32:48 PM »
Reply with quote

Quote from: curious on December 23, 2001, 04:55:29 AMThe reason is that you have assigned "white" as transparent. Unfortunatley there are quite a lot of pixels of this colour in the buttons.
If you look closely, you can see this on this board as well.

Guess you have to redo them  ;D

oops... fixed them (at least here ;D)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  cosmetics in Display.php and MessageIndex.php « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.070 seconds with 22 queries.