Coppermine and phpBB Coppermine and phpBB
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Coppermine and phpBB

Started by matu111, April 21, 2005, 03:04:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matu111

When user is logged in (coppermine gallery), there´s a link for "My profile", which directs to phpBB edit profile part (?mode=editprofile). But the question is how to make another link to a phpBB user viewprofile? (?mode=viewprofile&u=... )

???

Joachim Müller

depends on where you want it to appear. Post details.

matu111

#2
It would be best if it appears on main page, just below the topmenu links. It´s in theme.php.  ::)

matu111

Quote from: matu111 on April 22, 2005, 09:16:21 AM
It would be best if it appears on main page, just below the topmenu links. It´s in theme.php.  ::)

or it´s in the topmenu

matu111

GauGau ? Can you help me ?  :-[

Joachim Müller

details needed! Post a screenshot with the place you want it to appear highlighted some way.

matu111

attached

Joachim Müller

edit themes/yourtheme/theme.php, find<!-- BEGIN my_gallery -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" id="buttonleftmy" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter.gif">
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" id="buttonright" alt="" /></td>
<!-- END my_gallery -->
and add before it (in a new line)<!-- BEGIN custom_menu_item -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" id="buttonleftmy" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter.gif">
                                                <a href="your/link/here.htm" title="your text that is meant to be displayed when hovering over the link">your link text</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" id="buttonright" alt="" /></td>
<!-- END custom_menu_item -->

matu111

:)
I know how to put it there, my question is how to make it linkable to viewprofile part of phpbb for each user.

this line "<a href="your/link/here.htm" title="your text that is meant to be displayed when ..."