Has anyone managed to get a link under the avatar in posts, that go directly to that users album in Coppermine, from phpbb3?
Dogbot.
That would be a phpbb question, not a Coppermine one.
But a bridged phpbb and coppermine in a bridged integration area of coppermine, attempting to get to an coppermine album would be suitable here, would it not?
I have also asked the question over at phpbb, but as they dont have a bridging area, (like you do here) I would think I have little or no chance of an answer.
So I was hoping that someone with bridged phpbb3/coppemine using this forum might have an answer, hopefully thats the case.
Dogbot
It's a phpbb question because it involves editing phpbb files. You need to add a link to something like /gallery/index.php?cat=(10000 + user_id).
Should be able to do it like this, but it's not tested.
Edit viewtopic.php, find the $postrow array and add in a new entry for the link
'CPG_GAL_LINK' => $poster_id != ANONYMOUS ? ('/gallery/index.php?cat=' . (10000 + $poster_id)) : '',
Change the path as required.
Then in your theme's viewtopic_body.html add in the link where you want it to display. In 'prosilver', the avatar is here:
<dt>
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
<!-- ENDIF -->
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
</dt>
so after that you can add in
<!-- IF postrow.CPG_GAL_LINK -->
<dd><a href="{postrow.CPG_GAL_LINK}">My gallery</a></dd>
<!-- ENDIF -->
Many thanks Nibbler for taking the time to show the way, much appreciated !
Dogbot