Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
TAd
Worker
Worker


Joined: Oct 11, 2004
Posts: 123
Location: Oregon, USA

PostPosted: Fri Oct 12, 2007 6:11 am Reply with quote

Hello,

Not sure if anyone is interested, but here it goes!

Tested on RN 2.10.01 and phpBB ported to nuke version 2.022, my quest for getting the theme "looking the same" I believe has paid off! I went through the Coldsteel theme and I believe I have corrected all things for IE 6.Xx, While maintaining the correct "look" in Firefox.

Here are the edits to correct theme display( I will verify them in short time, to make sure I did not miss something), minus custom and general theme edits (such as showing blocks, hiding blocks etc...)

In the folder/directory pathtonuke\themes\Coldsteel\
Edit the file blocks.html

Look for:
Code:
<td bgcolor="f1f1f1"><font class="content">$content</font></td> 


Replace with:

Code:
<td align=left bgcolor="f1f1f1"><font class="content">$content</font></td>


Save file.

In the folder/directory pathtonuke\themes\Coldsteel\forums\
Edit the file index_body.tpl

Look for:

Code:


      <!-- BEGIN catrow -->
        <div align="center">
          <table width="100%" cellpadding="2" cellspacing="0" border="0" class="forumline">
            <tr>
              <td background="themes/Coldsteel/forums/images/catbg2.gif" colspan="6" height="28"><span class="cattitle">::
                <a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}
                </a>::</span></td>
            </tr>
          </table>
        </div>
        <div align="center">
          <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
            <tr>
              <th colspan="2" class="thCornerL" height="25" nowrap>&nbsp;{L_FORUM}&nbsp;</th>
              <th width="50" class="thTop" nowrap>&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50" class="thTop" nowrap>&nbsp;{L_POSTS}&nbsp;</th>
              <th class="thTop" nowrap>&nbsp;{L_LASTPOST}&nbsp;</th>
            </tr>
            <!-- BEGIN forumrow -->
            <tr>
              <td class="row1" align="center" valign="middle" height="40"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
              <td class="row1" width="100%" height="40"><span class="forumlink">
                <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
                </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
                </span></td>
              <td class="row2" align="center" valign="middle" height="40"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
              <td class="row2" align="center" valign="middle" height="40"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
              <td class="row2" align="center" valign="middle" height="40" nowrap>
                <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
            </tr>
            <!-- END forumrow -->
            <tr>
              <td background="themes/Coldsteel/forums/images/catbg3.gif" colspan="6" height=25>&nbsp;
            </tr>
            <!-- END catrow -->


Change to:

Code:


        <!-- BEGIN catrow -->
        <div align="left">
          <table width="100%" cellpadding="2" cellspacing="0" border="0" class="forumline">
            <tr>
              <td background="themes/Coldsteel/forums/images/catbg2.gif" colspan="6" height="28"><span class="cattitle">::
                <a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}
                </a>::</span></td>
            </tr>
          </table>
        </div>
        <div align="left">
          <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
            <tr>
              <th align ="center" colspan="2" class="thCornerL" height="25" nowrap>&nbsp;{L_FORUM}&nbsp;</th>
              <th width="50" class="thTop" nowrap>&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50" class="thTop" nowrap>&nbsp;{L_POSTS}&nbsp;</th>
              <th align ="center" class="thTop" nowrap>&nbsp;{L_LASTPOST}&nbsp;</th>
            </tr>
            <!-- BEGIN forumrow -->
            <tr>
              <td class="row1" align="center" valign="middle" height="40"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
              <td class="row1" width="100%" height="40"><span class="forumlink">
                <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
                </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
                </span></td>
              <td class="row2" align="center" valign="middle" height="40"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
              <td class="row2" align="center" valign="middle" height="40"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
              <td class="row2" align="center" valign="middle" height="40" nowrap>
                <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
            </tr>
            <!-- END forumrow -->
            <tr>
              <td background="themes/Coldsteel/forums/images/catbg3.gif" colspan="6" height=25>&nbsp;
            </tr>
            <!-- END catrow -->


Save file.

Done! Well, for now, unless I find anything else, or someone tells me I forgot something Very Happy
 
View user's profile Send private message Yahoo Messenger
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Mon Oct 15, 2007 6:33 am Reply with quote

Thanks!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©