I am using coppermine bridged and i want to add a link to users albums
i tried this but doesnt work for all users
Code:
<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
Quote:
You need to add something like
Code:
$uidlink = $post['userid'] + 10000;
Somewhere before this template, and change the link in the template to
Code:
<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/showthrea...ght=coppermine