Advertisement:

Author Topic: Attachments in Topics  (Read 9020 times)

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,543
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Attachments in Topics
« on: December 11, 2009, 09:59:33 AM »

Attachments in Topics v1.0 - NIBOGO
Add a new icon for topics with attachments and a pop-up to see all the attachments in that topic. (Only in the Message Index of every Board.)



Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.
o Thanks to Divecall he paid for the development of this mod and he let me publish it.
o Thanks to Arantor for his reporting bugs in the mod.

Features:
o Show an Attachment Icon (the clip) for topics with Attachments [Similar to vB Feature].
o Pop-Up showing all the attachments in that topic, showing:
       o Name
      o Size
       o Downloads
       o Link to the Post where the attachments was posted.      
o The Pop-Up is fully integrated with the Curve style.
o Show the ammount of attachments that have every topic when you set the cursor over the clip.

Languages:
- English/English-utf8
- Spanish_latin/Spanish_latin-utf8
- Spanish_es/Spanish_es-utf8

Compatibility:
- 1.1.X
- 2.0

Changelog:

Version 1.0 - Nov 22, 2009
- Uploaded to the Mod Site.

Offline InfoStrides

  • Full Member
  • ***
  • Posts: 497
  • www.TheInfoStrides.com
    • InfoStrides on Facebook
    • @TheInfoStrides on Twitter
    • TheInfoStrides.com
Re: Attachments in Topics
« Reply #1 on: December 29, 2009, 10:31:03 AM »
Nice mods! it works fine. Thanks.


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 62,469
Re: Attachments in Topics
« Reply #3 on: December 30, 2009, 08:10:21 PM »
I like this one too, it's a nice mod!
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,543
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Attachments in Topics
« Reply #4 on: December 30, 2009, 08:18:32 PM »
I like this one too, it's a nice mod!

I really appreciate it Arantor, specially comming from you :)

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,068
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • Tornado Map
Re: Attachments in Topics
« Reply #5 on: January 15, 2010, 03:40:55 PM »
Nice Mod

Thanks

Here the German Lang:
Code: [Select]
// Attachments in Topic MOD
$txt['attachments_in_topic'] = 'Dateianhänge';
$txt['attachment_in_topic'] = 'Dateianhang';
$txt['attachments_this_topic'] = 'Dateianhänge in diesem Thema';
$txt['attachments_size'] = 'Größe';
$txt['attachment_dl'] = 'Downloads';
$txt['attachment_go'] = 'Gehe zum Beitrag';
$txt['attachment_none'] = 'Es sind keine Dateianhänge in diesem Thema';
$txt['attachment_download'] = 'Download Dateianhang';
I work with:
SMF 2 in German
Tornado Map

Offline JayinGR

  • Semi-Newbie
  • *
  • Posts: 91
    • Credit Problems
Re: Attachments in Topics
« Reply #6 on: January 15, 2010, 04:11:17 PM »
Great Mod!!!  I like it alot.

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,543
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Attachments in Topics
« Reply #7 on: January 15, 2010, 04:27:30 PM »
Nice Mod

Thanks

Here the German Lang:
Code: [Select]
// Attachments in Topic MOD
$txt['attachments_in_topic'] = 'Dateianhänge';
$txt['attachment_in_topic'] = 'Dateianhang';
$txt['attachments_this_topic'] = 'Dateianhänge in diesem Thema';
$txt['attachments_size'] = 'Größe';
$txt['attachment_dl'] = 'Downloads';
$txt['attachment_go'] = 'Gehe zum Beitrag';
$txt['attachment_none'] = 'Es sind keine Dateianhänge in diesem Thema';
$txt['attachment_download'] = 'Download Dateianhang';

Thanks would be included in the next release

Great Mod!!!  I like it alot.

Glad you like it!

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,068
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • Tornado Map
Re: Attachments in Topics
« Reply #8 on: March 15, 2010, 01:50:39 AM »
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I work with:
SMF 2 in German
Tornado Map

Offline Leemy

  • Full Member
  • ***
  • Posts: 441
Re: Attachments in Topics
« Reply #9 on: March 21, 2010, 09:46:46 PM »
I didnt see a link to "Download All Attachments"... Is this planned for the next release? It's the next logical step..

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,543
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Attachments in Topics
« Reply #10 on: March 22, 2010, 11:43:24 AM »
I didnt see a link to "Download All Attachments"... Is this planned for the next release? It's the next logical step..

