PDA

View Full Version : PhotPlog Integration


Kyrasis6
03-18-2009, 06:41 AM
Hello, I have installed Photoplog and am trying to get various links added into different areas to make it integrated into the site. One by one I'm getting them to work but I'm currently having a problem with trying to place a link in the navbar user info. Currently I am able to get the link if going to the Photoplog home. Here is how it displays on the board:

Welcome, Kyrasis6.
You last visited: Today at 01:11 AM
Private Messages: Unread 0, Total 150.
Your Gallery


I currently have the link coded in the navbar template like this:

<br /><a href="http://www.mazdatruckin.com/vBulletin/photoplog/index.php$session[sessionurl_q]">Your Gallery</a>

I have this piece of code in the MEMBERINFO template which is how I want the above link to work:

<td class="vbmenu_control"><a href="http://www.mazdatruckin.com/vBulletin/photoplog/index.php?$session[sessionurl]u=$userinfo[userid]">User Gallery</a></td>


How can I pass $userinfo[userid] to the navbar to get the "Your Gallery" link to go to that users gallery?

Thanks,
K6

Edit: I tried coding navbar the way MEMBERINFO is coded with the user variable info but it didn't work, gave me a link to a blank user variable so I'm guessing I need to make it global or somehow pass the variable to the navbar template???

--------------- Added 1237444809 at 1237444809 ---------------

Nobody? I havn't been able to find any other PhotoPlog posts that shed any light on the subject.