PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 3:05 pm Reply with quote Back to top

If I take down left blocks on the homepage, the 'news' will still be displayed as a fixed width, but just 'centered left' if you will. Anyone know where I can find the file to edit for this and what I need to change?

Thanks
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sun Feb 07, 2010 3:39 pm Reply with quote Back to top

Most of the table based themes will expand to the correct size if left blocks are deactivated. Usually only the css based themes have a set position for the center content. Which theme are you using?
View user's profile Send private message Send e-mail Visit poster's website
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 3:43 pm Reply with quote Back to top

It's a custom theme that was originally coded from CSS. Other items/modules expand correctly, news is the only one that does not.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sun Feb 07, 2010 3:54 pm Reply with quote Back to top

It really depends on how the theme was written. Some functions in the theme.php while others use something like story_home.html to define the news display. Does your custom theme have html files in it or just a theme.php?
View user's profile Send private message Send e-mail Visit poster's website
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 3:57 pm Reply with quote Back to top

It has an index.html and theme.php, then inside the styles/ folder there is a index.html and some css files.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sun Feb 07, 2010 4:05 pm Reply with quote Back to top

if you could, paste the contents of the theme.php in the forum using the code function.
View user's profile Send private message Send e-mail Visit poster's website
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 4:09 pm Reply with quote Back to top

Code:
<?php
if (stristr($_SERVER['SCRIPT_NAME'], "theme.php")) {
    die ("Access Denied");
}
/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/

$bgcolor1 = "";
$bgcolor2 = "";
$bgcolor3 = "";
$bgcolor4 = "";
$textcolor1 = "";
$textcolor2 = "";

/*******************************************************************/
/* Theme Center Blocks (For Ravens Nuke only)                      */
/*******************************************************************/
function themecenterbox($title, $content) {   
   
   echo'<table align="center" width="98%" border="0" cellpadding="0" cellspacing="0">
           <tr>
               <td width="53"><img src="themes/cspromod/images/h1_01.jpg" width="53" height="42" alt="" /></td>
             <td style="background:url(themes/cspromod/images/h1_02.jpg); height:42px; width:100%; "><div class="themecenterbox"><h2>'.$title.'</h2></div></td>
             <td width="67"><img src="themes/cspromod/images/h1_03.jpg" width="67" height="42" alt="" /></td>
           </tr>
      </table>
   <table align="center" width="98%" border="0" cellpadding="0" cellspacing="0">
      <tr>
         <td style="background:url(themes/cspromod/images/lgra.jpg) 50%; padding:5px;">'.$content.'
           </td>
       </tr>
   </table>';
}
/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/
function OpenTable() {
    global $name, $admin;
         
   if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='Members_List') OR ($name=='vwar') OR ($name=='Your_Account') OR ($name=='Journal')) {
   
   echo'<table width="920px" border="0" cellpadding="0" cellspacing="0">
           <tr>
               <td width="53"><img src="themes/cspromod/images/h1_01.jpg" width="53" height="42" alt="" /></td>
             <td style="background:url(themes/cspromod/images/h1_02.jpg); height:42px; width:100%; "></td>
             <td width="67"><img src="themes/cspromod/images/h1_03.jpg" width="67" height="42" alt="" /></td>
           </tr>';
   echo "</table>\n";
   echo'<table width="920px" border="0" cellpadding="0" cellspacing="0">';
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/lgra.jpg); width:920px; padding:5px;\">";

} else {
   
   echo'<table align="center" width="98%" border="0" cellpadding="0" cellspacing="0">
           <tr>
               <td width="53"><img src="themes/cspromod/images/h1_01.jpg" width="53" height="42" alt="" /></td>
             <td style="background:url(themes/cspromod/images/h1_02.jpg); height:42px; width:100%; "></td>
             <td width="67"><img src="themes/cspromod/images/h1_03.jpg" width="67" height="42" alt="" /></td>
           </tr>';
   echo "</table>\n";
   echo'<table align="center" width="98%" border="0" cellpadding="0" cellspacing="0">';
   echo "  <tr>\n";
   echo "    <td style=\"background:url(themes/cspromod/images/lgra.jpg) 50%; padding:5px;\">";
   
   }
}

function CloseTable() {
   echo"     </td>\n";
   echo "  </tr>\n";
   echo "</table>\n";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"4\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}
/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/
function FormatStory($thetext, $notes, $aid, $informant) {
    global $anonymous;
    if (!empty($notes)) {
   $notes = "<br /><br /><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   echo "<div class=\"content\">$thetext$notes</div>\n";
    } else {
   if(!empty($informant)) {
       $boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
   } else {
       $boxstuff = "$anonymous ";
   }
   $boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
   echo "<div class=\"content\">$boxstuff</div>\n";
    }
}

/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/

function themeheader() {
   global $name, $sid, $title, $informant, $admin, $user, $banners, $name, $sitename, $slogan, $cookie, $prefix, $db, $nukeurl, $anonymous, $time, $dbi, $user_prefix, $start_time;
   
   $username = $cookie[1];
    if (count($cookie)>1) $username = $cookie[1];
   if ($username == "") {
        $username = "Anonymous";
    }
   //add visitor numbers to theme
if (isset($_SERVER['REMOTE_ADDR'])) { $ip = $_SERVER['REMOTE_ADDR']; }
if (is_user($user))
{
    $uname = $cookie[1];
    $guest = 0;
}
else
{
    if (!empty($ip)) {
      $uname = $ip;
    } else {
      $uname = "";
    }
    $guest = 1;
}
   $guest_online_sql = "SELECT * FROM ".$prefix."_session WHERE guest='1'";
   $guest_online_query = $db->sql_query($guest_online_sql);
   $guest_online_num = $db->sql_numrows($guest_online_query);

   $member_online_sql = "SELECT * FROM ".$prefix."_session WHERE guest='0'";
   $member_online_query = $db->sql_query($member_online_sql);
   $member_online_num = $db->sql_numrows($member_online_query);

   $who_online_num = $guest_online_num + $member_online_num;
   $who_online = "<span class='bold'>Members online: $member_online_num Guest online: $guest_online_num</span>"; 
//end visitor numbers

//user details
   $result = $db->sql_query ( "select user_id from $prefix"._users." where username='$username'");
      list( $user_id ) = $db->sql_fetchrow ( $result);
      $result2 = $db->sql_query ( "select privmsgs_type from $prefix"._bbprivmsgs." where privmsgs_to_userid='$user_id' AND (privmsgs_type='1' or privmsgs_type='5')");
      $MesUnread = $db->sql_numrows ( $result2);
      $result3 = $db->sql_query ( "select privmsgs_type from $prefix"._bbprivmsgs." where privmsgs_to_userid='$user_id' AND (privmsgs_type='0')");
      $MesRead = $db->sql_numrows ( $result3);
   
   $logpm = "You Have <a href=\"modules.php?name=Private_Messages\">$MesUnread</a> Messages";
//end user details

$public_msg = public_message();
echo "$public_msg";

echo'<body>';

echo'<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>';
echo'<script type="text/javascript" src="themes/cspromod/style/slider.js"></script>';

echo '<div id="wrap">
   <div class="header">

       <div class="top-bar">
           <div class="welcome">
                <span class="bold">Welcome to <a href="#">www.cspromodboards.com</a></span>
            </div>
            <div class="right">';
            if ($username == "Anonymous") {
               echo"<form action=\"modules.php?name=Your_Account\" method=\"post\">
                    <input class=\"name\" type=\"text\" name=\"username\" value=\"Username\" onFocus=\"if(this.value=='Username')this.value='';\" />
                    <input class=\"pass\" type=\"password\" name=\"user_password\" value=\"Password\" onFocus=\"if(this.value=='Password')this.value='';\" />
               <a href=\"modules.php?name=Your_Account\">
                    <input class=\"login\" type=\"button\" value=\"\" src=\"#\" />
               </a>
                </form>";
                echo'<a href="modules.php?name=Your_Account&amp;op=new_user">
                   <img class="reg" src="themes/cspromod/images/register.jpg" alt="Register" />
                </a>';
            } else {
            echo"<span class=\"bold\">Welcome $username $logpm</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
            }
                echo'<form action="modules.php?name=Search" method="post">';
                   echo"<input class=\"search\" type=\"text\" name=\"query\" value=\"Search The Site...\" onFocus=\"if(this.value=='Search The Site...')this.value='';\" >";
                    echo"<input class=\"sbutton\"  type=\"submit\" value=\"\" src=\"#\" />";
           echo'</form>
            </div>
        </div>';
        echo"<div class=\"banner\"><div class=\"ad\">";
      echo ads(0);
      echo"</div></div>";

           echo'<div id="nav">

                <ul>
                       
                    <li class="link"><a href="index.php">HOME<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                 <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="forums.html">FORUMS<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                 <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="modules.php?name=Downloads">DOWNLOADS<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                    <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="modules.php?name=GCalendar">CALENDAR<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                    <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="modules.php?name=LGSL">SERVERS<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                    <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="index.php">VIDEOS<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                    <img style="margin-top:5px;" class="left" src="themes/cspromod/images/div.jpg" alt="|" />
                    <li class="link"><a href="contact.html">CONTACT<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>

                            <!--[if IE]><div class="iebug"><![endif]-->
                            <li><a href="#">One</a></li>
                            <li><a href="#">Two</a></li>
                            <li><a href="#">Three</a></li>
                            <li><a href="#">Four</a></li>
                            <li><a href="#">Five</a></li>

                            <!--[if IE]></div><![endif]-->
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
               
                </ul>
                <div class="right">
                       '.$who_online.'
                </div>

            </div>
    </div>';

//Left Side

   echo "<table style=\"height:100%;width:930px;border:none;margin-top:5px;\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">\n";
   echo "<tr valign=\"top\">\n";
    echo "<td width=\"5px\" valign=\"top\" height=\"100%\" style=\"background:url(themes/cspromod/images/spacer.gif) repeat-y;\"><img src=\"themes/cspromod/images/spacer.gif\" width=\"5px\" height=\"100%\" border=\"0\" alt=\"\" /></td>\n";
   echo "<td width=\"175px\" height=\"100%\" valign=\"top\">\n";


if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='Members_List') OR ($name=='vwar') OR ($name=='Your_Account') OR ($name=='Journal') ) {

} else {

global $swapleftright; $swapleftright = "1"; if (!defined('ADMIN_FILE')){ blocks(left); } $swapleftright = "0";

}

    echo "</td>\n"
       ."<td width=\"0px\" valign=\"top\" style=\"background:url(themes/cspromod/images/spacer.gif) repeat-y;\"><img src=\"themes/cspromod/images/spacer.gif\" width=\"0px\" height=\"0\" border=\"0\" alt=\"\" /></td>\n"
       ."<td width=\"100%\" height=\"100%\">\n";

}     

