PDA

View Full Version : Probably a 1 minute mod for you smart people


kobescoresagain
10-29-2006, 07:54 PM
I want to add a link to a coppermine gallery in a users postbit_legacy template.

Here is the code for a similar thing in the memberinfo:
$cmcatid = sprintf("1%04d",$userinfo['userid']);

I want to do this for the postbit_legacy so I am unsure of the hook positions and such. Also I want it to show up only if they have a gallery. Which would be the more difficult issue probably.

Thanks
Any help would be appreciated.

Paul M
10-29-2006, 11:40 PM
In the postbit, your would use $post['userid'] to get a post authors id.

No idea about checking for a Gallery, not something I use.