Connections-Theme for cpg1.4.x and WordPress 1.5 Connections-Theme for cpg1.4.x and WordPress 1.5
 

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

Connections-Theme for cpg1.4.x and WordPress 1.5

Started by Gizmo, August 09, 2006, 07:00:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gizmo

Hey All,

After being away for many weeks this summer (mostly working but still having fun in France and the US Mid-West  :D), I worked on a new Coppermine theme to break up the travel. Meeting several people who write blogs and wanting to incorporate a photo gallery into their blogs, I decided to look to see what I could come up with. I came across a competition for WordPress themes, so, I decided to port the winner, "Connections" byPatricia Muller - http://www.patriciamuller.com/ for use in Coppermine. I think it's a very good theme and have found many variations of it on the web. The contest link is http://www.alexking.org/software/wordpress/themes/blog/2005/02/27/theme-competition/.

The width of the gallery table is 520 pixels so to prevent the scroll bar from being visible, it's best to use 4 columns for thumbnails (Config => Thumbnail view => Number of columns on thumbnail page = 4) and 4 items in the film strip (Config => Image view => Number of items in film strip = 4). The scroll bar allows for a couple of the configuration menu items to display correctly since the table width is less than 600 pixels.

[Edit] Also, this theme is really geared towards intermediate photos sizes of less than 460 pixels. The default in Coppermine is 400 and works great but if you try to go above 460 or so, you will get the scroll bar as when viewing the Coppermine demo. The popup size can be any size though. This setting is in Config => Files and thumbnails settings => Max width or height of an intermediate picture/video ** = 400 (default).

I'm also nearly finished with "Red Train" theme that won the "Mini Poobah" award and should have it posted over the weekend. I'd like to also port the "Plain Ol� Poobah - Rin" theme but it has a much smaller main content window and will require some extra work and testing. Testing themes is what takes all the time!   ;)

The screenshots show the theme with and without the configuration menu.

Enjoy!

Cheers,

Billy
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

#2
Demo - Download Download [Edit GauGau] Reflecting release of new version with a new download link [/Edit]

Excellent work. I added the custom_header token to the zip - it must be there, won't hurt if you don't use it.

Gizmo

#3
Thanks guys and sorry GauGau about the header tag missing, I knew there was something I was suppose to add and just couldn't think of it and figured someone would point it out.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Davide Renda

Very nice theme which I'd like to use, but doesn't work on my modded gallery (Stramm's mod). It bugs when calling login.php and logout.php, sending back to an error page; I had to maually erase the folder as I could not log back in.
I suppose it has to deal with the login form, but can't figure out how to work around it. Any idea?

Gizmo

I downloaded the theme from GauGau's link above and it ran fine on my gallery. Logging in and out gave no problems so I'll have to download Stramm's mod and install it since my galleries are standard CPG installs with only minor, tried and trusted plugins.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Davide Renda

Quote from: bmossavari on August 11, 2006, 07:12:43 AM
@lontano: can you post the error message here?
I will re-install it this evening and paste a screen-shot (sorry, but must go to work now!!)

Davide Renda

Here's the error message I get after having logged out

Template error
Failed to find block 'my_friends'(#(<!-- BEGIN my_friends -->)(.*?)(<!-- END my_friends -->)#s) in :

                                        <ul id="topnav">

<!-- BEGIN home -->
                                                <li><a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK} | </a></li>
<!-- END home -->
<!-- BEGIN my_gallery -->
                                                <li><a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK} | </a></li>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                                                <li><a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK} | </a></li>
<!-- END allow_memberlist -->

<!-- BEGIN faq -->
                                                <li><a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK} | </a></li>
<!-- END faq -->


<!-- BEGIN upload_pic -->
                                                <li><a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK} | </a></li>
<!-- END upload_pic -->
<!-- BEGIN register -->
                                                <li><a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK} | </a></li>
<!-- END register -->
<!-- BEGIN login -->
                                                <li><a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a></li>
<!-- END login -->

                                        </ul>


The only way to have the gallery up and running again is to erase the "connection" folder from ftp and log in with the standard theme.

