I love those Singaport themes, but I prefer coppermine. If someone could make a Singapore style theme... I would be VERY happy. Perhaps even pay... Contact me if interested.
What is a Singaport theme? Please provide a link.
GauGau
Is Singapore also the name of some picture gallery software?
http://singapore.sourceforge.net/
http://singapore.sourceforge.net/?page=screenshots
Mostly what I am looking for is that Pictures look like slides or photos, like in that theme.
yes, a Singapore style theme would really rock. All the features of Coppermine with a Singapore theme would rule over all gallery scripts. I'll pay to get my hands on one myself. ;D
Singapore is being released under GNU GPL, so I can see no reason why you shouldn'bt be able to create a coppermine theme that mimicks those that come with singapore.
GauGau
Mostly I like the thumbnails that look like slides. (I don't see that theme there anymore.)
I just want to "kick it up a notch". A rounded white border that looks like a slide, with a drop shadow.
I've seen drop shadow hack here, but they only work with specific image sizes. My images vary greatly in size...
http://singapore.sourceforge.net/demo/index.php?gallery=./Demo/Languages/English
has the round white slide look, and the "tabed folder' has the drop shadow. -- I'm sure we can use some of the ideas here.
Also the "snap shot with a drop shadow" on this page looks cool:
http://singapore.sourceforge.net/demo/index.php?gallery=./Demo/Languages/English&image=Flower.jpg
I had a peek into this and created a theme lookalike. It doesn't exactly look like the original, as coppermine simply has more features that will need space on the screen (you could of course disable all those additional features).
Anyway, find an attached alpha version of this theme. Please post feedback
GauGau
Beat me to it again gaugau,
I just spent an hour doing a slide like background, to go on any theme. This screenshot is from my test in reynolds theme. Will fit any size thumb.
Quote from: GauGau on July 28, 2004, 08:15:31 PM
I had a peek into this and created a theme lookalike. It doesn't exactly look like the original, as coppermine simply has more features that will need space on the screen (you could of course disable all those additional features).
Anyway, find an attached alpha version of this theme. Please post feedback
GauGau
wow. that was fast! i tried loading it but my index.php file won't load as a result. maybe that's because i'm using 1.3.0 at this time. i'll try it again. i've also looked inside the images folder of the singapore theme and it looks promising. thanks. :)
I'm sorry, the theme file I attached above is already a cpg1.4 theme (only working with the dev version). I modified it to be a cpg1.3.x theme: Demo (http://coppermine.sourceforge.net/demo/index.php?theme=singapore) - Download (http://prdownloads.sourceforge.net/coppermine/cpg1.3.1_theme_singapore.zip?download)
GauGau
Thumnails go out of frame for me if they are wide. Also corner images seem to be missing http://coppermine.sourceforge.net/demo/thumbnails.php?album=1
Quote from: GauGau on July 30, 2004, 09:24:55 AM
I'm sorry, the theme file I attached above is already a cpg1.4 theme (only working with the dev version). I modified it to be a cpg1.3.x theme: Demo (http://coppermine.sourceforge.net/demo/index.php?theme=singapore) - Download (http://prdownloads.sourceforge.net/coppermine/cpg1.3.1_theme_singapore.zip?download)
GauGau
whoaah! not bad, not bad at all. i tried the demo and i liked what i saw. i'll try tinkering with it myself. thanks.
Quote from: Tarique Sani on July 30, 2004, 11:46:32 AM
Thumnails go out of frame for me if they are wide. Also corner images seem to be missing http://coppermine.sourceforge.net/demo/thumbnails.php?album=1
huh?
Attached is a screenshot...
GauGau
[attachment deleted by admin]
Perhaps this will explain it better - Mozilla 1.6 Red Hat 9
[attachment deleted by admin]
I get the view like Gaugau, when using IE.
I get the view like Tarique, when using firefox.
So it appears to be browser dependant.
Note also the overlapping of the album info in firefox.
[attachment deleted by admin]
The corner gifs are missing because the theme.php has the url 'images/...' when it should be 'themes/sinapore/images/...'.
This only affects the 'slide' gif's, in the ;
// HTML template for thumbnails display
$template_thumbnail_view = <<<EOT
See how the thumb still is wider than the slide though.
[attachment deleted by admin]
I found the problem with mozila browsers is fixed if the thumbnail template is changed from nested divs to tables.
This may not be the prettiest code, but it works with IE and Mozzila.
Replace the existing thumb cell in HTML template for thumbnails display with this;
<!-- BEGIN thumb_cell -->
<td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
<table class="sgThumbnail">
<tr>
<td align="center">
<table class="sgThumbnailContent">
<tr>
<td border="0"><img src="themes/singapore/images/slide-tl.gif" alt="" border="0"></td>
<td border="0"></td>
<td border="0"><img src="themes/singapore/images/slide-tr.gif" alt="" border="0"></td>
</tr>
<tr>
<td border="0" ></td>
<td border="0"><a href="{LINK_TGT}">{THUMB}<br /></a>
{CAPTION}
{ADMIN_MENU}
</td>
<td border="0"></td>
</tr>
<tr>
<td border="0"><img src="themes/singapore/images/slide-bl.gif" alt="" border="0"></td>
<td border="0"></td>
<td border="0"><img src="themes/singapore/images/slide-br.gif" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<!-- END thumb_cell -->
[attachment deleted by admin]
Try using these modified files. They work with both browsers, repositions the image nav bar, and also change the admin menus to remove the red background.
It also uses a smaller tile.gif, which looks much better, also attached.
@Casper: good work! Like I said, the theme is an alpha version I came up with in some minutes, as a "proof of concept" rather than a real theme. Anyway, I updated the demo (http://coppermine.sourceforge.net/demo/index.php?theme=singapore) with your modified files.
GauGau
@Gaugau, I was very impressed how you came up with that so quickly. I know that it was a concept theme, incomplete, but I thought it was very nice, and near enough to get to a good working theme.
My only concern now, is the name, and any copywrite issues that may be raised.
Incidentally, the theme looks so much better when the config setting for width of maintable is set to 80 - 90%.
I know you cannot change the setup of the demo just to suit one theme, but you can see the difference HERE (http://www.hsocuk.com/shop/index.php?theme=singapore), at the shop demo.
My next planned change is to give the drop shadow to the categories as well.
Casper,
I can't see any copyright issues coming up, as singapore is being released under GNU GPL, so we will just have to add a header to the theme files that states where the files and idea comes from, and we should be done. Additionally, I will contact Singapore staff and tell them about the singapore theme being used by coppermine, just to play fair.
GauGau
Re-packaged the theme with Casper's modifications and added copyright info. See attachment.
GauGau
Hi,
does anyone here knows why the slideshow doesn't work ???
I tried it on serveral pc's using ie.
So is that only an ie problem or a general problem because I tried all the "demo" pages in this post and had always the same problem, that the show didn't start.
Would be nice if someone can help me, because I like the theme very much ;D
do you refer to the singapore theme or the demo in general (using the default theme "classic")?
GauGau
The slideshow is not working with this theme(singapore), and as yet I am unable to discover why.
Quote from: Casper on August 22, 2004, 01:31:14 PM
The slideshow is not working with this theme(singapore), and as yet I am unable to discover why.
[/color]
Has anybody found a solution already?
Singapore is a beautiful coppermine theme, but it would be an excellent one if the slideshow option did its trick!!!!
I too get the following error in my browser (IE6):
-------------------------------------------------------------------------------------------Line 350
Error: ' document.images.SlideShow.style' is null or not an object.-------------------------------------------------------------------------------------------Could anybody please post a fix for this problem? Please find below a copy+paste from my debug info:
-------------------------------------------------------------------------------------------DEBUG INFOQuoteUSER:
------------------
Array
(
[ID] => e4122eb6d7fa8a29b2a6838c70da8de9
[am] => 1
[liv] => Array
(
- => 2
[1] => 50
[2] => 45
[3] => 5
[4] => 24
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => wonderful
[user_password] => ********
[user_lastvisit] => 2005-01-21 20:16:46
[user_regdate] => 2005-01-11 18:26:39
[user_group_list] =>
[user_email] =>
[user_website] =>
[user_location] =>
[user_interests] =>
[user_occupation] =>
[user_actkey] =>
[user_favpics] =>
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 0
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'e0042b2bb487500a11f85cedc3661870'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg132_banned WHERE expiry < 1106336984
[5] => SELECT * FROM cpg132_banned WHERE ip_addr='XX.XXX.XXX.XX' OR ip_addr='XX.XXX.XXX.XX' OR user_id=1
[6] => SELECT title,keyword from cpg132_albums WHERE aid='1'
[7] => SELECT COUNT(*) from cpg132_pictures WHERE aid='1'
[8] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, title, caption,hits,owner_id,owner_name from cpg132_pictures WHERE aid='1' ORDER BY filename ASC
)
==========================
GET :
------------------
Array
(
[album] => 1
[pid] => 24
[slideshow] => 5000
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 3.23.58
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.58
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/php/includes:/usr/share/php | .:/php/includes:/usr/share/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.096 seconds - 9 queries in 0.008 seconds - Album set :
The one who comes up with a fix is a true wizard!
Thanks in advance........
There's a post in another thread that explains what to do to fix the slideshow issue with the singapore theme: http://forum.coppermine-gallery.net/index.php?topic=9545.msg76903#msg76903
Joachim
Cool! Fixed the slideshow issue, and am now looking for a way to make the main table match the category and random images table. I have not been able to figure this out and have a bit of time into it... any suggestions on getting the main table to have the same graphic feel (slide with drop shadow)?
I read a thread explaining putting "a" graphic as a background, but not the entire set of edges etc...
Thanks!
Tgriff
I love this theme, but I cannot get it to work. >:(
I keep getting an error message:
QuoteTemplate error
Failed to find block 'documentation'(#(<!-- BEGIN documentation -->)(.*?)(<!-- END documentation -->)#s) in :
<div align="center">
<table cellpadding="0" cellspacing="1">
<tr>
<td class="admin_menu" id="{APPROVAL_ID}"><a href="editpics.php?mode=upload_approval" title="">{UPL_APP_LNK}</a></td>
<td class="admin_menu"><a href="config.php" title="">{CONFIG_LNK}</a></td>
<td class="admin_menu"><a href="albmgr.php{CATL}" title="">{ALBUMS_LNK}</a></td>
<td class="admin_menu"><a href="catmgr.php" title="">{CATEGORIES_LNK}</a></td>
<td class="admin_menu"><a href="usermgr.php" title="">{USERS_LNK}</a></td>
<td class="admin_menu"><a href="groupmgr.php" title="">{GROUPS_LNK}</a></td>
<td class="admin_menu"><a href="banning.php" title="">{BAN_LNK}</a></td>
<td class="admin_menu"><a href="db_ecard.php" title="">{DB_ECARD_LNK}</a></td>
<td class="admin_menu"><a href="reviewcom.php" title="">{COMMENTS_LNK}</a></td>
<td class="admin_menu"><a href="searchnew.php" title="">{SEARCHNEW_LNK}</a></td>
<td class="admin_menu"><a href="util.php" title="">{UTIL_LNK}</a></td>
<td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
</tr>
</table>
</div>
You can't use a theme designed for cpg1.3.x with a cpg1.4.x gallery. Either convert the theme as suggested in the theme upgrade guide (http://coppermine-gallery.net/demo/cpg14x/docs/theme/) or use one that has been built for your coppermine version. Thanks for not cluttering theme threads with support issues in the future. In the future, search for your error message before posting