Welcome, Guest. Please Login or Register.
September 23, 2021, 01:10:45 PM
Home Help Search Login 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  |  Topic: cosmetics in Display.php and MessageIndex.php « previous next »
Pages: [1] Reply Ignore Print
Author Topic: cosmetics in Display.php and MessageIndex.php  (Read 17562 times)
curious
Full Member
***
Posts: 178



WWW
cosmetics in Display.php and MessageIndex.php
« on: December 22, 2001, 11:40:08 PM »
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:

Code: [Select]
<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 22, 2001, 11:42:07 PM by curious » Logged
curious
Full Member
***
Posts: 178



WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #1 on: December 22, 2001, 11:55:29 PM »
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, 01: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, 01:21:28 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  ;)
I already have ;D
i.e.  
and I have not the slightest Problem with it. Just noticed it.
« Last Edit: December 23, 2001, 01: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, 11:28:02 AM »
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, 12: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.


WWW
Re:cosmetics in Display.php and MessageIndex.php
« Reply #6 on: December 23, 2001, 12: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, 12:32:48 PM »
Reply with quote


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


oops... fixed them (at least here ;D)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Topic: 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.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.178 seconds with 21 queries.