You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 85 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Zone Copper Error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Sun Sep 14, 2003 8:03 am Reply with quoteBack to top

when i go to comment on the news story, the news back gound is Blue, shouldnt it be grey???

http://www.cosclan.com/se/modules.php?name=News&file=article&sid=6&mode=&order=0&thold=0

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Mighty_Y
Sergeant
Sergeant


Joined: Feb 27, 2003
Posts: 94


PostPosted: Sun Sep 14, 2003 8:30 am Reply with quoteBack to top

it seems that mikem included a wrong story_page.html (from the spacePilot theme) it exist on his site too http://www.areamike.com/modules.php?name=News&file=article&sid=4

(think this is the largest bug ever in one of mikem's themes, but he'll fix it Very Happy )

_________________
Yannick R. aka Mighty_Y
[b]Code-Area51.com
Find all posts by Mighty_YView user's profileSend private messageVisit poster's website
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Sun Sep 14, 2003 9:05 am Reply with quoteBack to top

so is there a fix???

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Sep 14, 2003 9:56 am Reply with quoteBack to top

Until mikem fixes it try replacing the contents of story_page.html with the following:

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="6">
  <tr>
    <td><table width="100%" border="0" cellpadding="2" cellspacing="0">
        <tr>
          <td><table width="100%" border="0" cellpadding="1" cellspacing="0" background="themes/zoneCopper/images/background2.gif">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td background="themes/zoneCopper/images/cellpic3.gif"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="25"><font class="storytitle"><b>$title</b></font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td><table width="99%" border="0" align="center" cellpadding="4" cellspacing="0">
                          <tr>
                            <td><a href="modules.php?name=News&amp;new_topic=$topic"><img src="$tipath$topicimage" border="0" alt="$topictext" title="$topictext" align="right" hspace="10" vspace="10"></a><font class="content">$content</font></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td background="themes/zoneCopper/images/background3.gif">
                          <table width="99%" border="0" align="center" cellpadding="4" cellspacing="0">
                            <tr>
                              <td nowrap><div align="center"><font class="content">$posted</font><br><font class="content">$morelink</font></div></td>
                            </tr>
                          </table>
                  </div></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Sun Sep 14, 2003 10:24 am Reply with quoteBack to top

is there also a fix so when i go to my forums, it doesnt make the font on the Wars To Come! Block www.cosclan.com/se ?????

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Sep 14, 2003 12:11 pm Reply with quoteBack to top

make the font on the Wars To Come! Block ???

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Sun Sep 14, 2003 1:00 pm Reply with quoteBack to top

like when you go to Forums, you see the Wars To Come! Block, and it is on the top left, and when you go home it goes back to its regular size, but my question is, when you go to the forums, can i some how make the font stay small, or does it have to get all big like that?

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Sep 14, 2003 1:21 pm Reply with quoteBack to top

Maybe you could try making it into a file block:

Code:
<?php

if (eregi("block-Wars_To_Come.php", $_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

$content .= "<br><center><font class=\"content\">";
$content .= "No Next Actions<br>";
$content .= "--------------------------------------------------------------------------------<br>";
$content .= "No Last Actions <br>";
$content .= "</font></center>";

?>

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Sun Sep 14, 2003 3:24 pm Reply with quoteBack to top

well it is all programmed with vwar, how would i do it with this code


Quote:
<?php
if (eregi("block-vWarActions.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}

$vwar_modulename = "vWar";

$numnextactions = "1"; // limit display to x next actions
$numlastactions = "1"; // limit display to x last actions

include("config.php");
global $db;
require("modules/$vwar_modulename/_config.inc.php");

$result = $db->sql_query("SELECT ownnameshort,ownhomepage,waroverlap,longdateformat FROM vwar".$n."_settings");
$ownnameshort=$result[0];
$content = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" align=\"center\">";
$numnextwars=$db->sql_numrows($db->sql_query("SELECT * FROM vwar WHERE status='0' AND dateline > '".time()."'"));


if($numnextwars>0) {
$result=$db->sql_query("SELECT vwar.gameid, vwar.gametypeid,vwar.matchtypeid,status,dateline,oppnameshort,matchtypename,gametypename,ownnameshort FROM vwar,vwar_matchtype,vwar_gametype,vwar_opponents,vwar_settings WHERE vwar.oppid=vwar_opponents.oppid AND vwar.gametypeid=vwar_gametype.gametypeid AND vwar_matchtype.matchtypeid=vwar.matchtypeid AND status='0' AND dateline > '".time()."' ORDER BY dateline ASC LIMIT 0,$numnextactions");
while(list($gameid, $gametypeid,$matchtypeid,$status,$dateline,$oppname,$matchtype,$gametype,$ownname)=$db->sql_fetchrow($result)) {
$icon = $db->sql_fetchrow($db->sql_query("SELECT gameicon FROM vwar_games WHERE gameid = '$gameid'"));
$content .= "<tr>";
$content .= "<td align=\"center\"><img src=\"modules/$vwar_modulename/images/icons/$icon[0]\" border=\"0\"> ".date("d.m.Y H:i",$dateline)."</td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\"><a href=\"modules.php?name=$vwar_modulename&mod=nextaction\">$ownname vs. $oppname</a></td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\">$matchtype</td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\">$gametype<br><br></td>";
$content .= "</tr>";
}
}else{
$content .= "<tr>";
$content .= "<td align=\"center\">No Next Actions</td>";
$content .= "</tr>";
}
$content .= "</TABLE><HR hight=\"0\" WIDTH=\"100%\">";

$content .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" align=\"center\">";
$numlastwars=$db->sql_numrows($db->sql_query("SELECT * FROM vwar WHERE status='1' AND dateline <= '".time()."'"));

if($numlastwars>0) {
$result=$db->sql_query("SELECT vwar.gameid, vwar.warid,vwar.gametypeid,vwar.matchtypeid,vwar.resultbylocations,status,dateline,oppnameshort,matchtypename,gametypename FROM vwar,vwar_matchtype,vwar_gametype,vwar_opponents WHERE vwar.oppid=vwar_opponents.oppid AND vwar.gametypeid=vwar_gametype.gametypeid AND vwar_matchtype.matchtypeid=vwar.matchtypeid AND dateline <= '".time()."' AND status='1' ORDER BY dateline DESC LIMIT 0,$numlastactions");
while($row=$db->sql_fetchrow($result)) {
$icon = $db->sql_fetchrow($db->sql_query("SELECT gameicon FROM vwar_games WHERE gameid = '$row[gameid]'"));
$content .= "<tr>";
$content .= "<td align=\"center\"><img src=\"modules/$vwar_modulename/images/icons/$icon[0]\" border=\"0\"> ".date("d.m.Y H:i",$dateline)."</td>";
// $content .= "<td align=\"center\"><li style=\"list-style: square\"> ".date("d.m.Y H:i",$row[dateline])."</td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\"><a href=\"modules.php?name=$vwar_modulename&mod=wars&action=details&warid==".$row[warid]."\">$ownnameshort vs. $row[oppnameshort]</a></td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\">$row[matchtypename]</td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td align=\"center\">$row[gametypename]</td>";
$content .= "</tr>";
$total[opp]=0;
$total[own]=0;
$result2=$db->sql_query("SELECT ownscore,oppscore FROM vwar_scores WHERE warid='".$row[warid]."'");
while($scores=$db->sql_fetchrow($result2)) {
if($row[resultbylocations]==0) {
$total[own]=$total[own]+$scores[ownscore];
$total[opp]=$total[opp]+$scores[oppscore];
}elseif($row[resultbylocations]==1) {
if($scores[ownscore] < $scores[oppscore]) $total[opp]=$total[opp]+1;
elseif($scores[ownscore] > $scores[oppscore]) $total[own]=$total[own]+1;
}
}

if($total[own] > $total[opp]) $matchstatus="<img src=\"modules/$vwar_modulename/images/won.gif\">\n";
elseif($total[own] < $total[opp]) $matchstatus="<img src=\"modules/$vwar_modulename/images/lost.gif\">\n";
elseif($total[own] == $total[opp]) $matchstatus="<img src=\"modules/$vwar_modulename/images/draw.gif\">\n";
$content .= "<tr>";
$content .= "<td align=\"center\" class=\"info\">$total[own] : $total[opp] $matchstatus<br><br></td>";
$content .= "</tr>";
}
$content .= "</TABLE>";
}else{
$content .= "<tr>";
$content .= "<td align=\"center\">No Last Actions</td>";
$content .= "</tr>";
$content .= "</TABLE>";
}


?>

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Sun Sep 14, 2003 3:41 pm Reply with quoteBack to top

See what happens when I'm, rushed. Rolling Eyes

The Theme pack has been updated. Here is the correct code for the story_page.html

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="6">
  <tr>
    <td><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="30" background="themes/zoneCopper/images/darkSilverHeader_01.gif">&nbsp;</td>
          <td background="themes/zoneCopper/images/darkSilverHeader_03.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                <td><font class="storytitle">$title</font></td>
              </tr>
            </table></td>
          <td width="30" background="themes/zoneCopper/images/darkSilverHeader_05.gif">&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="16" background="themes/zoneCopper/images/darkSilverFooter_05.gif"><img src="themes/zoneCopper/images/darkSilverFooter_05.gif" width="16" height="8"></td>
          <td bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                <td><a href="modules.php?name=News&amp;new_topic=$topic"><img src="$tipath$topicimage" border="0" alt="$topictext" title="$topictext" align="right" hspace="10" vspace="10"></a><font class="content">$content</font></td>
              </tr>
              <tr>
                <td nowrap><div align="center"><font class="content">$posted</font></div></td>
              </tr>          
            </table></td>
          <td width="16" background="themes/zoneCopper/images/darkSilverFooter_06.gif"><img src="themes/zoneCopper/images/darkSilverFooter_06.gif" width="16" height="1"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="16"><img src="themes/zoneCopper/images/darkSilverFooter_01.gif" width="16" height="13"></td>
          <td height="13" background="themes/zoneCopper/images/darkSilverFooter_02.gif"><img src="themes/zoneCopper/images/darkSilverFooter_02.gif" width="1" height="13"></td>
          <td width="16"><img src="themes/zoneCopper/images/darkSilverFooter_04.gif" width="16" height="13"></td>
        </tr>
      </table>
      </td>
  </tr>
</table>


thanks CS

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Sun Sep 14, 2003 3:50 pm Reply with quoteBack to top

sebobby2

try this.

Open your themes/zoneCopper/forums/overall_header.tpl file and find this

Code:
th,td,p{color: #e7e7e7; font:12px Verdana,Arial,Helvetica,sans-serif}


change the font from 12 to 10
Do the same in the forums.css file, although I'm pretty sure the first change should give you the results you're looking for.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
Stylee
Sergeant
Sergeant


Joined: Jun 22, 2003
Posts: 140

Location: USA

PostPosted: Sun Sep 14, 2003 4:21 pm Reply with quoteBack to top

Thanx for updating that file for us mikem Very Happy
Find all posts by StyleeView user's profileSend private messageSend e-mailVisit poster's website
Stylee
Sergeant
Sergeant


Joined: Jun 22, 2003
Posts: 140

Location: USA

PostPosted: Sun Sep 14, 2003 4:23 pm Reply with quoteBack to top

sebobby2 wrote:
is there also a fix so when i go to my forums, it doesnt make the font on the Wars To Come! Block www.cosclan.com/se ?????


Where did you get the PHPNUKE port for that MOD?
Find all posts by StyleeView user's profileSend private messageSend e-mailVisit poster's website
sebobby2
Private
Private


Joined: Sep 06, 2003
Posts: 38

Location: Altus, Ok = |

PostPosted: Mon Sep 15, 2003 10:41 am Reply with quoteBack to top

thanks mikem, i will put the code in now, but stylee get the vWar mod here http://bgg.acst.de/

_________________
[SE]Bobby - SystemElite.com - #1 Battle Field 1942 Player =)
Find all posts by sebobby2View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.663 Seconds - 237 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::