Coppermine Userpics

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

Previous topic - Next topic

worms

İt didn't work on smf 1.1.2 how can I do it ?  :(

sati

İs there manuel kods for coppermine user pics ???

JayBachatero

I am no longer supporting this mod.  If someone wants to take over this mod please send me a PM.
Follow me on Twitter

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

katoona

Does anybody know how a user can have a small picture underneath the profile picture to indicate that he has uploaded pictures into the Coppermine gallery.

This mod adds pictures in the profile, but it would also be great to have a small link from the left profile in messages.


John S

hi ive got coppermine and smf bridge

i installed the mod using the smf default them. there is an error when going to profiles:

Table 'me_copp1.cpg1410_pictures' doesn't exist
File: /home/me/public_html/forum/Sources/Profile.php
Line: 1388


i've checked with my host and they have told me that the table is empty.. hmm.. i've uploaded photos in coppermine using my profile yet nothing seems to show.

all the settings are correct, i've checked and double checked them.

could the photos perhaps be stored in another table?

does anyone please have any ideas?

franklinrony

helo

i have this error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
File: W:\www\smf\Sources\Profile.php
Line: 1409

around line 1409 i get

   // Select the images
      $requestImages = db_query("
         SELECT pid, filepath, filename, owner_id, owner_name
         FROM {$modSettings['mkpcpg_']}pictures
         WHERE owner_id = $memID
            AND approved = 'YES'
            $extensions
         ORDER BY pid DESC
         LIMIT $modSettings[mkpcpg_]", __FILE__, __LINE__);

where mkpcpg_ is the name of  prefix of coppermine, only is the mkportal version its ok?
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

JayBachatero

John S did yo you get your problem solved?

frony you are not supposed to edit that query.  You make the changes in the admin panel.
Follow me on Twitter

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

franklinrony

Quote from: JayBachatero on August 06, 2007, 11:45:45 PM
John S did yo you get your problem solved?

frony you are not supposed to edit that query.  You make the changes in the admin panel.
can you explain me please. i put mkpcpg_ in prefix in panel of mod but appear the error
of  database not found
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

JayBachatero

You need to put the the prefix like this. `database_name`.prefix_
Follow me on Twitter

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

franklinrony

work ok than you very much
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

fotopolis

Is it compatible with 1.1.3 version?
I think the options to config it doesn't appear in Admin panel...

franklinrony

http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

fotopolis

#172
Now it's in English. Default options.
I've installed it but when I upload a pic in the forum it doesn't copy it to the gallery.
I'm not sure if the categorie in the gallery must heve any config.
What is the information I have to enter in the "Admin > Features and Options"?
I don't find them and I don't know if this is the problem...
Reading this post, I've found these are the option must appear:

"Don't show user's images in profile    unmarked
Coppermine table prefix   cpg149
...."

I don't have it!
Can I modify manually this option? Where can I look for them?

Thanks!

franklinrony

the options must be in
I don't find them and I don't know if this is the problem...
do you have default theme? change to default theme and check again
Admin > Features and Options
if appear the coppermine options
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

fotopolis

I've installed everything again. New installcion!
All is by defatult. Language, Theme, etc; I dind't change anything.
SMF and Coppermine are in the same DB.
But doesn't appear the options in the control panel.
Can anybody put a pic witch de location?
Or if I can modify some code to include option or to include directly the configuration.

franklinrony

well edit file by file to add the lines that appear in modifications.xml
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

fotopolis

The file "install.xml" has the code:

<file name="$languagedir/Modifications.english.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Coppermine Userpics Mod
$txt['cpg_pictures'] = 'Member\'s Pictures';
$txt['cpgDisable'] = 'Don\'t show user\'s images in profile';
$txt['cpgImageTypes'] = 'Allowed image extentions';
$txt['cpgPrefix'] = 'Coppermine table prefix';
$txt['cpgUrl'] = 'Coppermine URL w/o trailing slash';
$txt['cpgMaxPictures'] = 'Max images to show on profile';
$txt['cpgThumbPrefix'] = 'Prefix for thumbnails';
$txt['cpg_see_more'] = 'See more...';
]]></add>
      </operation>
   </file>

I think this is the code to show options in the Admin panel.
But when I open the file "Themes>default>language>Modifications.english.php"
and it has only:

<?php
// Version: 1.1; Modifications

?>

Is other file? Or in this version the Modification file is another?

Thanks!

fotopolis

I've changed manually.
The options appears, but the mod doesn't work.

I think the mod must do:
-An user create a topic and upload an image to it.
-The mod will copy that image to the user gallery in Coppermine.

Is this right? or I'm wrong!


franklinrony

no the mod only  show images in profile that upload via coppermine, you cannot upload image to gallery in post like ice phoenyx
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

fotopolis

I thought in the post you'll upload the pics and in the gallery you can see all de pics.
And then... there isn't any mod to integrate a forum and a gallery?
Not only users DB.

Advertisement: