Full-Size & Intermediate Photos Access Control - Page 5 Full-Size & Intermediate Photos Access Control - Page 5
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Full-Size & Intermediate Photos Access Control

Started by Paver, December 12, 2005, 07:06:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sami

There should be an option for non image file

What do you want to control? -> everything
‍I don't answer to PM with support question
Please post your issue to related board

Ingalb

Quote from: Sami on August 07, 2007, 04:35:16 PM
There should be an option for non image file

What do you want to control? -> everything


Thanks Sami,

I haven't see that option  ::) :-\

just_some_guy

Hey,

Sorry if this has been asked b4. I am using a modded version of CPG, with stramms mod pack. I see that init.php and the lang file will need editited. What parts do i edit to make both work?

Also does this mod remove the alt attribute of the file location too?

Thanks.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

greggan

Great plugin but it dont work when Lightbox is used for fullsize images.
Is it possible to get this plugin to restrict Lightbox popup to show for logged in users only?
It does not work just to disable full size view :0(

Ref: Lightbox [ http://forum.coppermine-gallery.net/index.php/topic,35539.0.html ]

Regards/ Stefan

Joachim Müller

Quote from: Paver on December 12, 2005, 07:06:32 PM
A few thoughts I had while writing this plugin:

  • If groupmgr.php had a plugin hook, I could add a "allow full-size access" setting there.
Why not add such a hook now to cpg1.5.x while you still can *hint*  ;)

Joachim

paul__cz

Hi all! I have this error massage after click to normal picture (600x400px). I can open original large picture.

Fatal error: Cannot redeclare loginform() (previously declared in .../include/themes.inc.php:2717) in ...theme.php on line 833

Thanks
Paul__cz

Joachim Müller

The file include/themes.inc.php doesn't contain a function named loginform(). You must have introduced that in error. Undo it. Not related to this thread. Read up board rules, then start a thread of your own if you can't get this issue solved on your own.

Mimer

#87
Danish language file updated for v. 1.4 based on english.php.
Revision 1.1

Mimer  8)

jolly

There is one problem ;(

I am using Enlargeit plugin as well, and unfortunetly that both plugins did not work togheter.

Even if I set that Guest can only see thumbnails, after click, Enlargeit shown pictture in full size.

Any chances make that plugins cooporate?

jolly

Ok, solved.
It did not notice I can set it in Enlargeit config.

jolly

It's me again.
This is great plugin Paver, really very usefull. But I wonder, is it possible to apply this plugin only for one album? For instatnt, album numer 5 ?
In other words: registered users have full size access for every albums, except album number 5. They can see only thumbnails picture.
What do you think ?

Bash

This mod is excellent has all the options I needed. Thanks!

durangod

IM so very happy i ran into this, i was just sitting here thinking of a way to keep joe smoe public from downloading any photo they wanted and two seconds into that thought i ran into this mod, its installed and running PERFECTLY, really nice job... excellent by brain thanks you...

soluzioninrete

A user with 'intermediate' access level can view fullsize picture by directly accessing the right URL with the browser.
Patch proposed:

Index: codebase.php
===================================================================
@@ -137,7 +137,7 @@

   // Restrict access to DisplayImage.php if not allowed to view intermediate images
   if ($CONFIG['plugin_controlfullsize_controleverything'] && defined('DISPLAYIMAGE_PHP') && !GALLERY_ADMIN_MODE) {
-    $validuser = controlfullsize_validate('intermediate');
+    $validuser = controlfullsize_validate('fullsize') || (is_null($_REQUEST['fullsize']) && controlfullsize_validate('intermediate'));
     if (!$validuser) {
       load_template();
       pageheader($lang_error);