News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

coppermine gallery help

Started by RGSMDNR, January 04, 2005, 04:08:00 PM

Previous topic - Next topic

RGSMDNR

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

Fizzy

If it's an 'internal' issue for Coppermine then you might do better asking that question at Coppermine Support Forum:)

They may already have the answer posted there for you :)
"Reality is merely an illusion, albeit a very persistent one." - A.E.


RGSMDNR

well i have the two "bridged"

i just need some help with coding for the Gallery icon link on the users profile


babylonking

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.

RGSMDNR

is there a way to display it only if they have an album?

NukeWorker.com

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.

Robert Frost

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

[Unknown]

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]

Advertisement: