WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Most Popular Downloads call for Download Gallery 1.9?
  • Print
Pages: [1]   Go Down

Author Topic: Most Popular Downloads call for Download Gallery 1.9?  (Read 16694 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
Logged

Offline Ruud

  • Posts: 3671
  • 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]
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

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
Logged

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]
Logged

Offline Ruud

  • Posts: 3671
  • 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
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

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
Logged

Offline Ruud

  • Posts: 3671
  • 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 »
Quote from: RuudE on July 13, 2008, 04:04:14 PM
.....Feel free to modify, improve, or do whatever you want with it.

Quote from: Availor on July 13, 2008, 11:38:12 PM
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 »
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

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:
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Most Popular Downloads call for Download Gallery 1.9?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2