Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: aED on December 08, 2009, 04:38:31 AM

Title: Guest Attachment Preview
Post by: aED on December 08, 2009, 04:38:31 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2295)

Guest Attachment preview
Written by: aED
Email: [email protected]
Support site: http://www.pinoyden.com/

----------
* This mod will display the list of attachments for anyone but will not allow them to download the files if they do not have view_attachments permission
* If the attachment is an image it will also show the thumbnail for that image
---------

Version 1.0 November 29, 2009
- Offically released on simplemachines.org

Version 1.0.4 July 29, 2020 (Wow its almost 11 years now)
-Updated to support 2.0.17

Title: Re: Guest Attachment Preview
Post by: Arkino on December 10, 2009, 11:43:19 PM
Thank you!! It is great! you rule! :DDDDDDDDDDDDDDDDD

EDIT: A member who uploads a avatar from PC to the forums, guess can not view avatar :S
Title: Re: Guest Attachment Preview
Post by: aED on December 11, 2009, 01:08:42 AM
Quote from: Arkino on December 10, 2009, 11:43:19 PM
Thank you!! It is great! you rule! :DDDDDDDDDDDDDDDDD

EDIT: A member who uploads a avatar from PC to the forums, guess can not view avatar :S

Thanks, What do you mean by  guess can not view avatar?

I tested this again and I can see my uploaded avatar when viewing as a guest.
Title: Re: Guest Attachment Preview
Post by: Arantor on December 11, 2009, 02:35:47 AM
/me thinks it does specifically check for (and allow) viewing of avatars.
Title: Re: Guest Attachment Preview
Post by: Arkino on December 11, 2009, 01:02:59 PM
My own language is Spanish. I am sorry for my bad English =(

Ok. I have been installed a new forum. it is dont have other mod installed.

I Uploaded an avatar from forums to my pc and ''guess'' can view it.

http://img684.imageshack.us/img684/7164/sinttulo1py.jpg

I have installed Guest Attachment Preview and I have logged off. I cant see the avatar.

http://img412.imageshack.us/img412/3384/sinttulo2j.jpg

avatar from gallery and avatar by URL it is WORKS fine.

I am using SMF 2.0 RC2. Dont use FireFox, Firefox has cache of images. I am using IE8 and FireFox and the both I have the problem.
Title: Re: Guest Attachment Preview
Post by: aED on December 11, 2009, 04:40:21 PM
OK let me check it again :)
Title: Re: Guest Attachment Preview
Post by: nassatellite on December 12, 2009, 06:11:19 AM
Bu modifikasyon high slide image ile çakışmaktadır.
Title: Re: Guest Attachment Preview
Post by: nassatellite on December 12, 2009, 06:47:51 AM
High Slide image modifikasyonu ile birlikte Guest Attachment Preview modifikasyonunu aynı anda kuramadım Sorun Display.template.php 'de meydana geliyor.

Şimdi burada Bu iki modifikasyonda çakışan yer alttaki koddan sonra başlıyor :
<a href="', $attachment['href'], ';image" id="link_', $attachment['id'],


bundan sonraki kod High Slide Modu için şöyle devam ediyor :

'" class="highslide" rel="highslide"><img src="', $attachment['thumbnail']['href'], '" alt="' , $attachment['name'] , '" id="thumb_', $attachment['id'], '" border="0" /></a><br /><div class="highslide-heading">' , $context['subject'] , '</div>';


yine aynı yerden sonra ise Guest Attachment Preview Modu için şöyle devam ediyor :

onclick="' , ($context['user']['is_logged']) ? $attachment['thumbnail']['javascript'] : "alert('" . $txt['logintoviewimg'] . "'); return false;" , '"

Yukarıdaki bu iki mod<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], bu koddan sonra bu iki modifikasyonun kodu nasıl birleştirilir?

