Is it possible to add a link to the front page of my site that users see when they are logged in. So clicking on the link, they would be taken straight to their own gallery in Coppermine.
In other words, a "My Gallery" link like the one in their Coppermine menu. If yes, does anyone know what the link code would be? Please.
Site info in my signature.
Can anyone help me with this please.
I don't need to know where or what files to edit, I just need to know what code to use.
Sorry for bumping. ;)
Code doesn't exist. You need it -> you code it.
Quote from: Joachim Müller on November 25, 2009, 11:41:08 PM
Code doesn't exist. You need it -> you code it.
OK thanks. At least you didn't say it can't be done. ;) Just got to find someone to help me with the code then.
Happy new year to all.
I managed to get someone to help me out with this code. I now have the "My Gallery" link working in a tinyportal php block on my home page.
Could someone please mark this topic as Solved please.
Quote from: lurkalot on January 03, 2010, 03:57:48 PM
Could someone please mark this topic as Solved please.
You did that for yourself, so you apparently found the time to read up board rules. For the benefit of others you could post your modifications...
Quote from: Joachim Müller on January 03, 2010, 04:37:47 PM
You did that for yourself, so you apparently found the time to read up board rules. For the benefit of others you could post your modifications...
Yes, sorry that wasn't intentional. Tried to find the solved button but after reading the rules I noticed the solved button was in fact the Accept answer button. Would be handy if the mouseover on that button said "Mark Solved"
Here's the code I added to a tinyportal php block.
if ($context['user']['is_logged']){
$thecat = 10000 + $context['user']['id'];
echo '
<a href="http://cameracraniums.com/gallery/index.php?cat='. $thecat .'" alt="My Gallery">My Gallery</a>';
}