1
eAthletes
Re: Attachment Background Problem
  • 2005/5/20 5:15

  • eAthletes

  • Just popping in

  • Posts: 5

  • Since: 2005/5/18


OMG OMG OMG!!! I FOUND IT!!!

its in /newbb/class/post.php

$post_attachment .= '<table width="80%" bordercolor="#000000" border="1" cellspacing="1">';
                    
$post_attachment .= '<tr><td colspan="3" class="head"><b>' _MD_ATTACHMENT '</b></td></tr>';
                    
$post_attachment .= '<tr class="even"><td width="50%"><b>' _MD_THIS_FILE_WAS_ATTACHED_TO_THIS_POST '</b></td><td><b>' _MD_FILESIZE '</b></td><td><b>' _MD_HITS '</b></td></tr>';
                    
$post_attachment .= '<tr bgcolor="#10314A"><td><a href="' XOOPS_URL '/modules/' $xoopsModule->dirname() . '/dl_attachment.php?attachid=' $key '&amp;post_id=' $this->getVar('post_id') . '"> <img src="' $icon_filetype '" alt="' $filetype '" border="0"> ' $att['name_display'] . '</a></td>';
                    
$post_attachment .= '<td> ' $file_size '</td>';
                    
$post_attachment .= '<td> ' $att['num_download'] . '</td>';
                    
$post_attachment .= '</tr></table>'; ......


I changed
<tr bgcolor="#ffffff">
to
<tr bgcolor="#10314A">


AND IT WORKED!!!

Thx for your help anyways!!

Problem solved this topic can be closed! or w/e



2
eAthletes
Re: Attachment Background Problem
  • 2005/5/20 5:10

  • eAthletes

  • Just popping in

  • Posts: 5

  • Since: 2005/5/18


Thx for the help, but I double checked my .css's and still can't find anything there.

Change comAttach and it changed the everything but the actually background the attachment is in.

:(

/cry
/tear



3
eAthletes
Re: Attachment Background Problem
  • 2005/5/19 6:19

  • eAthletes

  • Just popping in

  • Posts: 5

  • Since: 2005/5/18


Still can't find the code I'm looking for...
Anyone got any ideas?



4
eAthletes
Re: Attachment Background Problem
  • 2005/5/18 1:20

  • eAthletes

  • Just popping in

  • Posts: 5

  • Since: 2005/5/18


Those are the .html files that I have been through before the ones in /newbb/templates/

I'll check them again...
thx



5
eAthletes
Attachment Background Problem
  • 2005/5/18 1:06

  • eAthletes

  • Just popping in

  • Posts: 5

  • Since: 2005/5/18


Hi, I've used XOOPS for a while and LOVE IT!! I made my own theme and found lots of useful pointers here that guided me along my way. The one problem that has now become totally annoying, since I'm editing my theme again 3 months later, is my attachment background in Newbb!

Shown here

I've looked/searched everywhere on this site for answers looks like I'm the only Idiot with this problem.

I've edited my style.css for my theme COUNTLESS times and found that .outer or something else can't remember off the top of my head (it was a 3 months ago since I've tried to work on this problem) will change the color but will also change something else and thats not cool.

I've looked through newbb.css and tried editing some stuff in there with no success. I've also searched all the .html files looking for the class and sector the attached file would belong too.. NOTHING. Below is part of the source from the page above.. Page source comes from Firefox and seems to be the same with IE.
....<div class="comAttach"><br/><br/><table width="80%" bordercolor="#000000" border="1" cellspacing="1"><tr><td colspan="3" class="head"><b>Attach file</b></td></tr><tr class="even"><td width="50%"><b>Attached file:</b></td><td><b>Size</b></td><td><b>Hits</b></td></tr><tr bgcolor="#ffffff"><td><a href=" .....


Point of interest is
<tr bgcolor="#ffffff">

I'm almost postive this is why the background can't be edited through .css AND IS ALWAYS WHITE :|

Does anyone have a clue where I may find this code or how to fix my attachment problem?

Thanks in advance for the help!

e-Athletes.net
eAdmin




TopTop



Login

Who's Online

150 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 150


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits