Bridge for Joomla 1.08+ (free) by Mehdi - Page 4 Bridge for Joomla 1.08+ (free) by Mehdi - Page 4
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Bridge for Joomla 1.08+ (free) by Mehdi

Started by extrabigmehdi, April 12, 2006, 09:29:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

The loss of existing users when enabling bridging applies to all bridges. You don't lose pics, but just the correlation between old coppermine user IDs and new Bridging-App user IDs.

n3n

Ok tnx GauGau :)

So I guess ill have to run the conversion script before applying the mod.

extrabigmehdi

#62
5 october 2006,
added an online script to quickly fix the CSS of the Coppemine template when
integrated inside joomla template. here:
http://www.mehdiplugins.com/misc/cssintegrator.htm
Hopefully , it would help  people  to fix the CSS of their Coppermine theme  faster, in the context of a visual
integration inside Joomla.  Also it could help newbies that know nothing about CSS.

Added "fixed"   style2.css for classic theme in the zip package.

Improved navigation in the menu of my website. ( so that  people are less lost between all the links)

Sami

Side note:
Mehdi !
- today is 5 october not 8 october
‍I don't answer to PM with support question
Please post your issue to related board

extrabigmehdi

Quote- today is 5 october not 8 october
You are right, just corrected. I didn't sleep enough last night.  ;D
cheers

simoslav

Dear Mehdi
thanks for your bridge its really a great tool, also thanks for CPG team for the fanatstic gallery, if possible i have some questions :
i installed the bridge and all its working fine, but in groups manager i cant find how to create a new group, i want to give new registred users the ability to set their albums by groups, which all will be under the users galleries, like how described here http://forum.coppermine-gallery.net/index.php?topic=35990.0 , with the bridge there are only the joomla users levels, i want to set up 3 or 4 groups types and every group will have the right to set their albums only in their specific album, also when i check assigned album(s) which is under registred users its say : This group has no special access !
thanks and sorry for my bad english

simoslav

hi again, i have re-bridged joomla and coppermine but this time i left the user structure like how it come with CPG , still no create new group button :) ? any help please :) thanks

Nibbler

When bridged you must create the groups in the software you are bridged to, not from within Coppermine.

extrabigmehdi

hi all,
Quote from: simoslavstill no create new group button
Quote from: NibblerWhen bridged you must create the groups in the software you are bridged to, not from within Coppermine.

If you choose option "Use post-based groups", with bridge wizard, your groups will correspond to those of Joomla.
Joomla doesn't support creation of group by default.
It exists a component to extend existing groups in Joomla, but the bridge won't support this.

If you choose to disable option  "Use post-based groups", with bridge wizard, your groups will correspond to those of Coppermine.
It seems that Coppermine doesn't allow the creation of group when bridged.

In short you have the choice between sticking with Joomla's default groups or Coppermine default groups.

radial00

Hi all,

I have added the bridge for PHPBB and Coppermine and they work fine, so i figure i have missed someting with installing them. When i click a thumbnail image it still displays as a thumbnail not a normal size image. i have search the forum but have not found a post that seems to have the same problem.

The URL: http://www.fishingaustralia.com.au

Thanks in advance

Joachim Müller

This thread discusses the bridge between Joomla and Coppermine. How is your bridging between phpBB and Coppermine related? Post a deep link to your coppermine gallery if you are actually using the bridge discussed in this thread. If you have posted here in error and are actually using the phpBB bridge, then start a new thread on the board that deals with bridging, doing as suggested in the sticky thread there.

radial00

Sure here is the link to the coppermine gallery http://www.fishingaustralia.com.au/fishimages/

Bridged coppermine + Joomla

Thanks again

extrabigmehdi

hi radial00,
I took a look,
first it's not the thumbnail that you see,
in fact it's the "normal size", but since wrong dimensions are specified in the image tag, (i.e 100x75)
you believe it's a thumbnail.
I don't know what you've done,
but try to unbridge and see if you have the same problem.
I guess it's not related to the bridge,
but to a misconfiguration of Coppermine.

radial00

thanks for the reply i did as you said and coppermine as a stand alone APP worked fine so i re-read the bridging instructions and applied the bridge same result as before, i then left coppermine bridged but remove the integration and the images display normal. So i think your right about a misconfiguration.

Thanks for your help  :)

extrabigmehdi

hi radial00,
it's the first times I've seen this problem,
you don't need to be ironic.
If you are happy, with the gallery unbridged then, fine.  ;D

Garibaldi

Great bridge! I would like to install it but I want to make sure about one thing first. I already have my coppermine install bridged with my phpBB install.. thus the coppermine users are shared with phpBB. Will this MOD still work or will it delete all my existing phpBB/Coppermine users (I don't care about the users currently in Joomla)

Joachim Müller

Then this bridge is not meant for you, as you'll lose all existing users. Coppermine can only be bridged to one app at a time. Never touch a running system.

Garibaldi


winni2001

Hi Mehdi,

thank you very much for your bridge. I like that, but i have an important question.
The Userstrukture in Joomla ist built up in levels. Registered users can´t do or see what Authors oder Publishers can do or see. In CPG the usergroups are not build up in levels, they exist side by side. Is ist possible to display the contents, intendet to the Authors, also for the Puplishers? - or the contents intendet to the Editors, also can be shown for Managers?
I´m not good in php, but i think this part of joomla.inc.php is responsible for gathering the album contents to display for the specified usergroup and the free album contents:

Quote//------ from here almost nothing is changed ------------                               
            
                            $user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
                            $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
            
                            if ($this->use_post_based_groups){
                                    $USER_DATA['has_admin_access'] = (in_array($USER_DATA['groups'][0] - 100,$this->admingroups)) ? 1 : 0;
                            } else {
                                    $USER_DATA['has_admin_access'] = ($USER_DATA['groups'][0] == 1) ? 1 : 0;
                            }
            
                            $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
                            // avoids a template error
                            if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
                            // For error checking
                            $CONFIG['TABLE_USERS'] = '**ERROR**';
            

Perhaps a small modification can gather the contents of the "lower" usergroups to. Perhaps a small modification can make it possible, that at least one group can automaticly see the own group content and the group content of an other usergroup?
That would be great.
What do you think?

mihat

Mehdi, Ive tried your bridge few months ago.

I wonder if you've managed to get XP publisher to work?
I realy need this feature for uploading huge number of images at once.

Thanks for your answer.