PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Mon Mar 29, 2010 6:39 am Reply with quote Back to top

can anyone tell me where to find a Forum Center Block and Downloads Summary block (Just like in this site front) for Raven nuke 2.4. thank you.
View user's profile Send private message
montego
Former Admin in Good Standing


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

PostPosted: Mon Mar 29, 2010 7:03 am Reply with quote Back to top

zacklk wrote:
Forum Center Block


If you have 2.40.xx, I believe you already have the block? If not, check if 2.40.01 has it or get it from Raven's downloads here.
View user's profile Send private message Visit poster's website
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Mon Mar 29, 2010 8:45 am Reply with quote Back to top

there is one mr.montego. but i really want to have a one like in ur site. i search but i couldn't find one. my old php-nuke 8.0 block doesn't work in this.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

PostPosted: Mon Mar 29, 2010 9:01 am Reply with quote Back to top

Here is a copy of the downloads block
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Mon Mar 29, 2010 9:33 am Reply with quote Back to top

Great it works. thanks nuken. now all i need is that forum block.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Mon Mar 29, 2010 9:41 am Reply with quote Back to top

The block is in RavenNuke(tm). Look for block-ForumsCollapsing.php
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Mon Mar 29, 2010 11:18 am Reply with quote Back to top

tnx raven but i need a normal block. something except for the collapsing part Smile. i try to convert a block i had after reading some posts here. i dont know what i did wrong but its not working. can u check what i did wrong?
that i changed


Code:
<?php

if (eregi("block-fiapple-Forum.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $sitename, $admin;

$HideViewReadOnly = 1;

$Last_New_Topics  = 10;
$show = "  <tr>
    <td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"themes/fiapple/forums/images/cat_bkg.gif\">&nbsp;</td>
  </tr>
</table></td>
        </tr>
      </table></td>
  </tr>
</table>";

$Count_Topics = 0;
$Topic_Buffer = "";
$sql = ( "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");
$result = $db->sql_query($sql);
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = $db->sql_fetchrow( $result )

{
   $skip_display = 0;
   if( $HideViewReadOnly == 1 )
   {
      $result1 = $db->sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'" );
      list( $auth_view, $auth_read ) = $db->sql_fetchrow( $result1);
      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 = $db->sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'");
list($username, $user_id)=$db->sql_fetchrow($result2);
$avtor=$username;
$sifra=$user_id;

$result3 = $db->sql_queryy("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'");
list($poster_id, $post_time)= $db->sql_fetchrow($result3);

$result4 = $db->sql_queryy("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'");
list($username, $user_id)= $db->sql_fetchrow($result4);

                         $viewlast .="  <tr>
    <td height=\"30\" nowrap bgcolor=\"#f5f5f5\" class=\"row1\"><img src=\"themes/fiapple/forums/images/folder_new.gif\" border=\"0\" /></td>
    <td width=\"100%\" bgcolor=\"#f5f5f5\" class=\"row1\">&nbsp;<a href=\"forums.html&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
    <td align=\"center\" bgcolor=\"#ececec\" class=\"row2\">$topic_replies</td>
    <td align=\"center\" bgcolor=\"#ececec\" class=\"row3\"><a href=\"profile-.html$sifra\">$avtor</a></td>
    <td align=\"center\" bgcolor=\"#f5f5f5\" class=\"row2\">$topic_views</td>
    <td align=\"center\" nowrap bgcolor=\"#ececec\" class=\"row3\"><font size=\"-2\"><i>&nbsp;&nbsp;$post_time&nbsp;</i></font><br>
      <a href=\"profile-.html$user_id\">$username</a>&nbsp;<a href=\"forums.html&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"themes/fiapple/forums/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=\"#D1D7DC\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">
  <tr>
    <th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"themes/fiapple/forums/images/cat_bkg.gif\" class=\"thcornerl\"><font color=\"#000000\"><strong>Topics</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/fiapple/forums/images/cat_bkg.gif\" class=\"thtop\"><font color=\"#000000\"><strong>&nbsp;Replies&nbsp;</strong></font></th>
    <th width=\"100\" align=\"center\" nowrap background=\"themes/fiapple/forums/images/cat_bkg.gif\" class=\"thtop\"><font color=\"#000000\"><strong>&nbsp;Author&nbsp;</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/fiapple/forums/images/cat_bkg.gif\" class=\"thtop\"><font color=\"#000000\"><strong>&nbsp;Views&nbsp;</strong></font></th>
    <th align=\"center\" nowrap background=\"themes/fiapple/forums/images/cat_bkg.gif\" class=\"thcornerr\"><font color=\"#000000\"><strong>&nbsp;Last Post&nbsp;</strong></font></th>
  </tr>";
    $content .= "$viewlast";

 $content .= "$show";

?>
View user's profile Send private message
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Mon Mar 29, 2010 11:24 am Reply with quote Back to top

Oh Well i got it. thanks. it works now.
View user's profile Send private message
montego
Former Admin in Good Standing


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

PostPosted: Wed Mar 31, 2010 6:06 am Reply with quote Back to top

Sorry zacklk, when you said "Just like in this site front" in your original post, well, I was thinking you wanted the same block that Raven mentioned. But, sounds like you are all sorted now.
View user's profile Send private message Visit poster's website
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