Are you serious??

That isn't logical and never is going to be added

Offline Leemy

  • Full Member
  • ***
  • Posts: 441
Re: Attachments in Topics
« Reply #11 on: March 22, 2010, 12:00:50 PM »
I didnt see a link to "Download All Attachments"... Is this planned for the next release? It's the next logical step..

Are you serious??

That isn't logical and never is going to be added

Not sure why youre coming across as so harsh; maybe I wasnt clear-- I mean all attachments within the 1 topic.  If I am viewing 3 attachments that relate to the same topic, odds are i might be interested in downloading all three.  Why should the user have to click to download each individually? You're showing the list, but still requiring individual downloads.

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,543
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Attachments in Topics
« Reply #12 on: March 22, 2010, 12:21:58 PM »
That is the idea of the mod show the list the Download Link is just an additional feature, I don't need it for my forum, Isn't good for the performance of your forum and I want to keep the mod simple so no unless you're willing to pay for it

Offline jmil

  • Jr. Member
  • **
  • Posts: 251
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Attachments in Topics
« Reply #13 on: June 21, 2010, 02:38:37 PM »
I am receiving the following error at the TOP of my page:

// Attachments in Topic $txt['attachments_in_topic'] = 'Attachments'; $txt['attachment_in_topic'] = 'Attachment'; $txt['attachments_this_topic'] = 'Attachments in this Topic'; $txt['attachments_size'] = 'Size'; $txt['attachment_dl'] = 'Downloads'; $txt['attachment_go'] = 'Go to the Post'; $txt['attachment_none'] = 'There are no Attachments in this Topic'; $txt['attachment_download'] = 'Download Attachment';

Any assistance please :) .

I parsed the Mod and installed it with no issues and it is working - Just this code is showing?

Version 1.1.11 Very Custom Theme!

Offline jmil

  • Jr. Member
  • **
  • Posts: 251
  • Gender: Male
  • The Chief
    • Mid-Atlantic X Riders
Re: Attachments in Topics
« Reply #14 on: June 21, 2010, 02:50:51 PM »
Never mind - Lame Mistake - I should know better

Moved the Final "?>" to the end of the "Modifications.english.php" file

Offline Sakae

  • Full Member
  • ***
  • Posts: 483
  • Gender: Male
    • TigreLOG
Re: Attachments in Topics
« Reply #15 on: November 30, 2010, 07:22:53 PM »
This MOD is awesome.

Does anyone make it work with SMF 2.0 RC4?
http://www.tigrelog.com.br
l: simple p: machines

Offline Shuban

  • SMF Hero
  • ******
  • Posts: 2,394
    • Free Homework Help
Re: Attachments in Topics
« Reply #16 on: January 01, 2011, 05:15:48 PM »
I'm trying to parse this to 1.1.11 but I can't seem to find the code:

Code: [Select]
if (!empty($settings['seperate_sticky_lock']))
on my theme's messageindex.template.php?

Where else could I add the code?

Code: [Select]
// Attachments in Topic - Add the icon and pop-up
if ($topic['attachments'] !== 0){
    echo '
<a href="'.$scripturl.'?action=topicattach;topic='.

$topic['id'].'" onclick="return reqWin(this.href,500,200);"><img src="', $settings['images_url'],

'/icons/clip.gif" alt="', $topic['attachments'],' ',($topic['attachments'] == 1) ? $txt

['attachment_in_topic'] : $txt['attachments_in_topic'], '" title="', $topic['attachments'],' ',

($topic['attachments'] == 1) ? $txt['attachment_in_topic'] : $txt['attachments_in_topic'], '"

border="0" style="float: right;" /></a>';
}

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Attachments in Topics
« Reply #17 on: February 14, 2011, 07:09:21 PM »
Nice mod ... is it possible to show the icon on the Show unread posts since last visit. & Show new replies to your posts. Pages ?? Maybe even in the Recent Post section in the info Center
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Attachments in Topics
« Reply #18 on: February 19, 2011, 10:09:46 AM »
Nice mod ... is it possible to show the icon on the Show unread posts since last visit. & Show new replies to your posts. Pages ?? Maybe even in the Recent Post section in the info Center

BUMP
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth