https://www.icyphoenix.com/viewtopic.php?f=35&t=5571 ----------------------------------- system Sat 14 Mar, 2009 02:59 To IP Developers - User Friendly Recent Forum Topics Block ----------------------------------- Hello, In IP i add recent topics block for my IP index page.but thatone is not more user friendly.Can anyone please help me to develop a good & nice Recent topics block ? I saw in Php-nuke have their own nice looking forum information [recent forum topics] block .Can i customize it to IP? Here is the Screenshot and the specific code for th php-nuke...Can anyone help me to develop this type of block to my IP.. [img]http://phpnuke-downloads.com/images/forumscenterblock.jpg[/img] [code]$username"; $result4 = sql_query( "SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi ); list( $username, $user_id ) = sql_fetch_row( $result4, $dbi ); $OrigPoster = " $username "; $TopicImage = " \"\""; $TopicTitleShow = "$topic_title"; $Topic_Buffer .= "$TopicImage  $TopicTitleShow
$OrigPoster
$topic_views
$topic_replies
$LastPoster 
$post_time"; } if( $Last_New_Topics == $Count_Topics ) { break 1; } } $cat = sql_query("SELECT * FROM ".$prefix."_bbcategories", $dbi); $content = ""; /* Write Table to Screen */ $content = "
"; $content .= ""; $content .= ""; $content .= "$Topic_Buffer"; $content .= ""; $content .= ""; $content .= "
Last 5 Forum Posts
"; $content .= ""; $forum_id = $forum_row[0]; $forum_title = $forum_row[5]; $for_count ++; $content .= "
"; $content .= "
"._BBFORUM_TOTTHREAD.""._BBFORUM_POSTER.""._BBFORUM_VIEWS.""._BBFORUM_REPLIES.""._BBFORUM_LASTPOSTER."
"._BBFORUM_TOTTOPICS."$Amount_Of_Topics | "._BBFORUM_TOTPOSTS."$Amount_Of_Posts | "._BBFORUM_TOTVIEWS."$Amount_Of_Topic_Views | "._BBFORUM_TOTREPLIES."$Amount_Of_Topic_Replies | "._BBFORUM_TOTMEMBERS." $Amount_Of_Members
"; $content .= ""; $content .= ""; $a = 1; global $user, $cookie, $sitename, $prefix, $user_prefix, $dbi, $admin, $module_name; $result=sql_query("SELECT user_id, username, user_posts, user_avatar FROM ".$user_prefix."_users ORDER BY user_posts DESC LIMIT 0,5", $dbi); while(list($user_id, $username, $user_posts, $user_avatar) = sql_fetch_row($result, $dbi)) { $content .= ""; } else $content .= "  "; $content .= ""; } $content .= "
"; if (eregi("http://", $user_avatar)) { $content .= "   $username 
 Posts:  "; $content .= " $user_posts 
"; $content .= "
"; //Please leave the following link in place so other people can also share this block !! $content .= "

©

"; ?> [/code] ----------------------------------- DWho Sat 14 Mar, 2009 13:32 Re: To IP Developers - User Friendly Recent Forum Topics Block ----------------------------------- you can edit the block to add the extra information you need... list what you want to show.. and I will have a look.. :mrgreen: :mrgreen: ----------------------------------- system Sat 14 Mar, 2009 16:58 Re: To IP Developers - User Friendly Recent Forum Topics Block ----------------------------------- I need, Post Title | Rating | Last Post | Replies | Views | Forum Can you please develop this? I'll PM you some example sites.thanks. System. ----------------------------------- DWho Mon 16 Mar, 2009 18:48 Re: To IP Developers - User Friendly Recent Forum Topics Block ----------------------------------- Block released here http://www.icyphoenix.com/viewtopic.php?f=2&p=37429#p37429 :mrgreen: :mrgreen: