(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpacks.com%2Fimagenes%2Fnuevo_logo_mod.png&hash=2daa61076ed8f0f60f0c644dc6087aa62fb85c81) (http://www.smfpacks.com)
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.)
Support topic (http://www.simplemachines.org/community/index.php?topic=353368.0) | Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2285) | My Mods (http://custom.simplemachines.org/mods/index.php?action=search;author=126412) | Website (http://www.smfpacks.com) | Donate (http://www.smfpacks.com/donate.php)
Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.
o Thanks to Divecall (http://www.simplemachines.org/community/index.php?action=profile;u=160770) he paid for the development of this mod and he let me publish it.
o Thanks to Arantor (http://www.simplemachines.org/community/index.php?action=profile;u=53626) 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.
Nice mods! it works fine. Thanks.
Glad you like it :)
I like this one too, it's a nice mod!
Quote from: Arantor on December 30, 2009, 08:10:21 PM
I like this one too, it's a nice mod!
I really appreciate it Arantor, specially comming from you :)
Nice Mod
Thanks
Here the German Lang:
// 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';
Great Mod!!! I like it alot.
Quote from: Eclipse16V on January 15, 2010, 03:40:55 PM
Nice Mod
Thanks
Here the German Lang:
// 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
Quote from: JayinGR on January 15, 2010, 04:11:17 PM
Great Mod!!! I like it alot.
Glad you like it!
Nice Mod
Please update it for SMF 2.0RC3 ;)
Thanks
I didnt see a link to "Download All Attachments"... Is this planned for the next release? It's the next logical step..
Quote from: Leemy 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..
Are you serious??
That isn't logical and never is going to be added
Quote from: NIBOGO on March 22, 2010, 11:43:24 AM
Quote from: Leemy 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..
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.
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
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!
Never mind - Lame Mistake - I should know better
Moved the Final "?>" to the end of the "Modifications.english.php" file
This MOD is awesome.
Does anyone make it work with SMF 2.0 RC4?
I'm trying to parse this to 1.1.11 but I can't seem to find the code:
if (!empty($settings['seperate_sticky_lock']))
on my theme's messageindex.template.php?
Where else could I add the code?
// 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>';
}
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
Quote from: aw06 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
BUMP
Mod updated for SMF 2.0 Final
this is useful :) *installs*
Great mod thanks
arabic translation, AFTER installing do the following
in your /Themes/yourtheme/languages/modification.arabic-utf8.php (or modification.arabic.php if you are just arabic no utf-8)
before
?>
add
// Attachments in Topic
$txt['attachments_in_topic'] = 'مرفقات';
$txt['attachment_in_topic'] = 'المرفق';
$txt['attachments_this_topic'] = 'مرفقات في هذا الموضوع';
$txt['attachments_size'] = 'الحجم';
$txt['attachment_dl'] = 'التحميلات';
$txt['attachment_go'] = 'الذهاب الى الموضوع';
$txt['attachment_none'] = 'لايوجد اي مرفقات في الموضوع';
$txt['attachment_download'] = 'تنزيل المرفقات';
now /Themes/Yourtheme/MessageIndex.template.php
find
// Attachments in Topic Mod - Add the icon and pop-up just if we have attachments in this topic
if (!empty($topic['attachments']))
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'].' ', $txt['attachments_in_topic'], '" title="'.$topic['attachments'] .' '.(($topic['attachments'] == '1') ? $txt['attachment_in_topic'] : $txt['attachments_in_topic']).'" border="0" style="float: right;margin-right: 35px;" /></a>';
replace with
// Attachments in Topic Mod - Add the icon and pop-up just if we have attachments in this topic
if (!empty($topic['attachments']))
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'].' ', $txt['attachments_in_topic'], '" title="'.$topic['attachments'] .' '.(($topic['attachments'] == '1') ? $txt['attachment_in_topic'] : $txt['attachments_in_topic']).'" border="0" style="float: left;margin-left: 35px;" /></a>';
Any update? It doesn't work with SMF 2.0.2.
Quote from: ssboforum on June 27, 2012, 09:00:48 AM
Any update? It doesn't work with SMF 2.0.2.
it works perfectly on 2.0.2
just emulate and if you see errors during installation let me know. I might be able to help as it not that complicated.
You're right! I didn't know about emulation feature, then I found out the solution thanks to this page (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version).
Is it possible to have the attachments listed not in a pop-up window, but in a block (i use tinyportal), showed on the right of the topic (in the topic page)?
So that if there are lots of attachments in a topic, you can open the topic and immediately see the list and download them, without surfing through lots of pages.
Quote from: ssboforum on June 30, 2012, 09:42:38 AM
Is it possible to have the attachments listed not in a pop-up window, but in a block (i use tinyportal), showed on the right of the topic (in the topic page)?
Update: now it is possible, see here (http://www.tinyportal.net/index.php?topic=35108.msg280466#msg280466).
Hello,
what about a new version for SMF 2.06?
It is not possible to install automatically
Quote from: BaghdadGhost on June 28, 2012, 01:01:04 AM
Quote from: ssboforum on June 27, 2012, 09:00:48 AM
Any update? It doesn't work with SMF 2.0.2.
it works perfectly on 2.0.2
just emulate and if you see errors during installation let me know. I might be able to help as it not that complicated.
Same applies ;)
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
I have now installed it manually, quite simple