Coppermine + SMF Install details req Coppermine + SMF Install details req
 

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

Coppermine + SMF Install details req

Started by jayos, August 24, 2004, 01:28:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jayos

I have Coppermine 1.3.2 installed with 'who is online' block mod and working just fine

I have just downloaded the latest SMF release and the smf.inc.php file and would like to install it so it integrates with coppermine

What is the correct way to do this ?


Nibbler

The correct way is to read the documenation and post if you have a specific question or problem. Note you will need to alter the mod for it to work properly with SMF.

jayos

Nibbler,  I understand how to install smf I just wanted to check how to bridge it correctley

I am just starting out with PHP and I only have basic knowledge of HTML but I'm learning fast

so I run smf/install.php enter the SQL details, upload smf.inc.php, change the onlinestats.php file and it should work  :o

trying now .... will let you know what happens

jayos

Everything installed OK but I have a few problems

I can only login with smf admin none of my coppermine users are recognized and I am using the same database

Nibbler

None of your coppermine users will be recognised because they are not users in SMF. If you have existing coppermine users either they have to register in SMF or you need to register them yourself, either manually or with a conversion script. This is why I recommended reading the docs about bridging first.

jayos

Can I not just use the same SQL tables for coppermine and SMF ?

where can I find the docs about bridging I have looked everywhere :-\\



jayos

Thanks nibbler

should have looked there in the first place

Joachim Müller

You should rather have looked at the "Documentation" link at the top of this screen, or read the documentation that comes with coppermine (the "docs" folder). The correct link is http://coppermine.sourceforge.net/manual.php#integrating, not the one Nibbler (accidentally) posted.

GauGau

jayos

#9
Ok I am now getting there (Hooray)  ;D  Thanks guys

Please tell me if I am posting this in the wrong place

As my experience with php is extremely limited hopefully someone can help with my next challenge

I am trying to add a button to the index.template.php file (if it were html I could do it) so I have a link to my coppermine gallery like this :

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.jaypix.co.uk%2Fimages%2Fjaypix%2520forum.jpg&hash=5cbb5befd830a622c42199210d2d2839a301e357)

The code I have found is below :

// Show the [home] and [help] buttons.
	
echo 
'
	
	
	
	
<a href="'
$scripturl'">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/home.gif" alt="' $txt[103] . '" style="margin: 2px 0;" border="0" />' $txt[103]), '</a>'$context['menu_separator'], '
	
	
	
	
<a href="'
$scripturl'?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/help.gif" alt="' $txt[119] . '" style="margin: 2px 0;" border="0" />' $txt[119]), '</a>'$context['menu_separator'];


Can I just add this code ?:

<a href="', $scripturl, '?action=gallery" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];

Do I have to define the action gallery somewhere ?
Whats the txt varable refering to what number should I change it to ?



kegobeer

If you want SMF specific help, I recommend going to http://www.simplemachines.org and looking at their Graphics/Templates board.  They have a lot of great tutorials and info there.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jayos

I think I'm slowly getting the hang of the basics  :o

Thanks for the pointer kegobeer

problems now solved