Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11796
Latest: negociosrentables
New This Month: 14
New This Week: 1
New Today: 0
Stats
Total Posts: 37125
Total Topics: 6541
Most Online Today: 138
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 109
Total: 109

Author Topic: File Listings  (Read 2261 times)

0 Members and 1 Guest are viewing this topic.

Offline Snuffy

  • Downloads Pro Customer
  • Newbie
  • *****
  • Posts: 49
    • View Profile
    • Webmaster
File Listings
« on: September 01, 2011, 11:18:14 pm »
- = I am using SMF 2.0 and Downloads Pro 2.0.4 = -

I was wondering if there is a way that I can get the file listings on my Downloads Areas that are showing like this:
===================================================
 Designer Clothing Packs
____________________
Get the goodies to make your player look good out on the course.
 
 Sub Categories: -Charlies Assorted Player Files-, -Charlies Expansion Packs Files-, -Customize your Player with Hats & Clubs, and add Flags-, -Steve Schreiber Player Wardrobe Files-, -Original Players Outfit Sets-
===================================================

To something like this instead:
===================================================
 Designer Clothing Packs
____________________
Get the goodies to make your player look good out on the course.
 
 Sub Categories:
 -Charlies Assorted Player Files-,
 -Charlies Expansion Packs Files-,
 -Customize your Player with Hats & Clubs, and add Flags-,
 -Steve Schreiber Player Wardrobe Files-,
 -Original Players Outfit Sets-
===================================================

Here is a link to my Downloads to see what I am talking about, and I am open to any suggestions on getting the areas to display in a up & down list like I show above.
If it can be done to get the Sub Catagories not showing like they are.

http://www.goldenbearsden.com/index.php?action=downloads
« Last Edit: September 01, 2011, 11:20:01 pm by Snuffy »

Offline Snuffy

  • Downloads Pro Customer
  • Newbie
  • *****
  • Posts: 49
    • View Profile
    • Webmaster
Re: File Listings
« Reply #1 on: September 02, 2011, 12:59:47 am »
I guess what I am looking for really is how you can list your Sub Catagories one below the other instead of as a stringed togather list as they do now.

Any input on whether this can be done?

Snuffy . . . .   ;)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 13711
    • View Profile
Re: File Listings
« Reply #2 on: September 02, 2011, 08:01:48 am »
That's actually pretty easy to do.

Open Sources/Downloads.php or Sources/Downloads.php
Find
Code: [Select]
$subcats_linktree .= '<a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Change to
Code: [Select]
$subcats_linktree .= '<br /><a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Snuffy

  • Downloads Pro Customer
  • Newbie
  • *****
  • Posts: 49
    • View Profile
    • Webmaster
Re: File Listings
« Reply #3 on: September 02, 2011, 01:35:27 pm »
That's actually pretty easy to do.

Open Sources/Downloads.php or Sources/Downloads.php
Find
Code: [Select]
$subcats_linktree .= '<a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';
Change to
Code: [Select]
$subcats_linktree .= '<br /><a href="' . $scripturl . '?action=downloads;cat=' . $row3['ID_CAT'] . '">' . $row3['title'] . '</a>';

Thank you very much that did the trick and works great.
Now I will be able to make some changes that make things easier and workable for the members.  ;)

Snuffy . . . . . :)

Offline Snuffy

  • Downloads Pro Customer
  • Newbie
  • *****
  • Posts: 49
    • View Profile
    • Webmaster
Re: File Listings
« Reply #4 on: September 08, 2011, 04:24:18 am »
Hello Again just wanted to pop back in and let you know that it has been about a week now that you gave me the answer for making my many files areas in my downloads show like I wanted them as mentioned above in my original post.

And with your help here I have been working on reconstructing my files areas and the community at Golden Bears Den has let me know that they like the new listings and that it makes finding and looking through the course files much easier and are very pleased with the new look.

So AGAIN THANKS!     8)

And if you want to check out the new look on the areas here is a link:

http://www.goldenbearsden.com/index.php?action=downloads

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
6187 Views
Last post September 11, 2007, 10:27:39 pm
by propyl
2 Replies
3194 Views
Last post October 15, 2007, 06:25:19 pm
by SMFHacks
3 Replies
3406 Views
Last post December 31, 2008, 06:03:51 pm
by SMFHacks
2 Replies
2643 Views
Last post April 01, 2009, 08:44:04 pm
by Wegg
3 Replies
4465 Views
Last post November 25, 2013, 02:38:51 pm
by vkot

+- Recent Topics

fatal_error showing html as plain text by shuban
Today at 11:15:34 am

unserialize vs. safe_unserialize by shuban
Today at 09:53:13 am

Disabling this script when focused on a textarea by shuban
September 28, 2016, 11:05:35 pm

Any plan on introducing new payment gateways to the store? by SMFHacks
September 20, 2016, 05:12:15 pm

WHY? by Snuffy
September 10, 2016, 10:56:33 pm

replacing a category thumbnail with another - what am I doing wrong? by SMFHacks
September 03, 2016, 07:16:30 pm

Feature Requests by madfiddler
September 02, 2016, 03:21:18 pm

Next / Previous Image by bulldogfever
September 02, 2016, 09:25:56 am

Categories / Galleries by SMFHacks
September 01, 2016, 05:57:00 pm

Awesome Post Ratings - New Product by oskaaay
August 31, 2016, 12:24:38 am

Powered by EzPortal