phpbb2 & Coppermine bridged perfect...but phpbb2 & Coppermine bridged perfect...but
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

phpbb2 & Coppermine bridged perfect...but

Started by mxguy250, August 10, 2005, 09:31:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mxguy250

This is kinds of a dumb question,  im new to the whole coppermine and phpbb2 world...  I got everything installed right on my site.

www.northeastmx.com/forums/
www.northeastmx.com/gallery/

I was able to bridge the installation clean, and upgrade my templates to match..... 

Now,  my big question of the hour...  how to a change the links in coppermine, and phpbb2 to link back and forth.   I want to set my url to the forums, and have a link over to the photo galllery.   I would also like to have a block (mod)  to maybe see random photos above the "whos on line" .....

Any help would me great,  im very new to PHP and PHPBB2 along with coppermine......  go easy on me  ;-)

Thanks
Dave

Joachim Müller

has been asked very often already, please search the forum before posting your question next time: edit themes/yourtheme/theme.php, find // HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
and add a link to your forum there in a new line beneath it (i.e. <a href="/forums/" title="go to the forum">Forum</a> ::). To find out how to add a link to phpBB you better ask this question on the phpBB support board (although I'm sure this has been asked and answered several times as well), although I don't think it's different from the way it is done in coppermine: you'll have to edit your phpBB theme, find the section where all the other navigation items are and add some plain html link to it.

Joachim

mxguy250

Thanks for the reply !  It helped me get to the right place....  I was able to update my phpbb2 fine.
www.northeastmx.com/forums/  ( I now have a fancy gallery link )  :)

I pulled up the code as you stated above in the theme.php  and made the following changes
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> &nbsp;
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> &nbsp;
<!-- END Forums -->
<!-- BEGIN allow_memberlist -->
                        <a href="http://www.northeastmx.com/Forums/" title="go to the forums">Forums</a>  &nbsp;
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>  &nbsp;
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                       
<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> &nbsp;
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> &nbsp;
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> &nbsp;
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> &nbsp;
<!-- END upload_pic -->
<!-- BEGIN register -->
                        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> &nbsp;
<!-- END register -->
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a> &nbsp;
<!-- END login -->
<!-- BEGIN logout -->
                        <a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> &nbsp;
<!-- END logout -->
                        <a href="{LASTUP_TGT}">{LASTUP_LNK}</a> &nbsp;
                        <a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> &nbsp;
                        <a href="{TOPN_TGT}">{TOPN_LNK}</a> &nbsp;
                        <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> &nbsp;
                        <a href="{FAV_TGT}">{FAV_LNK}</a> &nbsp;
                        <a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
                </span>

I also tried removing the member list, but that didnt work either.

Let me know where i went wrong..... ::) 

Thanks in advance for any help.

Joachim Müller

the memberlist link is a coppermine config option...