Joomla 2x-3x to CPG Tunnel - Page 2 Joomla 2x-3x to CPG Tunnel - Page 2
 

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

Joomla 2x-3x to CPG Tunnel

Started by ron4mac, June 01, 2013, 02:01:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ron4mac

ildaniel,

Without access to your Joomla backend, there isn't anything more I can do to help.  For some reason, the login procedure at your site is not creating the 'cookie' needed for the tunnel to operate.

ildaniel


actually I realize now that the plugin is for joomla 2.5 and not for 3.x, the version that I'm using ......
I'm sorry but I had not read ....
will wait so that you will also test it on 3.x

ron4mac

Quote from: ildaniel on October 29, 2013, 10:41:47 PM
actually I realize now that the plugin is for joomla 2.5 and not for 3.x, the version that I'm using ......
I'm sorry but I had not read ....
will wait so that you will also test it on 3.x
The plugin has been developed and tested successfully with Joomla 3.x.
I have not, however, tested it with Joomla 3.x running under PHP 5.4 (as it seems is the PHP version for your site).
I will test it under those circumstances as soon as possible .. probably by tomorrow (30 Oct).

ron4mac

ildaniel,

I tested the plugin on Joomla 3.1.5 running under PHP 5.4.19 without any issue. I have no way to help you further unless you are to let me in as an admin. If it is important enough for you to do that, you can email me a temporary login to the back end that you create for me.  Email to: ronnie(curly_at_sign)rjconline(full_stop)net

ron4mac

ildaniel,

Thanks for your help in discovering an error with the Joomla! part of this plugin.  Somehow, the version included with the package was an older one that does not work with Joomla! v3.x.  It has been corrected in the original post above.

bobbritt

Thanks for developing this!

I have a site that is currently using the mehdi bridge solution to link J! 2.5 to CPG1.5.

What wouldhappen if I disable Mehdi and enabled yours?

Will users Galleries still be associate with the correct user?

ron4mac

#26
I'm not totally familiar with the internals of the Mehdi bridge.  But, for example, if you login to J! as "user1" with password "pass1", and can DIRECTLY login to your CPG instance (no bridge active) with the same username and password, then this 'tunnel' method should work.

Please be aware that this method does not provide any visual integration (I think the Mehdi bridge may do that).

If you can point me at the Mehdi bridge (and any modifications you're using), I'll look at it to determine whether any conversion process would be needed.

bobbritt

Thanks for the prompt reply.

Sure I don't mind showing you our setup. I do have the visualization working as well.

As I understand it, with the Mehdi bridge there are no physical users on the CPG side.

Our website is
http://www.modelersalliance.com/
and the gallery is
http://www.modelersalliance.com/gallery

The biggest problem I have with the Mehdi Bridge is of course, no support.

ron4mac

bobbritt,

I have taken a look at the Mehdi bridge code.  The answer to your question is that, no, you would not be able to simply switch to my 'tunnel' solution and have your users be able to access their files.

It is conceivable, however, that it could be possible with some modifications made to my 'tunnel'.  I'm not sure that it would work and I have no way to test it.  And if you were to try it, you would definitely need to do so with a backup of your site.

My recommendation:  If what you have is working for you, keep what you have (regardless of support).

bobbritt

Thank you Ron, the long term plan was to run it till it broke, I'll be back to see ya when it breaks.  :o

If you're interested in testing it out, I could install a sandbox site. Perhaps after the new year.

ron4mac

#30
I decided to look into visual integration of CPG into Joomla!.  Finding that doing so without the use of an iframe was a tougher nut than I wanted to try cracking, I settled on enhancing the CPG plugin for use with a Joomla! menu item wrapper (iframe).  Find the result (v1.1) in the original post above.

A sample 'tunneling' theme is included that inhibits unnecessary buttons (login,logout,contact,etc.). With some CSS tweaks (CPG and Joomla!), I think it would be possible to create a pretty visually clean appearance.

Αndré

IMHO we don't need a separate theme, but let the plugin remove unnecessary buttons and styling.

ron4mac

Quote from: Αndré on December 10, 2013, 04:08:54 PM
IMHO we don't need a separate theme, but let the plugin remove unnecessary buttons and styling.
Good point, I suppose, André.  But I think I'd rather let the enduser decide what buttons and styling they do or don't want .. and I think that's easiest achieved by use of a custom theme rather than a dozen options in a plugin.

phill104

There is a problem with a few of the current Joomla frameworks not playing well with the wrapper menu item, something users should be aware of when testing.
It is a mistake to think you can solve any major problems just with potatoes.

ildaniel

hello,
I just installed the new version and the wrapper is very convenient.
a problem with users:
1) if the user is not already registered in commermine, everything ok
2) if the user is already registered in coppermine, I get:
"Failed to authenticate via tunnel (login rejected)"

Is this normal?

ron4mac

Quote from: ildaniel on December 30, 2013, 04:28:52 PM
hello,
I just installed the new version and the wrapper is very convenient.
a problem with users:
1) if the user is not already registered in commermine, everything ok
2) if the user is already registered in coppermine, I get:
"Failed to authenticate via tunnel (login rejected)"

Is this normal?

If the user is already registered in coppermine, their coppermine password must match their Joomla! password.


ildaniel

ok perfect,
I'm sorry if you had already written in previous posts or in the readme but my English is pitiful.
I think I'll have to add an alert to warn users about this.
thanks

sk8connection

Hi, can it be that the cpg part of your zip Filer version 1.1.1 is wrong? Because i can't install (upload) the plugin on cpg! the joomla plugin works.
Even if i upload it via ftp the plugin shows not up in Coppermine.
Thanks for an answer.

Sincerely sk8connection

ron4mac

Quote from: sk8connection on February 03, 2015, 06:00:52 AM
Even if i upload it via ftp the plugin shows not up in Coppermine.
Please review the CPG documentation that describes how to install a plugin. There have been no other such issue.

ron4mac

#39
Quote from: sk8connection on February 03, 2015, 06:00:52 AM
can it be that the cpg part of your zip Filer version 1.1.1 is wrong?
OMG!!  I CAN'T BELIEVE HOW STUPID I AM SOMETIMES!! :-[

The CPG plugin part was, indeed, just another zipped copy of the Joomla plugin. (how do I do these things :-\)

Please find the corrected download in the original post. My apologies to all who unsuccessfully tried to use this version (1.1.1).