I am using bridge with vb and it works fine. I want to display a link for the albums in vb member profile , I am using this 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>
Which works fine for all users with id more than 1000
However me that i am admin i have userid 1 and my album is 10001 which means this code will return this link
http://www.site.com/albums/index.php?cat=11 which is wrong and occurs to all under userid 1000
any ideas how to fix this ?
You need to add 10000 to the userid (using +). You can't just join them.
how?
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.
There is a plugin in vb.org that does exactly this,
So if anyone who uses vbulletin wants to show coppermine link in MEMBERINFO http://www.vbulletin.org/forum/showthread.php?t=122834