Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 238
Total: 238

Author Topic: [Mod] Downloads System for SMF  (Read 150866 times)

0 Members and 1 Guest are viewing this topic.

Offline Heero

  • Member
  • *
  • Posts: 8
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #30 on: March 24, 2008, 08:42:19 am »
Sorry for the double post but I found a bug :

When someone uploaded a file, lets say in a category named fruit and then, would move it to a category named carrots.

The Total Files of the category starts to bug,
because the category 'fruit' keeps the uploaded file in his total files, and the carrots also takes it.

The fruit category should remove the file its count.

So short explained :
when you upload a file in the wrong category, and then moving it to another category,  it keeps the amount in the first submitted category.

I hope this would get fixed in the Pro version or something :)µ
~- Heero

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #31 on: March 24, 2008, 09:03:44 pm »
Fixed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline vinod41

  • Member
  • *
  • Posts: 6
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #32 on: April 23, 2008, 11:50:01 am »
Hi,

i need to convert menu to suid my custom theme how can i change this

Code: [Select]

// the [Downloads System] button
if ($context['allow_downloads_view'])
echo ($current_action == 'downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu']  , '</a>
</td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>'



to

Code: [Select]
// How about the [home] button?
echo '<ul><li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '"><span>'.$txt[103].'</span></a></li>';
// The [forum] button?
echo '<li', $current_action == 'forum' ? ' id="active"' : '', '><a href="', $scripturl, '?action=forum"><span>'.$txt['sp-forum'].'</span></a></li>';

// How about the [arcade] button?
echo '<li', $current_action == 'arcade' ? ' id="active"' : '', '><a href="', $scripturl, '?action=arcade"><span>', $txt[arcade] , '</span></a></li>';

thanks

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: [Mod] Downloads System for SMF
« Reply #33 on: April 23, 2008, 12:33:57 pm »
Try this on for size:
Code: [Select]
// The [Downloads System] button?
echo '<li', $current_action == 'downloads' ? ' id="active"' : '', '><a href="', $scripturl, '?action=downloads"><span>'.$txt['downloads_menu'].'</span></a></li>';

Offline vinod41

  • Member
  • *
  • Posts: 6
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #34 on: April 23, 2008, 12:48:10 pm »
Thanks... it is good.

can u tell how to create categories ? i've configured it and permissions are set. but can't find category creation button

thanks

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: [Mod] Downloads System for SMF
« Reply #35 on: April 23, 2008, 02:24:52 pm »
Go to your hopefully newly added Gallery tab. At the bottom of the page, you should see "Add Category".

Offline vinod41

  • Member
  • *
  • Posts: 6
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #36 on: April 25, 2008, 12:05:11 pm »
oh ya its there, didn't saw it clearly.

can u check one of my forum here, auto created via download ..

http://consoleplayers.com/index.php/topic,66.0.html

Title is okay
is it possible to show description in forum body ?

Offline viewridge

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #37 on: May 01, 2008, 02:25:02 pm »
I need some help making the theme edits, I need to add the download link to my menu I am using the silentwave smf only theme by dziner studio. I ran the mod through the mod parser but could not find the code in my file.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #38 on: May 01, 2008, 08:03:10 pm »
Custom themes are different just look for the template_menu function copy a button and make the changes for the download system.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Heero

  • Member
  • *
  • Posts: 8
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #39 on: May 02, 2008, 08:21:32 am »
Hey sorry for the revival,

but is there already some news for the PRO version?

Offline viewridge

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #40 on: May 02, 2008, 11:09:31 am »
took care of it,


for a future version is there going to be a thumbnail option or preview for each file, that way I can attach a screen shot of what the file is.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #41 on: May 02, 2008, 09:09:43 pm »
Hey sorry for the revival,

but is there already some news for the PRO version?
Still working on it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline unrelenting

  • Member
  • *
  • Posts: 3
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #42 on: May 14, 2008, 07:03:35 pm »
I think I have found another "bug" or more than likely an oversight.

When you create a subcategory for on the third level (ie..category1-->category2-->subcategory) it doesn't have a link to delete it like the regular categories do. I had to go into MySQL to delete the row.

If you can give me the manual edit to fix this I would be more than happy to add it myself.


False alarm. I just didn't realize what screen to delete them.  :-\

Thanks and an awesome mod. Great work.
« Last Edit: May 16, 2008, 08:23:26 pm by unrelenting »

Offline unrelenting

  • Member
  • *
  • Posts: 3
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #43 on: May 16, 2008, 08:31:36 pm »
I have a new issue.

1)  We have it set up to categorize music.
2)  We have a main music category. Under that we have categories of different genres of music.
3)  Under each of those we have category names of different artists.

This is where it becomes a slight problem. The more artists that are add the longer the list becomes. You have to scroll and scroll and scroll downwards.

I would like to know how I can make it split off after say 15 categories and show a 'pages' linktree like the one for the individual downloads in each category.

Offline City Builder

  • Member
  • *
  • Posts: 2
    • View Profile
Re: [Mod] Downloads System for SMF
« Reply #44 on: May 22, 2008, 12:53:40 pm »
I have a question about permissions and how to accomplish what I need to accomplish with it.

I am using a mod called Treasury, when people donate to my site they are automatically put into a group called supporters.

I want to give permission to the supporters group to access and download files from a specific category, however by denying regular members access to that category it denys the supporters group from that category too.

How would I work around this?

I would think the best options for the download system internal permissions would be instead of being able to view downloads, it should be changed to being able to download from specific categories.  Basically, have the download link only show up if their group has permission to download from that category.  However it would be preferable if they can only see that category if they are in a specific group.

Anyway, if anybody can tell me perhaps I'm just not setting it up right, here is what I've done.

Created categories like game demos, game saves etc.
Gone into the member permissions of SMF admin panel and granted access to the regular member group, and the supporters member group to view, add etc. to the download system.
Gone into the download permission system and granted access to the supporters to view, add, edit etc to the game demo's category, and denied permissions to the regular members to view add etc.
This denies both regular member group and supporters member group.

If I remove permissions from the regular member group in the smf admin panel to access the download system and give permissions to the supporters member group then the whole download system is no longer accessible by either regular members or supporter group members.

How do I get around this?

Thanks,

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
5662 Views
Last post May 19, 2008, 08:57:52 pm
by ApplianceJunk
2 Replies
5860 Views
Last post November 11, 2008, 09:29:41 am
by SNewman
1 Replies
6169 Views
Last post January 25, 2009, 09:45:41 am
by SNewman
1 Replies
5935 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
11022 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal