News:

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

Main Menu

Coppermine Userpics

Started by JayBachatero, September 07, 2006, 12:40:32 AM

Previous topic - Next topic

JayBachatero

It's simple.  ALl you have to do is on cPanel go to MySQL > Then scroll to the bottom.  It says user (select the SMF user) then next to that it says database.  Select the coppermine database.  Then under that select the SELECT priviledge and click on grant permission.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

lesmond

I can get to phpMyAdmin and I can see cpg143_users but I cant see anything about SMF users


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

JayBachatero

No not in phpMyAdmin.  Before you go to phpMyAdmin there is the screen where you add new databases and so on.  If you want I can take a look at it for you.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

lesmond

I must have a different CP, because this is what I see when I go to MySQL in my cp, I can have up to 50 DB and can only add or remove them, if I click on the "Now" all it does is go to phpMyAdmin in a new window, hope this makes sense



Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

JayBachatero

Ummm so you don't have cPanel.  I'll look for another solution that can work for you.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

lesmond

#45
Thanks Jay, sorry I am being a pain in the butt!!!
just one thing would it be worth asking my host and if so what?


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

JayBachatero

You can ask them if you can have the same use for two databases.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

chinclub

I just did a new install of coppermine and then this mod.  I placed Coppermine into the same database as my forum.  Everythings seems to be working fine but now when I go to a profile I get this:

Table 'fsvzwtpl_forum.cpg135_pictures' doesn't exist
File: /home/fsvzwtpl/public_html/chinclub/forum/Sources/Profile.php
Line: 1363



If I check the box not to show pictures in the profile everything works fine again.

All of my settings should be correct:

Coppermine table prefix                cpg135_
Allowed image extentions              jpg,gif
Coppermine URL w/o trailing slash    http://www.chinchillaclub.com/forum/gallery
Max images to show on profile            3
Prefix for thumbnails                         thumb_


I'm wondering if its because not one has added pictures yet...but surely that can't be.

JayBachatero

Umm add a picture and see if that is the problem.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

chinclub

Nope, I tried that and still got the same error.  :(

chinclub

OK, it was my stupid mistake!  I had the wrong database prefix.  I was going by memory and finally went into the database to check and I remembered wrong!  Everytihng is working correctly now!  ;D


Trashcan

#51
Question.  I have the my coppermine and smf using the same database.  I am installing the mod and I get this message and I don't want to proceed without checking first with yall

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Failure
2. Execute Modification ./Sources/Profile.php Success
3. Execute Modification ./Themes/default/Profile.template.php Success
4. Execute Modification ./Themes/default/languages/Modifications.english.php Success
5. Execute Modification ./Themes/default/languages/Help.english.php Success

I have verified that the ModSettings.php, and the Sources folder are set to 7,7,7
Ok, so what might be going on wrong? 
I am using Current SMF version: SMF 1.0.8 RC2


JayBachatero

Trashcan you can apply that section of the mod manually.  Seems like a conflict with another mod.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Trashcan

#53
ff

JayBachatero

Umm I missed the version of SMF that you are using.  This mod is not for 1.0.8.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Trashcan

Quote from: Jay The Code Monkey on September 14, 2006, 08:58:22 AM
Umm I missed the version of SMF that you are using.  This mod is not for 1.0.8.
crap!  how did I miss that.  What version is it for then?

Also, I recently just setup a new smf board.  On a fresh install of smf, rc3 seemed to install, but puked on some of the admin features when I tried to configure them.  That is why I am at rc2.

Can it work still, or am I out of luck

JayBachatero

Umm that ModSettings file is for 1.0.x not 1.1.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Trashcan

#57
ff

JayBachatero

Yea you should be able to.  Just install the mod and instead of adding.


'',
// Coppermine Userpics
array('check', 'cpgDisable'),
array('text', 'cpgPrefix'),
array('text', 'cpgImageTypes'),
array('text', 'cpgUrl'),
array('int', 'cpgMaxPictures'),
array('text', 'cpgThumbPrefix'),


Add

array('rule'),
// Coppermine Userpics
array('check', 'cpgDisable'),
array('text', 'cpgPrefix'),
array('text', 'cpgImageTypes'),
array('text', 'cpgUrl'),
array('int', 'cpgMaxPictures'),
array('text', 'cpgThumbPrefix'),


before

array('rule'),
// Email and registration type stuff...
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Trashcan

#59
rrr

Advertisement: