News:

Wondering if this will always be free?  See why free is better.

Main Menu

smf + coppermine integration

Started by ppeter, September 18, 2005, 10:00:56 AM

Previous topic - Next topic

ppeter

hello!

how can i integrate the coppermine 1.3.4 into smf 1.1 beta3 here is a sample http://www.jaypix.co.uk/gallery/ [nofollow] how did that go? or did that go only with smf 1.0.5

regards
peter


ppeter

hello thank you

i have a testinstall, but i have not the same as on the website above

how can i get the album into the first page of smf?

i cant find anything?

regards
peter

ppeter

also here i have not a gallery interface on smf how can i integrate that

Aravot

If you mean Gallery button here is the code, in index.template.php find this code

// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];


and insert this code after above code


// The [gallery] button
if (!$context['user']['is_guest'])
echo '
<a href="http://www.jaypix.co.uk/gallery">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="' . 'Gallery' . '" style="margin: 2px 0;" border="0" />' : 'Gallery'), '</a>', $context['menu_separator'];



ppeter

thank you very much

and how can i integrate the coppermine album into smf like here http://www.jaypix.co.uk/gallery/ [nofollow] look here, he has integrate his album into the smf forum

regards
peter

Aravot

He is using a coppermine theme based on SMF theme you can download it from http://sourceforge.net/project/showfiles.php?group_id=89658 look for cpg1.3.x_theme_smf

Kindred

Looks like her is using the SMF coppermine theme along with some SSI functions...


You want that, you'll probably have to design it yourself, since that's not really what it looks like. (it's not actually using SMF as the gallery)

BTW: You may have issues trying to get coppermine 1.3.4 working with SMF 1.1b3 due to a change in the password handling routines.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ppeter

ok, i have installed  that theme, and how can i change the link to smf, there is a fix one in that theme?

regards
peter

ppeter

and also how can i make that possible that the newsbox and the info center geht the data also from the smf database, here are the old one, are there a special link that i should change, if smf is in another folter on the server?

regards
peter

Kindred

this is really a set of questions for the coppermine forums, since you are trying to modify a coppermine template.

but, as a hint, you will have to use SSI functions to call for SMF news or posts...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Aravot

To change the link to smf, in smf coppermine theme open theme.php and change it there, or you could use something like this click me click on Gallery button

ppeter

hello!

thanks, it looks very good, but can i get a checklist for change it in the theme.php i have changed it, but i get not new data in the info box, please step by step!

wonderfull how to you have integrate http://www.protechsystems.us/smf11b3/ [nofollow] link to coppermine so wonderfull with this links http://www.protechsystems.us/smf11b3/index.php?PHPSESSID=95f27758f900e271c3152a790f989740;action=coppermine [nofollow]

regards
peter

Aravot

You want step by step of which method?

ppeter

what i change in the theme.php that he fetch datas from the database into the infocenter and newsbox from smf!
regards
peter

Advertisement: