| Author |
Message |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 8:47 am |
  |
FIND A BUG IN A THEME?
well this is not a BUG i suppose?? But installed the SubBlack3D and would like left block hidden when viewing the Forums similiar to the other theme like skyLineBlue.
The thing is i added the code to remove the left block and it does not do anything... Even in your demo on this site it displays the left block while others like skyLineBlue do not....
Any advice on how to remove the left block when viewing forums...
this is the code i have i all my other theme.php files and it works fine.... but not on the SubBlack3d
| Code: |
if($name!=Forums AND $name!=Iframe)
{
blocks(left);
} |
any ideas
--------------------------------------------------------
skyLineBlue Bug In Story Archive (
Goto one of the Stories and by clicking READ MORE and the format is screwed up on the right hand side.. there is a Gap... i noticed on my site and then checked here and it has the same problem...
any ideas on how to fix this??
thanks
Rick Estrada
i posted here
http://www.areamike.com/index.php |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Wed Sep 03, 2003 8:58 am |
  |
OK first one is not a bug.
Check here
http://www.nukecops.com/postt69.html
How to hide the left blocks.
skyLineBlue SHOULD have the left blocks showing. I must have missed changing the code back before releasing it.
edit: I uploaded the wrong theme.php file for skyLineBlue to areamike.com. Should be showing left blocks now
AS for your second "bug", I'll have to look at it. |
_________________ Getting Started | My Projects
Last edited by mikem on Wed Sep 03, 2003 9:06 am; edited 1 time in total |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Wed Sep 03, 2003 9:03 am |
  |
OK the second one might be your Monitor size. How big of a monitor do you have.
I am running a 17inch Flat Panel at 1024x768 and the skyLineBlue looks fine when clicking readmore on a Story.  |
_________________ Getting Started | My Projects |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 10:41 am |
  |
i have a 21 inch monitor at 1024x768
are you sure the gap on right is not a big bigger than the one on the left...
look at my page.. it also makes the Right Block move down a little also... look at my page and see if you can see it as its a bit easier to notice
http://www.subfighter.com/article-107--0-0.html |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 10:43 am |
  |
Also in the SubBlack3D blocks.html you left all the BODY TAGS in the version i downloaded from NukeCops ?? |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 11:51 am |
  |
actually even you view the READ MORE on this site here the format of the right block is off also... i also checked the themes on your test site Mike and they are also?? Its wierd, i have the newest version of IE6... anyone else see this also or is it just me
the GAP to the right of the story is larger than it should be and the Right Block has also a larger GAP then the Left Block..
can anyone confirm this???
thanks |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Wed Sep 03, 2003 12:49 pm |
  |
OK..this gap thing(I see it now) is NOT a theme bug. It is prevolent in every theme I tested. EVEN in the PHP-Nuke default theme DeepBlue.
It is controlled by the display for the right blocks when viewing the readmore part of a story. It's not controlled by the theme.
As for the body tags in subBlack3D, I'll check on it. |
_________________ Getting Started | My Projects |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 3:03 pm |
  |
yeah its on all the themes even the one here at nuke cops.. looks like a extra is there that is not supposed to be... you know module and where the code is that controls the layout here?? |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 3:15 pm |
  |
okay maybe you can figure this out on how to fix it since your a whiz ... anyways i was messing around with it and got it to work somewhat.... the problem is in the news/articles.htm at around line 107
| Code: |
echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
echo "</td><td> </td><td valign=\"top\">\n"; |
maybe you can figure it out  |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 3:17 pm |
  |
and the problem with the extra HTML code is in the blocks.htm .ZIP file as i checked the source code on your nukemods test site and it is correct there but not in the .zip.. |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Wed Sep 03, 2003 5:15 pm |
  |
| dirtbag wrote: |
| and the problem with the extra HTML code is in the blocks.htm .ZIP file as i checked the source code on your nukemods test site and it is correct there but not in the .zip.. |
I've already corrected the code in the blocks.html file for the ZIP also. |
_________________ Getting Started | My Projects |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Wed Sep 03, 2003 8:56 pm |
  |
ok this looks like a bug in PHPNuke... as some of the HTML code was not correct. anyways i changed it and finally figured out what the problem was... here is the new code that should replace the old code above...
| Code: |
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
echo "</td><td valign=\"top\">"; |
now the spacing is corrected... |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Thu Sep 04, 2003 6:23 am |
  |
Just tried your code and it works perfectly. I messed with it a little while last night but not much. Figures cellpadding and celspacing need to be specified even if they are 0
Nice job.  |
_________________ Getting Started | My Projects |
|
   |
 |
dirtbag
Lieutenant


Joined: May 08, 2003
Posts: 159
|
Posted:
Thu Sep 04, 2003 7:51 pm |
  |
ahh good... but thats about as far as my programming skillz go!!! haaaaa anyways thanks for time helping me out and also for releasing your themes over here at nukecops...
PeacE |
_________________ Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News |
|
   |
 |
|
|