PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   usercp_shell issue with parsing gallery links? (http://www.photoplog.com/forum/showthread.php?t=636)

didjital 10-17-2006 01:57 PM

usercp_shell issue with parsing gallery links?
 
I've had this installed and working great for some time now... I don't know if this happened when i last updated to 2.0.5 (lite).. but in my USERCP_SHELL template i have this....

Quote:

<a class="smallfont" href="http://www.***.com/galleries/index.php?$session[sessionurl]u=$post[userid]">Edit Your Gallery</a></td>
</tr>
<tr>
<td class="$navclass[profilepic]" nowrap="nowrap"><a href="http://www.***.com/galleries/index.php?$session[sessionurl]u=$post[userid]">View Your Gallery</a></td>
Now essentially they're the same thing just named differently, the problem is the urls don't actually place the user ID at the end of the url.. It worked great and a member noticed this just the other day.

I use the postbit_legacy user links and the view gallery urls and they all work perfectly.. i've copied out of Post 2 (add ons on vborg) and tried those but no matter what when i put the urls in USERCP_SHELL they will not parse out the user ID like it used to... any ideas?

Morgan 10-17-2006 03:27 PM

In the USERCP_SHELL template, try $bbuserinfo[userid] instead of $post[userid] in the links.

didjital 10-17-2006 04:55 PM

Thanks that worked well. I didn't think about trying that... Strange how the old way just stopped working out of no where though.. hm.

Thanks again Morgan.


All times are GMT. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.