I must add I also run "Final Extract" plugin and have removed the LOGIN field (as there is already a login form with the Stramm's mod).

Joachim Müller

Happens because you use Stramm's mod pack. Will happen with all regular coppermine themes that haven't specifically been modified to be used with Stramm's modpack. Clearly, this is a modpack issue, not an issue of this particular theme (which works fine with regular coppermine installs) and should therefor not be discussed in this thread. If you have issues related to the modpack, you should reply to the one and only modpack thread - because that's the only place we allow modpack questions to be posted. Make sure to have read the instructions that come with the modpack before asking questions.

Sami

as the error said you probably should have a button with my_friends name it's not regular button and as you are using stramm's mod so it's related to his mod ,BTW you can add these two tags to your button definition before <!-- BEGIN home -->

<!-- BEGIN my_friends -->
<!-- END my_friends -->

and then it should work ...

Edit:
sorry I didn't see the post of Gaugau , he is right let's take this issue to modpack threads !
‍I don't answer to PM with support question
Please post your issue to related board

Stramm

in $template_sys_menu
<!-- BEGIN my_friends -->
                                                <li><a href="{MY_BUDDY_TGT}" title="{MY_BUDDY_LNK}">{MY_BUDDY_LNK} | </a></li>
<!-- END my_friends -->



Davide Renda

Oki doki, didn't mean to mess around with the thread ;-)

PS. Since 3 years I'm using CPG I never had such error message for a theme, so I panicked!!  ::)

PS2. with that little amendment it works fine also on the modded CPG - thx all  :)

Tranz

Thanks for creating and providing these Wordpress themes, Gizmo! It's pretty nifty... I modified the links between the blog and gallery so that when switching between the apps, the same theme is used for both. I also used Connections as the basis of porting my blog theme, Ocadia, to Coppermine. I tried to start from an existing Coppermine theme, but that failed pretty quickly. Thanks for providing the themes and the starting point for future WP themes. :)

Gizmo

Hey Tranz,

Thanks for the kind words but believe me, the hardest part was already done by the talented people who created these WordPress themes. It's funny that you use Ocadia as I have nearly finished this port to Coppermine. I find Rebecca's themes to be really elegant and have a couple in the starting phases so keep a look out for them. If only I had that kind of artistic ability but since I don't, the least I can do for the Coppermine community is port some great themes for everyone to use.

Cheers  :D

Gizmo
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Tranz

Yeah, I really like Rebecca's sense of artistry. I would like to redo the header but wouldn't know where to start.

I'm glad that you are porting Ocadia. I had to resist the urge to make the request since you've done so much anyway.  I couldn't wait, plus I'm on vacation so I had time to kill. It would be great if you release the port because that means I don't have to prep my theme for release. I would do it, but as you said, testing takes a lot of time. It was a huge accomplishment for myself to even make it work for my site, but to make it generic for others to use... aiya. :)

I'm looking forward to those upcoming themes. Thanks!

linx

Only thing i miss in this theme is the button "Upload files" for registered users... Am i the only thats missing that?

Gizmo

Did you look at the very top of the page to the left of the logout button? It's there for me if I login in as a registered users (non-admin).
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

danibo

#18
Hallo

Thanks for the wonderful work.
After solving the problem with Stramms Mod, which I use only because the thumbnails become much nicer
I adapted the very nice and clean layout to a more neutral one.

http://www.bilderbank.ch/cpg149_test

If anybody is interested let me know.

The only problem I have is, that "Final Extrac" works only for the links on the top-menue (login, etc) and not for the ones on the right side in the Gallery-Menue like "search".

For the moment I do not use the theme in connection with WordPress.

Thanks
Daniel

Gizmo

Glad you like it. Unfortunately the Final_Extract plugin doesn't work on every menu structure (at least not yet) but you can remove the menus by removing or commenting out (the preferred method) the links in the theme.php file. If any menu you wish to remove has a BEGIN and END tag, you must leave them there and only edit what's between them. To remove the search link this is what the code for the $template_sub_menu would like like...


// HTML template for sub menu
$template_sub_menu = <<<EOT
                                        <ul>
<!-- BEGIN custom_link -->
                                            <li><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
                                            <li><a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a></li>
<!-- END album_list -->
                                            <li><a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a></li>
                                            <li><a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a></li>
                                            <li><a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a></li>
                                            <li><a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a></li>
                                            <li><a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a></li>
                                            <!-- <li><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li> -->
                                        </ul>

EOT;
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision