Singapore style theme - Page 2 Singapore style theme - Page 2
 

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

Singapore style theme

Started by nukeworker, June 19, 2004, 03:23:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Casper

@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, at the shop demo.

My next planned change is to give the drop shadow to the categories as well.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

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

Joachim Müller

Re-packaged the theme with Casper's modifications and added copyright info. See attachment.

GauGau

medi2k

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

Joachim Müller

do you refer to the singapore theme or the demo in general (using the default theme "classic")?

GauGau

Casper

The slideshow is not working with this theme(singapore), and as yet I am unable to discover why.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

erich_333

#26
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 INFO

QuoteUSER:
------------------
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........

Joachim Müller

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

tGriff

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

Polargirl

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>
Before you criticize someone, walk a mile in his shoes.
That way, if he gets angry, he'll be a mile away - and barefoot.

Joachim Müller

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 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