Guest Attachment Preview

Started by aED, December 08, 2009, 04:38:31 AM

Previous topic - Next topic

Phat^Trance

gaaaah *running over to the mod site*  ;D
Daily Mobile Blog:  http://dailymobile.se/
Daily iPhone Blog: http://dailyiphoneblog.com/
Daily Mobile forum: http://forum.dailymobile.se/

Phat^Trance

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?
Daily Mobile Blog:  http://dailymobile.se/
Daily iPhone Blog: http://dailyiphoneblog.com/
Daily Mobile forum: http://forum.dailymobile.se/

aED

The file is cached by your browser try pressing CTRL+F5 on that page after logging out

Phat^Trance

#43
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.
Daily Mobile Blog:  http://dailymobile.se/
Daily iPhone Blog: http://dailyiphoneblog.com/
Daily Mobile forum: http://forum.dailymobile.se/

aED

Please try pasting the link on a different browser  I still believe it's still cached by your browser

Phat^Trance

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?
Daily Mobile Blog:  http://dailymobile.se/
Daily iPhone Blog: http://dailyiphoneblog.com/
Daily Mobile forum: http://forum.dailymobile.se/

aED

:P I think everything is fixed now thanks to Phat^Trance

Phat^Trance

yes  its fixed now. works great.

thx!
Daily Mobile Blog:  http://dailymobile.se/
Daily iPhone Blog: http://dailyiphoneblog.com/
Daily Mobile forum: http://forum.dailymobile.se/

oOo--STAR--oOo

Thanks for the update.. Uninstalled and installed the update went smoothly no problems at all..

great mod thanks for the support :) Thumbs up
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

GohighVoltage

AWESOME JOB WITH MOD!   FIXED ALL PROBLEMS!   WORKS PERFECT!  Thanks

Bugo

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>

aED

Thanks for the translation Ill add them to the package later :)

qtime

#52
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

GohighVoltage

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?

Arantor

GohighVoltage: Easy solution, use paid subscriptions...

qtime

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.

GohighVoltage

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!

Blade_Runner

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?


GohighVoltage

How can I edit the "Messages" that pop up when a person clicks on a file?

Advertisement: