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 [2]   Go Down

Author Topic: Singapore style theme  (Read 33753 times)

0 Members and 1 Guest are viewing this topic.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #20 on: August 01, 2004, 10:53:25 am »

@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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #21 on: August 02, 2004, 07:52:19 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #22 on: August 02, 2004, 10:03:05 am »

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

GauGau
Logged

medi2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [done]Singapore style theme
« Reply #23 on: August 17, 2004, 11:05:07 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [done]Singapore style theme
« Reply #24 on: August 18, 2004, 08:44:25 am »

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

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [done]Singapore style theme
« Reply #25 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [done]Singapore style theme
« Reply #26 on: January 21, 2005, 08:59:15 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

Quote
USER:
------------------
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........
« Last Edit: January 22, 2005, 08:39:40 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [done]Singapore style theme
« Reply #27 on: April 03, 2005, 01:31:00 pm »

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
Logged

tGriff

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Singapore style theme
« Reply #28 on: April 20, 2005, 06:16:13 am »

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
Logged

Polargirl

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 1
    • Carola Online
Re: Singapore style theme
« Reply #29 on: August 06, 2006, 09:19:03 pm »

I love this theme, but I cannot get it to work. >:(

I keep getting an error message:
Quote
Template 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>
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #30 on: August 06, 2006, 09:22:57 pm »

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

Page created in 0.027 seconds with 25 queries.