Author Topic: Most Popular Downloads call for Download Gallery 1.9?  (Read 6779 times)

aggiejag

  • Guest
Most Popular Downloads call for Download Gallery 1.9?
« on: July 11, 2008, 11: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

Offline Ruud

  • Posts: 3649
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #1 on: July 13, 2008, 04: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

[gelöscht durch Administrator]

aggiejag

  • Guest
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #2 on: July 13, 2008, 07: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

aggiejag

  • Guest
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #3 on: July 13, 2008, 08: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!

[gelöscht durch Administrator]

Offline Ruud

  • Posts: 3649
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #4 on: July 13, 2008, 11:01:00 PM »
yr welcome,

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

Cheers,

Ruud

Availor

  • Guest
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #5 on: July 13, 2008, 11:38:12 PM »
That's a GREAT module!!!  :-D

Offline Ruud

  • Posts: 3649
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #6 on: July 13, 2008, 11:43:26 PM »
.....Feel free to modify, improve, or do whatever you want with it.

That's a GREAT module!!!  :-D

Do you know a place that lists those small WB tricks ?  8-)

Ruud

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

Availor

  • Guest
Re: Most Popular Downloads call for Download Gallery 1.9?
« Reply #7 on: July 14, 2008, 12:00:30 AM »
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  :mrgreen: