Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Question for a Mod about the greybox (Read 2276 times)
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Question for a Mod about the greybox
Jan 19th, 2018 at 2:50pm
Print Post  
I am new on Yabb and set up a forum on my own. I am using the grey box for images attached in several boards.

My question is: Is it possible to set the greybox in this way that only members can see the images in fullscreen while guests can not?

In other words, if I click on an image it should only be scaling to fullscreen if you are a member otherwise it should only be the image itself viewable.

  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #1 - Jan 24th, 2018 at 2:57pm
Print Post  
What version of YaBB?
Without knowing that no-one can write a mod for it.
  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #2 - Feb 9th, 2018 at 12:00pm
Print Post  
I am using YaBB 2.6.11
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #3 - Feb 9th, 2018 at 3:01pm
Print Post  
I may have time to work up a mod for this sometime next week.
  
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #4 - Feb 9th, 2018 at 7:56pm
Print Post  
  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #5 - Feb 10th, 2018 at 9:09pm
Print Post  
Thanks for the Mod.

It works partially for now.

I enabled the option in the admin section.

For now, guest can still click on the image and the image is loading in a new window in his original size.

What I think it should do is that guests can see the image in the small size but they can not click the image.

Hope you will have some time to solve the issue.

Many thanks.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #6 - Feb 10th, 2018 at 9:59pm
Print Post  
I don't think you can stop people from opening the image in their browser. If they can see it, they can open it.
  
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #7 - Feb 10th, 2018 at 11:50pm
Print Post  
After some thought I realized that you may be thinking YaBB actually creates distinct thumbnails based on the sizes set in Admin Center -> Advanced Settings -> Images.

It doesn't.

The thumbnail the the message display is the original image resized by the user's browser using the settings set in Admin Center -> Advanced Settings -> Images in order to save visual space in the message display.

What you appear to want is a way to create an actual thumbnail of the designated size and a members only link to the full sized image.

I don't see a way of doing that at this time.
  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #8 - Feb 11th, 2018 at 11:20am
Print Post  
what I was thinking about is that a guest should not be able to click on the image in the post, only a member should be able to do so.

I was not aware that Yabb does not create a thumbnail from the image.

I was hoping that the mod prevents a guest to simply click on the image and the image resizes to full. If the guest open the image in a new window himself, ok.

I tried to understand the mod, but there was no command like onclick or something comparable.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #9 - Feb 11th, 2018 at 2:20pm
Print Post  
With the mod installed: images inside the img tag are not 'clickable'. However - images that are attachments are clickable because the attachment is clickable.
  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #10 - Feb 11th, 2018 at 3:42pm
Print Post  
ok I understand. So in the end the mod does not make sense for this kind of problem, except the greybox only appears for members. But in the end it doesnīt solve my problem. Sad

But thanks for your effort.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #11 - Feb 11th, 2018 at 4:10pm
Print Post  
Well, you can disable all media (including attachments) for guests. Admin Center -> Forum Settings -> Members -> Disable media

Or, since I now have a better idea of what you're looking for, the mod might be able to be adjusted to disable attachment downloads for guests.

  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #12 - Feb 11th, 2018 at 4:26pm
Print Post  
Yes I know that I can disable all media attachements but this is not what I was looking for.

To explain:
I hosted a forum for collectors from Commodore C64 and Amiga games. For those it is very important to have good and clean pictures from the game boxes and its content.

For me as admin it would be very important that I can select what things I can show to guests and what not.

So, to have the option to give attachements a clickable or not clickable status (sadly the images are not thumbnails) for members or guest would be a nice thing.

In the community itīs nice to show what you have but not all secrets (e.g. the image in fullscreen) should be visible at once.  Wink

So the original idea was to show smaller images to all people (guests and members) but the images in high detail only for members.

  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 124
Joined: Apr 25th, 2012
Re: Question for a Mod about the greybox
Reply #13 - Feb 11th, 2018 at 6:19pm
Print Post  
New version of mod at http://www.boardmod.org/cgi-bin/forum/YaBB.pl?num=1518206104/1#1

This one replaces the attachment link with a 'Please register'.

But again, since YaBB doesn't make actual thumbnails, you're trusting that your guests exhibit the average web user's level of ... (fill in blank)  Roll Eyes.

You might also want to turn on the 'Guest View Topic Limit' with the 'block' option. That will require guests to register to see more than a few pages.
  
Back to top
WWW  
IP Logged
 
Magi
New Member
*
Offline


I Love YaBB 2.6.11!

Posts: 28
Joined: Jan 19th, 2018
Re: Question for a Mod about the greybox
Reply #14 - Feb 11th, 2018 at 6:34pm
Print Post  
Thanks again, will try what this changes and will let you updated.  Wink
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint