Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Coppermine and phpBB  (Read 4587 times)

0 Members and 1 Guest are viewing this topic.

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Coppermine and phpBB
« on: April 21, 2005, 03:04:25 pm »

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=... )

 ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and phpBB
« Reply #1 on: April 22, 2005, 08:10:47 am »

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

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Coppermine and phpBB
« Reply #2 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.  ::)
« Last Edit: April 22, 2005, 09:21:34 am by matu111 »
Logged

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Coppermine and phpBB
« Reply #3 on: April 22, 2005, 09:22:25 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
Logged

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Coppermine and phpBB
« Reply #4 on: April 23, 2005, 08:50:41 am »

GauGau ? Can you help me ?  :-[
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and phpBB
« Reply #5 on: April 25, 2005, 12:00:01 am »

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

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Coppermine and phpBB
« Reply #6 on: April 25, 2005, 08:28:02 am »

attached
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and phpBB
« Reply #7 on: April 25, 2005, 08:37:51 am »

edit themes/yourtheme/theme.php, find
Code: [Select]
<!-- 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)
Code: [Select]
<!-- 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 -->
Logged

matu111

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Coppermine and phpBB
« Reply #8 on: April 25, 2005, 10:10:12 am »

:)
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 ..."
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.