Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Coppermine + SMF Install details req  (Read 5941 times)

0 Members and 1 Guest are viewing this topic.

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Coppermine + SMF Install details req
« on: August 24, 2004, 01:28:43 pm »

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 ?

« Last Edit: August 25, 2004, 09:07:40 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Coppermine + SMF Install details req
« Reply #1 on: August 24, 2004, 01:41:32 pm »

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.
Logged

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #2 on: August 24, 2004, 01:56:33 pm »

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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #3 on: August 24, 2004, 04:20:31 pm »

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

  • Guest
Re: Coppermine + SMF Install details req
« Reply #4 on: August 24, 2004, 04:36:16 pm »

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.
Logged

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #5 on: August 24, 2004, 06:36:36 pm »

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 :-\\

Nibbler

  • Guest
« Last Edit: August 24, 2004, 07:13:34 pm by Nibbler »
Logged

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #7 on: August 24, 2004, 07:14:44 pm »

Thanks nibbler

should have looked there in the first place

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine + SMF Install details req
« Reply #8 on: August 25, 2004, 10:50:13 am »

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
Logged

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #9 on: August 25, 2004, 01:35:10 pm »

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://forum.coppermine-gallery.net/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 ?


« Last Edit: August 25, 2004, 03:59:23 pm by jayos »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine + SMF Install details req
« Reply #10 on: August 25, 2004, 03:47:47 pm »

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.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: Coppermine + SMF Install details req
« Reply #11 on: August 25, 2004, 04:01:45 pm »

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

Thanks for the pointer kegobeer

problems now solved

Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.