Jump to content


As it create another block of news


  • You cannot reply to this topic
5 replies to this topic

#1 MachinexD-

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 September 2006 - 10:42 PM

As it creates another one an an an an an an an a news, in a block of the forumID 89, and another one of another side of the forumID 84, and to standard in the center!

The excuses itself is not correct!

They excuse for my English. .. I use translator!

Please help me!

I have that code I am that and for 2.0x and I will want for 2.1x

Thanks...
Help me pls;
x)

#2 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 29 September 2006 - 12:24 PM

Try this

<?php

$qurey1 = $this->ipsclass->DB->query("select last_id from ibf_forums where id = '89'");

$fetch = $this->ipsclass->DB->fetch_row($query1);
$tid = $fetch['last_id'];

$query2 = $this->ipsclass->DB->query("SELECT * FROM ibf_posts where topic_id = ".$tid." order by pid DESC limit 1");
$row= $this->ipsclass->DB->fetch_row($query2);

$this->parser->parse_html = $row['post_htmlstate'];
$this->parser->parse_nl2br = 1;

$post = $this->parser->pre_display_parse($row['post']);

echo $post;
echo "<br/><br/>Posted By: <a href='./index.php?showuser=".$row['author_id']."'>".$row['author_name']."</a> | <a href='./index.php?showtopic=".$tid."&view=getnewpost'>View Latest Post</a>";
?>

Posted Image
MultiGaming Clan Playing Games since 1997

#3 MachinexD-

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 06 October 2006 - 03:53 PM

I find the code that show I am the topics... that show posts also!!
And that shows more of 1 topics for time!
equal the news of unreal portal

Sorry for My English...

Thanks so much !!!!!!!!

#4 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 06 October 2006 - 07:19 PM

and what code was that?
Posted Image
MultiGaming Clan Playing Games since 1997

#5 MachinexD-

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 October 2006 - 07:52 PM

it resolved
Thanks...

#6 blackk

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 January 2009 - 02:58 PM

where I can choose the amount of news in the portal using this custom block?
it displays one latest news, I have more.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users