Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: RGSMDNR on January 04, 2005, 04:08:00 PM

Title: coppermine gallery help
Post by: RGSMDNR on January 04, 2005, 04:08:00 PM
i just installed a gallery and currently testing it out,

i just need a little help, how would i insert an icon when the user has photos in his/her gallery. I would like it to show up where the MSN/ICQ icons are.

thanks
Title: Re: coppermine gallery help
Post by: Fizzy on January 04, 2005, 04:49:44 PM
If it's an 'internal' issue for Coppermine then you might do better asking that question at Coppermine Support Forum (http://coppermine.sourceforge.net/board/).  :)

They may already have the answer posted there for you :)
Title: Re: coppermine gallery help
Post by: RGSMDNR on January 04, 2005, 05:00:25 PM
well i have the two "bridged"

i just need some help with coding for the Gallery icon link on the users profile
Title: Re: coppermine gallery help
Post by: RGSMDNR on January 05, 2005, 11:50:27 AM
ttt
Title: Re: coppermine gallery help
Post by: babylonking on January 05, 2005, 03:03:15 PM
in display.template.php

search for:
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<table class="avatar_bg" border="0" cellpadding="0" cellspacing="1"><tr><td bgcolor="#FFFFFF">', $message['member']['avatar']['image'], '</td></tr></table><br />';


add after:
// personal gallery
echo '
', '<a href="http://www.yourserver.com/gallery/index.php?cat=', $message['member']['id']+10000, '"/><img border="0" src="' . $settings['images_url'] . '/gallery.gif" width="75" height="35" alt="" /></a><br />';


Also upload the attached icon to your forum images folder.
Title: Re: coppermine gallery help
Post by: RGSMDNR on March 02, 2005, 12:40:33 AM
is there a way to display it only if they have an album?
Title: Re: coppermine gallery help
Post by: NukeWorker.com on March 09, 2005, 06:24:32 AM
Quote from: RGSMDNR on March 02, 2005, 12:40:33 AM
is there a way to display it only if they have an album?
I too would like to know if there is a way to display the link ONLY if the user has an album in the gallery.
Title: Re: coppermine gallery help
Post by: Robert Frost on March 09, 2005, 01:37:44 PM
and i would like to know: will the bridge function properly, since my board is a converted YaBBSE 1.5.5? (is SMF 1.0.2 now)...
Title: Re: coppermine gallery help
Post by: [Unknown] on March 13, 2005, 08:32:49 PM
Quote from: Robert Frost on March 09, 2005, 01:37:44 PM
and i would like to know: will the bridge function properly, since my board is a converted YaBBSE 1.5.5? (is SMF 1.0.2 now)...

That shouldn't make any difference.

-[Unknown]