Bu iki modu aynı anda kuramadım böyle bir sorunum doğdu.
Title: Re: Guest Attachment Preview
Post by: crazyminx on December 12, 2009, 10:26:37 AM
with this mod wen right click the attatment you can still download it. I have even tried the mod disable right click. and it is still the same.
Title: Re: Guest Attachment Preview
Post by: Arantor on December 12, 2009, 03:12:15 PM
You can only save the small version of the file - not the full size version. At least, I couldn't get it to give me the full size version when I tested it...
Title: Re: Guest Attachment Preview
Post by: crazyminx on December 12, 2009, 05:46:27 PM
Quote from: Arantor on December 12, 2009, 03:12:15 PM
You can only save the small version of the file - not the full size version. At least, I couldn't get it to give me the full size version when I tested it...

i was able to a full screensaver wen i tested it as a quest.

this is my site if wanna check for me as a guest...http://screensaversmania.com/index.php
Title: Re: Guest Attachment Preview
Post by: Arantor on December 12, 2009, 05:54:27 PM
Nope, can still only get it to save thumbnails of images rather than the full image itself.

If you want me to look at a specific download, please provide a more specific link.
Title: Re: Guest Attachment Preview
Post by: crazyminx on December 12, 2009, 06:13:35 PM
Quote from: Arantor on December 12, 2009, 05:54:27 PM
Nope, can still only get it to save thumbnails of images rather than the full image itself.

If you want me to look at a specific download, please provide a more specific link.

i managed to download one these...
http://screensaversmania.com/index.php?topic=66.0
Title: Re: Guest Attachment Preview
Post by: Arantor on December 12, 2009, 06:16:39 PM
At full size or just preview size?

I can't get a 240x320 image out of those. I *can* get the smaller 112x150 image however, but since that's visible to guests, yes of course you can get it.
Title: Re: Guest Attachment Preview
Post by: crazyminx on December 12, 2009, 06:19:04 PM
Quote from: Arantor on December 12, 2009, 06:16:39 PM
At full size or just preview size?

I can't get a 240x320 image out of those. I *can* get the smaller 112x150 image however, but since that's visible to guests, yes of course you can get it.

wen i right click it the full image comes up then i can save it
Title: Re: Guest Attachment Preview
Post by: Arantor on December 12, 2009, 06:21:58 PM
And you're not logged in at this point?

Try clearing your browser's cache then doing it again. It'll still show up in your browser if you viewed the full size image while logged in - I don't have a cached version to view so it never works for me.
Title: Re: Guest Attachment Preview
Post by: crazyminx on December 12, 2009, 06:25:14 PM
Quote from: Arantor on December 12, 2009, 06:21:58 PM
And you're not logged in at this point?

Try clearing your browser's cache then doing it again. It'll still show up in your browser if you viewed the full size image while logged in - I don't have a cached version to view so it never works for me.


ok thank you it working.. i forgot about clearing my cookies
Title: Re: Guest Attachment Preview
Post by: Arantor on December 12, 2009, 06:29:26 PM
/me quietly breathes a sigh of relief; he approved this one and it wouldn't be good to have approved it if it didn't work properly...
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on December 19, 2009, 10:24:38 AM
With this Mod "Guest Attachment Preview",   DOES It cause an "error"  in the error log, every time someone tries to view a file or picture,  when as a guest?

I see a ton of errors, and it seems to be every time someone tries to view something as a guest.  Is this normal?
Title: Re: Guest Attachment Preview
Post by: Arantor on December 19, 2009, 10:27:45 AM
It will give an error if the guest tries to actually view the attachment, just as it would if they tried to access it without a preview; all it actually does is move the permissions check around and add a message appropriately.
Title: Re: Guest Attachment Preview
Post by: Yahmez on December 19, 2009, 11:57:44 AM
This mod would not allow guests to see uploaded avatars on my forum.
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on December 19, 2009, 12:39:04 PM
Yep, you are right,  this mod causes a guest to see a "picture not found" error box where the avatar should be.   I uninstalled the mod and avatars are ok again.

Is there a fix in the works?
Title: Re: Guest Attachment Preview
Post by: aED on December 19, 2009, 05:06:53 PM
What version of SMF are you using?
Title: Re: Guest Attachment Preview
Post by: Yahmez on December 19, 2009, 05:09:11 PM
2.0 RC2 here...
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on December 19, 2009, 05:48:23 PM
2.0 RC2 also
Title: Re: Guest Attachment Preview
Post by: aED on December 20, 2009, 12:05:06 AM
can you attach your display.php here?
Title: Re: Guest Attachment Preview
Post by: raelpsf on January 02, 2010, 01:40:53 PM
I use smf 1.1.10, and i have problem in install this mod.. problem with display.template..

Maybe you can see my file (i attach it on this msg).. and help me..

i need alow to guest see only images, but dont see other files attach (zip, rar, mp3, etc).. its possible?
Title: Re: Guest Attachment Preview
Post by: aED on January 05, 2010, 04:50:24 AM
This mod allows your guest to view the preview or thumbnail of the image I think this mod will do the trick. Ill update this post and upload your files later.
Title: Re: Guest Attachment Preview
Post by: raelpsf on January 06, 2010, 10:03:46 PM
Tks friend, i will wait.. :D
Title: Re: Guest Attachment Preview
Post by: Arkino on January 09, 2010, 12:33:03 AM
Quote from: GohighVoltage on December 19, 2009, 12:39:04 PM
Yep, you are right,  this mod causes a guest to see a "picture not found" error box where the avatar should be.   I uninstalled the mod and avatars are ok again.

Is there a fix in the works?

I said the same :(

is it will fix?
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on February 05, 2010, 02:39:04 AM
Are you going to fix the issues?  Great idea!
Title: Re: Guest Attachment Preview
Post by: aED on February 05, 2010, 11:07:59 AM
I really cannot replicate this issue. If you anyone of you can give me an admin and ftp account so I can check why it doesnt show the avatar for guests then I might know what is really causing that problem.
Title: Re: Guest Attachment Preview
Post by: oOo--STAR--oOo on February 15, 2010, 10:52:24 PM
Just to clarify.. I dont have the problem where users with the permission not to beable to view the mod are unable to.
works perfectly here although i do have one thing that could be updated..

Basically if the image is small to begin like mine is 240x320

it shows a preview of 112x150

when i click the image to show it in full i get undefined on the image. doesnt actually tell me that im not allowed to view the image.
I have attached a screen shot below.

EDIT:
on another note.. how come as guest is dislplays a  msgbox popup but as a member who has been dis allowed the permission it opens a new explorer windows stating
QuoteAn Error Has Occurred!It seems that you are not allowed to download or view attachments on this board.

I kinda like the msgbox that gets displayed for guests alot better if that is possible could u make that.
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 18, 2010, 08:14:45 PM
This plugin works great on SMF 1.1.11
maybe a little to good since guests cannot see some of the avatars. Check the screenshot below. Any fix for this?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi50.tinypic.com%2Fsvkwsg.jpg&hash=824e3ecdd939c7e7542ff9684715f9538a9dfa1d)
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 07:22:42 AM
i think this happens when the avatars are uploaded to the attachment folder?
it would be easy to fix this problem by adding the size om the image in size or. so if the attachment is less than 15kb or so it will not be active on that attachment.
Title: Re: Guest Attachment Preview
Post by: oOo--STAR--oOo on February 19, 2010, 07:55:03 AM
Ahh explains why there isnt a problem with mine then.. I changed the directory avatars are uploaded to.

So guests dont have a problem veiwing avatars.

change the folder that avatars are uploaded to.
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 07:57:01 AM
Quote from: aljo1985 on February 19, 2010, 07:55:03 AM
Ahh explains why there isnt a problem with mine then.. I changed the directory avatars are uploaded to.

So guests dont have a problem veiwing avatars.

change the folder that avatars are uploaded to.

yeah, but that wont help if you already have 100.000 avatars in the attachment folder :) 
its impossible to move them to the avatar folder
Title: Re: Guest Attachment Preview
Post by: aED on February 19, 2010, 06:37:36 PM
Good news the avatar issue is now fixed :)
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 06:39:35 PM
OMG OMG OMG.

when can we download the new version?
Title: Re: Guest Attachment Preview
Post by: aED on February 19, 2010, 06:43:24 PM
Its already on the mod site
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 06:47:04 PM
gaaaah *running over to the mod site*  ;D
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 06:51:34 PM
Yep it works now, all avatars are back!
but i found a easy way to go around the download permission tho. Just right click on the attachment url and choose to open the file in a new tab or a new window and the download manager (IE8) will start downloading the image.

try it yourself: http://forum.dailymobile.se/index.php/topic,63.0.html
possible to fix this?
Title: Re: Guest Attachment Preview
Post by: aED on February 19, 2010, 07:04:57 PM
The file is cached by your browser try pressing CTRL+F5 on that page after logging out
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 07:10:40 PM
Quote from: aED on February 19, 2010, 07:04:57 PM
The file is cached by your browser try pressing CTRL+F5 on that page after logging out

i just tested and cleared all temp files and choose a image that i never used before and i could open it in a new tab and a new window. but i did get the error message by just licking on the link or image

edit: oh it also works by just right clicking on the image name and save as.
Title: Re: Guest Attachment Preview
Post by: aED on February 19, 2010, 07:17:26 PM
Please try pasting the link on a different browser  I still believe it's still cached by your browser
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 07:20:11 PM
i just tried the same thing with firefox and safari on another wallpaper section ( http://forum.dailymobile.se/index.php/topic,57.0.html ) with the same results :)

anyone else having these problems?
Title: Re: Guest Attachment Preview
Post by: aED on February 19, 2010, 07:41:59 PM
:P I think everything is fixed now thanks to Phat^Trance
Title: Re: Guest Attachment Preview
Post by: Phat^Trance on February 19, 2010, 07:57:55 PM
yes  its fixed now. works great.

thx!
Title: Re: Guest Attachment Preview
Post by: oOo--STAR--oOo on February 20, 2010, 08:38:43 AM
Thanks for the update.. Uninstalled and installed the update went smoothly no problems at all..

great mod thanks for the support :) Thumbs up
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on February 24, 2010, 02:36:41 PM
AWESOME JOB WITH MOD!   FIXED ALL PROBLEMS!   WORKS PERFECT!  Thanks
Title: Re: Guest Attachment Preview
Post by: Bugo on March 18, 2010, 02:01:04 AM
Russian translation:

this for languages-utf8.xml (encoded to UTF8 w\o BOM)
<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Preview link/thumbnail attachments
$txt['login2download'] = 'Для скачивания вложения Вы должны авторизоваться на форуме!';
$txt['logintoviewimg']  = 'Для просмотра полного изображения, пожалуйста, авторизуйтесь!';
]]></add>
</operation>
</file>


and this for languages.xml (encoded to ANSI):
<file name="$languagedir/Modifications.russian.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
//Preview link/thumbnail attachments
$txt['login2download'] = 'Для скачивания вложения Вы должны авторизоваться на форуме!';
$txt['logintoviewimg']  = 'Для просмотра полного изображения, пожалуйста, авторизуйтесь!';
]]></add>
</operation>
</file>
Title: Re: Guest Attachment Preview
Post by: aED on March 18, 2010, 11:18:19 AM
Thanks for the translation Ill add them to the package later :)
Title: Re: Guest Attachment Preview
Post by: qtime on March 30, 2010, 08:32:39 AM
Using it at: Powered by SMF 2.0 RC3

When I visit the forum as guest, I can see the previews (as promised), but when I click an attachment link I see this error at a blanc screen:

The database value you're trying to insert does not exist: user

I upgrade the script from rc1 to 3
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on March 30, 2010, 01:01:57 PM
I have been usint with no issues or problem. thank you for a great mod!

Is there a way to enable a small free to like charge 5.oo paypal to donate brefor allowing downloads?
Title: Re: Guest Attachment Preview
Post by: Arantor on March 30, 2010, 01:30:15 PM
GohighVoltage: Easy solution, use paid subscriptions...
Title: Re: Guest Attachment Preview
Post by: qtime on March 30, 2010, 01:40:29 PM
Quote from: GohighVoltage on March 30, 2010, 01:01:57 PM
I have been usint with no issues or problem. thank you for a great mod!

Is there a way to enable a small free to like charge 5.oo paypal to donate brefor allowing downloads?
and setup a group for members with download rights for paid subscriptions, disable download rights for "normal" members and done.
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on June 18, 2010, 02:19:04 PM
Hi  I enabled Paid membership.    I have your mod, love it.      I only allow members to download.   So if someone is a visitor and clicks on a picture,  it says,  "you must register, etc etc".   So they register.  Then click, and it says "you do not have permission etc".     I only allow paying members to download.   So,  after someone registers,  how can I change the wording of that pop up, and have it say,  You must pay for a membership to be allowed to download?

And how do I change the message when someone is a guest?

Thanks!
Title: Re: Guest Attachment Preview
Post by: Blade_Runner on July 17, 2010, 01:35:40 AM
Thanks for this great mod. I do face a problem.
It works perfectly for guest. However, when a registered member with no permission tries to click on the thumbnail, the thumbnail disappears. It should show an error box stating that the member does not have permission to view. An error message will show if the member clicks on the image filename, but not on the thumbnail.

How can I fix this missing error message on thumbnail for registered member with no permission?
Title: Re: Guest Attachment Preview
Post by: Blade_Runner on July 22, 2010, 07:57:56 AM
Is this mod is being supported? :-\
Title: Re: Guest Attachment Preview
Post by: GohighVoltage on July 22, 2010, 10:34:48 PM
How can I edit the "Messages" that pop up when a person clicks on a file?
Title: Re: Guest Attachment Preview
Post by: Maggie302 on August 23, 2010, 09:48:28 AM
Great looking mod!  I am running into an issue on installation.  I can install but can not access the settings (obviously)  sorta tells me that :)  I installed the required program.  Easy fix, I am over looking?

7.     Execute Modification     ./Sources/ModSettings.php     Test failed


Thanks for any help in advance!


Here is a list of mods I have installed.

9.     Remove SMF Logo      1.301       [ Uninstall ]  [ List Files ]  [ Delete ]
10.    SMFPacks Shoutbox    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    SMF Gallery Lite    3.0.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Enhanced PM Warning Message    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    AJAX Instant Quick Reply    1.0.3    [ Uninstall ] [ List Files ] [ Delete ]
14.    Simple Image Upload    1.1.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    Aeva ~ Auto-Embed Video & Audio    7.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    Enhanced Profile    1.1.5    [ Uninstall ] [ List Files ] [ Delete ]
17.    Enhanced Profile Header    1.2.3    [ Uninstall ] [ List Files ] [ Delete ]
18.    PM On Registration    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
19.    Anti Bot: Are You Human/Bot?    2.3    [ Uninstall ] [ List Files ] [ Delete ]
20.    Remove Post Modified Time    1.2    [ Uninstall ] [ List Files ] [ Delete ]
21.    Custom Profile Field Mod    3.20    [ Uninstall ] [ List Files ] [ Delete ]
22.    Karma Buttons    1.1    [ Uninstall ] [ List Files ] [ Delete ]
23.    Avatar on Member List    1.0    [ Uninstall ] [ List Files ] [ Delete ]
24.    Tapatalk SMF Plugin    0.9.13    [ Uninstall ] [ List Files ] [ Delete ]
25.    Prettier_Quotes    1.12    [ Uninstall ] [ List Files ] [ Delete ]
26.    Display Location on posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
27.    Display Signatures Only Once Per Page    1.0.3    [ Uninstall ] [ List Files ] [ Delete ]
28.    Today's Posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
29.    Top 10 Posters and Topic Starters Stats (Today, Week, Month, and Year)    2.5.1    [ Uninstall ] [ List Files ] [ Delete ]
30.    Custom Tab    1.2    [ Uninstall ] [ List Files ] [ Delete ]
31.    SMFBlog    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
32.    SSI Topics and Replies    1.4    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: Guest Attachment Preview
Post by: Maggie302 on August 23, 2010, 12:38:15 PM
Opps posted in wrong section :)  Ignore me!  So sorry!
Title: Re: Guest Attachment Preview
Post by: camoura on September 01, 2010, 10:24:53 AM
How can I change the mod so guests cannot view the thumbnails. That is, show that the post has attachments but do not show the thumbnails only the links.

Also, how to integrate with highslide?

Thanks!
Title: Re: Guest Attachment Preview
Post by: camoura on September 03, 2010, 12:28:31 PM
Never mind. I got it.
Title: Re: Guest Attachment Preview
Post by: Blade_Runner on November 03, 2010, 03:11:20 PM
Does anyone know where the attachments are uploaded to after this mod has been installed? I cannot find it in the "/forums/attachments" directory that was specified in attachment settings.

Any help is greatly appreciated.
Title: Re: Guest Attachment Preview
Post by: Neverhurry on November 14, 2010, 02:18:37 PM
Quote from: camoura on September 03, 2010, 12:28:31 PM
Never mind. I got it.

Hey, man, how did you get it? Can you share? Thanks.
Title: Re: Guest Attachment Preview
Post by: trzycha on December 20, 2010, 10:03:05 AM
Does anyone know what should I modify in order to block attachments for all groups except groups that I will choose (everyone can see the thumbnails but not full size except for a few groups). Is it possible? I want to use this with pay subscriptions from smf 2.0.
Title: Re: Guest Attachment Preview
Post by: Biology Forums on January 21, 2011, 11:50:56 AM
If a guest right clicks on the link, they are still able to download the file. How do I prevent this from happening? :o
Title: Re: Guest Attachment Preview
Post by: impreza on January 21, 2011, 12:53:25 PM
Cool addition, I tested and it looks very good
Title: Re: Guest Attachment Preview
Post by: MarkoKg on January 28, 2011, 11:12:09 AM
Hello.

Any chanse to work with highslide image viewer mod?

Thanks.
Title: Re: Guest Attachment Preview
Post by: aw06 on February 18, 2011, 11:30:20 PM
This mod doesn't seem to work if Highslide is installed..,... Clicking on thumbnail it just hangs trying to load the image
Title: Re: Guest Attachment Preview
Post by: Biology Forums on March 01, 2011, 11:52:25 PM
How could I extend the mods functionality so that guests with less than 1 post get a popup message after clicking an attachment saying you still have less than 1 post. I get a lot of people registering, downloading the attachment, and never returning!

PLEASE HELP :(
Title: Re: Guest Attachment Preview
Post by: Raffoz on September 04, 2011, 08:37:13 PM
it doesn't work with 2.0
because it blocks guests from download... :(
Title: Re: Guest Attachment Preview
Post by: infoseeker on September 30, 2011, 04:30:56 AM
I FOUND A BUG

This mod still allows guests to download attachment until the webpage load completely.

After complete load of webpage then only it shows the pop up message like "please login to download".
Im using it on smf 2.0.1 by emulate RC3 mod.

Thats all.
Thanking you. :)
Title: Re: Guest Attachment Preview
Post by: littlenicki on April 23, 2012, 12:30:47 PM
The programmer of this mod aED is a fraudulent programer. He destroyed my website. So be carefull about his stuff.
Title: Re: Guest Attachment Preview
Post by: Robert. on April 23, 2012, 12:32:25 PM
Please fill out this form: http://custom.simplemachines.org/mods/index.php?action=report;mod=2295 ;)
Title: Re: Guest Attachment Preview
Post by: Biology Forums on April 23, 2012, 05:55:47 PM
Quote from: littlenicki on April 23, 2012, 12:30:47 PM
The programmer of this mod aED is a fraudulent programer. He destroyed my website. So be carefull about his stuff.

How so?

The only problem I've had with this mod is that is the uploaded image is less than the required size to create a thumbnail, it shows the image as a broken file. Although inconvenient, still safe to use.
Title: Re: Guest Attachment Preview
Post by: Iomega0318 on October 12, 2012, 11:52:46 AM
Quote from: Raffaele1977 on September 04, 2011, 08:37:13 PM
it doesn't work with 2.0
because it blocks guests from download... :(
I am seeing the same thing on 2.0.2, it will block them from downloading it, but it also blocks them from viewing them either.. Anyone care to update this? I would really like it as I want guests to see the images and other packages but prevent them from downloading it so I can get more people registered on my site.
Title: Re: Guest Attachment Preview
Post by: superj707 on August 01, 2014, 11:43:46 PM
anyone have this working with 2.0.8
Title: Re: Guest Attachment Preview
Post by: LadyAngel on October 29, 2014, 08:40:49 AM
Just what I needed, thank you so much!
Title: Re: Guest Attachment Preview
Post by: ziskar364 on May 26, 2020, 07:09:04 PM
Is there any similar mod that may work for smf 2.0.17 nowadays?
Thanks in advance
Title: Re: Guest Attachment Preview
Post by: Deaks on May 26, 2020, 07:21:17 PM
this mod works fine with 2.0.17 you need to use the version emulate however

How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Guest Attachment Preview
Post by: ziskar364 on May 30, 2020, 05:25:03 AM
Quote from: Deaks on May 26, 2020, 07:21:17 PM
this mod works fine with 2.0.17 you need to use the version emulate however

How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

Thanks a lot, I did install the mod following the instructions!
Does anyone know how can I change the warning message "Please login to view the full image!" in order to show it in greek lang? Which ile should I edit?
Title: Re: Guest Attachment Preview
Post by: Deaks on May 30, 2020, 07:31:27 AM
in the file Modifications.greek.php located in /Themes/default/languages

add the following:

$txt['login2download'] = 'Παρακαλώ συνδεθείτε για να κατεβάσετε το συνημμένο';
$txt['logintoviewimg']  = 'Παρακαλώ συνδεθείτε για προβολή πλήρους εικόνας';


make sure its before the closing ?>
Title: Re: Guest Attachment Preview
Post by: ziskar364 on May 31, 2020, 06:44:05 PM
Quote from: Deaks on May 30, 2020, 07:31:27 AM
in the file Modifications.greek.php located in /Themes/default/languages

add the following:

$txt['login2download'] = 'Παρακαλώ συνδεθείτε για να κατεβάσετε το συνημμένο';
$txt['logintoviewimg']  = 'Παρακαλώ συνδεθείτε για προβολή πλήρους εικόνας';


make sure its before the closing ?>

Worked like a charm!!!

Ευχαριστώ πολύ! ;) ;) ;)
Title: Re: Guest Attachment Preview
Post by: Deaks on May 31, 2020, 06:51:11 PM
Παρακαλώ :)

Title: Re: Guest Attachment Preview
Post by: Portugal on April 23, 2021, 11:27:57 AM
In 2.0.18 not working, just if emulated, but if is emulated, do not show the information in popup window.
Another question, its possibile that mod origin any kind of error and this error origin webmaster tools of google flag the site with "unusuals downloads"?


Thanks in advance
Portugal