/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/

function themefooter() {
 if (defined('INDEX_FILE') || ($index == 1)) {
    echo "    </td>\n";
    echo "      <td width=\"0\" valign =\"top\"><img src=\"themes/cspromod/images/spacer.gif\" alt=\"\" width=\"0\" height=\"0\" border=\"0\" /></td>\n";
    echo "      <td width=\"100%\" height=\"100%\" >\n";

    blocks(right);
   }

   echo " </td>\n";
   echo "    <td width=\"5px\" valign=\"top\" height=\"100%\" style=\"background:url(themes/cspromod/images/spacer.gif) repeat-y;\"><img src=\"themes/cspromod/images/spacer.gif\" width=\"5px\" height=\"100%\" alt=\"\" /></td>\n";
   echo "   </tr>\n";
   echo "</table>\n";


echo'<div class="footer">
          <span class="bold">copyright 2010
Only registered users can see links on this board!
Get registered or login to the forums!
all rights reserved.</span>
       </div>
   </div><!-- end wrap -->';
   
//echo'</body>';
}

/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {

    global $prefix, $anonymous, $tipath, $admin_file, $sid, $db, $admin;
   
   $ThemeSel = get_theme();
   
   $newtime=explode('@',$time);
   
   $newtitle=addslashes($title);

   $result = $db->sql_query("SELECT * FROM ".$prefix."_stories WHERE title='$newtitle'");

   $row = $db->sql_fetchrow($result);

   $score=$row['score'];

   $sid=$row['sid'];
   
   if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {

   $t_image = "themes/$ThemeSel/images/topics/$topicimage";

    } else {

   $t_image = "$tipath$topicimage";

    }
   
   $read='<a href="modules.php?name=News&amp;file=article&amp;sid='.$sid.'"><b>Read More...</b></a>';

   $comm= '<a href="modules.php?name=News&amp;file=article&amp;sid='.$sid.'">Comments...</a>';
   
   
   
   echo "<table align=\"center\" style=\"width:482px; border:none;\" cellspacing=\"0\" cellpadding=\"0\">\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/h1.jpg); background-repeat:no-repeat; border:hidden; width:482px; height:42px; text-align:center;\"></td>\n";
   echo "  </tr>\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/lgra.jpg); background-repeat:repeat-y; border:hidden; width:482px; padding:5px;\">
   
   <div style='float:left; padding:10px;'><a href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$t_image\" alt=\"$topictext News\" /></a></div><div class=\"title\" style='float:left; padding:20px;'>$title<br />Posted on: $newtime[0]<br />Subject: $topictext</div><br style='clear:left;' />";
          FormatStory($thetext, $notes, $aid, $informant);
           
    echo "$read ($counter "._READS.")<br /><br />";       
   
   echo"     </td>\n";
   echo "  </tr>\n";
   echo "</table>\n";
}
/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/
                  
function themearticle ($aid, $informant, $time, $title, $thetext, $topic, $topicname, $topicimage, $topictext, $posted) {
   
global $prefix, $anonymous, $tipath, $admin_file, $sid, $db, $admin;
   
   $ThemeSel = get_theme();
   
   if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {

   $t_image = "themes/$ThemeSel/images/topics/$topicimage";

    } else {

   $t_image = "$tipath$topicimage";

    }
   
   $newtime=explode('@',$time);
   
   $newtitle=addslashes($title);

   $result = $db->sql_query("SELECT * FROM ".$prefix."_stories WHERE title='$newtitle'");

   $row = $db->sql_fetchrow($result);
   
   $posted = "<p style='text-transform:capitalize; text-align:right; font-size:x-small;'>Posted by ".get_author($aid)."</p>";
   
   
   echo "<table align=\"center\" style=\"width:482px; border:none;\" cellspacing=\"0\" cellpadding=\"0\">\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/h1.jpg); background-repeat:no-repeat; border:hidden; width:482px; height:42px; text-align:center;\"></td>\n";
   echo "  </tr>\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/lgra.jpg); background-repeat:repeat-y; border:hidden; width:482px; padding:5px;\">
   <div style='float:left; padding:10px;'><a href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$t_image\" alt=\"$topictext News\" /></a></div><div class=\"title\" style='float:left; padding:20px;'>$title<br />Posted on: $newtime[0]<br />Subject: $topictext</div><br style='clear:left;' />";
          FormatStory($thetext, $notes, $aid, $informant);
           echo"$posted\n";
           
   echo"     </td>\n";
   echo "  </tr>\n";
   echo "</table>\n";
}
/*******************************************************************/
/* The theme and its contents were made by
Only registered users can see links on this board!
Get registered or login to the forums!
    */
/*******************************************************************/
function themesidebox($title, $content) {

global $swapleftright; if ($swapleftright=="0") {

//right blocks               
   echo "<table style=\"width:225px; border:none;\" cellspacing=\"0\" cellpadding=\"0\">\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/h2.jpg); background-repeat:no-repeat; border:none; width:225px; height:42px; \"><div class=\"blocktitle\"><h2>$title</h2></div></td>\n";
   echo "  </tr>\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/rlgra.jpg); background-repeat:repeat-y; border:hidden; width:225px; padding:5px;\">$content</td>\n";
   echo "  </tr>\n";
   echo "</table>\n";

} else {

//left blocks
   echo "<table style=\"width:175px; border:none;\" cellspacing=\"0\" cellpadding=\"0\">\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/h2.jpg); background-repeat:no-repeat; border:hidden; width:175px; height:42px;\"><div class=\"blocktitle\"><h2>$title</h2></div></td>\n";
   echo "  </tr>\n";
   echo "  <tr>\n";
   echo "    <td style=\"background-image:url(themes/cspromod/images/sgra.jpg); background-repeat:repeat-y; border:hidden; width:175px; padding:5px;\">$content</td>\n";
   echo "  </tr>\n";
   echo "</table>\n";
   }
}
?>
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sun Feb 07, 2010 4:19 pm Reply with quote Back to top

Where you find

Code:
if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='Members_List') OR ($name=='vwar') OR ($name=='Your_Account') OR ($name=='Journal') ) {


Try adding news like so

Code:
if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='News') OR ($name=='Members_List') OR ($name=='vwar') OR ($name=='Your_Account') OR ($name=='Journal') ) {


And see if that does not work for you.
View user's profile Send private message Send e-mail Visit poster's website
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 4:24 pm Reply with quote Back to top

No results.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sun Feb 07, 2010 4:40 pm Reply with quote Back to top

Maybe try increasing the width in the function themeindex from 482 to a higher number and see if it will expand the width of the news article. If that works, you would want to increase the width in the function themearticle to match
View user's profile Send private message Send e-mail Visit poster's website
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 5:01 pm Reply with quote Back to top

Fixed...Thanks for that, feel like I should have seen that before!
Thanks again
View user's profile Send private message
twiddler
New Member
New Member


Joined: Feb 06, 2010
Posts: 16

PostPosted: Sun Feb 07, 2010 5:06 pm Reply with quote Back to top

Follow on questions...do you know why the login button of this theme in the header does not actually log you in? I know it has to do with the CAPCHA system, and was under the impression that setting the gfx check to 0, the button should work...
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum