Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 56
5 members and 51 guests
bea9qgchcomberc, deb5tdtconskd9o, peardir46, ral6qkeighqenpa, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
phpbbmodule center block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2003
phpbbmodule center block - 03-25-2003, 10:28 AM

can someone tell me where I can get a phpbb center block like the subsilver block? I have xpsilver theme and templete.
can someone help? thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
ads
Junior Member
 
Status: Offline
Posts: 87
Join Date: Mar 2003
Location: Mayagüez, Puerto Rico
03-25-2003, 10:41 AM

you maen the lasts posts center block?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-25-2003, 10:47 AM

You would have to get one of the Center blocks from one of the other theme packs and modify the html part in it to match your XPSilver theme.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
center block
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2003
center block - 03-25-2003, 10:49 AM

don't know how to edit the block. I don't know nothing about programming.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 62
Join Date: Feb 2003
03-25-2003, 11:02 AM

i have edited the phpib2 center latest forum posts to match any theme you have the images are changing but i have no clue how to make the colors to change anw heres the code hope this helps
Code:
<?php
if (eregi("block-$ThemeSel-Forum.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
	
global $prefix, $dbi, $sitename, $admin, $ThemeSel;

$HideViewReadOnly = 1;
    		
$Last_New_Topics  = 5;
$show = "  <tr> 
    <td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"modules/Forums/templates/$ThemeSel/images/cellpic1.gif\">&</td>
  </tr>
</table></td>
        </tr>
      </table></td>
  </tr>
</table>";

$Count_Topics = 0;
$Topic_Buffer = "";
$result = sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC", $dbi );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result, $dbi ) )

{
   $skip_display = 0;
   if( $HideViewReadOnly == 1 )
   {
      $result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'", $dbi );
      list( $auth_view, $auth_read ) = sql_fetch_row( $result1, $dbi );
      if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
   }

   if( $topic_moved_id != 0 )
   {
	  // Shadow Topic !!
      $skip_display = 1;
   }
   
   if( $skip_display == 0 )
   {
	  $Count_Topics += 1;

$result2 = sql_query("SELECT uname, uid FROM ".$prefix."_users where uid='$topic_poster'", $dbi);
list($uname, $uid)=sql_fetch_row($result2, $dbi);
$avtor=$uname;
$sifra=$uid;

$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);

$result4 = sql_query("SELECT uname, uid FROM ".$prefix."_users where uid='$poster_id'", $dbi);
list($uname, $uid)=sql_fetch_row($result4, $dbi);

            	          $viewlast .="  <tr> 
    <td height=\"30\" nowrap bgcolor=\"#EAEFF6\" class=\"row1\"><img src=\"modules/Forums/templates/$ThemeSel/images/folder_new.gif\" border=\"0\" /></td>
    <td width=\"100%\" bgcolor=\"#EAEFF6\" class=\"row1\">&<a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
    <td align=\"center\" bgcolor=\"#DFE6EF\" class=\"row2\">$topic_replies</td>
    <td align=\"center\" bgcolor=\"#EAEFF6\" class=\"row3\"><a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$sifra\">$avtor</a></td>
    <td align=\"center\" bgcolor=\"#DFE6EF\" class=\"row2\">$topic_views</td>
    <td align=\"center\" nowrap bgcolor=\"#C2CFDF\" class=\"row3\"><font size=\"-2\">&&$post_time&</font>

      <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$uid\">$uname</a>&<a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"modules/Forums/templates/$ThemeSel/images/icon_minipost_new.gif\" border=\"0\" alt=\"Latest Post\"></a></td>
  </tr>";
}
   
   if( $Last_New_Topics == $Count_Topics ) { break 1; }
   
}

    $content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
        <tr>
          <td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">
  <tr> 
    <th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"modules/Forums/templates/$ThemeSel/images/cellpic3.gif\" class=\"thcornerl\"><font color=\"#DEEEF3\">Topics</font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"modules/Forums/templates/$ThemeSel/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DEEEF3\">&Replies&</font></th>
    <th width=\"100\" align=\"center\" nowrap background=\"modules/Forums/templates/$ThemeSel/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DEEEF3\">&Author&</font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"modules/Forums/templates/$ThemeSel/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DEEEF3\">&Views&</font></th>
    <th align=\"center\" nowrap background=\"modules/Forums/templates/$ThemeSel/images/cellpic3.gif\" class=\"thcornerr\"><font color=\"#DEEEF3\">&Last Post&</font></th>
  </tr>";
    $content .= "$viewlast";

 $content .= "$show";

?>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
center block
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2003
center block - 03-25-2003, 11:05 AM

thank you for your help. very grateful
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
center block
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2003
center block - 03-25-2003, 11:13 AM

it worked thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 62
Join Date: Feb 2003
03-25-2003, 12:24 PM

np dude :wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
center block
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2003
center block - 03-25-2003, 12:49 PM

look on that block on my site http://trektown.no-ip.info/PHP-Nuke/ and you will see these "&&" on the block how do you take those off?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 62
Join Date: Feb 2003
03-25-2003, 01:08 PM

it might be an error in ur forum because when i try to get there it says phpBB : Critical Error

Error creating new session
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there way to have the forum in the center block asif Nuke 7.x - General 1 11-21-2004 04:05 AM
Forum Center Block 6.5 FleaSOG Nuke 6.5 to 6.9 - Blocks 3 06-18-2003 02:34 PM
How can I put a Center Block below the New Stories? rasputin Purged Topics 0 06-15-2003 01:49 AM
Forums Center Block Virgil Nuke 6.5 to 6.9 - Blocks 3 05-21-2003 03:24 PM
background pic on center block GorGonDo Site design 5 04-15-2003 08:40 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31