Status
Not open for further replies.

Zoul

Customer
Hello to all

I'll try to be as clear as possible, unfortunately I go through a translator.

when a guest looks at a picture, the download button does not appear
exemple: Voir l'image: Michael Scofield - GFX-Art

here, no problem

When someone connects to the gallery and I gave him the guest rank (as if it was not connected)
I have a big surprise, the download part appears:

Capturetredsq.png


and yet the settings are the same as the nickname is connected or not

Capgfdftgture.png


So I think the connection goes above parameters

Can you help me I know if I'm wrong something?
My problem is that a group of connected must not have access to the download.

thank you for your help
 
Are you saying you're manually changing a user to make him part of the Unregistered Users group?
 
I found a manual solution

in dbtech_gallery_view_image

add the groups entitled to see parts:

<vb:if condition="in_array($bbuserinfo['usergroupid'], array(5,6,7,9,10,11))">
<vb:if condition="$image_data[download]">
<div style="margin-bottom: 15px; margin-top: 15px; text-align: center;">
<div id="gallery_download">
<a class="gallery_button" href="{vb:raw image_data.download_link}"><span></span>{vb:rawphrase dbtech_gallery_download_txt}</a>
</div>
</div>
</vb:if>
</vb:if>
 
Status
Not open for further replies.

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
865
Customer rating
0.00 star(s) 0 ratings
Back
Top