Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 08:44:19 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149581 Posts in 21094 Topics by 7536 Members
Latest Member: SpokaneDude
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Most Popular Downloads call for Download Gallery 1.9?  (Read 2366 times)
aggiejag

Offline Offline

Posts: 9



« on: July 11, 2008, 10:57:02 PM »

I'm using Download Gallery 1.90 and would like to have 5 of the most popular downloads listed on the front page and I can't figure out the call...  can anyone help?  I'm running WB 2.7, MySQL 5, PHP 4.1

http://www.marineofficerprograms.com

Thanks in advance!
~Russell
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #1 on: July 13, 2008, 03:04:14 PM »

Just made a small snippet. Feel free to modify, improve, or do whatever you want with it.

Based on anynews, this lists a number of downlod links and the counter.
Optionally the file description is added.
No support for groups is built in.
Output is based on a table, with CSS classes added. Look at the output for the classes to add in your css.

Install this as a module and call it with <?php topgal(); ?> in your template.
(look at readme.txt for more info)

Cheers,

Ruud
Logged

Professional WebsiteBaker Developer
aggiejag

Offline Offline

Posts: 9



« Reply #2 on: July 13, 2008, 06:38:24 PM »

Ruud,
  Exactly what i was looking for... will mod the output so it is in an unordered list vice a table, but THANKS a million!

Cheers,
~Russell
Logged
aggiejag

Offline Offline

Posts: 9



« Reply #3 on: July 13, 2008, 07:58:14 PM »

Here's my mod... i changed it so it's an unordered list, removed the description and the download count...  thanks again, Ruud!
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #4 on: July 13, 2008, 10:01:00 PM »

yr welcome,

I like to help a bit if I can, this was a nice "challenge" for a Sunday afternoon  smiley

Cheers,

Ruud
Logged

Professional WebsiteBaker Developer
Availor

Offline Offline

Posts: 225



« Reply #5 on: July 13, 2008, 10:38:12 PM »

That's a GREAT module!!!  grin
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #6 on: July 13, 2008, 10:43:26 PM »

.....Feel free to modify, improve, or do whatever you want with it.

That's a GREAT module!!!  grin

Do you know a place that lists those small WB tricks ?  cool

Ruud

Edit: ahh.. it's there already wink
« Last Edit: July 13, 2008, 10:45:14 PM by RuudE » Logged

Professional WebsiteBaker Developer
Availor

Offline Offline

Posts: 225



« Reply #7 on: July 13, 2008, 11:00:30 PM »

Yes I was quick already tested all posibilities and aded it... I still owe you a tutorial for the classifieds as I promised, though I really hope someone will fix the catalog module.

Got a book on php but an't go through the second page (lol). Day after tomorrow I have an exam on C#, meanwhile I'm playing around with all sorts of javascript and flash thingies... Sorry for the OT  afro
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!