View Full Version : Show Thread Enhancements - Members Can't Download Attachments Before Reply - Or X Usergroup
MARCO1
01-16-2010, 10:00 PM
Members Can't Download Attachments Before Reply
Or X Usergroup
As ARP (https://vborg.vbsupport.ru/member.php?u=327057) Request, He want a separate Mod From MARCO1 Hide All (https://vborg.vbsupport.ru/showthread.php?t=228228) to prevent members or X usergroup to download the Attachments before reply.
Features :
Hide Attachments before reply for Members.
Hide Attachments for guests.
Hide Attachments for X Usergroup can edit from admincp.
Message Manager : To edit the No Attachments Phrase.
Working with all vBulletin 4.X Versions.Mod Info :
Coder : MARCO1
Version : 1.5
vBulletin Compatible Versions : All vBulletin 4.x versions
Installation time : 2 SecondsInstall :
Auto-installation Just upload the Mod from AdminCp.
Screen-shots & Download :
In Attachments, Remember you can't download this attach before Mark As Installed. :D
Translations :
You didn't have any permission to translate or edit or copy any part of this Mod, You should contact me first via PM, Just to let me know you will translate or edit in this Mod.
French Version By Allan here : https://vborg.vbsupport.ru/showpost.php?p=1962686&postcount=13
Don't Forget to Mark As Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=233333).
To Get the new updates and support!
Kolbi
01-17-2010, 11:08 AM
Thank you!
I'm not running 4.0x, but if your screens indicate exactly as your mod displays. The word "reply" has a typo.
Zaiaku
01-17-2010, 01:50 PM
Very nice! great work.
Quale
01-17-2010, 02:35 PM
3.8.x Please! haha (:
or anyone know a similar mod/hack that does this for 3.8.x?
Namaless
01-17-2010, 04:17 PM
3.8.x Please! haha (:
or anyone know a similar mod/hack that does this for 3.8.x?
Simple, upgrade your board to v4 :)
MARCO1
01-17-2010, 05:04 PM
3.8.x Please! haha (:
or anyone know a similar mod/hack that does this for 3.8.x?
I will release new Mod with 3.X.
Quale
01-17-2010, 09:56 PM
I will release new Mod with 3.X.
:up:
cooltechie
01-19-2010, 04:16 AM
Hope to give this a try. Tagged.
3DUInc
01-19-2010, 06:13 AM
Thank you very much! :)
Waw, You are great Man.
Sure Installed, Nominated.
Also https://vborg.vbsupport.ru/external/2012/01/12.gif
MARCO1
01-21-2010, 01:15 PM
You are welcome Steve and thanks for your great suggests :)
Allan
01-21-2010, 07:36 PM
French language :)
Translator: BillyBoule (Team vBr)
Thread: http://www.vbulletin-ressources.com/forum/showthread.php?t=19137
Valter
01-23-2010, 12:38 PM
Users will not see the list of attached files but they are able to download them if attachmentid is known.
tini_lam
01-23-2010, 03:45 PM
have mod allow member download after have x post ?
MARCO1
01-23-2010, 04:05 PM
French language :)
Translator: BillyBoule (Team vBr)
Thread: http://www.vbulletin-ressources.com/forum/showthread.php?t=19137
Thanks Allan, First post updated.
MARCO1
01-23-2010, 04:05 PM
have mod allow member download after have x post ?
No.
mobilewo
02-28-2010, 05:02 AM
Database error
The myforum database has encountered a problem
help me
skontakt
03-28-2010, 12:02 AM
I have Database error too.
Could somebody help fix this problem!?
parks72
04-14-2010, 11:52 PM
thank you.................
shempsall2009
04-29-2010, 10:45 PM
Hi, can you make an addon for this Mod so the attachments can be viewed if the thanks button is pressed??? Ver 4.0.3..
Thanks,
abu-mejbel
05-15-2010, 06:23 AM
Thanks my brother on nice product
+ Product in Arabic in the Attachment
click here (http://www.rawabetvb.com/vb/showthread.php?t=158479)
MARCO1
05-23-2010, 07:33 AM
Thanks Abu-mejbel :)
wolfiejp
06-23-2010, 01:50 AM
Hi nice mod just what i was after, now if you have the time can you get this to work with the thanks button like with this one [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666&highlight=thanks+button)
Thanks
wolfie
khanh.phanvan
06-23-2010, 02:54 AM
hi,
Mod Members Can't Download Attachments Before button thanks
help me please.
Jollyware
06-27-2010, 06:41 AM
Will this work with attachments or is it just a BBCode.
Jollyware
06-27-2010, 06:57 AM
I cant seem to get this mod to work, have installed it, but cannot see any options anywhere to hide the attachments.
Am I being blind ?
Jollyware
06-29-2010, 05:10 AM
Is there anyone that can help on this please, I have the mod activated, but all attachements are still visible.
I am really desperate to get this working, please help.
jambo_1969
07-03-2010, 03:54 PM
Is there anyone that can help on this please, I have the mod activated, but all attachements are still visible.
I am really desperate to get this working, please help.
Have you checked in the usergroups options ?
There (and I haven't installed this, so don't know) may be an option for say, Registered Users to have this applied - it's most likely set to no by default.
to_die4
01-05-2011, 02:51 PM
Works very well, thank you.
Da-Vinci
01-08-2011, 02:36 PM
Seems to have stopped working in 4.1.0 PL2, any chance you could look at this please Marco1
Bob Albion
01-09-2011, 05:18 PM
Same as above .. MARCO1 could please look at this as soon as you can its needed asap
And i know as Pearson of your infinite talent could get this going again in no time what so ever ;)
Regs
Bob
Da-Vinci
01-09-2011, 05:31 PM
So I've been trying to get this fixed, so looked at your older version of this mod here.
https://vborg.vbsupport.ru/showthread.php?t=203634
And noticed this reply by you.
NEW UPDATE
YES lasto !
in your attachment.php
search for
if ( !$vbulletin->db->query_first ( "SELECT postid FROM " . TABLE_PREFIX . "post WHERE userid='".$vbulletin->userinfo[userid]."' AND threadid=$threadinfo[threadid]" ) ) :
and in ( post WHERE userid='" )
write your usergroup this will be have permission to see attachments without reply the thread
example :
post WHERE userid='2,3,4,5,6"
Rather than edit the attacment.php I noticed the hooks exist in the plugin code, so I tried to replicate it like this.
global $db ,$vbulletin;
$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]' AND userid=22,24,25" . $vbulletin->userinfo[userid] . "");
$m=$p[userid];
if($vbulletin->userinfo[userid]!= $m AND can_moderate($forumid, 'canremoveposts') == false or $vbulletin->userinfo[userid] == 0)
{
eval('$this->post[\'imageattachmentlinks\'] = $vbphrase[MARCO1_At];');
eval('$this->post[\'thumbnailattachments\'] = $vbphrase[MARCO1_At];');
eval('$this->post[\'imageattachments\'] = $vbphrase[MARCO1_At];');
eval('$this->post[\'otherattachments\'] = $vbphrase[MARCO1_At];');
eval('$this->post[\'moderatedattachments\'] = $vbphrase[MARCO1_At];');
}
}
The 3 usergroups I want to allow to to download attachments without replying are 22, 24 & 25 and of course the 3 staff usergroups 5, 6 & 7, but I believe the staff usergroups are covered by this statement.
if($vbulletin->userinfo[userid]!= $m AND can_moderate($forumid, 'canremoveposts') == false or $vbulletin->userinfo[userid] == 0)
Looking at the attachment.php I don't see the same hook info.
$attachmentinfo = $db->query_first_slave("
SELECT filedataid, SUBSTRING(" . ((!empty($vbulletin->GPC['thumb']) ? 'thumbnail' : 'filedata')) . ", $startbyte + 1, $readsize) AS filedata
FROM " . TABLE_PREFIX . "filedata
WHERE filedataid = $attachmentinfo[filedataid]
");
Anyway, I still haven't been able to get this to work so any help or updates would be greatly appreciated.
smoggy07
01-09-2011, 06:06 PM
as the members above have said, is there any chance on an update for 4.1.0 pl2 as i have just noticed this has stopped working?
thanks in advanced
smoggz
Many thanks for your hard work Marco is there any chance on an update for 4.1.0 pl2.Cos my forum needs it and is such a useful way to keep tabs on all that input stuff to my site.
Guru Samrat
10-09-2011, 09:49 AM
not working with 4.0.3
Guru Samrat
10-24-2011, 02:59 PM
not work in 4.0.3
faisaly.com
07-18-2012, 11:21 PM
This works on 4.2.0 fine but hides screenshots and attachment files... is there a way so it wont hide the screenshot attachments...
Members don't like to reply just to see screenshots first...
trollshrooms
11-22-2015, 01:40 AM
Any chance we can get this updated to 4.2.3?
john7911
01-12-2016, 09:15 AM
Any chance we can get this updated to 4.2.3?
trollshrooms
04-15-2016, 12:35 PM
permissions do not work using vb4.2.3
Attachments permissions
Add usergroups ID's who can't see the attachments without reply P.S : Separate the ID's with comma , ex : 1,2,3,4,5,6,7,8,9,10
basically you cant allow certain groups to have this disabled
BlooD
05-21-2018, 10:15 AM
Hello everyone,
I would like to know how can we see the attached file by clicking only on the Thank you button.
You can't download the attachement before replay
by
You can't download the attachement file without clicking the Thank you button
thank you very much
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.