» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 66
0 members and 66 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on phpbbmodule center block within the Purged Topics forums, part of the NM Staff category; can someone tell me where I can get a phpbb center block like the subsilver block? I have xpsilver theme ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-25-2003, 11:28 AM
Junior Member
 
Join Date: Mar 2003
Posts: 33
phpbbmodule center block
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
  #2 (permalink)  
Old 03-25-2003, 11:41 AM
ads ads is offline
Junior Member
 
Join Date: Mar 2003
Location: Mayagüez, Puerto Rico
Posts: 87
you maen the lasts posts center block?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-25-2003, 11:47 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #4 (permalink)  
Old 03-25-2003, 11:49 AM
Junior Member
 
Join Date: Mar 2003
Posts: 33
center block
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
  #5 (permalink)  
Old 03-25-2003, 12:02 PM
Junior Member
 
Join Date: Feb 2003
Posts: 62
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
  #6 (permalink)  
Old 03-25-2003, 12:05 PM
Junior Member
 
Join Date: Mar 2003
Posts: 33
center block
thank you for your help. very grateful
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-25-2003, 12:13 PM
Junior Member
 
Join Date: Mar 2003
Posts: 33
center block
it worked thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-25-2003, 01:24 PM
Junior Member
 
Join Date: Feb 2003
Posts: 62
np dude :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-25-2003, 01:49 PM
Junior Member
 
Join Date: Mar 2003
Posts: 33
center block
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
  #10 (permalink)  
Old 03-25-2003, 02:08 PM
Junior Member
 
Join Date: Feb 2003
Posts: 62
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 05:05 AM
Forum Center Block 6.5 FleaSOG Nuke 6.5 to 6.9 - Blocks 3 06-18-2003 03:34 PM
How can I put a Center Block below the New Stories? rasputin Purged Topics 0 06-15-2003 02:49 AM
Forums Center Block Virgil Nuke 6.5 to 6.9 - Blocks 3 05-21-2003 04:24 PM
background pic on center block GorGonDo Site design 5 04-15-2003 09:40 PM


All times are GMT -5. The time now is 09:27 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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