PDA

Zobacz pełną wersję : Coppermine i joomla 1.5 po polsku



bastet
18-03-2008, 02:34
Wszędzie w necie szukałam jakiegoś konkretnego przewodnika po polsku na temat połączenia joomli 1.5 z coppermine gallery. Niestety zazwyczaj wszędzie każdy odsyła innych na angielską stronę,na której wg mnie jest to zbyt chaotycznie opisane.


http://www.mehdiplugins.com/misc/ - Za tą poradę dziękuję :rolleyes:

Czy ktoś może w prosty sposób opisać,jak połączyć cpg i joomlę.
Wiem,że w coppermine daje się opcję integracji np. z joomlą.
Niestety pliki jakie wgrałam na mój serwer nie doprowadziły do tego,aby na stronie wyświetlila mi się galeria. Zapewne źle coś wgrałam. Autor tam pisze o integracji joomli 1.x i 1.5,co mi namieszało.

Do tego nie wiem,czy w głownym szablonie na joomli trzeba coś zmienić,żeby coppermine chodził poprawnie.

Będę wdzięczna za wyczerpujące wskazówki.:)








http://www.nastassja-kinski.yoyo.pl/

bastet
19-03-2008, 14:21
Na chlopski rozum spróbuję to rozgryźć,może wtedy ewentualnie ktoś mnie skoryguje. Hm.

1.Coppermine wgrywam na swój serwer ze stroną:
http://www.mojastrona.pl/cpg/
2.W joomla 1.5 instaluję com_coppermine.zip (http://www.mehdiplugins.com/jazzwedown/joomcpg-bridge.zip)

Copy both files joomla.inc.php and joomla.integ.php to the bridge folder of your gallery. Then you'll have to hack two files inside Coppermine folder: bridgemgr.php and functions.inc.php (the second file is inside the include/ subfolder). If your Coppermine version is 1.4.16 then the work is already done; just use files provided in the folder "cpg 14.16/hacked files" of your zip file.

Czyli,że kopiuję dwa w/w pliki do katalogu bridge w coppermine na moim serwerze?
----------------------------------------------------------------------
Now, enable the bridge from Coppermine. Go to Admin Tools, choose Bridge Manager and then just follow the Bridge Wizard. Option Joomla! has been added by the previous hack, so choose it. You may hesitate for the option " Use post-based groups?". Answering "yes" means you'll have to manage 9 user groups ( Joomla's user types + Guests); whereas answering "no" means you'll have to manage only 5 groups (default Coppermine's group). I chose "no" for the simplicity of use. Notice that the bridge provide admin rights only for two kind of Joomla's users : "Administrator"and "Super Administrator" . If you wish to change this, you'll need to edit the script joomla.inc.php.

Z poziomu coppermine,który zainstalowałam wykonuję integrację z joomla 1.5 w ustawieniach super administrator.


----------------------------------------------------------------------

I proszę o pomoc w tej dalszej części:)

You may wish to keep all user you had on your Coppermine gallery and merge them with those registered to your Joomla website. This is the purpose of the provided quickmerge.php script. This script needs a copy of your "cpg145_users" table to be in your Joomla database in order to work properly. If you are using two separate database (for Joomla and Coppermine) you can always perform a copy of this table and then delete it afterward. Then edit first lines of quickmerge.php, and modify settings $myTable and $encryptedPasswords (unless you upgraded your Coppermine gallery from an old version; the second setting should be set to true) . Then run the "quickmerge.php" script, from the root of your Joomla website. The script won't affect users already registered in your Joomla website. All users added by the script belong to the "Registered" group.

You can easily disable integration of your gallery inside the Joomla's Template (while keeping main bridge features) : you just have to rename the file joomla.integ.php to whatever name you'd like.

After integration of Coppermine inside your Joomla's Template, you may have noticed some CSS related problems. If you put a second stylesheet named style2.css , inside the folder of your current Coppermine's theme, the bridge will detect the new css stylesheet and use it instead of the default one i.e style.css. Thus, better use a second style2.css to perform all necessary modifications; this way the original file style.css will remain intact and available if you unbridge. The CSS Integrator page allows to perform automatically all essential CSS fix. Just browse and indicate your style.css file, submit, rename the processed file into style2.css, and then put it in your theme folder. Note: style2.css for the Classic theme already provided.

inkos
19-03-2008, 17:35
Na chlopski rozum spróbuję to rozgryźć,może wtedy ewentualnie ktoś mnie skoryguje. Hm.

