Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-01-27 08:29:14

vingerelliot
Member
Registered: 2013-10-02
Posts: 12

Can't get a PHPlugin to function with the Client Response Gallery

Hi! I'm need for some help again… I don't want my images to be downloaded when I use the CRG so I guess I need to disable the right click function. I've installed a plugin for Wordpress that I use but is not able to figure out the path to use it within the CRG. This is my structure: public_html/pictures/crg1…crg2 and so forth as for the galleries. public_html/wp-content/no-right-click-images-plugin. I tried to create a server path to use globally by enabling PHPlugins and great a gallery and then use the path.php created but it didn't work so I'm thinking it is something wrong with my structure. I would be grateful for your thoughts! Thanks...

Offline

#2 2014-01-27 08:51:34

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Can't get a PHPlugin to function with the Client Response Gallery

are you using phplugins anywhere else?

if not, just enable phplugins for that particular gallery and see this:
http://ce3wiki.theturninggate.net/doku. … ight-click

if you want to disable for all CRGs, then set up phplugins globally and use the appropriate G_STYLE identifier to target them: http://ce3wiki.theturninggate.net/doku. … e3_engines


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-01-27 16:25:56

vingerelliot
Member
Registered: 2013-10-02
Posts: 12

Re: Can't get a PHPlugin to function with the Client Response Gallery

Thanks! I want to do it globally on all galleries and I have never used plugins before. Infortunately I know to little to be able to do it with those instructions... I don't know where to add the code you see. Would some more detailed instructions on how to proceed be possible..?

Offline

#4 2014-01-27 16:46:06

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Can't get a PHPlugin to function with the Client Response Gallery

I don't think it's possible for the documentation to be any more detailed. Read through the overall PHPlugins documentation, then dig into the examples/tutorials if you need to learn by additional example. It's all in there.
http://ce3wiki.theturninggate.net/doku.php#phplugins


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2014-01-27 17:50:08

vingerelliot
Member
Registered: 2013-10-02
Posts: 12

Re: Can't get a PHPlugin to function with the Client Response Gallery

I completely understand your point Matthew. I'm just really new to this. But let me ask in a different way. If my galleries are here: public_html/pictures/crg1...crg2, where do I create my phplugin.php folder? like this: public_html/phplugin.php/path.php? Is that correct structure wise? I'm doing something wrong at the moment, just trying to figure out what part is right and not.

Offline

#6 2014-01-27 18:00:29

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Can't get a PHPlugin to function with the Client Response Gallery

The plugins already create a /phplugins-sample/ folder on export, if you have PHPlugins features enabled.

Rename /phplugins-sample/ to /phplugins/.

If you're using CE3 Pages, then just use it's /phplugins/ folder as your base. If not, then pull the folder from one of your exported galleries and place it at /public_html/phplugins/.

You can then fetch your path by yourdomain.com/phplugins/path.php.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2014-01-28 05:58:17

vingerelliot
Member
Registered: 2013-10-02
Posts: 12

Re: Can't get a PHPlugin to function with the Client Response Gallery

And now it works! Thanks a million!

Offline

Board footer

Powered by FluxBB