Jump to content


Latest IP.Downloads Block


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

#1 arooga

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 13 July 2007 - 01:52 AM

Hi,

Has anyone been able to successfully make a Unreal Portal v2.2.0 block to show the Latest 5 Downloads from the IP.Download Manager?

Sorry if this has already been asked :/

Thanks so much~~!!

#2 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

Posted 14 July 2007 - 08:06 PM

if you find it, pls let me know .. ;]] i'd like that too .. :]]

#3 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

Posted 04 August 2007 - 01:55 PM

still no one implemented automodule=downloads&req=search&code=last_ten in a custom UP block? :/

#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 05 August 2007 - 03:22 PM

If I actually had Invision Download Manager I might be able to help you, but since I don't have it I can't help you.
Posted Image
MultiGaming Clan Playing Games since 1997

#5 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

Posted 10 August 2007 - 03:06 PM

tough shit.. :(

#6 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

Posted 11 August 2007 - 04:51 PM

btw.. why don't you download IDM from warez sites, if you need to see it in order to make that block... I guess that wouldn't be disrespect or stealing, cause you're not going to use it any further?

#7 marko2002

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 December 2007 - 12:16 PM

Try this ... and change "DESC LIMIT 14" to however many items you want displayed

<?php
$query = $this->ipsclass->DB->query("select * from ibf_downloads_files order by file_id DESC LIMIT 14");

$count = 0;

while($fetch = $this->ipsclass->DB->fetch_row($query))
{
	if($count != 0)
	{
		echo "<tr>
			<td class='row2'>";
	}

	echo "</td><td class='row2'><a href='{$this->ipsclass->base_url}automodule=downloads&showfile={$fetch['file_id']}'>{$fetch['file_name']}</a></td>
	</tr>
	</tr>";

$count++;
}
?>


#8 il saggio

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 12 December 2007 - 06:48 AM

work fine :)
Just add php code in the block

#9 _Marco_

    Member

  • Members
  • PipPip
  • 12 posts

Posted 09 August 2009 - 03:04 PM

can anyone modifies the code for 3.0.2

thanks

#10 marko2002

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 August 2009 - 06:04 PM

To be honest, I'd rather chew my own teeth than upgrade to IPB3, througout the trials I had problem after problem, especially with IDM and even now the comments on the downloads section can't be approved manually. Unfortunately for that reason I'm not familiar with IPB3 and couldn't offer any advice on upgrading the code.

#11 J-Syxx

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 26 September 2009 - 10:26 PM

Wold it be possible to get a version of this code that also shows the screenshot for the downloads?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users