Konstantinos
09-28-2007, 02:30 PM
I am using coppermine bridged and i want to add a link to users albums
i tried this but doesnt work for all users
<legend>Gallery</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td><a href="../albums/index.php?cat=1$post[userid]" target=_blank>View all Pictures of $userinfo[username] </a></td>
</tr>
</table>
</fieldset>
Coppermine adds 10000 to the user id so i asked in their support how to do it. THis was their reply
You need to add something like
$uidlink = $post['userid'] + 10000;
Somewhere before this template, and change the link in the template to
<a href="../albums/index.php?cat=$uidlink"
If you need help with that ask the vb people.
Can somebody help with this ?
--------------- Added at 19:16 ---------------
never mind found this
https://vborg.vbsupport.ru/showthread.php?t=122834&highlight=coppermine
i tried this but doesnt work for all users
<legend>Gallery</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td><a href="../albums/index.php?cat=1$post[userid]" target=_blank>View all Pictures of $userinfo[username] </a></td>
</tr>
</table>
</fieldset>
Coppermine adds 10000 to the user id so i asked in their support how to do it. THis was their reply
You need to add something like
$uidlink = $post['userid'] + 10000;
Somewhere before this template, and change the link in the template to
<a href="../albums/index.php?cat=$uidlink"
If you need help with that ask the vb people.
Can somebody help with this ?
--------------- Added at 19:16 ---------------
never mind found this
https://vborg.vbsupport.ru/showthread.php?t=122834&highlight=coppermine