1.Coppermine wgrywam na swój serwer ze stroną:
http://www.mojastrona.pl/cpg/
2.W joomla 1.5 instaluję com_coppermine.zip (http://www.mehdiplugins.com/jazzwedown/joomcpg-bridge.zip)

Copy both files joomla.inc.php and joomla.integ.php to the bridge folder of your gallery. Then you'll have to hack two files inside Coppermine folder: bridgemgr.php and functions.inc.php (the second file is inside the include/ subfolder). If your Coppermine version is 1.4.16 then the work is already done; just use files provided in the folder "cpg 14.16/hacked files" of your zip file.

Czyli,że kopiuję dwa w/w pliki do katalogu bridge w coppermine na moim serwerze?
----------------------------------------------------------------------
Now, enable the bridge from Coppermine. Go to Admin Tools, choose Bridge Manager and then just follow the Bridge Wizard. Option Joomla! has been added by the previous hack, so choose it. You may hesitate for the option " Use post-based groups?". Answering "yes" means you'll have to manage 9 user groups ( Joomla's user types + Guests); whereas answering "no" means you'll have to manage only 5 groups (default Coppermine's group). I chose "no" for the simplicity of use. Notice that the bridge provide admin rights only for two kind of Joomla's users : "Administrator"and "Super Administrator" . If you wish to change this, you'll need to edit the script joomla.inc.php.

Z poziomu coppermine,który zainstalowałam wykonuję integrację z joomla 1.5 w ustawieniach super administrator.


----------------------------------------------------------------------

I proszę o pomoc w tej dalszej części:)

You may wish to keep all user you had on your Coppermine gallery and merge them with those registered to your Joomla website. This is the purpose of the provided quickmerge.php script. This script needs a copy of your "cpg145_users" table to be in your Joomla database in order to work properly. If you are using two separate database (for Joomla and Coppermine) you can always perform a copy of this table and then delete it afterward. Then edit first lines of quickmerge.php, and modify settings $myTable and $encryptedPasswords (unless you upgraded your Coppermine gallery from an old version; the second setting should be set to true) . Then run the "quickmerge.php" script, from the root of your Joomla website. The script won't affect users already registered in your Joomla website. All users added by the script belong to the "Registered" group.

You can easily disable integration of your gallery inside the Joomla's Template (while keeping main bridge features) : you just have to rename the file joomla.integ.php to whatever name you'd like.

After integration of Coppermine inside your Joomla's Template, you may have noticed some CSS related problems. If you put a second stylesheet named style2.css , inside the folder of your current Coppermine's theme, the bridge will detect the new css stylesheet and use it instead of the default one i.e style.css. Thus, better use a second style2.css to perform all necessary modifications; this way the original file style.css will remain intact and available if you unbridge. The CSS Integrator page allows to perform automatically all essential CSS fix. Just browse and indicate your style.css file, submit, rename the processed file into style2.css, and then put it in your theme folder. Note: style2.css for the Classic theme already provided.
www.translate.pl (http://www.translate.pl) :) lub inny translator powinen trochę pomóc - choć wynik to będzie "polskie trudne języki". :D

regboot
13-05-2008, 08:44
Udało się komuś uruchomic tą galerie na joomli 1.5.3 ??

Mam mały problem z uruchomieniem jej w joomli no początek zainstalowałem moduł a następnie skopiowałem pliki

" Copy both files joomla.inc.php and joomla.integ.php to the bridge folder of your gallery. Then you'll have to hack two files inside Coppermine folder: bridgemgr.php and functions.inc.php (the second file is inside the include/ subfolder). If your Coppermine version is 1.4.18 then the work is already done; just use files provided in the folder "cpg 14.18/hacked files" of your zip file. Otherwise these hacks are described here (http://www.mehdiplugins.com/misc/cpgjoomhack.htm). "

tak jak jest na stronie http://www.mehdiplugins.com/misc/ i nie udało mi się :(

creaks
31-01-2009, 23:35
Mnie się udało. (Trochę podbijam wątek). Niestety na wersji 1.5 nie mogę przeprowadzić integracji użytkowników cpg i joomli :(

na stronie mahdiego skrypt do integracji jest tylko w wersji dla 1.0 :(

spidi
25-12-2009, 00:29
To teraz ja podbijam - stroje przed tą integracją.
Udało się wam ? Jak tak to może krótka instrukcja ?